PortAudio 2.0
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

◆ M_PI

#define M_PI   (3.14159265)

Referenced by main().

◆ NUM_INPUT_CHANNELS

#define NUM_INPUT_CHANNELS   (1)

Referenced by main().

◆ NUM_OUTPUT_CHANNELS

#define NUM_OUTPUT_CHANNELS   (2)

Referenced by main().

◆ SAMPLE_RATE

#define SAMPLE_RATE   (44100)

Referenced by main().

◆ SINE_TABLE_SIZE

#define SINE_TABLE_SIZE   (100)

Referenced by main().

Function Documentation

◆ main()