Forums > MaxMSP

chord randomizer

October 8, 2007 | 10:35 am

Hi. can someone please tell me how to get notein to recognize a complicated chord, pack all the notes in a list, order them from high to low pitch and then unpack them sending them to correct ints. is there a patch i should be looking at to learn this about chord randomizers. Your help would be much appreciated.


October 8, 2007 | 12:52 pm

The recognizer is difficult but this patch shows how to gather currently
sounding notes into a list.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 23 264 171 196617 71;
#P newex 23 236 62 196617 prepend set;
#P newex 23 209 40 196617 zl sort;
#P newex 23 182 48 196617 thresh 5;
#P newex 23 109 27 196617 t b i;
#P user kslider 23 40 54 0 36 48 31 12 1 128 128 128 128 128 128 255 255 255
0 0 0 0 0 0;
#P newex 23 154 88 196617 bag;
#P window linecount 3;
#P comment 23 287 100 196617 currently sound pitches in ascending ordering;
#P connect 6 0 7 0;
#P connect 5 0 6 0;
#P connect 4 0 5 0;
#P connect 1 0 4 0;
#P connect 3 1 1 0;
#P connect 3 0 1 0;
#P connect 2 0 3 0;
#P connect 2 1 1 1;
#P window clipboard copycount 8;

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson

On 10/8/07 6:35 AM, "soumik datta" wrote:

>
> Hi. can someone please tell me how to get notein to recognize a complicated
> chord, pack all the notes in a list, order them from high to low pitch and
> then unpack them sending them to correct ints. is there a patch i should be
> looking at to learn this about chord randomizers. Your help would be much
> appreciated.


October 8, 2007 | 3:09 pm

Hi!
Two weeks ago I have posted a topic about " otudp vs. udpreceive" There were
many feedbacks, thanks everybody.
Although I don’t understand many communication’s terminology, but later I
find my solution as : I just put "udpreceive" direct to " route /kroonde" (
without OpensoundControl and it works fine!)

My next questions:
1.We choose the ports of "noteout" manuallly, is it possible to put in
"preset" and get a remote control ( I don’t have a midi controller e.g.
Beringer, etc…, I try to use "midiinfo" link to "umanu" "noteout", but I
still get no result. ( see attachment).
2.My synthesizer [ Nord Micro Mudular ] seems doesn’t have "note off", even
in my patch the midi is stopped, the Nord plays continually, any easy way to
interrupt the "note on"

Appreciate so much!

Shing-kwei

max v2;
#N vpatcher 484 331 1084 731;
#P window setfont "Sans Serif" 9.;
#P message 133 101 109 196617 MIDISPORT 2×2 Portb;
#P message 0 100 111 196617 MIDISPORT 2×2 PortA;
#P message 125 49 14 196617 4;
#P message 98 51 14 196617 3;
#P message 77 52 14 196617 2;
#P message 50 54 14 196617 1;
#P newex 118 218 43 196617 noteout;
#P user umenu 116 128 100 196647 1 64 144 1;
#X add "AU DLS Synth 1";
#X add "from Max/MSP 1";
#X add "from Max/MSP 2";
#P newex 107 77 46 196617 midiinfo;
#P connect 3 0 0 0;
#P connect 4 0 0 0;
#P connect 5 0 0 0;
#P connect 6 0 0 0;
#P connect 0 0 1 0;
#P connect 1 0 2 0;
#P pop;


October 8, 2007 | 5:58 pm

Chord recognition is a big part of what’s covered in Robert Rowe’s
book ‘Machine Musicianship’ (MIT Press) – lots of useable Max
examples on the accompanying CD-ROM, as well.

On Oct 8, 2007, at 4:35 AM, soumik datta wrote:

>
> Hi. can someone please tell me how to get notein to recognize a
> complicated chord, pack all the notes in a list, order them from
> high to low pitch and then unpack them sending them to correct
> ints. is there a patch i should be looking at to learn this about
> chord randomizers. Your help would be much appreciated.

—-
Steven M. Miller
Professor, Contemporary Music Program
College of Santa Fe

Home < http://pubweb.csf.edu/~smill>
SFIFEM <
http://sfifem.csf.edu>
Atrium Sound Space <
http://atrium.csf.edu>
OVOS <
http://pubweb.csf.edu/~smill/ovos.html>
CMP <
http://www.csf.edu/csf/academics/cmp/index.html>


October 8, 2007 | 11:23 pm

Don’t forget Peter Elsea’s tutorial on fuzzy logic. One of his examples
deals with chord recognition.

On 10/8/07 1:58 PM, "Steven Miller" wrote:

> Chord recognition is a big part of what’s covered in Robert Rowe’s
> book ‘Machine Musicianship’ (MIT Press) – lots of useable Max
> examples on the accompanying CD-ROM, as well.
>
> On Oct 8, 2007, at 4:35 AM, soumik datta wrote:
>
>>
>> Hi. can someone please tell me how to get notein to recognize a
>> complicated chord, pack all the notes in a list, order them from
>> high to low pitch and then unpack them sending them to correct
>> ints. is there a patch i should be looking at to learn this about
>> chord randomizers. Your help would be much appreciated.
>
> —-
> Steven M. Miller
> Professor, Contemporary Music Program
> College of Santa Fe
>
> Home < http://pubweb.csf.edu/~smill>
> SFIFEM <
http://sfifem.csf.edu>
> Atrium Sound Space <
http://atrium.csf.edu>
> OVOS <
http://pubweb.csf.edu/~smill/ovos.html>
> CMP <
http://www.csf.edu/csf/academics/cmp/index.html>
>
>

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson


Viewing 5 posts - 1 through 5 (of 5 total)