Re: Finding the DLS Synth
Re: Finding the DLS Synth
- Subject: Re: Finding the DLS Synth
- From: Brian Willoughby <email@hidden>
- Date: Mon, 15 Sep 2008 14:12:03 -0700
Hi Jeff,
Don't fear the AUGraph. I have found that AUGraph allows me to write
*less* code. So one might rephrase your concern below by asking why
it would be worth the trouble to write more code just to avoid
AUGraph. Basically, AUGraph can save you from writing many callback
function implementations, because AUGraph directly connects audio
sinks with audio sources. I can understand why you might be
reluctant to take the time to learn the AUGraph API, but I suggest
that it is very worthwhile.
Brian Willoughby
Sound Consulting
On Sep 15, 2008, at 12:53, Jeff Evans wrote:
Thanks - That's the one using AUGraph... I don't understand the need
to use AUGraph, but I guess I'll have to start studying on AuGraphs.
Yours, Jeff
On Sep 15, 2008, at 12:23 PM, Peter Rebholz wrote:
It kind of depends on how you want to play notes. There are two
example projects that would be of interest to you:
SimpleSDK/PlaySoftMIDI - Demonstrates programatically sending events
SimpleSDK/PlaySequence - Demonstrates playing a midi file using the
MusicPlayer API
Hope that helps
Peter
On Sep 15, 2008, at 2:10 PM, Jeff Evans wrote:
Terrific. That finds it. Apparently I still have a way to go,
however.
I use OpenAComponent to get an instance of the synth, then
AudioUnitInitialize to init the synth, AudioOutputUnitStart, then
MusicDeviceStartNote, etc. but I am missing something. Does anyone
know of sample code that would illustrate all the steps needed to
implement use of the DLS synth to play notes? I know there's a
sample using AUGraph.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden