pa_fuzz.c File Reference
Distort input like a fuzz box.
More...
#include <stdio.h>
#include <math.h>
#include "portaudio.h"
Detailed Description
Distort input like a fuzz box.
- Author:
- Phil Burk http://www.softsynth.com
Define Documentation
#define FRAMES_PER_BUFFER (64) |
#define FUZZ |
( |
x |
|
) |
CubicAmplifier(CubicAmplifier(CubicAmplifier(CubicAmplifier(x)))) |
#define PA_SAMPLE_TYPE paFloat32 |
#define SAMPLE_RATE (44100) |
Typedef Documentation
Function Documentation
float CubicAmplifier |
( |
float |
input |
) |
|
References PaStreamParameters::channelCount, PaDeviceInfo::defaultLowInputLatency, PaDeviceInfo::defaultLowOutputLatency, PaStreamParameters::device, FRAMES_PER_BUFFER, PaStreamParameters::hostApiSpecificStreamInfo, Pa_CloseStream(), Pa_GetDefaultInputDevice(), Pa_GetDefaultOutputDevice(), Pa_GetDeviceInfo(), Pa_GetErrorText(), Pa_Initialize(), Pa_OpenStream(), PA_SAMPLE_TYPE, Pa_StartStream(), Pa_Terminate(), paNoError, SAMPLE_RATE, PaStreamParameters::sampleFormat, and PaStreamParameters::suggestedLatency.