CSoundPatch.ChangePitch
From GMod Wiki
Revision as of 11:38, 28 August 2011 by TheFreeman193 (Talk | contribs)
Function | |
Syntax | CSoundPatch:ChangePitch( Float pitch [, Float delta ] ) |
Description: | |
Changes the pitch of the sound | |
Returns: | nil |
In Object: | Csoundpatch |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=CSoundPatch.ChangePitch]CSoundPatch.ChangePitch [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- The pitch should be a number between 0 and 255; anything above 255 will generate a console error. math.Clamp may be useful to help ensure this.