An instrument for playing drones on the Playdate. Buy on itch.io
- Connect Playdate to your computer via USB-C (this wont work on mobile (yet))
- Open orllewin.uk/resonance/ in Chrome
- Toggle the Playdate screen off and on again (hardware button on top of the device), this enables the serial interface
- Click 'Request USB Access' from the webpage.
If successful you should now be able to control the audio effects from the web browser.
Terminate all commands with a newline char: \n. All numeric arguments should be integers in range 0 to 100, they're normalised internally to suitable values.
-
wf- waveform select. Options are sine, square, sawtooth, triangle, phase, digital, vosim, noise. Example:wf vosim\n -
wfp1andwfp2- waveform parameter. When waveform is phase, digital, or vosim there are two synth parameters available that change the character of the sound. Example:wfp1 40\n\
-
plyr- add player/visitor. Screen coordinates and size. Example:plyr 40 200 120\n -
note- add note. Any midi note value with screen coordinates. Example:note 48 200, 120\n -
octu- move all notes up an octave -
octd- move all notes down an octave -
clr- remove all current notes and visitors. Resonance will be left in an empty state with a single visitor. -
patch- tells Resonance to print the current patch to serial out
All delays have a max time of 3 seconds, which would be sent as 100 over the serial interface. 1.5 seconds would be 50. Delay volumes are capped at 0.5 internally to help tame runaway feedback, so the serial values 0 to 100 internally are between 0.0 and 0.5. You're unlikely to want to set delay feedback to more than 50 unless you're controlling it live. The Playdate engine seems to have a buffer overflow when delay is allowed to feedback too much, so keep it under control to avoid nasty audio glitches.
The effects are all added in series on the main audio channel, the order is: Synths > Pre-delay > RingMod > Bitcrusher > Overdrive > Mid-delay > Low-pass > High-pass > Post-delay > Output
See Inside Playdate - Effects for more information on the Playdate audio engine effects.
A delay applied to the synths before any other effect
pdt- Pre-delay timepdf- Pre-delay feedbackpdm- Pre-delay 'mix' (volume really)
mdt- Mid-delay timemdf- Mid-delay feedbackmdm- Mid-delay volume
psdt- Post-delay timepsdf- Post-delay feedbackpsdm- Post-delay volume
lpf- Low-pass frequencylpr- Low-pass resonancelpm- Low-pass mix
hpf- High-pass frequencyhpr- High-pass resonancehpm- High-pass mix
odg- Overdrive gainodl- Overdrive limitodm- Overdrive mix
bca- Bitcrusher amountbcu- Bitcrusher undersamplingbcm- Bitcrusher mix
rmf- Ring-mod frequencyrmm- Ring-mod mix