A browser-based music sequencer for creating disco and funk inspired tracks. It is built with a powerful chord-based workflow, designed to facilitate the creation of everything from classic four-on-the-floor anthems to intricate, syncopated funk grooves.
Features
- Multi-track Sequencing: Independent sequencers for Drums, Bass, and Chords.
- Chord-Centric Workflow: Build your song around a chord progression using the interactive Chord Grid.
- Chord Sequencer: Arrange your selected chords into a full song structure.
- Diatonic & Extended Chords: Automatically generates diatonic chords for any key and scale, with access to a rich library of extended chords (Maj7, m7, V7, etc.) to add authentic flavor.
- Step Sequencer: A classic 16-step sequencer for crafting drum patterns.
- Piano Roll: A dedicated piano roll for creating and editing melodic basslines that follow the chord progression.
- Arpeggiator: Instantly create melodic patterns from your chords with a flexible arpeggiator, featuring adjustable rate and patterns (Up, Down, Chaos).
- Sound Library: Comes packed with a selection of genre-appropriate sounds:
- Drum Kits: Studio, Electronic, and Vintage kits.
- Bass Sounds: Synth Moog, Slap Bass, and Sub Bass.
- Chord Instruments: Electric Piano and Synth Strings.
- Pattern Automation: Record changes to your drum and bass patterns directly into the timeline.
- MIDI Export: Download your entire composition as a multi-track MIDI file to use in any Digital Audio Workstation (DAW).
- Auto SFX: Automatic sound effects (stabs, airhorns) for track turnarounds.
Music Theory and Design
Discotron is a music creation tool built on the fundamental principles of disco and funk music theory. This approach helps create harmonically and rhythmically coherent music.
The Disco Sound
The classic disco sound is defined by a few key elements:
- Four-on-the-Floor Kick Drum: A driving kick drum on every beat is the foundation of most disco tracks.
- Syncopated Basslines: The bassline is often the melodic star of the show, weaving a syncopated, catchy line around the kick drum pattern.
- Lush Chords: Disco harmony is rich with 7th chords (major 7ths, minor 7ths, dominant 7ths) and other extensions, often played on electric piano or strings.
- Orchestral & Synth Stabs: Short, percussive stabs from brass, strings, or synths add punctuation and excitement.
Chord-Centric Workflow & Diatonic Harmony
Discotron’s workflow is built around the chord progression. You start by selecting a key and scale. The Chord Grid then automatically calculates the diatonic chords for that key. Diatonic chords are the chords naturally formed from the notes of a given scale. For example, in the key of C Major, the diatonic chords are C Major, D minor, E minor, F Major, G Major, A minor, and B diminished. Using these chords ensures progressions have a strong sense of harmonic cohesion.
Discotron’s ChordGrid provides these diatonic chords as a starting point, a fundamental songwriting technique. To capture the sound of disco and funk, the app also provides a library of extended chords, which are chords with extra notes added (like the 7th) that create a richer, more complex sound.
The Bassline: Groove and Counterpoint
In disco and funk, the bassline is rarely just playing the root note of the chord. Instead, it creates a melodic counterpoint to the chords and a rhythmic interplay with the drums.
Discotron’s bass Piano Roll is tied to the currently playing chord. When you add notes to the bass sequencer, they are relative to the root of the chord. This makes it intuitive to create basslines that are harmonically “correct” while still allowing for the creation of the syncopated, octave-jumping lines that are characteristic of the genre. The included bass presets also provide great starting points for classic disco bass patterns.
Rhythm and Groove
The rhythmic foundation of disco is the four-on-the-floor kick drum. Discotron’s drum Sequencer is a classic 16-step grid, perfect for programming this and other iconic disco beat elements, like the open hi-hat on the off-beats and the snare on beats 2 and 4.
Getting Started
- Clone the repository:git clone https://github.com/your-username/discotron—the-ultimate-disco-machine.git cd discotron—the-ultimate-disco-machine
- Install dependencies:npm install
- Run the development server:npm run devThe application will be available at
http://localhost:5173.
Technology Stack
Styling: Tailwind CSS
Frontend: React, TypeScript
Build Tool: Vite
Audio: Web Audio API