Record input into an array; Save array to a file; Playback recorded data. Implemented using the blocking API (Pa_ReadStream(), Pa_WriteStream() )
More...
#include <stdio.h>
#include <stdlib.h>
#include "portaudio.h"
Record input into an array; Save array to a file; Playback recorded data. Implemented using the blocking API (Pa_ReadStream(), Pa_WriteStream() )
- Author
- Phil Burk http://www.softsynth.com
-
Ross Bencina rossb.nosp@m.@aud.nosp@m.iomul.nosp@m.ch.c.nosp@m.om
#define FRAMES_PER_BUFFER (1024) |
#define PRINTF_S_FORMAT "%.8f" |
#define SAMPLE_RATE (44100) |
#define SAMPLE_SILENCE (0.0f) |