|
PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
12 sound *audioL, *audioR;
34 for(
int v = 127; v > -1; v--)
36 line(127-v,32, 127-v, 64, 1);
43 line(127-v,32, 127-v, 64, 0);
46 for(
int v = 127; v > -1; v--)
48 line(127, 64-(v/4), 127, 64, 1);
53 line(127, 64-(v/4), 127, 64, 0);
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.
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,...
#define OFF
OFF can be used in place of zero to enabled parameters in functions like drive_feedback and drive_tri...
sound_t * sound_run(int pin, int npin)
Sound process ID & pointer.