Banjo API 0.0.1
Multi-purpose C99 API
|
Define parameters for generating simple waveforms. More...
#include <audio.h>
Public Types | |
enum | { BJ_AUDIO_PLAY_SINE , BJ_AUDIO_PLAY_SQUARE , BJ_AUDIO_PLAY_TRIANGLE , BJ_AUDIO_PLAY_SAWTOOTH } |
Data Fields | |
enum bj_audio_play_note_data_t:: { ... } | function |
Type of waveform to generate. | |
double | frequency |
Frequency of the waveform (Hz). | |
double | phase |
Internal phase accumulator. | |
Used in conjunction with bj_audio_play_note to synthesize basic musical tones such as sine or square waves.
anonymous enum |