Create a sine wave signal
Port | Purpose |
---|---|
Out 0 | Sine Wave Output |
amplitude(level);
Set the amplitude, from 0 to 1.0.
frequency(freq);
Set the frequency, from 0 to 22000. Very low values may be used to create a LFO (Low Frequency Oscillator) for objects with modulation signal inputs.
phase(angle);
Cause the generated waveform to jump to a specific point within its cycle. Angle is from 0 to 360 degrees. When multiple objects are configured, AudioNoInterrupts() should be used to guarantee all new settings take effect together.
File > Examples > Audio > MemoryAndCpuUsage
File > Examples > Audio > Analysis > DialTone_Serial
File > Examples > Audio > Analysis > FFT