Changes

Jump to navigation Jump to search
12 bytes added ,  21:25, 18 October 2021
Varied the pitch shift section's wording a little bit
Line 35: Line 35:  
<dt><tt>playSoundPitched</tt></dt>
 
<dt><tt>playSoundPitched</tt></dt>
 
<dd>
 
<dd>
You can pitch shift a sound at intervals of 100 per half step, with 1200 being the pitch of the original sample.
+
If desired, you can pitch shift a sound at intervals of 100 per half step, with 1200 being the pitch of the original sample.
 
To play a sound at a higher or lower pitch, for the current player only with no specific location, you can call the <tt>Game1.playSoundPitched()</tt> method:
 
To play a sound at a higher or lower pitch, for the current player only with no specific location, you can call the <tt>Game1.playSoundPitched()</tt> method:
 
<syntaxhighlight lang="c#">
 
<syntaxhighlight lang="c#">
41

edits

Navigation menu