jpdrecourt's code

In-between, longing

This is the full code of the piece "In-between, longing" posted here for reference. For a brief explanation of some of the features of the code, please check my [blog post]( You can also listen to the piece on [Bandcamp]( Unfortunately, the sound files are copyrighted, so I can't share them here. Feel free to reach out through my [website]( if you have any questions.

Piano phase

Early experimentation with patterns. Attempt at recreating Piano Phase by Steve Reich with random part lengths.

Paulstretch for SuperCollider

4 1
07 Apr'20 09:46 in ambientdronestretching

This is a port of the basic Paulstretch algorithm to SuperCollider (no onset detection). Mono version, for stereo, use 2 instances hard panned. The sound buffer needs to be mono too, so use Buffer.readChannel to extract separate channels. The stretch parameter is modulatable. That allows for phasing effects if using more than one instance. Thanks to Paul for his feedback! Check his work at

Visual gain reduction meter

Simple visualisation of the gain reduction for effects like compression. It can be run in its own editor window and requires only minimal modification of the original code. Uses OSC messages like in the example of LevelIndicator. There's an implementation exemple at the bottom of the code. The main trick is that the meter actually shows (1 - gain_reduction) but the colours are switched between the background and the meter to give the illusion of an inverted meter.