ga.monoWave()
Examplesfunction setup()
ga.monoWave(GA_RECT,190.0,0)
ga.waveVolume(0,0.9)
end
function draw()
ga.background(0.0,1.0)
end
Descriptionga.monoWave(GA_RECT,190.0,0)
ga.waveVolume(0,0.9)
end
function draw()
ga.background(0.0,1.0)
end
Create a mono-channel wave oscillator. Parameters available for wave type are GA_SINE, GA_COSINE, GA_SAW, GA_TRI, GA_RECT, GA_NOISE, GA_PINK, GA_BROWN, GA_PHASOR, GA_PULSE.
Be sure to activate the audio module and select an audio device with output capabilities in the settingManager in order to have this function working.
Syntaxga.monoWave(type,frequency,channel)
Parameters| type | the oscillator wave type |
| frequency | number: every audible (or not) frequency |
| channel | any available channel |

sending...