In the MIDICOM3 library, i've managed to find a const called
MIDI_TIMINGCLOCK in the midicons.pas file and it = F8!!!!
Now i gotta remember how i used MIDICons for MIDI input!!
oh here is the .pas file.
{ $Header: /MidiComp/MIDICONS.PAS 2 10/06/97 7:33 Davec $ }
{ Written by David Churcher <dchurcher@...>,
released to the public domain. }
{ MIDI Constants }
unit Midicons;
interface
uses Messages;
const
MIDI_ALLNOTESOFF = $7B;
MIDI_NOTEON = $90;
MIDI_NOTEOFF = $80;
MIDI_KEYAFTERTOUCH = $a0;
MIDI_CONTROLCHANGE = $b0;
MIDI_PROGRAMCHANGE = $c0;
MIDI_CHANAFTERTOUCH = $d0;
MIDI_PITCHBEND = $e0;
MIDI_SYSTEMMESSAGE = $f0;
MIDI_BEGINSYSEX = $f0;
MIDI_MTCQUARTERFRAME = $f1;
MIDI_SONGPOSPTR = $f2;
MIDI_SONGSELECT = $f3;
MIDI_ENDSYSEX = $F7;
>>>>>>>>MIDI_TIMINGCLOCK = $F8;<<<<<<<<<<<<
MIDI_START = $FA;
MIDI_CONTINUE = $FB;
MIDI_STOP = $FC;
MIDI_ACTIVESENSING = $FE;
MIDI_SYSTEMRESET = $FF;
MIM_OVERFLOW = WM_USER; { Input buffer overflow }
MOM_PLAYBACK_DONE = WM_USER+1; { Timed playback complete }
implementation
end.
--- In xl7@yahoogroups.com, "malik" <malik_martin@...> wrote:
>
> > --- steve_the_composer <smw-mail@> wrote:>
> > > I took a quick peek at the MIDIIN.PAS file where I found the
> > > following note:
> > >
> > > "Midi Time Code (MTC) and Active Sensing: The DLL is currently
> > > hardcoded to filter these short events out, so that we don't
> spend
> > > all our time processing them."
> > >
> > > Without delving further, my guess is that MIDICON3 will not give
> you
> > > access to the F8, FA, FB, F9 bytes you need.
>
> yeah that's been filtered but i dont think it has anying to do with
> F8 byte does it? arent MTC and MIDI Clock 2 different things?
>
> > > Other options include--finding other libraries, though I wonder
> if
> > > there are others in Pascal. I do recall seeing a number of
> libraries
> > > avaialble in C/C++ a few years ago; writing your own midi event
> > > handlers so timing bytes aren't filtered out; getting into other
> > > programming venues.
>
>
> yeah might end up writing my own.
>
> > As a side note, even if you were getting clocks, if they weren't
> > timestamped as to reception time, it'd be pretty much impossible to
> get
> > useful timing information from them anyway. That's not to say it
> > wouldn't, but I would doubt it.
> >
> > -Aaron
>
> i could be wrong but as far as i know, there are no timestamp
> messages in Realtime messages. only status bytes. but there is a time
> signature message in MTC.
> this is from the midi spec docs at:
> http://www.borg.com/~jglatt/tech/midispec.htm
>
> I'm gnna go digging through midicom3 and see what i can find
>
>
> thanks,
> malik
>
> P.S.
> sorry about the new guy title :P. this message was meant for a MIDI
> tech group in google but when i was posting it wouldnt go through so
> i just copied and posted everything. come to find out later, google
> groups have spam protection :)
> i wish yahoo would do that.
>Message
Re: hi new guy here: MIDI Clock question ATTN: Steve and Aaron :P
2007-01-20 by malik
Attachments
- No local attachments were found for this message.