Revision r2104
👤 helixhorned
📅 2011-11-03 16:08:54 -0700 (Thu, 03 Nov 2011)
New CON command
setactorsoundpitch <actor#> <sound#> <pitchoffset>
which can be used to change the pitch of a playing sound.
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).
------------------------------------------------------------------------
Raw Content
------------------------------------------------------------------------
r2105 | helixhorned | 2011-11-05 05:13:50 -0700 (Sat, 05 Nov 2011) | 3 lines
Fix the 'displayrandvar{var}' CON and m32script commands for environments
with RAND_MAX > 32767 (everything except Windows?). The 'displayrand' command
now returns values from 0 to 32767 inclusive, across all platforms.
------------------------------------------------------------------------
r2104 | helixhorned | 2011-11-03 16:08:54 -0700 (Thu, 03 Nov 2011) | 7 lines
New CON command
setactorsoundpitch <actor#> <sound#> <pitchoffset>
which can be used to change the pitch of a playing sound.
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).
------------------------------------------------------------------------