Controlling faders in Logic Pro X using MAX MSP?
I've been messing around with linking max and logic for a couple of weeks now but I can't for the life of me figure out how to control the fader values in logic using max. I'm currently trying to understand Logic's MIDI environment but if someone could enlighten me, that would be fantastic!
Try this: in Max create a slider with a range of 128 and a minimum value of 0. Send its output to a MIDI out object like [ctlout "from Max 1" 10 1]
In Logic's environment's "Click and Ports" layer's "Physical Input" object you'll see "from Max 1" (and "from Max 2"). Cable its outlet to a fader that responds to Control, channel 1, 10 = pan.
Now you should be able to control the Logic fader from the slider in Max. Adjust to suit your needs.
Cheers, Bill
You could also just use the controller assignments to 'map' incoming MIDI to on screen controls. You could build an entire control surface with the controller assignments if you spent enough time with it. Kind of a pain initially, but it's pretty deep.
In any case, you need to get MIDI from Max to Logic as Bill said.
I'm also trying to control the track volume faders in Logic with Max.
I got the MIDI coming in and I also got a volume fader assigned with the learn mode.
Unfortunately the value in Max (0-127) doesn't correspond with the volume fader in Logic.
The fader in Logic increases also when the value in Max goes down.
Do you have any suggestion, how I could solve this Evan?
Look at the mode menu in the value section. Try direct.
I did and now the fader just moves slightly in Logic (it seems between 0 and 1)
It has something to do with how you're mapping and the settings in the value section. This isn'ta logic forum though so you're on you're own ;)
Yes true, thank you anyway!
I can't say exactly why it's not working for you, but FWIW, I just now tried this, and it worked instantly:
1. Make this Max patch.
2. Open Logic Pro X.
3. Create a new Empty Project (File -> New)
4. Create a new Software Instrument track. (Track -> New Tracks...)
5. In Max, click on the toggle objects to start the two metro objects.
Voilà! (Works as expected for me.)
If you want to create/save a particular assignment of MIDI controller to onscreen controller,
6. Open the Controller Assignments dialog. (Logic Pro X -> Control Surfaces -> Controller Assignments... )
7. Click on the onscreen controller you want to control.
8. Click on the Learn button in the Controller Assignments dialog.
If you want to change the mapping of MIDI values to onscreen controller settings,
9. Open the Smart Controls window. (Window -> Open Smart Controls)
10. Click the i button in the upper left corner of the Smart Controls window.
11. Choose the controller you want to control (Volume in this case).
12. Set the minimum and maximum values.
If you want to use a non-linear mapping curve,
13. Click the Open button.
14. Choose the curve you want.
In short,
1. Make sure that you are sending the values you think you're sending from Max.
2. Check steps 6-14 above to see that you're directing and mapping the data the way you want.
Cheers Chris - maybe this is a logic support forum after all.
Great, thank you very much Christopher.
I'd like to control the volume of 32 different tracks in Logic.
So far only the selected track reacts to the data sent from Max.
Do you have any suggestion how I could do this?
Cheers, Josef
This is the Max patch that suposed to control the volume of 31 different tracks in Logic actually...
It's not a max issue here most likely. When you're "learning" MIDI assignments in Logic it seems to default to mapping to the selected tracks channel strip. See the Controller Assignment Parameter section in the Expert View.
Exactly as Evan said. In the Expert View of the Controller Assignments window, you can specify exactly what will be controlled by what MIDI message. The most logical way to do that is most likely to use a different MIDI channel for each track (or group of tracks) in Logic, and use specific MIDI controller numbers to control specific onscreen controls of each track (e.g., controller number 7 on MIDI channel 1 to control the volume fader on track 1, controller 10 on MIDI channel 2 to control the panning knob on track 2, etc.). If you need 32 unique channels worth of stuff, you can use both ports "from Max 1" and "from Max 2", which gives you 16 MIDI channels on each.
Example/Test patch:
Great thank's Christopher.
The only thing I can't figure out is in deed a Logic question: How exactly can I map different MIDI channels coming from Max to certain tracks in Logic.
I'm using the Learn Mode function, but somehow the exact fader is not remembered. Only the selected track is responding to the volume changes coming from Max, not multiple ones as I selected one by one during the Learn Mode process.
I should be looking for a Logic forum, sorry to bother with this issue here.
Regards, Josef
I figured it out actually.
I had to specify the Controller Assignment Parameter in the Expert View.
I didn't see that I have to scroll up for it earlier.
Hi Josef,
Can you explain how you got it working. I can't figure out the Controller Assignment Parameter, and how it is related to midi messages coming from Max to change tracks.
If I load Christophers example 2, Logic is only playing on one track and I have to change tracks manually, even though the midi channels are different in his example.
Anyone else understand this problem?
Can you actually read in the values from the faders in Logic?