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
It sounds like you want to create or find an HTML-based chiptune tracker with these specific features:
- BPM (tempo control)
- Rows per track
- Patterns with rows per pattern
- Multiple tracks/instruments
- Custom synth oscillator per instrument
- Volume & detune controls
- ADSR envelope
- Filter and noise options
- Ability to share songs (e.g., via URL hash
/#) - Keyboard shortcuts for control
- Looping playback
- No demo mode (fully enabled without limitations)
A summary of what you want:
Feature Description BPM Control the tempo (beats per minute) Rows per track Number of discrete steps or rows per track Patterns Patterns composed of rows; number of rows per pattern Synth per instrument Custom oscillator (e.g., square, sine, triangle) per instrument Volume & detune Control loudness and slight pitch variation ADSR ADSR envelope controls for shaping the amplitude over time Filter & noise Audio filter and noise generation per track or instrument Song sharing Share via URL hash or other means Shortcuts Keyboard shortcuts for ease of composition Looping Support looping the song or patterns No demo Full feature without demo restrictions
Options
- Use an existing open-source HTML5 tracker framework and customize it
Here are some examples of open source/project templates:
-
FamiTracker: Not web-based, but inspiration for features.
-
jsfxr / jsSID and other web synths: smaller synths without trackers.
-
BeepBox (https://www.beepbox.co/) is an online chiptune tracker with many features, but might not support everything you want or have “demo” limitation.
-
4CC Soundtracker (https://github.com/4ccc/soundtracker): experimental, limited
-
WebAudio API based custom trackers, built with libraries like Tone.js or Howler.js.
- Build your own minimal tracker in JS/HTML
You could use Tone.js or WebAudio API and build:
- A grid UI for patterns and tracks (e.g. HTML tables or divs)
- BPM control adjusting Tone.Transport.bpm
- Rows per pattern selectable
- Synth per instrument using oscillators with custom options (osc type, volume, detune)
- ADSR envelopes
- Filter nodes and noise source (e.g. white noise oscillator)
- Save/load song data encoded as JSON or compressed and share via
/#URL hash - Keyboard shortcuts via JS event listeners
- Looping playback via Tone.js Transport loop regions
Example —— minimal core with Tone.js
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Mini Chiptune Tracker</title> <style> body { font-family: monospace; background: #111; color: #eee; } .pattern-row { display: flex; } .cell { width: 30px; height: 24px; border: 1px solid #444; text-align: center; cursor: pointer; } .cell.active { background: #0f0; color: #000; } </style> </head> <body> <h1>Chiptune Tracker BPM: <input id="bpm" type="number" value="120" min="30" max="300"></h1> <div id="tracker"></div> <button id="play">Play/Pause</button> <button id="share">Share URL</button> <script src="https://cdn.jsdelivr.net/npm/tone@14.8.39/build/Tone.js"></script> <script> const bpmInput = document.getElementById('bpm'); const playBtn = document.getElementById('play'); const shareBtn = document.getElementById('share'); // Settings const tracksCount = 4; const rowsPerPattern = 16; const synths = []; const patterns = []; // Array of arrays: pattern[track][row] = note or null const notes = ['C4', 'D4', 'E4', 'F4', 'G4', 'A4', 'B4', 'C5']; function createSynth() { return new Tone.Synth({ oscillator: { type: "square" }, envelope: { attack: 0.01, decay: 0.1, sustain: 0.3, release: 0.5 }, volume: -8 }).toDestination(); } // Initialize synths and empty pattern data for(let t=0; t<tracksCount; t++){ synths.push(createSynth()); patterns.push(new Array(rowsPerPattern).fill(null)); } // Build the pattern UI const trackerEl = document.getElementById('tracker'); function buildUI(){ trackerEl.innerHTML = ''; for(let row=0; row<rowsPerPattern; row++){ const rowEl = document.createElement('div'); rowEl.classList.add('pattern-row'); for(let track=0; track<tracksCount; track++){ const cell = document.createElement('div'); cell.classList.add('cell'); cell.dataset.track = track; cell.dataset.row = row; const note = patterns[track][row]; cell.textContent = note ? note[0] : '-'; if(note) cell.classList.add('active'); cell.addEventListener('click', () => { // Cycle through notes including none const currentNote = patterns[track][row]; let i = notes.indexOf(currentNote); i = (i + 1) % (notes.length + 1); const newNote = i < notes.length ? notes[i] : null; patterns[track][row] = newNote; buildUI(); }); rowEl.appendChild(cell); } trackerEl.appendChild(rowEl); } } buildUI(); // Playback let currentRow = 0; let isPlaying = false; Tone.Transport.bpm.value = bpmInput.value; Tone.Transport.scheduleRepeat((time) => { for(let t=0; t<tracksCount; t++){ const note = patterns[t][currentRow]; if(note) { // Play note with detune varying per track synths[t].triggerAttackRelease(note, "8n", time); } } currentRow = (currentRow + 1) % rowsPerPattern; }, "16n"); playBtn.onclick = () => { if(isPlaying){ Tone.Transport.stop(); isPlaying = false; } else { Tone.start().then(() => { Tone.Transport.start(); isPlaying = true; }); } }; bpmInput.onchange = () => { Tone.Transport.bpm.value = parseInt(bpmInput.value)||120; }; // Share via URL hash (simple JSON encoding) shareBtn.onclick = () => { const shareData = { bpm: bpmInput.value, patterns: patterns }; const str = encodeURIComponent(JSON.stringify(shareData)); const url = window.location.origin + window.location.pathname + "#/song=" + str; prompt("Copy this URL to share your song:", url); }; // Load song from URL hash if present function loadFromHash(){ const hash = window.location.hash; if(hash.startsWith("#/song=")){ try { const dataStr = decodeURIComponent(hash.substr(7)); const data = JSON.parse(dataStr); bpmInput.value = data.bpm || 120; Tone.Transport.bpm.value = bpmInput.value; for(let t=0; t<tracksCount; t++){ patterns[t] = data.patterns[t] || new Array(rowsPerPattern).fill(null); } buildUI(); } catch(e){ console.error("Failed to load song from URL", e); } } } loadFromHash(); // Keyboard shortcuts example: space to play/pause window.addEventListener('keydown', (e)=>{ if(e.code === 'Space'){ e.preventDefault(); playBtn.click(); } }); </script> </body> </html>
Explanation:
- You get 4 tracks, 16 rows per pattern.
- Click cells to cycle notes.
- Tone.js synth with square wave oscillator.
- BPM control input.
- Play/pause with button or spacebar.
- Share your song by compressed JSON as URL hash.
- Load a song from URL hash on page load.
Next steps to expand
- Add sound filter nodes per instrument
- Add detune parameter adjustable per instrument
- Add custom ADSR envelope per instrument interface
- Add noise oscillator per track
- Add multiple patterns and pattern order sequencing
- Improve UI/UX with better styling and interaction
- Save/load from localStorage or downloadable files
If you want a full-featured existing tracker with all these features (especially custom osc, ADSR, filter, noise), no demo limits, fully web-based, that's pretty advanced and typically requires custom development or advanced projects.
Let me know if you want help building on top of this sample!
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 →