home *** CD-ROM | disk | FTP | other *** search
- Audio.bas - Simple audio.device example
- =======================================
-
- Derived from RKM example (c) Copyright 1992 Commodore-Amiga, Inc.
-
- This is a straightforward translation of the Commodore "A Simple Audio
- Example" taken from the Devices RKM p.19. The code has been split up into
- separate functions and sub-programs in order to simplify the structure.
-
- The example shows simple use of the audio.device: channel allocation,
- waveform construction, background playing of the sample.
-
- The example will work on all non-obsolete versions of Workbench (V33
- and above).
-
- Compiling
- ---------
- Load the Audio_inc.bh file and Tokenise it (Program-Tokenise), making sure you
- have no token file selected in the File Options (Settings-Compiler-Files).
- Once you have your token file, set the File Options-Token File setting to
- the Audio_inc.t file just created. Load the Audio.bas file, turn up the volume
- on your monitor, compile & run it.
-