Re: MIDI Samplecode in C(++)
Re: MIDI Samplecode in C(++)
- Subject: Re: MIDI Samplecode in C(++)
- From: Steven Kortze <email@hidden>
- Date: Mon, 30 Jul 2001 22:19:40 -0400
The SampleTools code shows how to get and manipulate MIDI data. What about
something that utilizes the soft synth and other features of the Audio
Toolbox? It would provide the functionality that the original author
mentioned. Is this very complicated?
I am also interested in this. In my case, I have a MIDI controller without
any sound module or external synthesizer to provide sound output. One
document that I read mentioned using a MusicPlayer object. Since I do have a
working interface to my MIDI controller while running Mac OS X, I may be
able to experiment with this now. Out of curiosity, is it possible to just
change the destination port so that audio playback occurs?
In response to the original author's question about CodeWarrior 6 support, I
believe that these APIs are only available via the Mac OS X Frameworks and
not in the Universal Headers. She would have to use the Mach-O tools with
CodeWarrior. Isn't that correct?
Thank you,
Steve
on 7/26/01 7:52 PM, Bill Stewart at email@hidden wrote:
>
On X/Win you cannot use QT calls to receive MIDI input - that capability is
>
only supported on classic MacOS.
>
>
So, you use CoreMIDI capabilities directly on X. There is some example code
>
in /Developer/Examples/CoreAudio/MIDI that show you how to do this is C/C++
>
>
bill
>
>
on 26/7/01 6:25 AM, email@hidden wrote:
>
> Hi!
>
>
>
> I'm looking for some MIDI samplecode written in C/C++. My Carbon app runs
>
> fine with MacOS 9 and Quicktime MIDI Input and Quicktime Instruments. Now I
>
> like to port the app to X and would like enhance the MIDI functionality.
>
> Especially I would be happy about a sample with a callback function to
>
> obtain MIDI input. (Does it work with CodeWarrior 6?)
>
>
>
> Thank you!
>
>
>
> Best regards, Helga