Record input into an array; Save array to a file; Playback recorded data.
More...
#include <stdio.h>
#include <stdlib.h>
#include "portaudio.h"
Detailed Description
Record input into an array; Save array to a file; Playback recorded data.
- Author:
- Phil Burk http://www.softsynth.com
Define Documentation
#define FRAMES_PER_BUFFER (512) |
#define PA_SAMPLE_TYPE paFloat32 |
#define PRINTF_S_FORMAT "%.8f" |
#define SAMPLE_RATE (44100) |
#define SAMPLE_SILENCE (0.0f) |
#define WRITE_TO_FILE (0) |
Set to 1 if you want to capture the recording to a file.
Typedef Documentation
Function Documentation