Source:setPitch
EditSets the pitch of the Source.
Source:setPitch(pitch)
Arguments
Name | Type | Description |
pitch | number | The new pitch. |
Returns
Nothing
Notes
The default pitch is 1. Every doubling/halving of the pitch will raise/lower the pitch by one octave. Changing the pitch also changes the playback speed.