html chiptune tracker bpm rows per tracks patterns rows per pattern synth per instrument…
- User
html chiptune tracker bpm rows per tracks patterns rows per pattern synth per instrument custom osc volume detune adsr filter noise share song shortcuts loop "/#" no demo
- Assistant
You want to create (or get) an HTML chiptune tracker with the following features and constraints:
- BPM (tempo control)
- Rows per track
- Patterns and rows per pattern
- Synth per instrument
- Custom oscillator
- Volume control
- Detune
- ADSR envelope (attack, decay, sustain, release)
- Filter
- Noise
- Ability to share the song
- Keyboard shortcuts
- Looping ability
- URL hash sharing via
/# - No demo mode
Options & Guidance
1. Use Existing Open-Source Projects
Several browsers-based chiptune trackers exist. But many are limited in features or demo modes:
- FamiTracker Web: Classic NES style. But no built-in sharing via URL hash or custom oscillator setup.
- BeepBox: Popular chiptune editor with sharing via URL hash, built-in synth, patterns, ADSR, volumes, detune, filters, noise. Supports custom oscillators (wave shapes). Allows setting BPM, pattern length, rows, etc. It supports shortcuts and looping. You can share via URL hashes (
/#).
BeepBox almost matches what you want out of the box.
- How to share song: Export to URL (
/#+ song data). - Keyboard shortcuts supported.
- Looping patterns.
- Custom oscillator shapes.
- ADSR controls.
- Filter, noise controls.
- Volume, detune, BPM, rows per pattern.
No demo mode—BeepBox is always live editing.
Alternative: Build Your Own Minimal Tracker
If you want to code from scratch, you’d use:
- HTML5 Audio or Web Audio API for synth.
- Create a grid representing tracks, patterns, rows.
- Rows per pattern — configurable.
- BPM — set timing between rows.
- Instrument definitions include oscillator type, volume, detune, ADSR, filter, noise.
- Use keyboard events for shortcuts.
- Save state by serializing song data into URL hash or localStorage.
- Looping playback logic.
This is a large project but the concept looks like this:
// Example: Web Audio synth setup for an instrument: class Instrument { constructor(audioCtx, options) { this.audioCtx = audioCtx; this.osc = audioCtx.createOscillator(); this.osc.type = options.oscType; // 'sine', 'square', 'custom' etc. this.osc.frequency.setValueAtTime(options.freq, audioCtx.currentTime); // Detune this.osc.detune.setValueAtTime(options.detune, audioCtx.currentTime); // Gain node for volume and ADSR envelope this.gainNode = audioCtx.createGain(); this.gainNode.gain.setValueAtTime(0, audioCtx.currentTime); // Filter node if needed if(options.filterType){ this.filter = audioCtx.createBiquadFilter(); this.filter.type = options.filterType; this.filter.frequency.setValueAtTime(options.filterFreq, audioCtx.currentTime); this.osc.connect(this.filter); this.filter.connect(this.gainNode); } else { this.osc.connect(this.gainNode); } this.gainNode.connect(audioCtx.destination); this.osc.start(); } playNote(){ let now = this.audioCtx.currentTime; let attackEnd = now + options.attack; this.gainNode.gain.cancelScheduledValues(now); this.gainNode.gain.setValueAtTime(0, now); this.gainNode.gain.linearRampToValueAtTime(options.volume, attackEnd); // Decay and sustain etc to be done similarly } stopNote(){ // implement release envelope } }
Summary
- If you want a ready-made solution: Use BeepBox. It's the closest match to your feature set, free, no demo mode, supports URL hash share, custom oscillators, ADSR, filters, noise, volume, detune, BPM, patterns, rows, shortcuts, and looping.
- If you want a minimal custom tracker: Build a grid UI with Web Audio API synth layers using custom oscillator settings, envelopes, and filter nodes. Save the state in the URL for sharing.
If you want, I can help you create a minimal working example or help you set up BeepBox with customized parameters. Would you prefer code for a minimal chiptune tracker or instructions about using BeepBox?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-mini-2025-04-14Compare side by side →