Ambient Synthesizer by AudioSpire™ · User Guide
v1.0 · Single HTML File · No Install Required

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.

Note: HexSynth requires a modern browser with WebAudio API support. Chrome and Edge provide the best experience. Firefox works but does not support MIDI controller input. Safari works for audio but MIDI controller support varies.

Quick Start

Open the HTML file

Double-click hexsynth.html or drag it into Chrome/Edge. Audio initialises on your first key click.

Click any hex tile

A coloured glow confirms the note is latched on. Click again to release. Notes sustain indefinitely in Latch mode.

Build a chord

Click multiple tiles to layer a pad chord. The active note display at the top shows all held notes.

Try a preset

Click Deep Space or Crystal in the Presets bar to hear a pre-configured sound and chord.

Enable Autoplay

Pick a Root Key and Mode, then click ▶ ON in the Autoplay panel. Chords will evolve automatically.

Record audio

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:

ZoneContents
HeaderTitle and active-note display
Glass DisplayHex key grid (4 rows × 12 keys) + waveform visualizer
Synthesis ControlsADSR, effects sliders, filter stack, oscillator/voice selector, FX toggles, Pitch Ref, action buttons, Bright/Lines knobs
Performance PanelsArpeggiator · Preset Bar · Autoplay · MIDI Sequencer · MIDI Controller
FooterTechnical 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:

RowOctaveClefCharacter
TopOctave 5 (C5–B5)TrebleBright upper harmonics
2ndOctave 4 (C4–B4)TrebleMid-range melody (C4 = middle C)
3rdOctave 3 (C3–B3)BassUpper bass / tenor harmony
BottomOctave 2 (C2–B2)BassDeep 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.

Tip: Switching from Latch to Momentary automatically releases all held notes to prevent orphaned sustained sounds.

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.

ActionResult
Drag upIncrease row volume (0–100%)
Drag downDecrease row volume
Double-clickReset 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).

Note: Selecting a MIDI Voice dims the Oscillator buttons — they are temporarily inactive. The SINE/TRI/SAW selection is remembered and restored when you select — Synth Oscillator — from the dropdown.

Available voice groups:

GroupVoices
KeyboardsGrand Piano, Bright Piano, Electric Piano 1 & 2, Harpsichord, Electric Organ, Church Organ
StringsStrings Ensemble, Slow Strings, Synth Strings, Violin, Cello
Pads & AtmosphereNew Age, Warm, Polysynth, Choir, Bowed, Metallic, Halo, Sweep
Choir & VoiceChoir Aahs, Voice Oohs
LeadsSquare, Sawtooth, Charang
Mallet & BellVibraphone, Marimba, Music Box, Celesta, Glockenspiel, Tubular Bells
EthnicNylon Guitar, Flute, Shakuhachi
Tip: MIDI Voice sounds pass through the full effects chain (reverb, chorus, delay, filter). The Reverb and Shimmer effects work especially well with Piano and String voices.

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 ms

Decay

Time to fall from attack peak down to the sustain level.

0 – 3.0 s · Default: 300 ms

Sustain

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 s
Studio Tip: For the MIDI Sequencer, the Attack and Release sliders control playback once you first touch them (override mode). Before you move them, the sequencer uses short built-in values (50 ms attack, 500 ms release) for melodic clarity. Move either slider to take manual control.

Effects (FX)

Effect Sliders

Reverb

Wet level of the convolution reverb (2.8 s room IR with stereo decorrelation and pre-delay).

0–100 · Default: 65

Chorus

Three-voice modulated delay chorus for stereo width and movement.

0–100 · Default: 40

Delay

Stereo echo delay (375 ms, 32% feedback). Wet/dry is complementary — adding wet reduces dry proportionally.

0–100 · Default: 20

Shimmer

Octave-up sine oscillator added to each note, creating an ethereal overtone halo.

0–100 · Default: 30

FX Toggle Buttons

The five buttons under FX enable or disable each effect independently. A glowing purple button = effect ON.

ButtonEffectNotes
CHORUSThree-voice modulation chorusAdds width and movement
REVERBConvolution room reverbMost CPU-intensive effect
DELAYStereo echoRhythmic depth
LO-FI7-bit sample-rate crusherAdds grit; subtle by design
SHIMMEROctave-up harmonic layerPairs 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:

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.30

Depth

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.7

Stereo 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.

SettingA4 FrequencyCharacter
440 Hz440.0 HzStandard concert pitch. Default.
432 Hz432.0 HzAlternative 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.

Note: Tuning affects oscillator notes only. MIDI Voice (soundfont) samples are pre-recorded at 440 Hz and cannot be retuned.

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

ModeCharacter
Ionian (Major)Bright, uplifting
DorianMinor with a raised 6th — melancholic but not dark
PhrygianSpanish/flamenco flavour, very dark
LydianDreamy, floating — raised 4th creates openness
MixolydianMajor with a bluesy flat 7th
Aeolian (Minor)Natural minor, moody and introspective. Default
LocrianUnstable, dissonant — experimental
Pentatonic Major5-note major scale — open, universal
Pentatonic Minor5-note minor — blues and world music
Whole ToneAll whole steps — impressionistic, floating

Flow Speed Reference

SettingTransition Time Range
Very Slow27–42 seconds
Slow16.5–27 seconds
Moderate9–16.5 seconds
Mod. Fast4.2–9 seconds
Faster1.8–4.2 seconds
Rapid0.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.

Tip: The Arpeggiator uses the same note pool as your latched tiles. Add or remove tiles while the Arp is running to change the sequence in real time.

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.

Connect your controller

Plug in your USB MIDI device before or after opening the app.

Grant permission

Click CONNECT. Your browser will request MIDI access — click Allow. This is a one-time permission.

Select your device

Choose your controller from the dropdown. The status badge turns green when connected.

MIDI Mappings

MIDI MessageEffect in HexSynth
Note On (C2–B5)Triggers the corresponding hex tile
Note On (outside range)Octave-folded into range
Note OffReleases tile (Momentary mode) or holds (Latch mode)
VelocityScales 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 BendShifts 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.

Browser Note: MIDI controller input requires Chrome or Edge. Firefox does not support the Web MIDI API without a plugin.

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.

Press ⏺ REC

The button turns red and pulses. The status badge shows RECORDING.

Play

Click tiles normally (or use a MIDI controller, Autoplay, or Arpeggiator — all are captured).

Press ⏹ STOP REC

Recording stops. A green action bar appears with three options.

Choose what to do:

↑ 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.

Click 📂 Load .mid

A native file picker opens. Select any .mid file.

File is parsed automatically

The filename, detected BPM, track count, and duration appear in the sequencer. The BPM knob snaps to the file's tempo.

Press ▶ PLAY

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).

Good sources for MIDI files: MuseScore.com, Musopen.org, freemidi.org, BitMidi.com. Dense orchestral MIDI files will bloom into harmonic clusters through the reverb — often beautiful.

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:

ActionResult
Drag upIncrease BPM (play faster)
Drag downDecrease BPM (play slower)
Double-clickReset 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

PresetCharacter
InitClean slate — all defaults, no notes
Deep SpaceLong attack, heavy reverb, 432 Hz tuning, high shimmer, deep blue hue — immersive drone
CrystalTriangle wave, bright filter, high shimmer, upper octaves — glass and bell tones
Lo-Fi DuskSawtooth, bitcrush on, warm filter, 432 Hz — vintage tape character
Void PulseDeep bass drone, very long release, heavy reverb and chorus — slow evolving bass

Saving a Custom Preset

Set up your sound

Configure sliders, effects, active notes — anything you want saved.

Click + SAVE PRESET

A modal appears with a name field.

Type a name, press Enter or SAVE

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.

StateEffect
VIZ (on)Waveform, key glow, star field, and bead animations all run normally
VIZ OFFAll canvas rendering stops immediately — significant CPU relief on lower-end machines
Studio Tip: If you ever experience audio glitches or stuttering, turn VIZ OFF first. Visual rendering and audio processing compete for the same CPU; disabling visuals often resolves latency issues completely.

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 resets

LINES 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 resets

Both 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.

Click ⏺ RECORD

The button turns red and pulses. Recording begins immediately.

Play, perform, or let Autoplay run

All audio output is captured in real time.

Click ⏹ STOP + SAVE

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:

Note: The recording taps the audio signal after all effects but before the operating system audio output — it captures exactly what you hear in your headphones or speakers.

Restart Audio Engine

The ↺ RESTART AUDIO button in the controls bar tears down and rebuilds the complete audio engine. Use this if:

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

SymptomSolution
No sound on first clickBrowsers require a user gesture before starting audio. Click anywhere — audio initialises on first interaction.
Audio clicks or glitches1) Turn off VIZ. 2) Close other browser tabs. 3) Click ↺ RESTART AUDIO. 4) Reduce polyphony (release some notes).
MIDI voice won't loadCheck your internet connection — soundfonts are downloaded from a CDN. Try a different voice and wait for it to load before playing.
MIDI controller not appearingClick CONNECT to request browser permission. Replug the controller. On Firefox, MIDI is not natively supported.
MIDI file sounds wrongMIDI notes outside C2–B5 are octave-folded. Try adjusting the BPM knob. Very complex files may exceed polyphony limits.
Preset not restoring chordNote playback has an 80 ms delay to allow audio init. Wait a moment after loading a preset.
Bead animation not visibleVIZ may be off, or line opacity (LINES knob) may be at zero. Increase LINES and ensure VIZ is enabled.
Recording file won't openEnsure your software supports WebM/Opus. Audacity and VLC both work. Convert to WAV using any free online converter if needed.
Autoplay won't stopClick ■ OFF in the Autoplay panel, or click CLEAR ALL.
Arpeggiator not playingMake sure at least one tile is latched before starting the Arp. The note pool must not be empty.