|
Post by Multicellular on Mar 14, 2019 1:11:01 GMT
This app semms quite brilliant. Unfortunately, much more so than me apparently. Read the manual and searched here, didnt not find the exact example I was looking for but even a close one gave me errors when I pasted it just for my initial testing.
Anyway, I imagine this isnt that complicated, I am just struggling after an hour to get my own correct dictionary of code and syntax.
What I want to do is to be able to convert note values of c-1 or so to b0, with low velocity, e.g. below 5, to corresponding pc messges. E.g. C-2 on midi ch 1 of velocity 1 would be pc1 on ch1 C#-2 on midi ch 1 of velocity 1 would be pc2 on ch1 D-2 on midi ch 1 of velocity 1 would be pc3 on ch1
And so on and similar for midi channels up to 5 or 6 (dont yet know how many instruments but hope if I get started I can modify the code from there)
Ideally Id also block those from becoming notes that go through. But thats not a big deal because for kost use cases the low velocity would just mean a tiny blip at the beginning of a song, usually masked by a kick anyway.
Thanks so much in advance anyone that can help.
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Mar 14, 2019 8:36:21 GMT
Hi Multicellular, Use this table to get hex codes for the notes and remap each with a pattern match rule: (this also assumes that pc1 is the first PC and I have colour coded the rules so you can see what is what) # C-2/CH1/VEL1 to PC1/CH1 90 00 01 = C0 00
# C#-2/CH1/VEL1 to PC2/CH1 90 01 01 = C0 01
# D-2/CH1/VEL3 to PC3/CH2 90 02 03 = C1 02Add more rules similar to the above for other conversions. This will convert the note on to the PC so we don't need to block these, but you may wish to block the note offs for the range you are remapping, so this rule would do that: # block notes C-2 to D-2 N0 00-03 = XX +BHope that gets you going. Regards, Nic.
|
|
|
Post by Multicellular on Mar 14, 2019 16:52:15 GMT
Awesomesauce.
Have not fully fleshed it out, but I tested it for a few PCs on a few channels with a couple apps and it is working so far!
|
|
|
Post by Multicellular on Mar 15, 2019 0:44:31 GMT
A mostly satisfying success. Program Changes out of program-change-phobic Korg Gadget!!
Given that it converts the note to PC and realized all the synths I was wanting to use this can go way down in octaves v the midi note anyway, I dropped the velocity bit. Simply trading the lowest notes for presets.
# Streambyter saves the day # CH1/C-2 to CH1/PC1 90 00 = C0 00
# CH1/C#-2 to CH1/PC2 90 01 = C0 01 # and so on
# CH2/c-2 to CH2/PC1 91 00 = C1 00
# CH2/c#-2 to CH2/PC2 91 01 = C1 01
# and so on
# block notes on all channels C-2 to b-1 NX 00-17 = XX +B
Working in AUM for routing channels.
The 'mostly' part? Well now that all the midi monkeying is working, the darn AU synths are giving huge CPU spikes when I change presets. Obviously the target synths not Streambyter, there is no spike using it with my hardware synths.
|
|