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:

    He’s made a harp of her breast-bane,
    Whose sound wad melt a heart of stane.

    He’s ta’en three locks o’ her yellow hair,
    And wi’ them strung his harp sae rare.
    Unknown. Binnorie; or, The Two Sisters (l. 41–44)

    Blame but thyself that hast misdone,
    And well deserved to have blame;
    Change thou thy way so evil begun,
    And then my lute shall sound that same:
    But if till then my fingers play
    By thy desert their wonted way,
    Blame not my lute.
    Sir Thomas Wyatt (1503?–1542)

    Methinks the human method of expression by sound of tongue is very elementary, & ought to be substituted for some ingenious invention which should be able to give vent to at least six coherent sentences at once.
    Virginia Woolf (1882–1941)