322 The ‘S’ parameter allows requests to be queued separately and then executed at the same instant, for chords and multiple voice effects. The value initially determines the number of other channels that must receive requests with the same value of S before the group will play. For example, each note of a three note chord would be generated by a SOUND with the value of 2 for S. The system will read the value of S from the first one and then wait for two more requests with 2 as the value of S before playing the complete chord. Single requests use 0 for S so that they play as soon as they reach the end of the channel queue.
The parameter ‘F’ will normally be zero, causing the request to be queued. If it is 1, the channel queue will be flushed first, so the request will sound immediately. The parameter ‘C’ determines the number of the sound channel to be used. The ‘A’ parameter controls the amplitude of the sound and can be used in two ways. Positive values up to 4 select the envelope (1 to 4) to be used. If the RS423 is unused then envelope numbers up to 16 may be defined and used. Zero and negative integers up to -15 directly set the amplitude of the sound, which is then fixed at this value for the duration of the note. -15 corresponds to the loudest, and 0 is ‘off’.
The ‘P’ parameter determines the pitch of the note. It can take values from 0 to 255. The ‘D’ parameter determines the total duration of sounds whose amplitude is determined explicitly by a negative or zero value of the A parameter. The duration is given in twentieths of a second. If an envelope has been selected, by a positive value of A, then the duration D determines the total of the attack, decay and sustain periods - but not of the release phase. Syntax SOUND , , , ENVELOPE , ADVAL Associated keywords