How to control an instrument
Hi. I have made a patch that can send out CC values every 64n
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 1105.3oc4YssiihCD84LRy+.hmyF4K3KruMyuwnQiHf2Dlg.s.2Z6YGs+6qu .DLgKt6NQomdkhMDigppyopxEle8wOrIbe0Shlvf+L3KAa17K0HaLioGYS2. aBOk7TZQRiYhgkOdZunNba60dHQldLu7v2pEoR6SBFEsCrM.Rf5CDf4O7cff u1eS0hFQoLQlWUpuGX2E9qpRYYxIgQRepNOoH3yUEY8RSI77xBgrw4txyLyu Z+2+CHLbJgLP6vLtQgh.yocJgT8nrSJng5VS9+XzMn91ZG2NW4OePXEPXdoL baP39jxCgAe0Lq+8iePeTcXq+.s3uUVTu4HEOYrfvTYgRjKR.PhwphMD.lui AHbNda.BLzNuDrmFmwSfynnvogqdXIspnp1pOVLV2A1gvPLCa9qqlzCsvcjX Bjyt5.WSfLYegXIjCyLpJv3hDYPQWLaVO28GFXvvdCtq64i5S4cScLpwH74N 3bp7.SMBalIBNmo5Cux0BjGo6YvaJot+QoTA4KvcVedf0R568g5JxK+wX1SY Vw.XL0fnsm4XdNDNXWLDiLnwkmvHC.EecSVOSGXsLcQQ1GKDNGj3RwvgYzxK EN1Gq2ZFchiVeQtvWaRvShlljChIBlkUOrn2fYMHaRdL5YrDzHdkSYaGc3EE NiF87Q9JfATN4ZF+S.3yK.NEBMiywjg0yx+uFte8PdT2Bb++HjmvVMjmMnpl eOi3kUGNr7hzlH6W.m6KOrupNST6fEjsC5blb5QQ5ODYdFKtNEy8Lq9Khhun L0aP4omDx5p.Zz5qUyn5dJ9dVkEZJNH9ZVlkkt3n4r0YnKWophqIw80PC7oR qaV.5qp7Z6pxv2lkWCwWQhGysohi98n954X050YU6qYpPOikdWCmASvpQWyv 4XV+zidgAyOaN8lTb0rEVmVHRpWNHF2u.Ll99nxZ10LvmEabLfyAP28BqWeK 737K1AOWG8aSwTKP4x5b2pSIac58nLqiieFbqiAxruTQy6cbNAxwQ9vKVo2p ah3XR93Hmukv0a0tNl6lt+noJQ03OE.QrfeFfPmiB6XpEWb.btZcpc20hfdk tX05zfnPuxVaiDmV5yPSqftcSqV8WKUpdun1w5Y2yCYfzukkHSZ8azKdnZHc oP5MoPkmHV+drpFqsobowJWRLV+x4sMXaCXaH08neeLSisPi9LarAO23V4Aa 0Abqdo0OpUWYy032vVmLnsMk9vT5kdqkYJ8TuxJUMOcRep55T0XT0X5pnIpw HZ7WcdDSWblKeXvep0F6wXMtfz9R5r4plduAzqg64uKhHsNQg525d7GfwDEo uvn3zlpGqS6bH6prIXfyblnQlW1GI8kygICm0w7rLQ4h6U+L4zNkm8PkJRnU gWJKi21vXsaZaH9srIv7hEvqZB2Bci3kKB89nabezMxaZtmvdGXCz2A1feoB AuksAuLA8Gd8NDqp+t5dpbvWkxoGPc3+.fgcBAA -----------end_max5_patcher-----------
I thought I could route this to an instrument track and use the CCs to control an instrument parameter. So I mapped CC108 to a paramater (using my external MIDI controller) then started up the patch using 108 as the CC value. I can then record this stream of CC values in the instrument track, but it doesn’t control the instrument parameter. This seems counterintuitive. Am I missing something or is there a better way of controlling intrument parameters from a MAX patch? Thanks, David.
Pardon me if I’m telling you things you already know, but I’ll say ’em anyway, just in case.
1) In order for the metro to work with beat-based timing units such as 64n, the global transport must be on.
2) Sending the message ‘bang’ to a table uses the table object as a probability table (sends out index numbers with a likelihood proportional to the value at each index) rather than as an array (looking up values by index).
3) Are you sure your ctlout object is addressing the correct MIDI port? If you’re addressing a software synthesizer or another application, you probably want the port "from Max 1", and need to be sure that the other application is set to receive on that port. If you’re trying to control a hardware synth, you need to be sure you’re addressing the correct interface and port.
4) In short, you need to verify that the data you want is actually getting to the place you want. Beyond that, it’s hard to advise without knowing details of the receiving synth.
Thanks for your reply. I’m sorry but I should have postd this in the Max4Live forum, which would have made my porblem clearer I think. When I turn on the global transport I get CC messages arriving in the instrumnet track (I can recprd them). I’m not too worried abut the probability table issue at present but thanks for pointing that out. I tried to use the Live remote system to get a synth to respond to CC messages but this does not seem to work if the CCs come from a Max patch in another track. Is there a better wat to do this?
Forums > MaxMSP