Professional-grade audio effects ported from torvalds/AudioNoise C algorithms
Features β’ Quick Start β’ DSP Engine β’ Architecture β’ Contributing β’ Support
AudioNoise Web brings professional guitar pedal DSP effects to your browser. Process audio in real-time with sub-millisecond latency using algorithms ported from Linus Torvalds' AudioNoise C library.
"The main design goal has been to learn about digital audio processing basics. Just IIR filters and basic delay loops. Everything is single sample in, single sample out with no latency." β Linus Torvalds
Real-time audio processing ported from C-based guitar pedal algorithms:
| Effect | Description |
|---|---|
| Echo | Delay with feedback and LFO modulation |
| Flanger | Classic modulated delay sweeping |
| Phaser | 4-stage allpass cascade with LFO |
| Low Pass | Warm tone shaping biquad filter |
| High Pass | Clean up muddy frequencies |
| Band Pass | Isolate frequency ranges |
| Notch | Surgical frequency removal |
| All Pass | Phase shifting without amplitude change |
- Waveform β Time-domain audio visualization
- Spectrum Analyzer β Frequency distribution bars
- Spectrogram β Scrolling frequency/time heatmap
- File Upload β Process any audio file (MP3, WAV, OGG)
- Microphone β Live real-time processing
- Bluetooth β Multi-channel instrument routing
- Bring your own API key (OpenAI, Anthropic, Ollama, or custom)
- Analyzes your audio in real-time
- Recommends effects based on frequency profile
- One-click effect application with optimized parameters
# Clone the repository
git clone https://github.com/yourusername/audionoise-web.git
cd audionoise-web
# Install dependencies
npm install
# Start development server
npm run devOpen http://localhost:5000 in your browser.
The AudioNoise DSP Engine is a complete audio processing toolkit ported from C to TypeScript/Web Audio API.
client/src/lib/dsp/
βββ audio-engine.ts # Web Audio context management
βββ lfo.ts # Low Frequency Oscillator
βββ biquad.ts # IIR filter implementations
βββ delay-line.ts # Circular buffer with interpolation
βββ effects/
β βββ echo.ts # Delay-based echo
β βββ flanger.ts # Modulated delay flanger
β βββ phaser.ts # Allpass cascade phaser
βββ index.ts # Module exports
Inspired by the original AudioNoise C library:
- Zero Latency β Single sample in, single sample out
- IIR Filters β Efficient recursive filtering
- Real-Time Safe β No allocations in audio path
- Analog Emulation β Digital recreation of classic circuits
import { audioEngine, createEchoNode, createPhaserNode } from '@/lib/dsp';
// Initialize engine
await audioEngine.initialize();
// Connect audio source
await audioEngine.connectMicrophone();
// Add effects
const echo = createEchoNode(audioEngine.audioContext, 300, 0.5, 0.5);
audioEngine.addEffect(echo.input);
// Get visualization data
const freqData = audioEngine.getFrequencyData();audionoise-web/
βββ client/ # React frontend
β βββ src/
β β βββ components/ # UI components
β β β βββ effects-rack.tsx
β β β βββ audio-visualizer.tsx
β β β βββ ai-effect-suggester.tsx
β β β βββ audio-input.tsx
β β βββ hooks/ # React hooks
β β β βββ use-audio-dsp.ts
β β βββ lib/
β β β βββ dsp/ # AudioNoise DSP library
β β βββ pages/
β β βββ studio.tsx # Main application
β βββ index.html
βββ server/ # Express backend
βββ reference/ # Original C algorithms
β βββ audionoise-c/
βββ shared/ # Shared types
| Layer | Technology |
|---|---|
| Frontend | React 18, TypeScript, Tailwind CSS |
| UI Components | shadcn/ui, Radix Primitives |
| Audio | Web Audio API, AudioWorklet |
| State | React Query, Zustand |
| Backend | Express, Node.js |
| Build | Vite, ESBuild |
We love contributions! See our Contributing Guide for details.
Quick contribution ideas:
- πΈ Port more effects from AudioNoise (FM synthesis, AM synthesis, distortion)
- π Add FFT frequency-domain analysis (see issue #37)
- ποΈ Add granular synthesis controls (see issue #40)
- π§ͺ Add unit tests for DSP algorithms
- π± Improve mobile responsiveness
If AudioNoise Web helps you process audio, consider supporting development:
0x618d855C2F32f1C9343624111b8bEd20eEccdf53
Your support helps us:
- π Port more effects from AudioNoise
- π Add FFT visualization and analysis
- π± Improve mobile experience
- π Create tutorials and documentation
This project is licensed under the GNU General Public License v2 β see the LICENSE file for details.
This is free and open source software. You are free to use, modify, and distribute this software under the terms of the GPL v2.
- AudioNoise β Original C DSP algorithms for guitar pedals
- DaisySP β Inspiration for flanger implementation
- Web Audio API β Making browser audio processing possible
- shadcn/ui β Beautiful component primitives
Built with π for audio enthusiasts
AudioNoise Web β Real-time DSP in your browser