On Die, 2013-01-15 at 15:57 +0100, Panagiotis Melidis wrote:
thanks a lot for your answer martin!
so in that case, is there any way to modify the noteout object in order to add a timestamp? otherwise i should find a way to add the timestamp _after_ the message is sent from noteout, right?
From what I know - and probably what Martin meant before - there is no
way to specify a timestamp in MIDI as the MIDI protocol simply has no timestamp defined. When timestamps are involved in your problem, they most likely are not implemented on the MIDI level, but somewhere else.
As there are no timestamps in MIDI, it is unlikely that your problem can be solved by hacking [noteout].
The concept of timestamps in your problem seems specific to the IAC bus you mentioned. In the link you posted I read:
"A hacky workaround would be to route the MIDI bus to an intermediate program that echoes the MIDI packets to another IAC bus but adds timestamps."
Have you tried that? (I must say I don't know anything about IAC bus nor any specifics about MIDI in OS X)
Roman
============= Panagiotis Melidis
http://www.larrygus.com http://facebook.com/larrygus http://twitter.com/larrygus http://larrygus.tumblr.com
On Tue, Jan 15, 2013 at 3:26 PM, Martin Peach martin.peach@sympatico.ca wrote: There is no timestamp in the MIDI spec. A noteout message sends three bytes: status+channel, number, velocity.
Martin On 2013-01-15 08:02, Panagiotis Melidis wrote: as it seems the problem would be solved if i could find a way to add a timestamp each time noteout sends a message... but is there a way to do that? should i modify the noteout source code? is there maybe another way to send timestamped midi messages from pure data? thanks again! ============= Panagiotis Melidis http://www.larrygus.com http://facebook.com/larrygus http://twitter.com/larrygus http://larrygus.tumblr.com On Tue, Jan 15, 2013 at 1:21 PM, Panagiotis Melidis <pmelidis@gmail.com <mailto:pmelidis@gmail.com>> wrote: hey people! i am working on osx, ver 10.8.2 i am sending noteout messages from PD over to Ableton Live via the IAC driver, but after a certain point ableton live ignores the messages, and this has to do with the fact that live itself is getting confused by the timestamps. on the ableton forums people found that the solution is to add the timestamp with the midi message, and some people managed to achieve it for C++ and Python as explained in those two posts; https://forum.ableton.com/viewtopic.php?p=1426466#p1426466 https://forum.ableton.com/viewtopic.php?p=1347051#p1347051 so, i am struggling to find a way to change the timestamp of a noteout message but i can't do it. any ideas? hope i was clear enough :) ============= Panagiotis Melidis http://www.larrygus.com http://facebook.com/larrygus http://twitter.com/larrygus http://larrygus.tumblr.com _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list