10 #include "simpletools.h" void sound_volume(sound_t *device, int channel, int volume)
Set volume for one of the sound process' four channels.
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.