Randomising notes in key.

Apr 23, 2011 at 2:47pm

Randomising notes in key.

I’m looking to create a button that will generate random patterns of notes, however I only want certain pitches to play.
I don’t want to use select as this means that the bang could result in no sound several times in a row.

Here’s what i have so far:

– Pasted Max Patch, click to expand. –

Also how would i go about making this trigger notes from an electric piano in logic rather than the rubbish sounding built in sounds?

#56513
Apr 23, 2011 at 3:25pm

Hi Max
two objects (at least) will apply here: [coll] or [multislider]; fill your [coll] with predetermined pitches and then query the list with a [random]. Alternatively, a [multislider], with number of pitches on the X axis and pitch number on the Y axis will also do this – in this case you need to use a [fetch] message I think (check the helpfile).

Brendan

#202614
Apr 23, 2011 at 3:48pm

hello Max,
when you say certain notes, you mean a certain scale? like the notes of G major?

#202615
Apr 23, 2011 at 4:07pm

basically i want to be able to turn it on by pressing the toggle and it play random notes from a ceratain scale yes. In my case D blues (D, F, G, G#, A, C)

i tried the coll object but i can’t for the life of my work it out. been playing with it for about half an hour now lol read all the help files =(

#202616
Apr 23, 2011 at 4:10pm

I found an arpeggiator patch on another forum that looks like this. It works but only if the notes are permanently held down. This is obviously not practical when i’m trying to trigger other samples to perform a track with my patch. Could it be somehow adapted?

– Pasted Max Patch, click to expand. –
#202617
Apr 23, 2011 at 4:36pm

Here’s a patch of mine that populates [coll] with user-defined pitches, then randomizes the output.

– Pasted Max Patch, click to expand. –

Brendan

#202618
Apr 23, 2011 at 5:21pm

thanks Brendan that works great =)

#202619
Apr 23, 2011 at 5:58pm

I have a patcher called ScaleMaster that is sort of a general note quantizer / scale generator. It’s probably overkill for what you want, but I thought I should mention it. http://xfade.com/max/

#202620
Apr 24, 2011 at 8:30am

the link doesn’t work =/

#202621
Apr 24, 2011 at 10:08am

I have Chris’ excellent patch if you need it………

#202622
Apr 24, 2011 at 10:16am

I’d love to take a look =)

#202623
Apr 24, 2011 at 11:06am

Here it is:

Attachments:
  1. ScaleMaster.zip
#202624
Apr 24, 2011 at 11:22am

thank you =)

#202625
Apr 24, 2011 at 11:28am

not going to lie.. completely baffled by that lol. You have clearly been doing this for a long time. Looks awesome but I’m just totally overwhelmed by it all.

#202626
Apr 24, 2011 at 5:25pm

(Weird that my site isn’t loading. Other sites hosted on the same machine are working.)

Max, let’s just say that with ScaleMaster, I tried to be… um… “comprehensive.” I don’t think that it’s that hard to use, though. Just copy everything that’s in the reddish “Database” panel of ScaleMaster into your patcher. Once that is done, you can use the abstractions NoteQuantizeSimple_BP, NoteQuantize_MIDI_BP or NoteQuantizeDegree_BP. If you use them as bpatchers, you get a menu of scales to choose from.

#202627
Apr 24, 2011 at 7:29pm

You’re probably right but considering I started using MaxMSP about 5 days ago I’m still a bit of a novice and probably only know a fraction of the objects and their functions.

I’ll give it a go and see how I get on.

Thanks a lot for all the help, this is a really great community. I’ve had endless problems solved by people here within hours if not minutes.

#202628

You must be logged in to reply to this topic.