PortAudio  2.0
Data Structures | Macros | Functions
patest1.c File Reference

Ring modulate the audio input with a sine wave for 20 seconds. More...

#include <stdio.h>
#include <math.h>
#include "portaudio.h"

Data Structures

struct  patest1data
 

Macros

#define M_PI   (3.14159265)
 
#define SAMPLE_RATE   (44100)
 
#define NUM_INPUT_CHANNELS   (1)
 
#define NUM_OUTPUT_CHANNELS   (2)
 
#define SINE_TABLE_SIZE   (100)
 

Functions

int main (int argc, char *argv[])
 

Detailed Description

Ring modulate the audio input with a sine wave for 20 seconds.

Author
Ross Bencina rossb.nosp@m.@aud.nosp@m.iomul.nosp@m.ch.c.nosp@m.om

Macro Definition Documentation

#define M_PI   (3.14159265)
#define NUM_INPUT_CHANNELS   (1)
#define NUM_OUTPUT_CHANNELS   (2)
#define SAMPLE_RATE   (44100)
#define SINE_TABLE_SIZE   (100)

Function Documentation

int main ( int  argc,
char *  argv[] 
)