sending midi cc's with m4l

Learn about building and using Max for Live devices.
Post Reply
a_guy_called_tom
Posts: 4
Joined: Mon May 09, 2011 7:47 pm

sending midi cc's with m4l

Post by a_guy_called_tom » Mon May 09, 2011 8:03 pm

Hi all,

i built a m4l device that lets me control a waldorf pulse using midicontrol data. It has a lot of live.dials and each one is basically connected to a ctlout object in order to send out midi control data.
This all works very well. But i'm having problems with automation and modulation of the dials - they can be automated or modulated fine, but then the midicontrol output stream that the automated dials should generate is not really continuous anymore. When i move the dials with the mouse, the output is very finegrained meaning i get many midi cc messages and a smooth curve. When i automate or modulate the dials, it seems that midi ccs are only sent out every few seconds and don't really follow the automation curve.
Strange thing is, that when i create a second midi track and record the midi output of the first midi track, the recorded midi cc data is fine and smooth again.

Any ideas? Your help would be much appreciated.

tom

hoffman2k
Posts: 14718
Joined: Tue Jun 15, 2004 6:40 pm
Location: Belgium
Contact:

Re: sending midi cc's with m4l

Post by hoffman2k » Mon May 09, 2011 8:42 pm

Live.dial has a built-in speed limiter that is set to 1ms. Maybe setting it to 0 will yield better results.

a_guy_called_tom
Posts: 4
Joined: Mon May 09, 2011 7:47 pm

Re: sending midi cc's with m4l

Post by a_guy_called_tom » Tue May 10, 2011 5:20 am

hoffman2k wrote:Live.dial has a built-in speed limiter that is set to 1ms. Maybe setting it to 0 will yield better results.
Thanks, i'll give that a try in the evening. However 1ms seems fast enough actually, the output of the midi ccs is much slower when the dial is automated and the frequency of the output seems pretty random/inconsistent.

I also noticed that it seems to work fine, when i open/edit the device in the max patcher window.

a_guy_called_tom
Posts: 4
Joined: Mon May 09, 2011 7:47 pm

Re: sending midi cc's with m4l

Post by a_guy_called_tom » Tue May 10, 2011 5:14 pm

setting the speed limiter to 0. really seemed to solve the problem. thanks for the tip!
tom

Post Reply