[PD] math + music examples

Mathieu Bouchard matju at artengine.ca
Thu Mar 24 06:26:00 CET 2011

On Wed, 23 Mar 2011, Joe wrote:

> does anyone have any ideas for this? useful, easy to understand math 
> concepts that could be turned into little musical devices? any feedback 
> will be greatly appreciated!

[mod] and [div] are quite important concepts in music : you can use them 
to cut the time in measures and the measures into their subunits, or to 
cut the pitch space into octaves and smaller units.

for example, [mod 8] and [div 8] can turn a timescale of quaver index into 
a timescale of measure index + a number between 0 to 7 to select a quaver 
inside a measure. (unfortunately, [mod] works completely in ints, so you 
need something else if you need to play with fractions of quavers)

and when you take the number 55 to write "G4", you're using [mod 12] to 
get the 7 that means G, and [div 12] to get the 4 for the number of the 

| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC

More information about the Pd-list mailing list