[PD] Birds use stars - diatonic

Mathieu Bouchard matju at artengine.ca
Mon Mar 29 06:47:50 CEST 2010


> What are some ways of telling each of the synths to "round" to the 
> nearest note in a diatonic scale?

think of all the separation points between what is rounded to one note, 
and what is rounded to another note.

for a standard Do major scale, if all your inputs are between 60 and 72, 
you can split with this :

   [moses 61]/[moses 63]/[moses 64.5]/[moses 66]/[moses 68]/[moses 70]/[moses 71.5]

because those are the averages of any two consecutive notes of the scale. 
then you connect each left-outlet to the note that you want that range of 
values to become.

there are further tricks for supporting multiple octaves without having to 
make a longer chain of [moses].

as a shortcut to make many [moses], there is [range] :

   [range 61 63 64.5 66 68 70 71.5]

in the GridFlow library.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801


More information about the Pd-list mailing list