Creativity - Technology - Learning
 
Diddley Code

Diddley Code

This was my submission to the Genuary 2023 prompt ‘generative music’. Inspired by awesome performances on the single-string diddley bow, this work generates its sound and performance in the web browser. Using the Web Audio API found in all modern browsers, Diddley Code is pure Javascript, with no external libraries. Simple but effective.

The code implements a Karplus-Strong plucked string algorithm that is filtered to provide timbral variety, especially evident in the muted notes. A semi-stochastic one-bar rhythmic groove plays repeatedly with a slight shuffle feel. Diddley Bow was coded as a fun, quick, holiday project. Make sure to check out all the other Generative Music submissions as well.

Click the embedded site above or visit here for never-ending real-time playback, or listen to the recorded excerpt below.