h6. [[Programmer's Reference Manuals]] h6(. » [[*Commands]] h6((. » *Sound h2. *Sound h4. Use This *Command generates a sound with no delay. h4. Syntax *sSound _channel amplitude pitch duration_ h4. Parameters |<^{width:8em}. _channel_|<^. Channel number (1 – 8)| |/2<^. _amplitude_|<^. Linear scale: 0 silent - &FFF1 loud, or;| |<^. Logarithmic scale: &100 silent - &17F loud (a change of 16 will halve/double the amplitude)| |/2<^. _pitch_|<^. Pitch: 0 – 255. Each unit represents a quarter of a semitone. Value of 53 is middle C, or| |<^. 256 to 32767 (&100 to &7FF) where top 3 bits specify octave, and bottom 12 bits specify fraction of octave. Value of 16384 (&4000) is middle C| |<^. _duration_|<^. Duration: 0 to 32767 (&0 - &7FFF) in twentieths of a second. Value of 255 gives a note of infinite duration| h4. Notes To generate a sound after a specified amount of time use [[*QSound|*QSound]]. h4. See also * [[Sound_Control]] * [[Sound_ControlPacked]] * [[*QSound|*QSound]]