# Synth Patch to WAV > Play notes or a MIDI file through a synthesizer sound and download the result as a WAV file. Renders a polyphonic synthesizer sound — one of 32 built-in presets or a patch copied from the Sinebloom app — playing your notes on the server and returns a 16-bit stereo WAV with its waveform, spectrum and levels. Type notes as text (C4+E4+G4:2 G4:0.5), paste a JSON note list or upload a Standard MIDI File; an optional arpeggiator turns held chords into patterns. Same engine and same bytes as Sinebloom’s WAV export. Part of usefulweb.app (https://usefulweb.app/). Part of [Sinebloom](https://sinebloom.usefulweb.app/) (ownerApp: sinebloom). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://sinebloompatchtowav.usefulweb.app/ (interactive tool at https://sinebloompatchtowav.usefulweb.app/tool) - JSON API: POST https://sinebloompatchtowav.usefulweb.app/api/v1/calculate with a JSON object of inputs (schema: https://sinebloompatchtowav.usefulweb.app/api/v1/tool) - OpenAPI: https://sinebloompatchtowav.usefulweb.app/openapi.json - MCP (Streamable HTTP): https://sinebloompatchtowav.usefulweb.app/mcp - tool `sinebloom_patch_to_wav` ## Inputs - preset (select): Sound (preset) - notes (textarea): Notes - Steps separated by spaces: a note name (C4, F#3, Bb2) or chord (C4+E4+G4), then :beats (default 1) and @velocity (1–127, default 100); r is a rest. A JSON list of {pitch, start, duration, velocity} in beats or a uw-note-clip works too. Ignored when a MIDI file is uploaded. - midi (file): MIDI file (optional) - Standard MIDI File (type 0 or 1). All tracks are played by the one sound; the tempo field below is used, not the file’s tempo. - bpm (number): Tempo - patch (textarea): Patch JSON (optional) - A whole patch from Sinebloom (File → Copy patch JSON) replaces the preset; a partial object changes only the settings it names. Format: docs/AUDIO_ENGINE.md (uw-synth-patch). - arp (select): Arpeggiator - arpRate (select): Arpeggiator rate - tail (number): Tail after the last note - Time for releases, delay and reverb to ring out. - sampleRate (select): Sample rate ## Method - Each note becomes a voice of a polyphonic subtractive/wavetable synthesizer: up to three oscillators (PolyBLEP-band-limited saw, square, pulse, triangle, sine, or mip-mapped wavetables built by inverse FFT so no partial passes Nyquist) with unison detune and stereo spread, a sub oscillator and noise, a zero-delay-feedback 24 dB ladder or 12 dB state-variable filter with its own envelope and key tracking, an amplitude envelope, two LFOs and an 8-row modulation matrix (updated every 16 samples). - The voices pass distortion, chorus, delay and a Freeverb-style reverb, then a look-ahead peak limiter with a −1 dBFS ceiling. Notes are placed sample-accurately from beats and tempo; everything is deterministic (seeded noise), so the same inputs give the same bytes. - The arpeggiator turns held notes into one note per grid step (up, down, up-and-down, as played or seeded random) at half the step length. Limits: 30 s including the tail, 2,000 notes, 1 MB MIDI files. ## Limits - Synthesized with original presets — no samples of other instruments or products. You may use the audio you render freely.