Acorn MOS - Sound

Sound

Sound support is done with another OS call, OSWORD, which handles a variety of tasks enumerated via a task code placed into the accumulator. All OSWORD calls bear a parameter block used to send and receive multiple data, passed into the X and Y registers. There are four buffered sound channels -- three melodic and one noise -- based on the sound chip found in the BBC Micro. There is only one waveform for melodic channels; the supported note parameters are pitch, duration, and amplitude. The amplitude parameter is normally negative; positive values select an envelope (a predefined temporal variation) to apply to the note.

Other meta parameters (passed through the channel code when using the SOUND command in BASIC) include flush (the buffer is cleared and the channel silenced before the note is played), synchronise count (as soon as the same synch count is received for that many channels, all the synchronised notes are played together), and control over the Speech system upgrade where fitted.

Read more about this topic:  Acorn MOS

Famous quotes containing the word sound:

    But those rare souls whose spirit gets magically into the hearts of men, leave behind them something more real and warmly personal than bodily presence, an ineffable and eternal thing. It is everlasting life touching us as something more than a vague, recondite concept. The sound of a great name dies like an echo; the splendor of fame fades into nothing; but the grace of a fine spirit pervades the places through which it has passed, like the haunting loveliness of mignonette.
    James Thurber (1894–1961)

    The sound of tireless voices is the price we pay for the right to hear the music of our own opinions. But there is also, it seems to me, a moment at which democracy must prove its capacity to act. Every man has a right to be heard; but no man has the right to strangle democracy with a single set of vocal chords.
    Adlai Stevenson (1900–1965)

    In journalism it is simpler to sound off than it is to find out. It is more elegant to pontificate than it is to sweat.
    Harold Evans (b. 1928)