Re: Sequence position display
Re: Sequence position display
- Subject: Re: Sequence position display
- From: Philippe Wicker <email@hidden>
- Date: Thu, 21 Aug 2003 07:24:14 +0200
On Wednesday, August 20, 2003, at 10:43 PM, Patrick Gostovic wrote:
On Wednesday, August 20, 2003, at 04:13 PM, Philippe Wicker wrote:
Is option 2 an expensive way to achieve this? I don't have a lot of
experience with CoreMIDI so I don't know.
Should not be overkill. If your "clock" resolution is e.g. 24 PPQ
(same as the midi clock), it will give you a tick about every 12.5 ms
at 200 bpm (which is a fast tempo). That means that you will receive
one midi event every 12.5 ms. Not so much.
Really? That's reassuring because I just tried it this way at 4 PPQ
(16th notes anyway) and it seems ok. I guess I'm kind of gun-shy as a
result of using Max/MSP on OSX, which in my experience chokes when
setting events at even fairly modest intervals.
I don't use Mas/MSP so I cannot tell much about your experience. Some
times ago I used the MusicPlayer to generate a midi tick and I did some
time measurements (in the MIDIProc). The tick was fairly regular with a
small variance. In your particular need, having a reliable tick in the
MIDIProc would anyway just be half of the way. Those ticks are
delivered by the MIDIServer to a high priority thread, so you would
have to notify the UI thread from that MIDI thread.
Philippe Wicker
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.