Thanks for your feedback so far.
I've now updated the objects to include MTC/midi clock.
http://web.mac.com/leighhunt/iWeb/Site/downloads.html
Anyone having issues let me know. My setup doesn't really have call for these messages, so I have only tested loopback throughput of messages.
a patch demonstrating sending midiclock....
<pre><code>
----------begin_max5_patcher----------
1734.3oc4Z07iiZCE+bl+JPQ8XZj+hu5o1pdYk5psGZOsZ0HRvIwc.bD3L6L
c01+1qwFHjLlDfPnncODBXC1u2O+7u26Y6u7vr4q3uPyla8SVezZ1ru7vrYp
hxKXVwyylGG7x5nfL0qMeMONllHluPWmf9hPU9JZPUga3IhL1+Pyq.BVBJJd
eJMS9oABFO4wT5ZgtegNNxWwxAkeEm+5VPuk.qOU7YIGhYIQTgp+gksUfX8N
Vx1ZsCwW0NHGXyMD+fnrkLIU06AVnRu3q96ez1qtlkDDqzr4+RJKHx5W4Qgy
yq8qO7P9kEsDHiXOSWt5fPH61hV+4fzpF2P0MgeDhB+vJE1t7Z2wOWhF+PM2
P0vOXGvOmJUHHUpfBZ5izjfUQz5eftsEutmpkm4yq54rfmogOFHDoLIjPOdW
VA.Wfv4PXzAJeSYwkkWum4ogzzZV.mTYHcSyUlsmRCiXwJodow2PP2m0zmyR
dlkwJzZSu.UhvE5Neyl4Kj+kTABm9lurmmjOMrQIIHIgWXpTYSM2v6cHgIxD
uVLTXpkhklsM2OwRiKk9Xr1xQSjQ3fIjSfpYIXDQ2wSEWXVwoBCOrTXQtFEn
Hdx1tzZWR4hXIOk2VMNfm2.7PZy1Ca3WdbQWqtRE8R4ecjqQJiYAaougzljb
EJ6S3NPMycX6o4N.tJtWzRaI2gyU4NpyQfuFG6EnI5AjjP+rraeChHA+Tt0O
GbPvyDAoBKn7g0BoghEbfvpRdVbACK7JNpLAVv9BVqBR11O.qIG+wAOQsXBq
sbKwtT9gs6rh1YEyBYxNuKP1EbMg7TfDA3ngr15auFjQ7uC9vaBSVGwW+zpW
EzAS+QZWyJKGamdn9tin5ql4LjpuhLWp9pPbrs6g5itCpeSrp+vP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FgHmXumKoTpHjLNL1ZYB
2FYJWvgilLo1giqKT3tATHfZA+zYAYK+q3gaTXwsQVyOBEi3fZqEoQbLsM1Y
mgk2aYJe+PlbxDZ5ISHPKjIHdbwoVHRmM9duEI21HSHvzSlNyl69Su2Fa7yj
76NP0FY5bI+tiTmPQ2fA03Ri2FS7wkHnMhjWGCUfXmGc.wSeVRgEGcxSdhn2
Fd8pzqd5ViDqMyTgcSQv9d4hmMPuiBxD+dySDcb1kpb9S2nh30Bq1wkYF1lI
RczFg3izaPnac6.r6MCetNsgcbbmj4BaE6HYj8iPldHkWqCBXpkOkm+MjOE1
GMP4So8wdsIqiavAXvcfa9r0V3gu9v+wEhjT3
-----------end_max5_patcher-----------
</code></pre>
comments i was sent...
' the clock is a little more jittery than using abletons clock BUT:
as the clock is placed on audio track it now magically gets
Latency compensated
very cool. ive been strugglicng to use the sequencer on my rs7000 in sync with live for a long time
now it works much better, without need to adjust clock offset with every plugin i drop into live.
furthermore if you use en 'ext.insrtument' on all your midi tracks that go to external gear, they all get latency compensated.
so basically you made the best workaround yet for lives latency compensating shortcomings with
external midi gear. '
One possibility on the jittery front is having a delay message to set a system delay more precisely within the external. I'm not sure if this will lessen the jitter, but I'll give it a go over the next week.
The only difference is that lh_midiin outputs lists (except for single byte messages, which output as int), whereas the maxmsp midiin outputs streams of ints. I haven't fully checked what clock/mtc that max's midiin outputs.broc wrote:Can you please explain the differences (and reasons) in more detail?leighhunt wrote:These objects can equally be used in maxmsp, but differ only slightly from maxmsp's midiin and midiout objects.
Would it be possible for the user to build abstractions which are fully compatible with Max?
Hopefully this works now with the updated objects. Let me know if you have problems.broc wrote:]How about 1-byte real time messages like MIDI clock and MTC?
For example, I have a MTC generator built in Max.
Running it in M4L would turn Live into a MTC master (which currently is a missing feature).
I guess windows porting is off then..... sorry.ShelLuser wrote: Within this context I'm one of the 'losers'; running on Windows here.
I've given the whole idea some thought before and well; don't pick this up the wrong way: I know my way around Windows but hardly every detail, yet having said that I think you might have a hard time porting this.
Unix(-like) environments tend to be much more open with regards to device and file access. As in; when $text_editor opens a file a backup process will have no problem at all accessing that file for backup purposes. On Windows the OS itself would tend to block access.
Sometimes this behavior is (semi-) optional; a soundcard can often be setup so that the OS won't grant dedicated control over it (hardware properties) but other devices such as USB midi devices do not seem to support settings like that.
But who knows...