GOOC - Game Oriented Object C

GOOC - Game Oriented Object C

Next: Angle Constants, Previous: Volume Constants, Up: Constants
[Contents]

5.3.7. Pitch Constants

5.3.7. Pitch Constants

A pitch constant is a value that represents the sound pitch of a PlayStation voice channel. These constants are represented as hertz, with 11025Hz equaling 4 units. These are the least common constants used, as most sound pitch programming will be done using real numbers anyway. A pitch constant can be written as any integer or real number followed by the suffixes Hz or hz.

Either the integer part or the fractional part may be omitted, but not both. Here are some examples of valid pitch constants: 20000Hz 11025Hz 16000Hz

Negative values, or values too large, will not be treated nicely by the console.