Loading...
Logo
Processing Forum
i am wondering if it is possible to send MIDI timecode with rwmidi?

i am trying to render a processing sketch to disk, while keeping in sync with timing from an external midi sequencer (ableton live) --- since rendering to disk is quite slow, i need to be able to progress the timeline in ableton 1 step once a frame is rendered in processing...

rwmidi has possibilities of sending sysex msgs, which looks like what i need: http://en.wikipedia.org/wiki/MIDI_timecode

but i have no experience with this, and compiling bytes like this seems a bit intimidating. so i guess i am looking for examples of MIDI timecode signals via sysex?

anyone?
/j

Replies(2)

my experience with live as a slave syncho is far from good.

it was working nice with midi clock, not midi time code though, on live 6.
the version 8, as a surprise, was not reliable at all for me as a slave.

i also doubt live will like a not steady clock. if i understand correctly you want to send a midi time code frame every N processing frame.

you could also try a workaround and slower your tempo by a large amount and lower the FPS on processing by the same amount.

depending on what you need to do, you could also "record" the midi received from live (i suppose you live sends some commands to processing right ?) and then replay it at the speed you want from within processing.

just some random ideas :)

henri


hi henri,
thanks for the input
yeah, you understand the setup correctly: live is used as a sequencer, sending commands to processing. this works really well for real time rendering, but processing slows down dramatically when saving to disk.

i should try the slow framerate workaround. that might just do it. and it would be super easy.

"recording" midi signals..... hmmm.... yeah i guess. an arrayList with timeCode/frameCount and MIDI signal stored together.... could do the trick

cheers,
jacob