Page 2 of 3

Re: looking for MIDI mapper: one note input to multi note output

Posted: Thu Jan 05, 2012 10:24 pm
by brum_d
just had a good look at it, and it seems to work perfectly! Your little tutorial is very clear.
This is what it was looking for!! Thank you sooo much!

One of these months I'll find the time to get the hang of Max, and I can make some improvements.
It occurred to me that all 63 notes are fixed for ALL patterns.
C0, C#0, D0, E0, F0, F#0, G#0, A0 A#0
C1, C#1, ...
.
C6, C#6, .... A#6

So, basically, those values can be set for all 63 notes, and they only need to be toggled on/off. That would make the workflow a lot easier.
I'm not expecting you to do this (although I wouldn't stop you ;) ), since you already did a lot more than I could ever expect someone to do. But, that's the way I'm going to do it when I understand a bit more of Max.

Well done! I owe you a beer or two! :)

Re: looking for MIDI mapper: one note input to multi note output

Posted: Thu Jan 05, 2012 11:42 pm
by brum_d
ok, I had a little look under the hood, and I turned your file into this:
http://braadspitt.nl/multi_note_out-EDIT.amxd
It's getting very close to where I want it to be... and I could never have done this without your help.

Even better would be toggle on/off buttons for each channel.. well, that's for the future..

Re: looking for MIDI mapper: one note input to multi note output

Posted: Fri Jan 06, 2012 5:35 am
by trevox
brum_d wrote:ok, I had a little look under the hood, and I turned your file into this:
http://braadspitt.nl/multi_note_out-EDIT.amxd
It's getting very close to where I want it to be... and I could never have done this without your help.

Even better would be toggle on/off buttons for each channel.. well, that's for the future..
I get what you are looking to do a lot better now after looking at that and toggles make a lot of sense! A little paste and replace and toggles are added. Had to add messages fixing the notes, but it is essentially the same patch. Reckon it should be pretty close to what you were looking for. If anyone out there has any suggestions for storage than the manual one, I would love to know!

http://dl.dropbox.com/u/30280761/multi_ ... oggle.amxd

Re: looking for MIDI mapper: one note input to multi note output

Posted: Fri Jan 06, 2012 7:25 am
by brum_d
trevox wrote:I get what you are looking to do a lot better now after looking at that and toggles make a lot of sense! A little paste and replace and toggles are added. Had to add messages fixing the notes, but it is essentially the same patch. Reckon it should be pretty close to what you were looking for. If anyone out there has any suggestions for storage than the manual one, I would love to know!

http://dl.dropbox.com/u/30280761/multi_ ... oggle.amxd
Yeah! The buttons look great (and I can even change the on/off colour to corresponding red/green/blue, which makes it even easier to see what I'm doing).
One slight problem.. the values of the keys have all changed again now.. and I can only find how to change the label, but I can't figure out in which object those values are set, and how that value is transfered to the toggle.

Re: looking for MIDI mapper: one note input to multi note output

Posted: Fri Jan 06, 2012 7:31 am
by brum_d
I can't figure out where those values are coming from:
Image
hmm...

Re: looking for MIDI mapper: one note input to multi note output

Posted: Fri Jan 06, 2012 12:48 pm
by trevox
The value are not coming from the toggles at all. The text you see is just text - each of those object are identical apart from the names and send out a value of either 0 or 1 which is stored in the coll object. The values are "hard coded" if you like and cannot change - I thought that is what you were looking for? So each key can send out any combination of notes between C0 and D5 (63 notes in total). If you look after the coll values are unpacked and each output goes into a "sel 0" object, you will see messages with numbers in them that do not change. Starts at 24 (C0) and ends at 86 (D5). The 0's and 1's in the coll go into the "sel 0" object. If 0, no signal is passed. If 1, the number box is banged and a note is created using this and the velocity of the root note.

What behaviour are you looking for in those toggles? Do you want to change the values once to be something else (within the patch) or have the ability to change them when using the patch in Live? Note the toggle (live.text object) does not have the ability to do this as far as I know, so you would need a mixture between the first patch I sent without toggles and this one - i.e. a drop down menu and a toggle for each of the 63 potential notes. There are other knock on effects too and it would be necessary to create another coll object as you would need to store both 0's and 1's (toggles) and the actual note values. You would also need to save 2 separate .txt files for storage which could get cumbersome.

Re: looking for MIDI mapper: one note input to multi note output

Posted: Fri Jan 06, 2012 1:07 pm
by brum_d
trevox wrote:The value are not coming from the toggles at all. The text you see is just text - each of those object are identical apart from the names and send out a value of either 0 or 1 which is stored in the coll object. The values are "hard coded" if you like and cannot change - I thought that is what you were looking for? So each key can send out any combination of notes between C0 and D5 (63 notes in total). If you look after the coll values are unpacked and each output goes into a "sel 0" object, you will see messages with numbers in them that do not change. Starts at 24 (C0) and ends at 86 (D5). The 0's and 1's in the coll go into the "sel 0" object. If 0, no signal is passed. If 1, the number box is banged and a note is created using this and the velocity of the root note.

What behaviour are you looking for in those toggles? Do you want to change the values once to be something else (within the patch) or have the ability to change them when using the patch in Live? Note the toggle (live.text object) does not have the ability to do this as far as I know, so you would need a mixture between the first patch I sent without toggles and this one - i.e. a drop down menu and a toggle for each of the 63 potential notes. There are other knock on effects too and it would be necessary to create another coll object as you would need to store both 0's and 1's (toggles) and the actual note values. You would also need to save 2 separate .txt files for storage which could get cumbersome.
Hi there!
Well, you are right: this is what I want, a fixed note which can be toggled on and off. The problem is that the wrong notes are fixed. The notes that I use are"
row 7: C6, C#6, D6, E6, F6, F#6, G#6, A6 A#6
row 6: C5, C#5, D5, E5, F5, F#5, G#5, A5 A#5
row 5: C4, C#4 ... A#4
row 4: C3, C#3 ... A#3
row 3: C2, C#2 ... A#2
row 2: C1, C#1 ... A#1
row 1: C0, C#0 ... A#0
(just like the ones in my edited version).
So, they only need to be set ones, but they need to be set right. ;) (using consequetive notes, instead of 1 octave for each row, makes manual programming patterns a lot more difficult; in order to have more overview, it's important, let's say all the greens in the 1st LED are on a C#).

But I understand that patching the toggles like this isn't possible with current method?

Re: looking for MIDI mapper: one note input to multi note output

Posted: Fri Jan 06, 2012 2:27 pm
by trevox
brum_d wrote:
trevox wrote:The value are not coming from the toggles at all. The text you see is just text - each of those object are identical apart from the names and send out a value of either 0 or 1 which is stored in the coll object. The values are "hard coded" if you like and cannot change - I thought that is what you were looking for? So each key can send out any combination of notes between C0 and D5 (63 notes in total). If you look after the coll values are unpacked and each output goes into a "sel 0" object, you will see messages with numbers in them that do not change. Starts at 24 (C0) and ends at 86 (D5). The 0's and 1's in the coll go into the "sel 0" object. If 0, no signal is passed. If 1, the number box is banged and a note is created using this and the velocity of the root note.

What behaviour are you looking for in those toggles? Do you want to change the values once to be something else (within the patch) or have the ability to change them when using the patch in Live? Note the toggle (live.text object) does not have the ability to do this as far as I know, so you would need a mixture between the first patch I sent without toggles and this one - i.e. a drop down menu and a toggle for each of the 63 potential notes. There are other knock on effects too and it would be necessary to create another coll object as you would need to store both 0's and 1's (toggles) and the actual note values. You would also need to save 2 separate .txt files for storage which could get cumbersome.
Hi there!
Well, you are right: this is what I want, a fixed note which can be toggled on and off. The problem is that the wrong notes are fixed. The notes that I use are"
row 7: C6, C#6, D6, E6, F6, F#6, G#6, A6 A#6
row 6: C5, C#5, D5, E5, F5, F#5, G#5, A5 A#5
row 5: C4, C#4 ... A#4
row 4: C3, C#3 ... A#3
row 3: C2, C#2 ... A#2
row 2: C1, C#1 ... A#1
row 1: C0, C#0 ... A#0
(just like the ones in my edited version).
So, they only need to be set ones, but they need to be set right. ;) (using consequetive notes, instead of 1 octave for each row, makes manual programming patterns a lot more difficult; in order to have more overview, it's important, let's say all the greens in the 1st LED are on a C#).

But I understand that patching the toggles like this isn't possible with current method?
Ah, that's no problem at all. I'm pretty bored in work so will update.....

Re: looking for MIDI mapper: one note input to multi note output

Posted: Fri Jan 06, 2012 2:51 pm
by brum_d
trevox wrote:Ah, that's no problem at all. I'm pretty bored in work so will update.....
You're the coolest dude of the interwebs!
And thanks again! :)

Re: looking for MIDI mapper: one note input to multi note output

Posted: Fri Jan 06, 2012 3:47 pm
by trevox
brum_d wrote:
trevox wrote:Ah, that's no problem at all. I'm pretty bored in work so will update.....
You're the coolest dude of the interwebs!
And thanks again! :)
No problem - I find this kind of thing therapeutic when I am meant to be working!

All done. Toggles colour coded too....

http://dl.dropbox.com/u/30280761/multi_ ... oggle.amxd

Re: looking for MIDI mapper: one note input to multi note output

Posted: Fri Jan 06, 2012 3:50 pm
by trevox
trevox wrote:
brum_d wrote:
trevox wrote:Ah, that's no problem at all. I'm pretty bored in work so will update.....
You're the coolest dude of the interwebs!
And thanks again! :)
No problem - I find this kind of thing therapeutic when I am meant to be working!

All done. Toggles colour coded too....

http://dl.dropbox.com/u/30280761/multi_ ... oggle.amxd
Ugh, just realised something - they are the wrong notes. I thought it was from C's ascending, but you skipped out D# and G...

Re: looking for MIDI mapper: one note input to multi note output

Posted: Fri Jan 06, 2012 4:03 pm
by brum_d
trevox wrote:Ugh, just realised something - they are the wrong notes. I thought it was from C's ascending, but you skipped out D# and G...
o darn.. ;)
Yep, they are grouped by 3
LED 1: C, C#, D
D#=empty
LED 2: E, F, F#
G=empty
LED 3: G#, A, A#
B=empty

This way, I can transpose MIDI-tracks in steps of +1/-1 to change colour, +4/-4 to change #LED, and +12/-12 to change row. It also makes a MIDI file a bit more readable.

If it's easier to tell me how to change it, I'm more than happy to do it..

Re: looking for MIDI mapper: one note input to multi note output

Posted: Fri Jan 06, 2012 4:11 pm
by trevox
Pretty minor change to make - think it is okay now...

http://dl.dropbox.com/u/30280761/multi_ ... oggle.amxd

Re: looking for MIDI mapper: one note input to multi note output

Posted: Fri Jan 06, 2012 4:27 pm
by brum_d
trevox wrote:Pretty minor change to make - think it is okay now...

http://dl.dropbox.com/u/30280761/multi_ ... oggle.amxd
Had a quick look. Perfect, just perfect!! This is soo great! And so much better than I was initially hoping for.

I'm getting to the stage in my project where I build the LED strips inside the case itself and connect them to the MIDI-to-action controller to control all 63 channels at the same time and do a good test run (this is going to be exiting! :) ). I hope I can get this done this weekend.
Finishing the complete project is probably going to take me 2 more weeks. And it's only after that that I can really start experimenting (not only with the LEDs, but also with Live).

I'll keep you posted in this topic about the result! See ya!

Re: looking for MIDI mapper: one note input to multi note output

Posted: Fri Jan 06, 2012 4:32 pm
by trevox
brum_d wrote:
trevox wrote:Pretty minor change to make - think it is okay now...

http://dl.dropbox.com/u/30280761/multi_ ... oggle.amxd
Had a quick look. Perfect, just perfect!! This is soo great! And so much better than I was initially hoping for.

I'm getting to the stage in my project where I build the LED strips inside the case itself and connect them to the MIDI-to-action controller to control all 63 channels at the same time and do a good test run (this is going to be exiting! :) ). I hope I can get this done this weekend.
Finishing the complete project is probably going to take me 2 more weeks. And it's only after that that I can really start experimenting (not only with the LEDs, but also with Live).

I'll keep you posted in this topic about the result! See ya!
Cool - I'd love to see the final result!