It sounds like you want to create or find an HTML-based chiptune tracker with specific features and characteristics, including:
- BPM control
- Rows per track
- Patterns and rows per pattern
- Synth per instrument, possibly with a custom oscillator
- Volume, detune, ADSR envelope, filter, noise
- Ability to share songs (probably via URL fragment, like
/#)
- Keyboard shortcuts and loop playback
- No demo audio or no demo mode
What you might want:
An in-browser chiptune tracker web app with advanced synthesis and pattern editing, that supports sharing via URL state, playing loops, customizable instruments (with custom oscillators, ADSR envelopes, filters, noise), and precise control of sequencing (BPM, rows, patterns).
Options & Resources:
1. Existing HTML5 Chiptune Trackers:
- BeepBox - https://www.beepbox.co/
- Web-based chiptune-like music editor
- Has BPM, pattern-based editing, custom synths, ADSR, detune, filters, noise
- Supports sharing via URL (
#)
- Keyboard shortcuts and loop playback
- Strong UI for patterns, instruments, rows per pattern
- No need to install; all in-browser
- Source: https://github.com/jscpt/beepbox
BeepBox matches many of your criteria. It is very popular and covers many features out-of-the-box.
2. Additional Libraries / Tools to build your own:
If you want to build one from scratch or customize:
Build your own UI with HTML/JS for tracking:
- Use
<canvas> or DOM elements for patterns, rows, instruments
- Implement row timing with BPM (calculate intervals for rows per minute/second)
- Each pattern is a block of rows; sequence multiple patterns per track
- Use Web Audio to create oscillators with custom waveforms and detune (e.g.,
OscillatorNode with setPeriodicWave), ADSR envelope (gain automation), filters (BiquadFilterNode), noise buffer sources (white noise)
Quick feature summary to check in your tracker:
| Feature | BeepBox | Custom build |
|---|
| BPM control | Yes | Yes |
| Rows per track | Yes | Customizable |
| Patterns & rows per pattern | Yes | Yes |
| Synth per instrument | Yes | Yes |
| Custom oscillator waveforms | Yes (basic waveforms + harmonics) | Yes (complex) |
| Volume, detune | Yes | Yes |
| ADSR envelope | Yes | Yes |
| Filter | Yes | Yes |
| Noise channel | Yes (noise instrument) | Yes |
| Share song by URL | Yes | Implement yourself |
| Keyboard shortcuts | Yes | Implement yourself |
| Loop playback | Yes | Yes |
| No demo mode | N/A (you can start with blank) | Controlled by you |
Example usage of BeepBox:
- Go to https://www.beepbox.co/
- Start a new song (empty)
- Use the settings panel to adjust BPM and rows per pattern
- Edit patterns in the grid interface
- Edit instruments and modify synth parameters (oscillator type, ADSR, filter, detune)
- Use the share icon to get a URL including song state in the fragment (
#)
- Play with keyboard shortcuts (see help in app)
- Loop playback toggled in controls
Summary
If you want a ready-to-use HTML chiptune tracker that fits your requirements, BeepBox is the best option. It fully operates in-browser, supports intricate synth customization, sequence editing, sharing, controls, and more.
If you want to code your own solution from scratch, I can help outline code and architecture for:
- Pattern sequencing with BPM and rows per pattern
- Web Audio synth components (oscillator, ADSR, filter, noise)
- UI interaction with keyboard shortcuts and loop control
- Exporting/Importing song state into URL fragments
Just ask!