It sounds like you want to build (or find) an HTML-based chiptune tracker with the following features:
- BPM control
- Patterns with a given number of rows per pattern
- Multiple instruments with synth per instrument
- Custom waveforms or oscillators (osc)
- Volume and detune per note/instrument
- ADSR envelope (Attack, Decay, Sustain, Release)
- Filters and noise generation
- Song sharing functionality
- Keyboard shortcuts (for workflow)
- Ability to duplicate/delete/loop patterns or rows
- Use of URL hash (
/#) for sharing states or songs
- No demo or autoplay on load
Your Options
1. Existing Open Source Chiptune Trackers
There are a few web chiptune trackers with many of these features:
a) jsSID (http://lab.polygonal.de/jsSID/)
- SID chip emulation
- Has filters, ADSR, oscillators
- Pattern based, but bit old
b) BeepBox (https://www.beepbox.co/)
- Chiptune tracker with custom waveform support
- BPM, pattern arrangement, multiple instruments
- ADSR and effects per instrument
- Save/share songs via URL (including #hash)
- Keyboard shortcuts, loop patterns
- Volume control
- No annoying autoplay on load
- Very mature, maintained
c) FamiTracker (Windows app, not HTML)
d) WebSID (https://www.websidplayer.de/)
e) Planetchiptune (https://planetchiptune.com/)
- Tracker and synth tools, but not very customizable synth per instrument
2. Build Your Own (High Effort)
If you want a custom chiptune tracker with exactly those features, you’d need to use:
- Web Audio API for synth, oscillators, ADSR envelopes, filters, noise
- JavaScript with an audio scheduler and pattern playback logic
- A UI with pattern editor grid, instrument editor
- URL hash to encode song state (serialization / compression)
- Keyboard event handling
- React/Vue/Vanilla JS for interface
- No demo mode/play on app load
How to Get Started With your Own (basic outline):
- Use Web Audio API OscillatorNode + GainNode + BiquadFilterNode for synth with custom waveform and filters
- Implement a pattern sequencer (matrix of notes per channel/instrument) with rows per pattern fixed or adjustable
- Tempo control with BPM
- ADSR envelopes with GainNode automation or envelopes applied per note start/end
- Noise generator by using AudioBufferSourceNode with noise sample or script processor / AudioWorklet noise source
- Volume and detune controlled by oscillator frequency and gain values
- Keyboard shortcuts by listening to keyboard events and updating UI/actions
- Song sharing by serializing song data to JSON, compressing (e.g. LZ-string) and encoding it in URL
/# hash
- UI: use HTML + CSS Grid to show patterns, instrument editor for synth params
- Pattern/row loop, duplicate, delete features implemented in data structures + UI
Example Libraries / Components that May Help
- Tone.js — simplifies Web Audio API usage and scheduling
- LZ-string or similar to compress data in URL
- React or Svelte for UI (optional)
Summary & Recommendation
If you want a ready-to-go web chiptune tracker with most of these features, try BeepBox:
- https://www.beepbox.co/
- It has synth per instrument, custom waveforms, octave/volume/detune, ADSR, filters, noise
- Patterns with rows, BPM control
- Keyboard shortcuts, loop and duplicate patterns
- Share songs in URL hashes like
https://www.beepbox.co/#...
- No demo mode or autoplay on load (playback is user initiated)
If you want to build your own, start by exploring the Web Audio API oscillators and pattern sequencing, then add UI and sharing features.
If you want, I can help you make a minimal chiptune tracker starter example in HTML/JS with some of these features. Just ask!