demowavt.zip 2.94K
88 downloadsIt plays 2 voices of wavetable sound (digitized) without screen blanking.
It uses the VCOUNT wait technique similar to the 1-bit and 2-bit sound demos I posted before.
The way the program is setup, wave tables up to 256 bytes in length can be used. 512 individual frequencies are available, although that could be increased fairly easily.
To use the program, Load Exe from the emulator, or binary-load from DOS on a real machine.
Use joystick 1 up/down to change the pitch - hold the button to do the other voice pitch.
The waveforms can be selected from 9 that I've included. Just press the number or <shift> number to do the second voice. Note that key assignments mean you have to press the corresponding key if using the emulator (e.g. SHIFT-2 actually generates SHIFT-8 on Atari800Win).
Waveforms:
1 - triangle, lower frequencies
2 - triangle, higher frequencies
3 - sawtooth, lower frequencies
4 - sawtooth, higher frequencies
5,6 - noise (high and low volume)
7,8 - short and long pulse-waves
9 - square wave (much the same as normal Atari "pure" sounds)
0 - Mute
Mac/65 source code included. It can easily be modified to include customised waveforms. Note that the first byte in each wave table is the length (-1) of the waveform. Due to the way the program works, it should be 1,3,7,15,31,63,127,255.
This program could easily be used in conjunction with conventional a conventional music player, provided it has reasonably tight coding.














