Class · inherits Instance
AudioPitchShifter
Adjusts the perceived pitch of audio streams.
About AudioPitchShifter
AudioPitchShifter adjusts the perceived pitch of audio streams. It
provides one Input pin and one Output pin which can be connected
to/from by Wires. AudioPitchShifter performs its
modifications in the frequency domain and may introduce artifacts with extreme
pitch changes.
Properties 3
Bypass
: booleanWhether audio streams are passed-through unaffected by this effect.If
true, audio streams are passed-through unaffected by this effect.Pitch
: floatPitch modification to be multiplied by the pitch of the input stream.Pitch modification to be multiplied by the pitch of the input stream. Ranges from 0.5 to 2.
WindowSize
: AudioWindowSizeControls how much audio will be buffered and shifted at once.Controls how much audio will be buffered and shifted at once. Larger windows result in higher-quality pitch shifting, but introduce more latency.
Methods 3
GetConnectedWires
(pin: string) → List<Wire>Returns an array ofWiresthat are connected to the specified pin.Returns an array of
Wiresthat are connected to the specified pin.AudioPitchShifterhas one "Input" pin and one "Output" pin.GetInputPins
() → ArrayGets the list of pins thatWirecan use inWire.TargetNameto connect to this instance via itsWire.TargetInstanceproperty.Gets the list of pins that
Wirecan use inWire.TargetNameto connect to this instance via itsWire.TargetInstanceproperty.For
AudioPitchShifter, this isInputonly.GetOutputPins
() → ArrayGets the list of pins thatWirecan use inWire.SourceNameto connect to this instance via itsWire.SourceInstanceproperty.Gets the list of pins that
Wirecan use inWire.SourceNameto connect to this instance via itsWire.SourceInstanceproperty.For
AudioPitchShifter, this isOutputonly.
Events 1
WiringChanged
AudioPitchShifter.WiringChanged:Connect(function(connected, pin, wire, instance))Fires when another instance is connected to or disconnected from theAudioPitchShiftervia aWire.Event that fires after a
Wirebecomes connected or disconnected, and thatWireis now or was previously connected to a pin on theAudioPitchShifterand to some other wirable instance.
AudioPitchShifter also has every member of Instance. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.