(1) I am not familiar with delphi or MIDICOM3, so I can't help you there. Pre-Windows, I used to read midi data direct from I/O ports on midi cards. Windows changed all that around so that you need tons of overhead to program midi data directly. My hat goes off to you if you can master midi programming in today's computing environment. (2) I am not sure you need to buy any MMA publications; there are a number of resources on-line. (3) I searched for MIDICOM3 and one site reports it was designed for Windows 95. I saw your discussion at KVRAudio (Dec '06) and it looks like you've got a couple of people that are familiar with MIDICOM3. (4) Your code reminds me of where I was with midi programming--I stuck my asm routines (reading midi I/O) in Borland Pascal. (Wasn't Delphi Borland's answer to Microsoft's "Visual XXX" programming?) Though I have't looked at the libraries in MIDICOM3, my guess is that there are clock structures of some type [pardon the pun]. I assume there are midi streaming functions as well. I am not sure that you have done so far, but I suggest (if you haven't done so already): (a) Build a program that send out data at regular intervals--such as a midi metronome. (b) Once succesful, convert the program to send out midi timing bytes (Is it F8?) on a regular basis. (c) Program some keys to insert start and stop bytes into your midistream. Test by setting your drum machine to external clock. (d) Once that's working, reverse the process to READ incoming clock data FROM the drum machine. To start I'd display status: START/STOP. Then I'd develop a routine to count clock bytes to display current tempo. (e) I would thing that once you've done these things, you will have developed the basic code you need to integrate clock functions into your own software. Hope this helps. --Steve PS: Here are a couple of basic reference links: http://www.hinton-instruments.co.uk/reference/midi/protocol/index.htm http://www.borg.com/~jglatt/tech/midispec.htm > Hi > i'm writting a program that takes MIDI input with delphi, that uses > MIDICOM3. > I'm not sure if or how i can get MIDI Clock working in it. I cant seem > to figure out if it supports realtime message. > I'm thinking. that if while monitoring midi input. if i see clock > messages in the monitor than it either supports it or detects it. > > if it can detect it, i should be able to emulate a midi clock message > in order to sync my software to my external drum machine/controller. > > I dont have enough money to get the book from the MMA at the moment > and was wondering if anyone is familiar with this library or the > specific part of MIDI that i'm talking about, and would be willing to > give me some info. links, tips or anything. > > anything but spam :) > > thanks Malik >
Message
Re: hi new guy here: MIDI Clock question ATTN: Steve and Aaron :P
2007-01-19 by steve_the_composer
Attachments
- No local attachments were found for this message.