Fibonacci Jungle with Pure Data

Building on top of the recently published Algo Jungle quick start template, i’ve written a little pattern and track engine based on the Fibonacci sequence to showcase alternative approaches to track buildup and structuring schemes while maintaining a generative angle on the respective elements’ internal pattern logic (e.g. notes, drum patterns). Use case is Jungle/ Drum & Bass. Source code and sound examples below.

The patch

8th note values from a global BPM engine are fed into fibonacciseq subpatch to cycle through values from 1 to 55 (taken here as an end value but can potentially be altered to any value on the sequence of course) and create bangs on every value from the Fibonacci sequence. This basically works as a substitute for a constant meter. The last value on the sequence is sent through a separate outlet to trigger changes after a number of cycle runs.

The fibonacciarranger subpatch takes on exactly these cycle run triggers to control a general track arrangement scheme also based on a segment of the Fibonacci sequence.

The changes themselves are mainly on/off-switching of elements, new pattern triggers and changes of synth presets.

The “Fibonacci Bangs” from fibonacciseq are used to e.g. trigger pattern restart on breaks or effect chain envelopes.

Sound examples

The first version comes with parameter and samples set as provided on Github (see below). The alternate version uses a different set of parameters, broader tonal range and other samples (and less control).

Source

I’ve published the source code to Github. Feel free to check and feed back if you have any suggestions or questions.