WhistleSim

Getting started

Five steps from download to playing. It takes about ten minutes, most of it the firmware update.

  1. Install WhistleSim

    Download it for your computer from the latest release.

    • macOS: unzip and move WhistleSim.app to Applications. The app isn't notarized by Apple yet, so the first time, right-click it and choose Open, or allow it under System Settings → Privacy & Security.
    • Windows: unzip and run WhistleSim.exe. It isn't signed yet, so SmartScreen may warn: choose More info → Run anyway.
    • Linux: unpack and run ./WhistleSim.
  2. Try it without WARBL

    Switch on Simulate WARBL in the app. A scripted player plays a scale with breath swells, through the same path as the real stream. Or press Play scale (or the space bar) to hear the current instrument play its own scale. If you hear sound, the audio side works.

  3. Update WARBL2 to firmware 4.8 or later

    The sensor stream WhistleSim needs is part of the official WARBL2 firmware from version 4.8. Update as for any WARBL firmware update; see warbl.xyz and the WARBL2 releases. Until 4.8 is among the releases it is in beta, and its firmware file is in the WARBL2 repository. WARBL's MIDI playing works as before; the stream only runs while WhistleSim asks for it.

  4. Connect and start the stream

    Plug WARBL into the computer with a USB cable, then switch off Simulate WARBL and tick Stream. Press Request info, and the Monitor tab should show:

    • "Firmware 4.8" (or later) and "loop 2 ms"
    • about 500 frames/s and no lost frames
    • "new hole readings in ~100 % of frames"

    With a Bluetooth connection open at the same time, WARBL runs a little slower ("loop 3 ms", about 333 frames/s). That still plays well.

  5. Play

    Choose an instrument and a room, and blow. If notes start too easily or too hard, adjust the breath response on the Sensors tab, much as in the WARBL Config Tool.

Quit WhistleSim before playing other MIDI apps. While WhistleSim is open, WARBL streams its sensor readings to every app listening to its USB MIDI port, which can make other apps lag. WARBL stops the stream by itself 3 seconds after WhistleSim quits.

Over Bluetooth

WARBL can stream over Bluetooth MIDI too. Pair it as a Bluetooth MIDI device (on macOS: Audio MIDI Setup → MIDI Studio → Bluetooth), unplug the USB cable, and tick Stream. Bluetooth adds about one connection interval (roughly 10–15 ms) of delay. Smooth Bluetooth on the Monitor tab evens out the bursts the samples arrive in.

Sound and latency

If something doesn't work

Your settings and saved instruments are kept in ~/Library/Application Support/WhistleSim/ on macOS, %APPDATA%\WhistleSim\ on Windows and ~/.config/WhistleSim/ on Linux.