Forums > MaxMSP

Randomising notes in key.


Max
April 23, 2011 | 2:47 pm

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?


April 23, 2011 | 3:25 pm

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


April 23, 2011 | 3:48 pm

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



Max
April 23, 2011 | 4:07 pm

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 =(



Max
April 23, 2011 | 4:10 pm

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. –

April 23, 2011 | 4:36 pm

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

– Pasted Max Patch, click to expand. –

Brendan



Max
April 23, 2011 | 5:21 pm

thanks Brendan that works great =)


April 23, 2011 | 5:58 pm

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/



Max
April 24, 2011 | 8:30 am

the link doesn’t work =/


April 24, 2011 | 10:08 am

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



Max
April 24, 2011 | 10:16 am

I’d love to take a look =)


April 24, 2011 | 11:06 am

Here it is:

Attachments:
  1. ScaleMaster.zip


Max
April 24, 2011 | 11:22 am

thank you =)



Max
April 24, 2011 | 11:28 am

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.


April 24, 2011 | 5:25 pm

(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.



Max
April 24, 2011 | 7:29 pm

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.


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