Changes

Jump to navigation Jump to search
4 bytes added ,  21:30, 18 October 2021
Added a br tag to the pitched sound section
Line 37: Line 37:  
<dd>
 
<dd>
 
If desired, 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.
 
+
<br>
 
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