Overview
HexSynth Workstation is a browser-based ambient pad synthesizer built around a 48-note hexagonal key grid spanning four octaves (C2–B5). It runs entirely in a single HTML file with no server, no installation, and no internet connection required after the initial load — except when loading MIDI voices, which are streamed from a CDN.
The instrument is designed for professional studio use: pristine WebAudio signal chain, AudioWorklet-based effects processing, a full ADSR envelope, reverb/chorus/delay/filter/shimmer effects, a MIDI controller input, an arpeggiator, an autoplay generative engine, a MIDI sequencer with record and playback, and live audio recording to file.
Quick Start
Double-click hexsynth.html or drag it into Chrome/Edge. Audio initialises on your first key click.
A coloured glow confirms the note is latched on. Click again to release. Notes sustain indefinitely in Latch mode.
Click multiple tiles to layer a pad chord. The active note display at the top shows all held notes.
Click Deep Space or Crystal in the Presets bar to hear a pre-configured sound and chord.
Pick a Root Key and Mode, then click ▶ ON in the Autoplay panel. Chords will evolve automatically.
Click ⏺ RECORD in the controls bar, play, then click ⏹ STOP + SAVE to download a .webm audio file.
Interface Layout
The interface is arranged vertically in five zones:
| Zone | Contents |
|---|---|
| Header | Title and active-note display |
| Glass Display | Hex key grid (4 rows × 12 keys) + waveform visualizer |
| Synthesis Controls | ADSR, effects sliders, filter stack, oscillator/voice selector, FX toggles, Pitch Ref, action buttons, Bright/Lines knobs |
| Performance Panels | Arpeggiator · Preset Bar · Autoplay · MIDI Sequencer · MIDI Controller |
| Footer | Technical summary |
Hex Key Grid
The grid contains 48 hexagonal tiles arranged in four rows of 12, spanning C2–B5. The layout follows standard Western chromatic pitch:
| Row | Octave | Clef | Character |
|---|---|---|---|
| Top | Octave 5 (C5–B5) | Treble | Bright upper harmonics |
| 2nd | Octave 4 (C4–B4) | Treble | Mid-range melody (C4 = middle C) |
| 3rd | Octave 3 (C3–B3) | Bass | Upper bass / tenor harmony |
| Bottom | Octave 2 (C2–B2) | Bass | Deep bass foundation |
Key Colours
Light grey tiles = white keys (natural notes: C D E F G A B). Dark tiles = black keys (sharps/flats: C# D# F# G# A#). Both types glow blue-purple when active. The Y-shaped lines on each tile give an isometric cube appearance — the line orientation and colours shift when the Hue control is turned.
Hovering
Hovering over any tile shows a tooltip with the note name and exact frequency in Hz, e.g. A4 · 440.0 Hz.
Latch vs Momentary Mode
The ⊞ LATCH / ⊟ MOMENTARY button in the controls bar switches between two playing modes.
⊞ LATCH (default)
Each click toggles a note on permanently. Click again to release. Notes hold until manually released or ✕ CLEAR ALL is pressed. Ideal for building sustained chords.
⊟ MOMENTARY
Notes sound only while the key is held down (press and hold). Releasing the mouse or finger stops the note. Enables conventional keyboard-style playing.
Octave Volume Knobs
Each row has a small rotary knob labelled O5 / O4 / O3 / O2 at its right end. These independently control the volume of each octave row.
| Action | Result |
|---|---|
| Drag up | Increase row volume (0–100%) |
| Drag down | Decrease row volume |
| Double-click | Reset to 100% |
Use these to craft balanced voicings — for example, reduce O2 slightly so the deep bass doesn't overpower the melody, or bring O5 down to tame a bright harmonic layer.
Oscillator & MIDI Voices
Oscillator (Synth)
The three buttons under Oscillator select the waveform used by the pad engine:
SINE
Pure, smooth tone. Best for ethereal pads and deep drones. Default.
TRI (Triangle)
Slightly richer with soft overtones. Warmer than sine, good for bells and glass-like sounds.
SAW (Sawtooth)
Bright and harmonically dense. Pairs well with heavy filter cutoff and resonance for classic synth leads.
Note structure (all waveforms)
Every note plays three simultaneous oscillators: the fundamental pitch, a slightly detuned copy (+5 cents) for stereo warmth, and a sub-octave sine for body. A shimmer oscillator at 2× frequency adds air when Shimmer is enabled.
MIDI Voices (Soundfont)
The MIDI Voice dropdown replaces the oscillator engine with high-quality sampled instrument sounds from the FluidR3_GM soundfont library. Requires an internet connection on first selection (individual instruments are ~1–2 MB).
Available voice groups:
| Group | Voices |
|---|---|
| Keyboards | Grand Piano, Bright Piano, Electric Piano 1 & 2, Harpsichord, Electric Organ, Church Organ |
| Strings | Strings Ensemble, Slow Strings, Synth Strings, Violin, Cello |
| Pads & Atmosphere | New Age, Warm, Polysynth, Choir, Bowed, Metallic, Halo, Sweep |
| Choir & Voice | Choir Aahs, Voice Oohs |
| Leads | Square, Sawtooth, Charang |
| Mallet & Bell | Vibraphone, Marimba, Music Box, Celesta, Glockenspiel, Tubular Bells |
| Ethnic | Nylon Guitar, Flute, Shakuhachi |
ADSR Envelope
The envelope shapes how each note evolves over time. All four stages are independently controlled:
Attack
Time from silence to peak volume after a note is triggered.
10 ms – 3.0 s · Default: 400 msDecay
Time to fall from attack peak down to the sustain level.
0 – 3.0 s · Default: 300 msSustain
Volume level held for as long as the note is active (in Latch mode, indefinitely).
0–100% · Default: 80%Release
Time to fade to silence after a note is released.
100 ms – 8.0 s · Default: 2.0 sEffects (FX)
Effect Sliders
Reverb
Wet level of the convolution reverb (2.8 s room IR with stereo decorrelation and pre-delay).
0–100 · Default: 65Chorus
Three-voice modulated delay chorus for stereo width and movement.
0–100 · Default: 40Delay
Stereo echo delay (375 ms, 32% feedback). Wet/dry is complementary — adding wet reduces dry proportionally.
0–100 · Default: 20Shimmer
Octave-up sine oscillator added to each note, creating an ethereal overtone halo.
0–100 · Default: 30FX Toggle Buttons
The five buttons under FX enable or disable each effect independently. A glowing purple button = effect ON.
| Button | Effect | Notes |
|---|---|---|
| CHORUS | Three-voice modulation chorus | Adds width and movement |
| REVERB | Convolution room reverb | Most CPU-intensive effect |
| DELAY | Stereo echo | Rhythmic depth |
| LO-FI | 7-bit sample-rate crusher | Adds grit; subtle by design |
| SHIMMER | Octave-up harmonic layer | Pairs well with Reverb |
Filter + LFO + Resonance
The Filter stack appears as a dedicated column on the right side of the synthesis controls, separated by a border line.
Filter Freq
A lowpass filter that cuts frequencies above the cutoff point. Controlled two ways simultaneously:
- Slider — drag for broad sweeps
- Number field — click and type an exact Hz value (200–8000 Hz), press Enter
Filter LFO
A Low-Frequency Oscillator that automatically sweeps the filter cutoff up and down at a set rate, creating cyclic filter movement (auto-wah, sweeping pads, tremolo-filter effects).
LFO ON/OFF
The small pill button next to "Filter LFO" enables or disables the oscillator. Glows purple when active.
Rate
How fast the filter sweeps. Both slider (0.01–8 Hz) and number field are fully synced.
0.01–8.00 Hz · Default: 0.30Depth
How wide the sweep is as a percentage of the current filter frequency. At 50% with filter at 3kHz, the LFO sweeps ±1500 Hz.
0–100% · Default: 40%Resonance
Amplifies frequencies near the filter cutoff, creating a peak. Low values (0.1–2) are transparent; mid values (3–8) add warmth; high values (8–18) create a pronounced resonant character that becomes self-oscillating above 15.
Q: 0.1–18.0 · Default: 0.7Stereo Width & Hue
Width
Spreads notes across the stereo field based on pitch. Low notes pan left, high notes pan right, centred on middle C. At 0%, everything is mono. At 100%, the widest spread extends to ±1.0 pan.
0–100% · Default: 30%Hue
Shifts the colour palette of the entire key grid (and the diagonal line backgrounds in the control panels) through 360° of hue rotation. The glow colours of active keys, the bead animations, and the panel line gradient all shift together. Has no effect on audio.
0°–360° · Default: 0°Pitch Reference (432 / 440 Hz)
The two buttons under Pitch Ref tune the entire instrument to either standard concert pitch (440 Hz) or the alternative 432 Hz tuning.
| Setting | A4 Frequency | Character |
|---|---|---|
| 440 Hz | 440.0 Hz | Standard concert pitch. Default. |
| 432 Hz | 432.0 Hz | Alternative tuning, ~31.7 cents flat. Preferred by some for meditation and ambient music. |
Switching tuning while notes are playing smoothly glides all active oscillators to the new frequencies over 50 ms — the entire soundscape detunes without clicking.
Autoplay
Autoplay is a generative chord engine that automatically selects, activates, and transitions between notes in a chosen scale. It is ideal for unattended ambient playback.
Root Key
The tonal centre of the scale. All notes selected by Autoplay will belong to this key.
Mode
The scale pattern applied to the root key. 10 options from major to exotic.
Flow Speed
How frequently chord transitions occur. Ranges from Very Slow (27–42 seconds) to Rapid (0.6–1.8 seconds).
▶ ON / ■ OFF
Starts and stops Autoplay. Hitting CLEAR ALL also stops Autoplay.
Available Modes
| Mode | Character |
|---|---|
| Ionian (Major) | Bright, uplifting |
| Dorian | Minor with a raised 6th — melancholic but not dark |
| Phrygian | Spanish/flamenco flavour, very dark |
| Lydian | Dreamy, floating — raised 4th creates openness |
| Mixolydian | Major with a bluesy flat 7th |
| Aeolian (Minor) | Natural minor, moody and introspective. Default |
| Locrian | Unstable, dissonant — experimental |
| Pentatonic Major | 5-note major scale — open, universal |
| Pentatonic Minor | 5-note minor — blues and world music |
| Whole Tone | All whole steps — impressionistic, floating |
Flow Speed Reference
| Setting | Transition Time Range |
|---|---|
| Very Slow | 27–42 seconds |
| Slow | 16.5–27 seconds |
| Moderate | 9–16.5 seconds |
| Mod. Fast | 4.2–9 seconds |
| Faster | 1.8–4.2 seconds |
| Rapid | 0.6–1.8 seconds |
How Autoplay Chooses Notes
Autoplay uses a voice-leading algorithm: it retains 0–2 notes from the previous chord for harmonic continuity, then fills remaining voices with notes close in pitch to the retained ones (step-wise motion preferred). Bass register (Octave 2) holds the root note ~85% of the time. Octave 5 moves most freely; Octave 2 moves least. A 40% chance of "partial shift" moves only 1–2 notes while the rest of the chord holds. Polyphony is capped at 7 simultaneous notes.
Arpeggiator
The Arpeggiator cycles through the currently latched tiles in a rhythmic pattern. Click tiles to build the note pool, then start the Arp — it will play them in sequence.
Pattern: UP
Plays notes from lowest pitch to highest, then repeats.
Pattern: DOWN
Highest to lowest.
Pattern: PING
Up then down, bouncing back and forth (classic ping-pong).
Pattern: RAND
Random note from the pool on each step.
Rate
Time between arpeggiated notes in milliseconds. 60–1600 ms · Default: 300 ms
At 300 ms this is 200 BPM 16th notes. At 500 ms it's 120 BPM quarter notes.
Gate
What percentage of the step duration the note sounds before being released. 10–95% · Default: 70%
Low gate (10–30%) = staccato, percussive. High gate (80–95%) = nearly legato, smooth.
MIDI Controller Input
Connect any USB MIDI keyboard, pad controller, or synthesizer to play HexSynth with physical hardware. The MIDI Controller bar appears at the bottom of the page.
Plug in your USB MIDI device before or after opening the app.
Click CONNECT. Your browser will request MIDI access — click Allow. This is a one-time permission.
Choose your controller from the dropdown. The status badge turns green when connected.
MIDI Mappings
| MIDI Message | Effect in HexSynth |
|---|---|
| Note On (C2–B5) | Triggers the corresponding hex tile |
| Note On (outside range) | Octave-folded into range |
| Note Off | Releases tile (Momentary mode) or holds (Latch mode) |
| Velocity | Scales note volume 0–100% when VELOCITY is ON |
| CC 64 (Sustain pedal) | Holds released notes until pedal lifted |
| CC 1 / CC 74 (Mod/Filter) | Sweeps filter cutoff frequency |
| CC 7 (Volume) | Controls master output gain |
| CC 120 / 123 (All Notes Off) | Triggers CLEAR ALL |
| Pitch Bend | Shifts filter cutoff ±2 octaves when PBEND→FILTER is ON |
VELOCITY Toggle
When ON, note velocity (how hard you press a key) scales the volume of that note. Full velocity = 100% volume; soft touch = proportionally quieter. When OFF, all notes play at full volume regardless of how hard you strike.
PBEND→FILTER Toggle
Routes the pitch bend wheel to the filter cutoff instead of pitch. Full bend up doubles the filter frequency; full bend down halves it. This is additive — the Filter LFO (if running) continues operating simultaneously.
MIDI Sequencer
The MIDI Sequencer panel handles three related functions: recording your playing as MIDI, loading external MIDI files, and controlling playback tempo.
Recording Notes
HexSynth can capture your tile interactions as a MIDI recording, then play them back or save the file.
The button turns red and pulses. The status badge shows RECORDING.
Click tiles normally (or use a MIDI controller, Autoplay, or Arpeggiator — all are captured).
Recording stops. A green action bar appears with three options.
↑ Load to Player — loads your recording into the sequencer for immediate playback.
💾 Save .mid — downloads a standard MIDI file (Format 0) that opens in any DAW.
✕ Discard — deletes the recording.
Loading MIDI Files
Load any standard MIDI file (.mid) to play it through HexSynth's synthesizer engine.
A native file picker opens. Select any .mid file.
The filename, detected BPM, track count, and duration appear in the sequencer. The BPM knob snaps to the file's tempo.
Playback starts. Notes outside the C2–B5 range are automatically octave-folded into range.
Supported formats: MIDI Format 0 (single track) and Format 1 (multi-track simultaneous). The parser handles variable-length delta times, running status, tempo meta-events, and SysEx (skipped safely).
BPM Knob
The BPM rotary knob in the MIDI Sequencer panel controls playback tempo for loaded files. It automatically snaps to the detected tempo when a file is loaded, but you can override it:
| Action | Result |
|---|---|
| Drag up | Increase BPM (play faster) |
| Drag down | Decrease BPM (play slower) |
| Double-click | Reset to the file's detected original tempo |
Range: 40–240 BPM. All MIDI note timings are scaled proportionally — tempo change is applied in real time at each play press.
Loop Toggle (↺)
When lit (teal), playback loops continuously. When off, the sequence plays once and stops.
Preset System
Presets save and restore the complete instrument state: all slider positions, effect toggles, waveform selection, MIDI voice, octave volumes, active notes/chord, pitch tuning, ADSR values, filter settings, stereo width, and hue.
Built-in Presets
| Preset | Character |
|---|---|
| Init | Clean slate — all defaults, no notes |
| Deep Space | Long attack, heavy reverb, 432 Hz tuning, high shimmer, deep blue hue — immersive drone |
| Crystal | Triangle wave, bright filter, high shimmer, upper octaves — glass and bell tones |
| Lo-Fi Dusk | Sawtooth, bitcrush on, warm filter, 432 Hz — vintage tape character |
| Void Pulse | Deep bass drone, very long release, heavy reverb and chorus — slow evolving bass |
Saving a Custom Preset
Configure sliders, effects, active notes — anything you want saved.
A modal appears with a name field.
The preset is stored in browser localStorage and appears in the Preset Bar in blue.
User presets survive page refreshes. To delete a preset, hover over it and click the ✕ that appears. Built-in preset names are protected — you cannot overwrite them.
Visualizer Toggle (VIZ)
The small VIZ button at the right end of the waveform strip toggles all visual animations on or off.
| State | Effect |
|---|---|
| VIZ (on) | Waveform, key glow, star field, and bead animations all run normally |
| VIZ OFF | All canvas rendering stops immediately — significant CPU relief on lower-end machines |
Brightness & Lines Knobs
Two small rotary knobs in the top-right area of the synthesis controls adjust the visual appearance of the entire interface.
BRIGHT Knob
Controls overall UI brightness and contrast together. Center position = normal. Drag up for brighter; drag down for darker. Contrast is coupled to avoid a washed-out look: darker = more contrast; brighter = slightly less contrast.
0.40×–1.55× brightness · Double-click resetsLINES Knob
Controls the opacity of the diagonal accent lines visible in the background of all control panels. Drag up to make them more prominent; drag down to make them nearly invisible.
0%–55% opacity · Default: 18% · Double-click resetsBoth knobs respond to drag (up = clockwise = more) and release cleanly on mouse-up anywhere on screen. Double-click either knob to return to its default position.
Audio Recording
The ⏺ RECORD button in the controls bar records the live audio output — everything you hear, including all effects, to a downloadable audio file.
The button turns red and pulses. Recording begins immediately.
All audio output is captured in real time.
Recording ends. Your browser immediately downloads a file named hexsynth-YYYY-MM-DD-HH-MM-SS.webm
File Format
Files are saved as WebM/Opus at 320 kbps — effectively lossless quality for synthesizer audio, smaller than MP3 at the same quality. WebM files open directly in:
- Audacity (free, cross-platform)
- Adobe Audition / Logic Pro / Ableton Live (via import)
- Any modern web browser (drag and drop)
- VLC Media Player
Restart Audio Engine
The ↺ RESTART AUDIO button in the controls bar tears down and rebuilds the complete audio engine. Use this if:
- Sound has frozen or stopped responding
- You hear unexpected distortion or noise that persists after releasing all notes
- The browser reports an audio error
The restart clears all active notes, resets all audio nodes, and reinitialises the AudioContext from scratch. It takes about 600 ms. All slider positions and settings are preserved — only the audio graph is rebuilt.
Troubleshooting
| Symptom | Solution |
|---|---|
| No sound on first click | Browsers require a user gesture before starting audio. Click anywhere — audio initialises on first interaction. |
| Audio clicks or glitches | 1) Turn off VIZ. 2) Close other browser tabs. 3) Click ↺ RESTART AUDIO. 4) Reduce polyphony (release some notes). |
| MIDI voice won't load | Check your internet connection — soundfonts are downloaded from a CDN. Try a different voice and wait for it to load before playing. |
| MIDI controller not appearing | Click CONNECT to request browser permission. Replug the controller. On Firefox, MIDI is not natively supported. |
| MIDI file sounds wrong | MIDI notes outside C2–B5 are octave-folded. Try adjusting the BPM knob. Very complex files may exceed polyphony limits. |
| Preset not restoring chord | Note playback has an 80 ms delay to allow audio init. Wait a moment after loading a preset. |
| Bead animation not visible | VIZ may be off, or line opacity (LINES knob) may be at zero. Increase LINES and ensure VIZ is enabled. |
| Recording file won't open | Ensure your software supports WebM/Opus. Audacity and VLC both work. Convert to WAV using any free online converter if needed. |
| Autoplay won't stop | Click ■ OFF in the Autoplay panel, or click CLEAR ALL. |
| Arpeggiator not playing | Make sure at least one tile is latched before starting the Arp. The note pool must not be empty. |