|
| Re: Audio and MIDI: How is it done in pro applications? |
 |
Wed, 18 Jul 2007 13:05:40 -070 |
"jh" <NIE_SPAMUJ_jh@radio.kielce.com.pl> wrote in message
news:469e6b5a$1@newsgroups.borland.com...
> I'm developing a small audio/MIDI application in Delphi 2007 Pro (Win32).
> The basic feature is typical for other applications: recording and playing
> audio, recording and playing MIDI (plus some specific functions).
>
> How is it done in pro applications? Where I can find any info on advanced
> audio/MIDI using Delphi?
>
Look at http://www.tobybear.de for lots of information and code, in Delphi.
|
| Post Reply
|
| Audio and MIDI: How is it done in pro applications? |
 |
Wed, 18 Jul 2007 21:35:03 +020 |
I'm developing a small audio/MIDI application in Delphi 2007 Pro (Win32).
The basic feature is typical for other applications: recording and playing
audio, recording and playing MIDI (plus some specific functions).
What I'm interested in is:
* synchronizing MIDI data to audio clock; I'm mean calculating MIDI
timestamp both for recording and playing against audio clock
* sending MIDI clock and MIDI Time code
* synchronizing to external MIDI Clock and MTC
Using Google for searching programming techniques of MIDI+audio in Delphi
doesn't help. I mostly get products descriptions but nothing on programming
nor Delphi. Using MS SDK and downloaded examples I've managed playing PCM
data to multiple outputs (using waveOutxxx routines) with perfect sample
sync, also I can send and receive any MIDI events. I've decided not to use
midiStreamxxx functions because it complicates any tempo changes or doesn't
allow for fast switching on/off MIDI channels.
I'm not sure how to use Multimedia timers for precise MIDI timing when
recording or playing data. I think it cannot give perfect sync with audio
clock for long "songs". That's why I'd like to use audio clock to
calculate
MIDI frames but I don't know how...
How is it done in pro applications? Where I can find any info on advanced
audio/MIDI using Delphi?
Thanks,
Jacek
|
| Post Reply
|
| Re: Audio and MIDI: How is it done in pro applications? |
 |
Wed, 18 Jul 2007 22:41:33 +020 |
Użytkownik "Warrick Wilson" <warrickw@mercuryonline.com> napisał
w
wiadomości news:469e72c0$1@newsgroups.borland.com...
> Look at http://www.tobybear.de for lots of information and code, in
> Delphi.
I know this site. But it says nothing about MIDI and audio in Delphi when
talking about synchronization...
Jacek
|
| Post Reply
|
| Re: Audio and MIDI: How is it done in pro applications? |
 |
Sat, 21 Jul 2007 13:52:47 +020 |
jh wrote:
> Użytkownik "Warrick Wilson" <warrickw@mercuryonline.com>
napisał w
> wiadomości news:469e72c0$1@newsgroups.borland.com...
>> Look at http://www.tobybear.de for lots of information and code, in
>> Delphi.
>
> I know this site. But it says nothing about MIDI and audio in Delphi
> when talking about synchronization...
>
> Jacek
The sync matter for ASIO is dealth with in the official steinberg docs,
which are free, see again tobybear.de or musicdsp.org. Don't expect this
|
| Post Reply
|
|
|
|
|
|
|
|
|
|