Source:getPitch
EditReturns the pitch of the Source.
pitch = Source:getPitch()
Arguments
None
Returns
Name | Type | Description |
pitch | number | The pitch. |
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.