Hi, I'm pretty new to pd and i'm just trying to sync pd to an external midi clock. i read about midirealtimein and midiclkin:
[midiclkin]: doesn't seem to work under osx [midirealtimein]: i only get a lot of zeros
so, i send the zeros to a [bang] object to time a counter - instead of the [metro]. now, the counter went pretty fast! Then i tried [div 3] to slow the counter down. now it seems to be pretty much in time - but twice the speed of the midiclock.
Can anyone tell my what kind of messages i receive with [midirealtimein] - i read about, that i should get FF an F8 messages, but only got zeros at the outlet? and if anybody also has tried my way? Or if their are other ways to use external midiclock?
thanx urs
Uh-oh. I'm afraid I might have misled you guys - I wasn't using the midi clock at all, but rather what I changed in the parser was to add the ability to parse song position pointer ($F2).
I'm attaching my changes anyway, in case they're usefull - they're against the pd-0.36-devel version, so I don't know how current they are. But I don't have time at the moment to clean this up unfortunately.
On Wednesday 25 February 2004 11:59, Urs Jeltsch wrote:
[midiclkin]: doesn't seem to work under osx [midirealtimein]: i only get a lot of zeros
How are these supposed to work under PD? Where did you find docs for these?
Larry Troxler
thanx for sending me your files! But - hope you're a patient with a pd newbie (i first had to learn to how to use the terminal in osx to install pd...) - how do i have to use or install these files?
i heard about this 2 objects here: http://iem.kug.ac.at/mailinglists/pd-list/2002-08/000199.html so they say: [midiclkin]: it is under constructing now... [midirealtimein]: recieve F8 to FF, but it only works on Windows...
you can find it here: http://www.iamas.ac.jp/~tohk/pd/
Anyway, i experimented with this objects under osx and [midiclkin] doesn't recevies any message at all (well, still under construction) and [midirealtimein] only gets lots of zeros (well, only for windows?). And i couldn't find any docs about these 2 object. only this:
[midirealtimein] <deffloat> Methods: list Outlets: first: float ; 2nd: float
and the same for [midiclk]
Well, not really helpfull for a newbie :), but after experimenting with [midirealtimein], i could get some sort of external timing (i think the list of zeros i get with it are in fact the F8 and FF messages, but pd (under osx) doesn't really recognize it).
But, hasn't anybody wrote a abstraction or patch for external midisync, yet? i thought that this would be a quite common task. Or could anybody give me some hints, how to do it (under osx)?
thanx for your help!
Urs
Am 27.02.2004 um 02:58 schrieb Larry Troxler:
Uh-oh. I'm afraid I might have misled you guys - I wasn't using the midi clock at all, but rather what I changed in the parser was to add the ability to parse song position pointer ($F2).
I'm attaching my changes anyway, in case they're usefull - they're against the pd-0.36-devel version, so I don't know how current they are. But I don't have time at the moment to clean this up unfortunately.
On Wednesday 25 February 2004 11:59, Urs Jeltsch wrote:
[midiclkin]: doesn't seem to work under osx [midirealtimein]: i only get a lot of zeros
How are these supposed to work under PD? Where did you find docs for these?
Larry Troxler
<s_unix.c><s_unix.c.orig><x_midi.c><x_midi.c.orig>
On Friday 27 February 2004 06:51, urs jeltsch wrote:
thanx for sending me your files! But - hope you're a patient with a pd newbie (i first had to learn to how to use the terminal in osx to install pd...) - how do i have to use or install these files?
You would need to get the source code of PD, replace these two files, and then compile PD to make a new executable. This means, for one thing, you need a C compiler. I'm not familiar enough with OSX to give you better directions from this, so hopefully someone else on this list can help you.
Anyway, i experimented with this objects under osx and [midiclkin] doesn't recevies any message at all (well, still under construction) and [midirealtimein] only gets lots of zeros (well, only for windows?).
I'm afraid that I'm not going to be of much help here, except to say that if you are receiving something through the midirealtimein object, perhaps what's coming out as zeros are your MIDI clocks. If so, then maybe you have no problem and can use these messages to do your synching.
One complication would be if your synth is sending realtime messages other than MIDI clocks.
Sorry I can't be of more help.
Larry Troxler