It looks like you're requesting or describing a feature-rich HTML chiptune tracker (a retro-style music sequencer) with a list of capabilities or characteristics. Here's a breakdown of what you seem to want and some guidance or options for such a tool:
Requested Features Summary
- Platform: HTML (web-based)
- Music Type: Chiptune tracker (8-bit style music sequencing)
- Interface Elements:
- Piano roll or piano keyboard input
- BPM control
- Rows per track control
- Patterns and rows per pattern control
- Multiple synths per instrument
- Custom oscillator (osc)
- Volume control
- Detune control
- ADSR envelope controls (Attack, Decay, Sustain, Release)
- Filter controls
- Noise channel / noise control
- Functionality:
- Share song functionality (likely export or sharing URL)
- Keyboard shortcuts
- Loop playback
- Other considerations:
- No demo required
- Possibly uses URL hashes for sharing state (e.g., "/#")
Existing Web Chiptune Trackers to Consider
If you want a starting point or something close to this, here are a few existing options you can try or use as reference:
-
jsSID (JavaScript SID player + tracker)
-
FamiStudio Web (NES/Famicom tracker)
- https://famistudio.org/
- Pretty advanced NES-style tracker with web version.
- Has pattern editor, multiple instruments, ADSR, noise channel.
- Exports and shares songs.
- Probably meets many requirements.
-
BeepBox
- https://www.beepbox.co/
- Very popular web chiptune sequencer with pattern editor and piano roll.
- Many options for tempo, rows, instruments.
- Includes synth controls including waveform/oscillator, envelope.
- Allows sharing via URL hash.
- Supports looping, keyboard shortcuts.
- Volume/detune/ADSR/filter/noise available.
-
WebAudio Chiptune Trackers
- A few experimental projects accessible on GitHub or live sites.
- May require some searching.
If You Want a Starting Template or Guidance on Building One
Here’s an outline of what such an app requires:
-
Frontend:
- Canvas or HTML elements for piano roll and pattern grid.
- Controls for BPM, patterns, rows, instrument synth parameters (oscillator type, ADSR, filter).
- Playback engine implemented using Web Audio API.
- Keyboard input handling for shortcuts and piano keyboard.
- Loop playback implementation.
-
Data Model:
- Pattern data structure: array of rows, each row having notes on each track.
- Instruments: settings per instrument with oscillator, envelope, filter.
- Sequence of patterns for playback.
-
Share functionality:
- Serialize song data into a JSON string or custom query string.
- Use URL hash (
/#songdata) for sharing.
-
Audio Synth:
- Custom oscillator creation via
OscillatorNode or PeriodicWave.
- Gain node for volume.
- BiquadFilter node for filter.
- Noise channel simulated by buffer playback or scriptProcessor.
- ADSR envelope simulated through gain automation.
If you want me to create a small working example (very minimal) with some of these features, please specify.
Otherwise, I strongly recommend exploring BeepBox, which already has nearly all these features well done and open source:
Summary
| Feature | Available in BeepBox? | Comments |
|---|
| Piano roll | Yes | |
| BPM control | Yes | |
| Rows per track | Yes | |
| Patterns & rows/pattern | Yes | |
| Synth per instrument | Yes | Waveforms (oscillators) and more |
| Custom oscillator | Limited waveforms | Custom waveforms limited |
| Volume | Yes | |
| Detune | Yes | |
| ADSR | Yes | |
| Filter | Yes | |
| Noise channel | Yes | NES-style noise channel |
| Share song | Yes | Via URL hash |
| Shortcuts | Yes | Keyboard shortcuts available |
| Loop playback | Yes | |
| No demo | It has demo, but can be disabled or used as base | |
If you want me to help with a smaller working implementation or provide further code snippets for any specific feature, just ask.