Garry's Mod Wiki

Revision Difference

CSoundPatch:ChangePitch#529438

<function name="ChangePitch" parent="CSoundPatch" type="classfunc"> <description> Adjust the pitch, alias the speed at which the sound is being played. This invokes the <page>GM:EntityEmitSound</page>. </description> <realm>Shared</realm> <args> <arg name="pitch" type="number">The pitch can range from 0-255.</arg> <arg name="pitch" type="number">The pitch can range from 0-255. Where 100 is the original pitch.</arg> <arg name="deltaTime" type="number" default="0">The time to fade from previous to the new pitch.</arg> </args> </function>