All times are UTC

 
 



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Help for simple CC Pan and Pitch knobs in M4L
PostPosted: Sat Apr 27, 2013 12:33 pm 

Joined: Sun Feb 05, 2012 10:05 am
Posts: 254
Hi, i tried without success to do 2 simple CC knobs.

One for Pan with -64 to +64 values and
one for Pitch with -48 to +48 values

I would like to have the knobs with the little triangle at the center, and see the values as expected, the + to the right and the - to the left, corresponding to the actual real midi knob movement.

I can't get it, someone can help? Thanks

_________________
https://soundcloud.com/soulnaut


Top
 Profile  
 
 Post subject: Re: Help for simple CC Pan and Pitch knobs in M4L
PostPosted: Sat Apr 27, 2013 3:57 pm 

Joined: Mon Jul 26, 2004 8:37 am
Posts: 1076
The value range can be set in the inspector (but there is no triangle on the knobs).

<pre><code>
----------begin_max5_patcher----------
533.3ocsUErbZCCD8r8WgFcsDOHBPn8V6WPu2ICi.s.p0dkGq0TRyj+8ZIKa
vA4DxgbwBs6yOd6akV+bZBei4DX4ruw9EKI44zjDeHWfjv9Ddg7z1bo0CiW.
VqbOvmzlifSjO9x4cgv5BMlCjG+rPvcFjr5+AtXhoYSOi0TScfEgnkRZ6AMt
ecErkZE2R26vDqDtkEsaVlMk8X3UZYgdpDZwy48ozJu.Ma98cK3WHGTV3Ay+
dkVly9gIWwcYeIM08XxMZHH72FpuxO9B6S1Q9p2JDyW4VteV1Bm87VNhFonl
xrOASIWeDxTMLzw8QYUO0Wkbf+HhZDydOiX0B2y4y8Oe3MOYLgw2kajwcCAu
+eppQvDTsFP4lb3RsYkGA0ZIQU5M0Db9W1fmDLEWcmWClccg6heI8lJET4.D
NBLHoB1MdRaI.pbcgWZYwPnwiZqNn9nTPPocrjRDMjjzFbceyiGAGbpzf.Ri
qiZTSV5ow0QQywGWtk2mEOsFcoua47QpSM4NP46vSO28G.p6LfXbBttWOzsN
XpNeE4mRLlaTXTghQL6gnpM2f6G81vUb0V4SiyjF+iioQagNBLpQscMtyLZa
02zZy1lzODnaILQv6zMEA95Oi3uo5hObLg0TWss6pXX7C67sUEXIM5OycAll
41LQOlCZkBvKJIdgVUZZluEj.6wnirtUEItAEMT0eLE0r4kz+GqnVaE
-----------end_max5_patcher-----------
</code></pre>


Top
 Profile  
 
 Post subject: Re: Help for simple CC Pan and Pitch knobs in M4L
PostPosted: Sat Apr 27, 2013 4:39 pm 

Joined: Sun Feb 05, 2012 10:05 am
Posts: 254
Hi broc, just tried your patch.
I have a strange thing: on M4L i see 0 as value, but on my hardware i have -64 as Pan value.
If i turn the knob full to the right i have 63 on M4L but -1 on my synth. And i can't have more than -1 on my synth knob.
Do you know why?

_________________
https://soundcloud.com/soulnaut


Top
 Profile  
 
 Post subject: Re: Help for simple CC Pan and Pitch knobs in M4L
PostPosted: Sat Apr 27, 2013 5:21 pm 

Joined: Mon Jul 26, 2004 8:37 am
Posts: 1076
Did you use [+ 64] after the knob as shown in the patch?


Top
 Profile  
 
 Post subject: Re: Help for simple CC Pan and Pitch knobs in M4L
PostPosted: Sat Apr 27, 2013 6:34 pm 

Joined: Sun Feb 05, 2012 10:05 am
Posts: 254
i forgot to say that your patch alone was not working, so
i added a ctrlin and a ctrlout with the 10 inside (my pan CC) removing your [+64].

sorry for my zero knowledge of M4L :?

_________________
https://soundcloud.com/soulnaut


Top
 Profile  
 
 Post subject: Re: Help for simple CC Pan and Pitch knobs in M4L
PostPosted: Sun Apr 28, 2013 8:53 am 

Joined: Sun Feb 05, 2012 10:05 am
Posts: 254
any suggestions?

_________________
https://soundcloud.com/soulnaut


Top
 Profile  
 
 Post subject: Re: Help for simple CC Pan and Pitch knobs in M4L
PostPosted: Sun Apr 28, 2013 9:25 am 

Joined: Mon Jul 26, 2004 8:37 am
Posts: 1076
Post the relevant part of your patch (use 'copy compressed' and paste).


Top
 Profile  
 
 Post subject: Re: Help for simple CC Pan and Pitch knobs in M4L
PostPosted: Sun Apr 28, 2013 9:51 am 

Joined: Sun Feb 05, 2012 10:05 am
Posts: 254
<pre><code>
----------begin_max5_patcher----------
397.3oceSsraCBCD7LQJ+CHelf3Ufn9Uz6UQQl3kT2ZrQ1FThh5+dMlGMnZ3
B1Zlwi2cVyy867Pkh6fB4+l+G9ddOMHdVrdDuI.OTM99UFVYEhXzNHjPwLTv
HcGVxw0vJrThkPT90gjrYzFIn.tFqoB9EIbUOTDGOVDFkmjVbJvOINKrHMuH
NvOKKLx70v4ed1Ar95mT9sWNcbTwodgoYoV8NNEuslxYf11KwtplkDXooyzf
7BvwkLXAowKQqdxrjI3AL8iFXnpPn.eTESfMU4bcnvc.4BVqkzxVM72N0X1O
E98wKqEDUS3yDuVcJMzXOYTfCVLmKFi54AExkP3difaBBaaF5zqVNUqzOFhB
mJpMOW5IySCWgmZC4C4YtEPMWQ+KHa5E8xzagpo.dKKbL0VFaeJj54H4cL2Y
pTKHisTbRg6RlI32V+ef+41P.DshWT928ds97r2BAYqtuRr9P1NAWmVHIfbU
qIP0FrpF.HLZ8Fuen7NphNNThFE7y9cC6l1LtZV7OuemY4W.JvLKQ.
-----------end_max5_patcher-----------
</code></pre>

_________________
https://soundcloud.com/soulnaut


Top
 Profile  
 
 Post subject: Re: Help for simple CC Pan and Pitch knobs in M4L
PostPosted: Sun Apr 28, 2013 11:18 am 

Joined: Mon Jul 26, 2004 8:37 am
Posts: 1076
Try this.

<pre><code>
----------begin_max5_patcher----------
571.3ocsU0zbZCCD8r4WgFcsDO1BiMs2Z+Ez6YxvHPKAkJK4QRlRZl7euVxe
fcPllNYxE.u6pGu2a2U9kEQ3cpyfAi9F5dTTzKKhh7gbAh5dNBWROuWPM9xv
R32pcOgW1lxBms9v6sBUsEklzmQVWxkBv5O0ptfGTRqg+GvEKMIN4RsMGtu3
9nUT69ib4ia0vdaKE+ZdyYPo4tihVS7OrINA8P2Q3LOYZH3cD7n+SIsz+eh+
tlSEnenDLrK6qKV39X4GS6eAkmET1j+GYm9OkMwK3Uj30uQ1snXetBZqGykM
mLfoj9IXJB9IHl0fPO1mn5AnuJ4D+YPxZv.RK0xUxQxd85h3jbxphMKQjzr3
hU4EoKQYYNaHqXjAL0II2vIW6mbZQ3ZbFSjwD7JCFuDgOHTzv1LYXbnhparB
Kn2BR5NALFTC8Dv1RsVMeWsEt7KSma2Y2NGUTCpC8g6iOFdklA5QaOSRxfCy
mzTA.SvK8TKNTEb4Itg2w9fPXgp1FJYSfzToT00bGFLvApCNWojfzNOSpkbq
w977LorYzzkKeUb3zbee8t7rYTJ25FV8M4jKCFSJpeL3F.bc2dpecTour98S
pLjaTpXchIkTDjsBk7wY2ztBqVkmDFIt7WNjLy5qM.nX2P1GTy1V8Ms1rsI8
Wvz+U2sMdmtQDx291H+RrK9zqfLpZ899sw9cNzkMYFXrb4vh78C2+MplibFC
jiekSImUoZt7riCnGBde36kRouCFQ9.Lp4gWW7W.JYA5sB
-----------end_max5_patcher-----------
</code></pre>


Top
 Profile  
 
 Post subject: Re: Help for simple CC Pan and Pitch knobs in M4L
PostPosted: Sun Apr 28, 2013 2:12 pm 

Joined: Sun Feb 05, 2012 10:05 am
Posts: 254
Yes it works! (from Max knob)

But I need a control in to automate it from the synth knob though... I tried to add it but won't work.
Do you think it can be easily added?

_________________
https://soundcloud.com/soulnaut


Top
 Profile  
 
 Post subject: Re: Help for simple CC Pan and Pitch knobs in M4L
PostPosted: Sun Apr 28, 2013 7:08 pm 

Joined: Mon Jul 26, 2004 8:37 am
Posts: 1076
Adding input control is easy but may create an infinite loop depending on your synth.
As a precaution you could use a Send/Receive switch like in this patch.

<pre><code>
----------begin_max5_patcher----------
772.3oc6X0zbaBCD8L9WAkq01CBvfo2Z+Ezo8XlNYjQqiUKVxCHbcZl7euBw
GQjfrww1bo8PLgcWs4sOsZeV4oIVNq3GfbG6OYemsk0SSrrTlJMXU+tkyV7g
jTbtJLGF7a9pe5Lsxk.NHTlmYGFzXjUrkxRAgZAd0FWyYhb5efRaH24tuDKu
PzDLp15NrHYCk8v8YPhnBcnkKjKxF4qd36Meg7kkycs+Q8ZpRi3wcP0BbnL4
Ra7RIJXJg9LeGMHwvaUw674LJN09K7ThSo2mmLo7ioWFq7wQhU77iuTVAMdr
xGlYitorRjhM7B7tTRI9FPJoz8vbAdUSp2iyZy7q80gcZK3LHGXBrfxYZEsW
04ifpGttJJvUqp6Re9mh9BQlRjN.zA1anUmoU+rNki6mfW5zBiLIIHfr6AFd
UJzofoIhhrlwTsoIGuGH2iEhL5pBA7xukWy90zeIEmV.70Mlarq+WkmQfrx.
pa153j.qM6LeG.jT5VEhm2WDT1dZNstn5MEBXWtImXFiWuY21m3zSbfb+sl2
+NvHk792fDP1Q0x7ci+vNNCXBy3tfQE4hGMi6sxFa0x8hl2ueppAw0.sPExC
RUXVq+pSPMcSdlSva6X5Rta3YBSmv5BWN4DETJm8vfS0wp8TJ6WkIx3tdYB3
DiLOkslarSPsuU4sxoZBUyiqyL7GvB31prEol+3EsbnCw6c.Sz3Iqc6ojJw9
33KhQBGOFIQjJwjrV6kV7OGZw8jcJ9HE6rPI52gWzJ9E2JAcR4jLSJ55N6UR
uas5c5uEbnpGHHP8YzQ6ANp9avPze+uP6sR3Lz+n5lyBCtbkSzUR47qX10Rz
T67v+VplxAhTlo4gnyYd3wlQDq882quNvIu8yTyWBx6LlYpVubSl85+oBJbV
ZuKokyKxRZvQ8EBreApDHWPYsWz3tVELsX1PIDfoqQrkR1wkUS6EF5cC7Zhn
3QEQwC.QQiJh7G.hBFUD4Mv9HzngnvAfH+QkihF.hVLpHJX.HBMpHBMvyZu2
9H4KOO4uwQBLIA
-----------end_max5_patcher-----------
</code></pre>


Top
 Profile  
 
 Post subject: Re: Help for simple CC Pan and Pitch knobs in M4L
PostPosted: Tue Apr 30, 2013 11:35 am 

Joined: Sun Feb 05, 2012 10:05 am
Posts: 254
Thanks to your code i found that this little modification works for me. I don't have any midi feedback.

<pre><code>
----------begin_max5_patcher----------
691.3ocwVtsbZCCDF9ZxL4cviusfGK4SPuK8AnSuOSFFAZInTijGKAgzL8cu
RxGhMQlCg1lqrY2UZ28ak9wud6Mi7WH1CReuu5cu2nQupsLxZyXYTigQ9aH6
WlSj1.84vyhEO4Ot1mB1qr1m3kF2ZkQs1zANAkfaMuRvUR1u.iSTXPXi8BhZ
4ZF+w4kvRUU4fPSmpCPGVj4QDNHQ+CsIuGZVEe6FFOGT15B2wpXqpwLpap4j
M1T6eWIij68MQNsszpVi5kBnJ+9LttRdv5822di4o9w3qFSKU4LttqbiJzGD
Ul.7xr.KNwhsgIExMovWEoF+uDX5LN.wvYsVKJAIvUDESv6.mTTV.JNJMKar
GNbVPDJLMb5XuD76wzEw7LjYCvQVb6Z25A8HWk4QlFgmZZ7WmyeYf6u3YWBh
MXoAwtty9APLZV1ko.blH9SSZHmsCBn5zzlgcjx1B3G28cmZCwm7nd7LMuhR
vYli2YASSRhQZjEGawWZWv4F21.QQVb6ZUtkQFD2EjRcSofx4.mrHGNGwG4Z
wyMnHbvAfQtYUtfXFCsqjrCnyIJUIawVE71ax5YQyvvf67sfXUi8VGcKYoBJ
p5S7zwN7S3bQ8Dncz46JPXegfCbKkQsG36ExVNSIUuj2qq6EwF8AHiyznfA7
yrreRZr6.X5TXNwY4WXmgZunZP7w1BGCy9fasnT45zb+BVPqaIDNycImK3Od
V6SUqGNvtv3+zrKxgYqdKDzi02qDCOdsytgcKJoPow8rDWtovpJ2Nyrr..ZN
ayQN5v36XRV87HrNfZQo2d4MUpp4tVBh+tu6ypIXbbf1kTrsbYyMu1unyqit
.EjJFuU.39NJVcCaMiRAdua1aXzBgVNstVNln5ETdnyp7NrK9OUdl+O8zUG9
ShcGNyFn5lc0Umwf9we.PJe4YC
-----------end_max5_patcher-----------
</code></pre>

_________________
https://soundcloud.com/soulnaut


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC

 
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group