musicdsp.org source code archive
Analysis
Beat Detector Class
Coefficients for Daubechies wavelets 1-38
DFT
Envelope detector
Envelope Detector class (C++)
Envelope follower with different attack and release
Fast in-place Walsh-Hadamard Transform
FFT
FFT classes in C++ and Object Pascal
Frequency response from biquad coefficients
Java FFT
Look ahead limiting
LPC analysis (autocorrelation + Levinson-Durbin recursion)
Magnitude and phase plot of arbitrary IIR function, up to 5th order
Measuring interpollation noise
QFT and DQFT (double precision) classes
Simple peak follower
tone detection with Goertzel
Tone detection with Goertzel (x86 ASM)
Effects
2 Wave shaping things
Alien Wah
Band Limited PWM Generator
Bit quantization/reduction effect
Class for waveguide/delay effects
Compressor
Decimator
Delay time calculation for reverberation
DIRAC - Free C/C++ Library for Time and Pitch Manipulation of Audio Based on Time-Frequency Transforms
dynamic convolution
Early echo's with image-mirror technique
ECE320 project: Reverberation w/ parameter control from PC
fold back distortion
Guitar feedback
Lo-Fi Crusher
Most simple and smooth feedback delay
Most simple static delay
Parallel combs delay calculation
Phaser code
Polynominal Waveshaper
Reverberation Algorithms in Matlab
Reverberation techniques
Simple Compressor class (C++)
smsPitchScale Source Code
Soft saturation
Stereo Enhancer
Stereo Field Rotation Via Transformation Matrix
Stereo Width Control (Obtained Via Transfromation Matrix)
Time compression-expansion using standard phase vocoder
transistor differential amplifier simulation
Variable-hardness clipping function
WaveShaper
Waveshaper
Waveshaper
Waveshaper (simple description)
Waveshaper :: Gloubi-boulga
Filters
1-RC and C filter
18dB/oct resonant 3 pole LPF with tanh() dist
1st and 2nd order pink noise filters
3 Band Equaliser
303 type filter with saturation
All-Pass Filters, a good explanation
Another 4-pole lowpass...
Bass Booster
Biquad C code
Butterworth Optimized C++ Class
C++ class implementation of RBJ Filters
C-Weighed Filter
Cascaded resonant lp/hp filter
Cool Sounding Lowpass With Decibel Measured Resonance
DC filter
Delphi Class implementation of the RBJ filters
Digital RIAA equalization filter coefficients
Direct form II
Fast Downsampling With Antialiasing
Formant filter
frequency warped FIR lattice
Hilbert Filter Coefficient Calculation
Hiqh quality /2 decimators
Karlsen
Karlsen Fast Ladder
Lowpass filter for parameter edge filtering
LP and HP filter
LPF 24dB/Oct
Moog Filter
Moog VCF
Moog VCF, variation 1
Moog VCF, variation 2
Notch filter
One pole filter, LP and HP
One pole LP and HP
One pole, one zero LP/HP
One zero, LP/HP
Peak/Notch filter
Perfect LP4 filter
Phase equalization
Pink noise filter
Plot Filter (Analyze filter characteristics)
Plotting R B-J Equalisers in Excel
Polyphase Filters
Polyphase Filters (Delphi)
Poor Man's FIWIZ
Prewarping
RBJ Audio-EQ-Cookbook
RBJ Audio-EQ-Cookbook
Remez Exchange Algorithm (Parks/McClellan)
Remez Remez (Parks/McClellan)
Resonant filter
Resonant IIR lowpass (12dB/oct)
Resonant low pass filter
Reverb Filter Generator
State variable
State Variable Filter (Chamberlin version)
State Variable Filter (Double Sampled, Stable)
Stilson's Moog filter code
Time domain convolution with O(n^log2(3))
Time domain convolution with O(n^log2(3))
Type : LPF 24dB/Oct
Various Biquad filters
Windowed Sinc FIR Generator
Zoelzer biquad filters
Other
VST SDK GUI Switch without
16-Point Fast Integer Sinc Interpolator.
16-to-8-bit first-order dither
3rd order Spline interpollation
5-point spline interpollation
Allocating aligned memory
Antialiased Lines
Automatic PDC system
Base-2 exp
Bit-Reversed Counting
Block/Loop Benchmarking
Branchless Clipping
Calculate notes (java)
Center separation in a stereo mixdown
Center separation in a stereo mixdown
Cheap pseudo-sinusoidal lfo
Clipping without branching
Constant-time exponent of 2 detector
Conversion and normalization of 16-bit sample to a floating point number
Conversions on a PowerPC
Copy-protection schemes
Cubic interpollation
Cure for malicious samples
Denormal DOUBLE variables, macro
Denormal numbers
Denormal numbers, the meta-text
Denormalization preventer
Denormalization preventer
Dither code
Dithering
Double to Int
Envelope Follower
Exponential parameter mapping
fast abs/neg/sign for 32bit floats
Fast binary log approximations
Fast cube root, square root, and reciprocal for x86/SSE CPUs.
fast exp() approximations
Fast exp2 approximation
Fast log2
fast power and root estimates for 32bit floats
Fast rounding functions in pascal
Fast sign for 32 bit floats
Float to int
Float to int (more intel asm)
Float to integer conversion
Float-to-int, coverting an array of floats
Gaussian dithering
Gaussian random numbers
Hermite Interpolator (x86 ASM)
Hermite interpollation
Linear interpolation
Lock free fifo
Matlab Time Domain Impulse Response Inverter/Divider
MATLAB-Tools for SNDAN
MIDI note/frequency conversion
Millimeter to DB (faders...)
Motorola 56300 Disassembler
Noise Shaping Class
Nonblocking multiprocessor/multithread algorithms in C++
Piecewise quadratic approximate exponential function
please add it as a comment to the Denormalization preventer entry (no comments are allowed now) thanks
pow(x,4) approximation
rational tanh approximation
Reading the compressed WA! parts in gigasampler files
Real basic DSP with Matlab (+ GUI) ...
real value vs display value
Really fast x86 floating point sin/cos
Reasonably accurate/fastish tanh approximation
resampling
Saturation
Sin(x) Aproximation (with SSE code)
Sin, Cos, Tan approximation
Synthesis
(Allmost) Ready-to-use oscillators
Alias-free waveform generation with analog filtering
AM Formantic Synthesis
Another cheap sinusoidal LFO
another LFO class
antialiased square generator
Arbitary shaped band-limited waveform generation (using oversampling and low-pass filtering)
Audiable alias free waveform gen using width sine
Bandlimited sawtooth synthesis
Bandlimited waveform generation
Bandlimited waveform generation with hard sync
Bandlimited waveforms synopsis.
Bandlimited waveforms...
Butterworth
C# Oscilator class
C++ gaussian noise generation
chebyshev waveshaper (using their recursive definition)
Cubic polynomial envelopes
Direct pink noise synthesis with auto-correlated generator
Discrete Summation Formula (DSF)
Drift generator
DSF (super-set of BLIT)
Easy noise generation
Fast & small sine generation tutorial
Fast Exponential Envelope Generator
Fast LFO in Delphi...
Fast sine and cosine calculation
Fast sine wave calculation
Fast square wave generator
Fast Whitenoise Generator
Gaussian White noise
Gaussian White Noise
Generator
Inverted parabolic envelope
matlab/octave code for minblep table generation
PADsynth synthesys method
Parabolic shaper
Phase modulation Vs. Frequency modulation
Phase modulation Vs. Frequency modulation II
Pseudo-Random generator
PulseQuad
Pulsewidth modulation
Quick & Dirty Sine
quick and dirty sine generator
RBJ Wavetable 101
Rossler and Lorenz Oscillators
SawSin
Sine calculation
Square Waves
Trammell Pink Noise (C++ class)
Waveform generator using MinBLEPS
Wavetable Synthesis
Weird synthesis