Go to the documentation of this file.
18 printf(
" %s\n", pFileName);
32 for (iFrame = 0; iFrame < wavFormat.
sampleRate * 10; iFrame += 1) {
46 double amplitude = 0.2;
104 double amplitude = 0.2;
162 double amplitude = 0.2;
@ ma_waveform_type_sawtooth
ma_result ma_waveform_init(const ma_waveform_config *pConfig, ma_waveform *pWaveform)
@ ma_waveform_type_triangle
ma_waveform_config ma_waveform_config_init(ma_format format, ma_uint32 channels, ma_uint32 sampleRate, ma_waveform_type type, double amplitude, double frequency)
DRWAV_API drwav_result drwav_uninit(drwav *pWav)
DRWAV_API drwav_bool32 drwav_init_file_write(drwav *pWav, const char *filename, const drwav_data_format *pFormat, const drwav_allocation_callbacks *pAllocationCallbacks)
ma_uint64 ma_waveform_read_pcm_frames(ma_waveform *pWaveform, void *pFramesOut, ma_uint64 frameCount)
drwav_data_format drwav_data_format_from_minaudio_format(ma_format format, ma_uint32 channels, ma_uint32 sampleRate)
@ ma_waveform_type_square
DRWAV_API drwav_uint64 drwav_write_pcm_frames(drwav *pWav, drwav_uint64 framesToWrite, const void *pData)