Setactorsoundpitch: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
Created page with "'''setactorsoundpitch''' <actor#> <sound#> <pitchoffset> Can be used to change the pitch of a playing sound. The pitch offset has the same meaning as the definesound pit..."
 
Jblade (talk | contribs)
mNo edit summary
Line 1: Line 1:
'''setactorsoundpitch''' <actor#> <sound#> <pitchoffset>
'''setactorsoundpitch''' <actor#> <sound#> <pitchoffset>


Can be used to change the pitch of a playing sound.
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,
The pitch offset has the same meaning as the [[definesound]] pitch range endpoints,

Revision as of 12:24, 20 November 2011

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 seminote. Note that just like the random pitch offset, increasing the pitch makes the sound duration shorter (and vice versa).