# Synth > How would your tune sound on a synth? Play and shape a keyboard synth: choose the waveform, envelope, filter and LFO, then play with the mouse, touch, your computer keyboard or a MIDI keyboard. Play a synthesizer in your browser and shape its sound: waveform, envelope, filter and LFO, with presets. Play with the mouse, touch, keys or MIDI. - Page: https://how.box/synth/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/synth/?v={v}&o={o}&n={n}&w={w}&dt={dt}&at={at}&dc={dc}&su={su}&re={re}&cu={cu}&rs={rs}&fe={fe}&lr={lr}&ld={ld}<={lt} - `v` (synth, piano, organ, marimba, xylophone or toy-piano): Sound: synth, piano, organ, marimba, xylophone or toy-piano. Example: `piano`. - `o` (whole number 1 to 6): Octave of the lower C on the keyboard, 1–6. Example: `3`. - `n` (whole number 0 to 127): The note shown in the result, as a MIDI number 0–127. Example: `69`. - `w` (sine, triangle, sawtooth or square): Synth waveform: sine, triangle, sawtooth or square. Example: `square`. - `dt` (whole number 0 to 50): Synth second-oscillator detune in cents, 0–50. Example: `12`. - `at` (whole number 3 to 4000): Synth attack in ms, 3–4000. Example: `400`. - `dc` (whole number 10 to 4000): Synth decay in ms, 10–4000. Example: `300`. - `su` (whole number 0 to 100): Synth sustain level in percent, 0–100. Example: `60`. - `re` (whole number 20 to 6000): Synth release in ms, 20–6000. Example: `800`. - `cu` (whole number 40 to 18000): Synth filter cutoff in Hz, 40–18000. Example: `900`. - `rs` (whole number 0 to 20): Synth filter resonance in dB, 0–20. Example: `6`. - `fe` (number 0 to 4): Synth filter envelope amount in octaves, 0–4. Example: `2`. - `lr` (number 0.1 to 20): Synth LFO speed in Hz, 0.1–20. Example: `5`. - `ld` (whole number 0 to 100): Synth LFO amount in percent, 0–100. Example: `30`. - `lt` (pitch, filter or amplitude): Synth LFO target: pitch, filter or amplitude. Example: `amplitude`. Example answer: https://how.box/synth/?v=piano&o=3&n=69&w=square&dt=12&at=400&dc=300&su=60&re=800&cu=900&rs=6&fe=2&lr=5&ld=30<=amplitude The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `synth_note`: Looks up a note on the synth keyboard: its names, frequency and the computer key that plays it. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"synth_note","arguments":{"note":69}}}` - GET: https://how.box/mcp/run/synth_note?note=69 - `synth_sound`: Sets the synth sound and describes it: subtractive synthesis (oscillator waveform, optional detuned second oscillator, low-pass filter with an envelope, ADSR amplitude envelope, LFO). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"synth_sound","arguments":{"wave":"square","detune_cents":12,"attack_ms":400,"decay_ms":300,"sustain_percent":60,"release_ms":800,"cutoff_hz":900,"resonance_db":6,"filter_octaves":2,"lfo_rate_hz":5,"lfo_depth_percent":30,"lfo_target":"amplitude"}}}` - GET: https://how.box/mcp/run/synth_sound?wave=square&detune_cents=12&attack_ms=400&decay_ms=300&sustain_percent=60&release_ms=800&cutoff_hz=900&resonance_db=6&filter_octaves=2&lfo_rate_hz=5&lfo_depth_percent=30&lfo_target=amplitude ## How it works Each key is a note one semitone above the key to its left: twelve keys, seven white and five black, make an octave, where the frequency doubles. Notes are named by letter and octave number, and middle C is C4. In Finnish and German the note B is called H, and B flat is called B. The pitch of every key follows equal temperament: f = 440 Hz × 2^((n − 69) / 12), where n is the key's MIDI number (A4 = 69, middle C = 60) and 440 Hz is the standard tuning note A4 (ISO 16). For example, middle C is 440 × 2^(−9/12) ≈ 261.63 Hz. The Synth sound is built the classic subtractive way, in your browser. A raw wave (sine, triangle, sawtooth or square) is rich in overtones; the low-pass filter removes the ones above its cutoff, and resonance adds a peak there. The envelope shapes the volume of each note: attack is the rise, decay the fall to the sustain level held while the key is down, and release the fade after you let go. An LFO is a slow wave that wobbles pitch (vibrato), the filter (a sweep) or the volume (tremolo). The built-in instrument sounds are simple imitations, not recordings. The computer keys follow the layout of music trackers such as ProTracker and FastTracker 2, which turned the letter rows into two piano octaves. Speakers, the browser and Bluetooth add a small delay; wired headphones are quickest. ## FAQ **How do I make a pluck, a pad or a bass?** Start from a preset. A pluck has no sustain and a quick filter sweep; a pad has a slow attack and release; a bass is a dark sawtooth with a low cutoff. Then move one slider at a time and listen to what it changes. Copy the page link to keep your sound. **Why is there a delay before the sound?** Every device needs a moment to turn a key press into sound. Wired headphones or speakers add the least; Bluetooth headphones can add a clearly noticeable delay. **Which MIDI keyboards work?** Most USB and Bluetooth MIDI keyboards work in browsers that support Web MIDI, such as Chrome and Edge. The keys, their strength and the sustain pedal are read on this device only. **Why does changing a sound setting not affect a held note?** The new settings apply to notes started after the change. Release the key and play it again to hear the new sound. **Can I add reverb or delay?** No. This synth has no reverb or delay effects. You can shape the sound with its oscillator, envelope, filter and LFO. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)