Play a sine wave for several seconds. Start and stop the stream multiple times.
More...
#include <stdio.h>
#include <math.h>
#include "portaudio.h"
Detailed Description
Play a sine wave for several seconds. Start and stop the stream multiple times.
- Author:
- Ross Bencina <rossb@audiomulch.com>
-
Phil Burk <philburk@softsynth.com>
Define Documentation
#define FRAMES_PER_BUFFER (400) |
#define M_PI (3.14159265) |
#define OUTPUT_DEVICE Pa_GetDefaultOutputDevice() |
#define SAMPLE_RATE (44100) |
Function Documentation