7 #include "simpletools.h"
Functions for creating tones. 4 channels, tone waveform options include sine, square, triangle, and saw. Incorporates Spin to C translation of sound components from Brett Weir's LameStation package.
sound_t * sound_run(int pin, int npin)
start a talk process, uses a cog.
void sound_freq(sound_t *device, int channel, int freq)
Set Hz the frequency transmitted by one of the sound process' four channels.
void sound_note(sound_t *device, int channel, int note)
Make one of the sound process' four channels play a note.