The Cosmo PD-101 runs in the browser as a Web Audio AudioWorklet module compiled from Rust (via Wasm).
Navigate to https://cosmo.purraudio.dev or run locally:
The synth renders via an AudioWorklet -- an off-main-thread audio processor. When you open the app:
AudioContext is created and the worklet node is instantiated.Browsers require a user gesture (click/tap) before creating an AudioContext. Click anywhere on the page to start the audio engine.
The default virtual keyboard maps to a diatonic C major scale:
| Keyboard Key | Note | MIDI Note |
|---|---|---|
| A | C4 | 60 |
| S | D4 | 62 |
| D | E4 | 64 |
| F | F4 | 65 |
| G | G4 | 67 |
| H | A4 | 69 |
| J | B4 | 71 |
| K | C5 | 72 |
Press Space to toggle sustain pedal.
The web app supports MIDI via the Web MIDI API.
Safari has limited Web MIDI API support. Chrome or Edge are recommended for the best MIDI experience.
Next: DAW Plugin