It looks like you're asking about creating or finding an HTML chiptune tracker with specific features. Here's a breakdown of what your requirements seem to be:
- BPM control (tempo)
- Patterns with rows per pattern control
- Multiple instruments, each with:
- Synth sound, possibly with a custom oscillator
- Volume and detune controls
- ADSR envelope
- Filter and noise control
- Ability to share songs (export/import)
- Keyboard shortcuts for workflow efficiency (like duplicate, delete, loop)
- Support for pattern looping
- Avoid "/#" in URLs or demo links? (unclear, maybe avoid hash fragments)
- No "demo" versions or ads — a full-featured tracker
Option 1: Existing Projects / Libraries
There are a few open-source web-based chiptune trackers that may fulfill many of your criteria, or serve as starting points.
-
BeepBox (https://www.beepbox.co/)
- Web-based chiptune tracker
- Pattern-based sequencing with rows and BPM control
- Instruments support custom waveforms
- ADSR envelopes and volume
- Supports sharing songs via URL
- Keyboard shortcuts
- Filter and noise controls
- Open source on GitHub
- May not have full detune per oscillator but close.
- URL sharing uses URL hashes (
/#), which you might want to avoid?
-
FamiTracker Web / JS versions
- Emulates NES/Famicom style tracking with synth per instrument
- Normally desktop based, but some JS ports are available.
- More limited GUI but faithful to 8-bit sounds.
- May not have as flexible ADSR or custom osc.
-
WebAudio-based Trackers on GitHub
- Some users have built trackers with various features — you might find components you can combine.
Option 2: Build Your Own Simple HTML/JS Chiptune Tracker
Since you want a fully customizable tracker without demo or ads, you can build one around the Web Audio API:
- BPM: Control playback speed with timing loops.
- Patterns and rows: Represent song structure in arrays.
- Instruments: Each instrument can be an object with oscillator (sine, square, sawtooth, custom via PeriodicWave), volume, detune, ADSR (gain node envelope), filter (BiquadFilterNode), noise (white noise generator).
- Sharing: Export the pattern/instrument data as JSON string that can be imported/shared.
- Shortcuts: Use
keydown events for duplicate/delete/loop.
- Looping: Implement song playback with loops.
- Avoid using hashes in URLs by using POST or local storage for sharing.
Minimal Suggested Tech Stack
- HTML5 + CSS3 (UI grid for tracker patterns)
- JavaScript (ES6+)
- Web Audio API (synth, filters, envelopes)
- LocalStorage / JSON exports for saving/sharing
Sample conceptual snippet for an instrument with Web Audio API:
function createInstrument(audioCtx, type='square', volume=0.5, detune=0, adsr={a:0.1,d:0.1,s:0.7,r:0.2}) {
return {
play(noteFrequency, startTime, duration) {
const osc = audioCtx.createOscillator();
const gainNode = audioCtx.createGain();
const filter = audioCtx.createBiquadFilter();
osc.type = type;
osc.frequency.value = noteFrequency;
osc.detune.value = detune;
filter.type = 'lowpass';
filter.frequency.setValueAtTime(2000, startTime);
osc.connect(filter);
filter.connect(gainNode);
gainNode.connect(audioCtx.destination);
// ADSR envelope
const {a, d, s, r} = adsr;
gainNode.gain.setValueAtTime(0, startTime);
gainNode.gain.linearRampToValueAtTime(volume, startTime + a);
gainNode.gain.linearRampToValueAtTime(s * volume, startTime + a + d);
gainNode.gain.setValueAtTime(s * volume, startTime + duration - r);
gainNode.gain.linearRampToValueAtTime(0, startTime + duration);
osc.start(startTime);
osc.stop(startTime + duration + 0.1);
}
};
}
Summary
- BeepBox probably fits many requirements out-of-the-box.
- For full control, consider building your own tracker with the Web Audio API.
- Use JSON export/import for sharing instead of URL hash params.
- Implement keyboard shortcuts via JS events for UX.
- Custom oscillators can be made with
PeriodicWave.
- Filters and noise can be added with
BiquadFilterNode and noise buffers.
If you want, I can help you build a starter tracker or guide you through modifying an open source project. Just let me know!