rojo/.cursor/rules/roblox/reference/engine/classes/AudioFlanger.yaml
2026-02-02 12:08:47 -06:00

191 lines
5.1 KiB
YAML

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: AudioFlanger
type: class
memory_category: Internal
summary: |
Imparts a whooshing or sweeping sound on audio streams.
description: |
`Class.AudioFlanger` imparts a whooshing or sweeping sound on audio streams by
overlaying a delayed copy of the input stream and modulating the pitch of the
copy. It provides one **Input** pin and one **Output** pin which can be
connected to/from by `Class.Wire|Wires`.
code_samples: []
inherits:
- Instance
descendants: []
tags: []
deprecation_message: ''
properties:
- name: AudioFlanger.Bypass
summary: |
Whether audio streams are passed-through unaffected by this effect.
description: |
If `true`, audio streams are passed-through unaffected by this effect.
code_samples: []
type: boolean
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: State
serialization:
can_load: true
can_save: true
capabilities:
- Audio
- name: AudioFlanger.Depth
summary: |
Controls how strong the pitch modulation of the flanger is.
description: |
Controls how strong the pitch modulation of the flanger is. Ranges from 0
to 1 which determines the maximum delay time of the modulated signal. A
value of 1 corresponds to 10 milliseconds of maximum delay; beyond this,
the modulated signal would begin to sound more like an echo than a flange.
code_samples: []
type: float
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: State
serialization:
can_load: true
can_save: true
capabilities:
- Audio
- name: AudioFlanger.Mix
summary: |
Controls the balance of plain input stream to modified output stream.
description: |
Controls the balance of plain input stream to modified output stream.
Ranges from 0 to 1.
code_samples: []
type: float
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: State
serialization:
can_load: true
can_save: true
capabilities:
- Audio
- name: AudioFlanger.Rate
summary: |
Controls the rate of pitch modulations.
description: |
Frequency controlling the rate of pitch modulations, in hertz. Ranges from
0 to 20.
code_samples: []
type: float
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: State
serialization:
can_load: true
can_save: true
capabilities:
- Audio
methods:
- name: AudioFlanger:GetConnectedWires
summary: |
Returns an array of `Class.Wire|Wires` that are connected to the specified
pin.
description: |
Returns an array of `Class.Wire|Wires` that are connected to the specified
pin. `Class.AudioFlanger` has one "Input" pin and one "Output" pin.
code_samples: []
parameters:
- name: pin
type: string
default:
summary: ''
returns:
- type: Instances
summary: ''
tags: []
deprecation_message: ''
security: None
thread_safety: Unsafe
capabilities:
- Audio
- name: AudioFlanger:GetInputPins
summary: ''
description: ''
code_samples: []
parameters: []
returns:
- type: Array
summary: ''
tags: []
deprecation_message: ''
security: None
thread_safety: Unsafe
capabilities:
- Audio
- name: AudioFlanger:GetOutputPins
summary: ''
description: ''
code_samples: []
parameters: []
returns:
- type: Array
summary: ''
tags: []
deprecation_message: ''
security: None
thread_safety: Unsafe
capabilities:
- Audio
events:
- name: AudioFlanger.WiringChanged
summary: |
Fires when another instance is connected to or disconnected from the
`Class.AudioFlanger` via a `Class.Wire`.
description: |
Event that fires after a `Class.Wire` becomes connected or disconnected,
and that `Class.Wire` is now or was previously connected to a pin on the
`Class.AudioFlanger` and to some other wirable instance.
code_samples: []
parameters:
- name: connected
type: boolean
default:
summary: |
Whether the instance got connected or disconnected.
- name: pin
type: string
default:
summary: |
The pin on the `Class.AudioFlanger` that the `Class.Wire` targets.
- name: wire
type: Wire
default:
summary: |
The `Class.Wire` between the `Class.AudioFlanger` and the other
instance.
- name: instance
type: Instance
default:
summary: |
The other instance that is or was connected through the `Class.Wire`.
tags: []
deprecation_message: ''
security: None
capabilities:
- Audio
callbacks: []