FCB1010 - midi channel change?
I am brand new to Max, but I'd like to write a program that allows me to change to midi channel of the FCB1010. One of the major limitations is that the FCB1010 can only be set to 1 midi channel at a time. I'm wonder if Max could be used to toggle between different settings that would take the midi note info, change the midi channel number and then send that signal to Live.
I am currently trying to use the + object to add 1 to the midi channel, but it doesn't seem to be working. Works for midi note number, but I'm not sure what I'm doing wrong to have it apply to the midi channel.
From what I understand that should not be a problem. Can you post your patch?
yeah, i'm just incredibly new to max, just downloaded 2 days ago and trying to figure this stuff out. I'll try to get a patch to post.
Maybe take a look at [midiin], [midiparse], [noteout], [ctlout], [xbendout]. I you work an a windows machine you would also need a virtual midi port like midi-yoke to send the midi-data to Live or any other application.
Hope that helps for a start.
jan
Most of those objects are making sense to me, I can get midi in and out of these objects, but I'm having a hard time figuring out how to change the midi information before sending it out of max.
maybe this is the solution for you: https://cycling74.com/forums/sharing-info-to-help-with-max-and-midi-behringer-fcb1010
As far as I can tell, that is a program that is used to program the FCB1010 pedal itself, not gather midi data from the FCB and alter it.
I know, but I thought it might help you anyway,
I don't know why exactly you need different midi channels, I thought that maybe you could do it another way as well, with this software you can easily set different values for each preset
otherwise try this:
(doubleclick on the loadmess objects, or save and reload to fill the menus correctly)
I think I figured it out using midiin, midiparse, +, midiformat, and midiout.
So, as I said, I'm very new to Max. How to I go about loading the patch that you posted?
Copy the code with crtl/cmd c. In max choose File->New from clipboard in the menu.
I you want to post a patch: select the objects and select Edit->Copy compressed.
Jan
Timo, thanks! I think with a couple simple mods your patch will work for me. And Jan, thanks for explaining the basics.
I've been trying to figure out something similar.
For example, I have some daisy chained pedals set to different channels but they share some CC values.
I only want to receive messages coming from one at a time.
So I want to be able to select the incoming MIDI channel with a [umenu].
With [ctlin] I can set the incoming channel with attributes - just like selecting which CC it receives.
But unlike CC messages I can't seem to change the channel later, say with a (set) message.
I came up with this work around but it seems crazy elaborate for what I think should be simple:
Using an if statement to see if the incoming channel matches the global one chosen by the user.
This then opens a gate and allows the CC message from only the selected device through.
I feel like you could use the same method for the FCB1010.