[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] MIDI Time Code



Hi,

as I remember there are some specifics to MTC in in which order the messages 
need to come, read here for details:
http://www.borg.com/~jglatt/tech/mtc.htm

sincerely,
Marije

On Monday 22 October 2007 16:49:18 you wrote:
> On Oct 22, 2007, at 2:40 PM, nescivi wrote:
> > On Monday 22 October 2007 00:29:25 Manfred Brockhaus wrote:
> >> In the past I've used MIDI clock to run Logic as slave synchronized
> >> to SC. But unfortunately the new version Logic 8 doesn't support MIDI
> >> clock anymore. So I'm trying to generate MTC instead from SC with the
> >> 'smpte' method. However, it doesn't seem to work properly.
> >
> > in what way?
> > does it throw errors?
> > how are you trying to do it?
> >
> > post some code and output messages...
> >
> > sincerely,
> > Marije
> > _______________________________________________
> > sc-users mailing list
> > sc-users@xxxxxxxxxxxxxxx
> > http://www.create.ucsb.edu/mailman/listinfo/sc-users
>
> Thanks for your interest. Here is my code
>
> -------------------------------------------------------
>
> ~mtc = {| frm, sec, min, hrs, framerate |
> 	Routine({
> 		loop{
> 			if(frm==framerate){
> 				frm = 0;
> 				sec = sec + 1;
> 			};
> 			if(sec==60){
> 				sec = 0;
> 				min = min + 1;
> 			};
> 			if(min==60){
> 				min = 0;
> 				hrs = hrs + 1;
> 			};
> 			m.smpte(frm, sec, min, hrs, framerate);
> 			frm = frm + 1;
> 			wait(1/framerate);
> 		};
> 	}).play;
> };
>
> r = ~mtc.(0,0,0,0,25); // start
> r.stop; // stop
>
> --------------------------------------------------------
>
> I've set the MIDI port m to the IAC bus of OS X which is received
> from Logic. Actually Logic's song position line follows as expected,
> but somehow the sequencer gets corrupted, ie. there is no sound
> anymore until relaunch of Logic. I've also tried sending it to an old
> reliable Cubase VST sequencer, but in this case the song position
> line didn't even move.
>
> I understand that MIDI is technology from the 80s but unfortunately
> Apple's technology from the 21th century doesn't support OSC yet;) So
> I'd appreciate any help to get MTC working with SC and Logic.