I have built ChaosBreaker, an advanced breakbeat chopper and generative rhythm application built with React, Web Audio API, and Tailwind CSS.
Features & Capabilities Built
-
Audio Input & Intelligent Slicing Engine:
- Pre-Loaded Iconic Breaks: Includes procedurally synthesized acoustic and synthetic classic breakbeats (Amen Break, Think Break, Neurofunk DnB Break, and Glitch IDM Micro Break) for instant playback out of the box.
- User Audio File Upload: Load local WAV, MP3, OGG, or FLAC audio files.
- Live Microphone Recording: Capture live audio snippets directly from the microphone.
- Transient & Spectral Analysis Slicing: Onset detection via energy flux derivatives, equal grid slicing (8, 16, 32, 64 chops), and spectral centroid + zero-crossing classification into Kick, Snare, Hi-Hat, Ghost Note, and Vocal/Tone categories.
-
Exotic Chaotic Algorithms & Sources of Randomness:
- 3D Lorenz Attractor: 3D differential orbital velocity driving chop sequences, filter sweeps, and pitch modulations.
- Rössler System: Continuous expanding spiral loops interspersed with chaotic burst spikes.
- Chua Circuit Oscillator: Nonlinear double-scroll system creating syncopated jungle breakdowns.
- Hénon Discrete Map: 2D quadratic fractal mapping generating complex polyrhythms.
- Markov Chain Matrix: Probabilistic transition matrix trained on classic breakbeat drum hierarchies with custom Kick/Snare transition weights.
- Cellular Automata (Rule 30 & 110): Bitwise 1D/2D grid evolution determining active chop triggers, filter types, and micro-stutter rolls.
- Quantum Lévy Flight Burst: Heavy-tailed jump distributions and Poisson arrival bursts for radical rhythm interruptions.
- Fibonacci Golden Mean Spiral: Golden Ratio phase shift permutations over Euclidean rhythm structures.
-
Per-Chop Modulation & Advanced FX Processing Pipeline:
- Granular Stutter Subdivisions: 1x, 2x, 4x, 8x, and 16x micro-burst rolls with pitch ramp sweeps on individual chops.
- Pitch Shift & Reverse Engine: Per-chop semitone transpositions (-24 to +24 st) and instant reverse playback buffers.
- Multi-Mode SVF Filter: Cutoff sweeps, resonance control, and Formant Vowel Filters (A, E, I, O, U).
- Tube Saturator & Bitcrusher: Variable analog tube saturation curve and bit reduction down to 1-bit.
- Stereo Panning, Transient Accent Boost, Spatial Ping-Pong Delay & Shimmer Reverb Sends.
-
Looping Modes & Memory Snapshot Bank:
- Generative Mutating Mode: Automatically mutates chop resequencing, filter sweeps, pitches, and rolls at every loop cycle turn.
- Pattern Lock-In Mode: Freezes the current generated sequence so it loops consistently for live mixing.
- 8-Slot Pattern Snapshot Memory: Store, recall, and manage frozen loop states on the fly.
-
Tempo Detection, Time Stretching & Offline WAV Export:
- Autocorrelation BPM detection on loaded audio buffers.
- Real-time time stretching keeping slices tightly synchronized across tempos from 60 to 240 BPM.
- High-quality offline WAV rendering and download export.
-
Interactive DAW UI & Visualizers:
- Interactive Waveform View: Transient chop lines, color-coded slice region overlays, click-to-audition slices, and zoom controls.
- 3D Chaotic Attractor Orbit Visualizer: Real-time canvas animation of chaotic trajectories reacting dynamically to drum triggers.
- Real-Time Spectrum FFT Analyzer: Live audio frequency visualizer.
- Web MIDI & Live QWERTY Keymap Pad: Play drum chops like an MPC directly from your keyboard or connected USB MIDI controllers.
Files built: index.html, src/types/chopper.ts, src/audio/samplePresets.ts, src/audio/audioUtils.ts, src/audio/chaoticEngines.ts, src/audio/ChopperEngine.ts, src/components/Header.tsx, src/components/WaveformDisplay.tsx, src/components/ChaosVisualizer.tsx, src/components/StepSequencerView.tsx, src/components/ChaosControlPanel.tsx, src/components/MasterEffectsPanel.tsx, src/components/SnapshotManager.tsx, src/components/MidiKeyboardGuide.tsx, src/App.tsx