It sounds like you're asking for an HTML-based chiptune tracker with features like:
Piano input
BPM control
Rows per track
Patterns with rows
Synth per instrument (custom oscillators)
Volume, detune, ADSR envelope, filter, noise controls
Ability to share songs via URL (like with "/#" in the URL)
Keyboard shortcuts
Loop playback
No demo (possibly meaning no demo audio or no demo data on load)
You may want an open-source or ready-to-use chiptune tracker implemented in the browser with those features, or you might want resources about how to build one.
Options that fit your description:
Existing Projects / Web Tools
FamiTracker (not web-based)
Popular tracker for NES chiptunes but is a Windows app, not HTML.
beepbox.co
Online chiptune-style music box.
Features: a piano keyboard, BPM, patterns, synths with basic oscillators, volume, detune, ADSR, filter.
Share via URL with hashes (#) – supports saving songs to URLs.
Loop support and keyboard shortcuts.
Well-known and stable.
URL: https://beepbox.co
It has "rows per pattern" of 32, slicing the pattern into smaller parts.
Supports multiple instruments with custom oscillators.
jsfxr / bfxr + tracker UI
Libraries for synth sounds; trackers built on these can add more features but usually less polished.
Pattern Chainer or open-source HTML trackers
You can look for projects on GitHub like "html5 chiptune tracker".
If you want to build one yourself (or see minimal sample):
Basic features you’d want to implement:
Piano roll UI : an HTML table/grid for inputting notes.
BPM control : sets playback tempo.
Patterns and Rows : Store note data in 2D arrays representing patterns and rows.
Synth per instrument : Use Web Audio API OscillatorNodes.
Custom oscillator waves : Use PeriodicWave for custom waveshapes.
Volume, Detune, ADSR envelope, Filter, Noise : Using GainNode, BiquadFilterNode, custom noise buffer, envelopes schedulers.
Loop playback : Restart pattern playback when end reached.
Keyboard shortcuts : Listen to keydown events.
Sharing via URL : Serialize song data via JSON, compress (e.g., Base64 or LZ-string), pass in URL hash.
No demo song loaded by default : load empty data or your own song by default.
Minimal example snippet to get started (pseudocode):
html Copy code
<!DOCTYPE html>
<html>
<head>
<title>Simple Chiptune Tracker</title>
<style>
/* Basic styles for piano roll */
</style>
</head>
<body>
<input type="number" id="bpm" value="120" min="30" max="300"> BPM
<button id="play">Play</button>
<div id="piano-roll"></div>
<script>
const AudioCtx = window.AudioContext || window.webkitAudioContext;
const ctx = new AudioCtx();
let isPlaying = false;
let bpm = 120;
let rowsPerPattern = 32;
let currentRow = 0;
// Example instrument with simple oscillator
function playNote(freq, duration=0.5) {
let osc = ctx.createOscillator();
let gain = ctx.createGain();
osc.type = 'square'; // custom osc possible
osc.frequency.value = freq;
gain.gain.setValueAtTime(0.2, ctx.currentTime);
gain.gain.exponentialRampToValueAtTime(0.001, ctx.currentTime + duration);
osc.connect(gain);
gain.connect(ctx.destination);
osc.start();
osc.stop(ctx.currentTime + duration);
}
// Map piano keys rows to frequencies (C4=261.6Hz)
function rowToFreq(row) {
return 261.63 * Math.pow(2, (row - 12) / 12);
}
let pattern = new Array(rowsPerPattern).fill(null).map(() => null); // 1D pattern
// Example UI and controls would go here
document.getElementById('play').onclick = () => {
if (!isPlaying) {
isPlaying = true;
let interval = (60 / bpm) / 4 * 1000; // 4 rows per beat
let timer = setInterval(() => {
let note = pattern[currentRow];
if (note !== null) {
playNote(rowToFreq(note));
}
currentRow++;
if (currentRow >= rowsPerPattern) currentRow = 0;
if (!isPlaying) clearInterval(timer);
}, interval);
} else {
isPlaying = false;
}
}
</script>
</body>
</html>
Summary guidance:
If you seek ready-to-use , try https://beepbox.co
For a minimal, build your own approach , use Web Audio API and an input grid.
For sharing, serialize your pattern data into URL hash.
Keyboard shortcuts & loops are straightforward JS event handling.
Custom oscillators and synth params: Web Audio API OscillatorNode and PeriodicWave.
If you want, I can help you build or find a full tracker implementation with those exact features. Let me know!