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:

    Monte Beragon: When I’m close to you like this, there’s a sound in the air like the beating of wings. Do you know what that is?
    Mildred Pierce: No, what?
    Monte Beragon: My heart, beating like a schoolboy’s.
    Mildred Pierce: Is it? I thought it was mine.
    Ranald MacDougall (1915–1973)

    There have been many stories told about the bottom, or rather no bottom, of this pond, which certainly had no foundation for themselves. It is remarkable how long men will believe in the bottomlessness of a pond without taking the trouble to sound it.
    Henry David Thoreau (1817–1862)

    A system of morality which is based on relative emotional values is a mere illusion, a thoroughly vulgar conception which has nothing sound in it and nothing true.
    Socrates (469–399 B.C.)