Setactorsoundpitch: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
mNo edit summary
Nexus (talk | contribs)
m grammar
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:


The pitch offset has the same meaning as the [[definesound]] pitch range endpoints,
The pitch offset has the same meaning as the [[definesound]] pitch range endpoints,
i.e. the units are 1/100th of a seminote.  Note that just like the random pitch
i.e. the units are 1/100th of a semitone.  Note that just like the random pitch
offset, increasing the pitch makes the sound duration shorter (and vice versa).
offset, increasing the pitch makes the sound duration shorter (and vice versa).


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]
[[Category:Sprite manipulation]]
[[Category:Sprite manipulation]]
[[Category:Sound manipulation]]

Latest revision as of 15:44, 26 October 2014

setactorsoundpitch <actor#> <sound#> <pitchoffset>

Can be used to change the pitch of a playing sound. Command was added to r2104 by helixhorned.

The pitch offset has the same meaning as the definesound pitch range endpoints, i.e. the units are 1/100th of a semitone. Note that just like the random pitch offset, increasing the pitch makes the sound duration shorter (and vice versa).