I have seen it mentioned that by default the built-in internal reverb
of the DLSMusicSynth is active. I've also seen code in more than one
place that shows how to deactivate it. Why is that when I omit the
line to deactivate the reverb, I not only don't hear reverb, I hear
nothing coming from my DLSSynth? Also, what parameters does the
default reverb have and how I can access them?
// Turn off the reverb on the synth
err = AUGraphGetNodeInfo (graph, synthNode, 0,0,0, synthUnit)
usesReverb = 0
//THIS NEXT LINE IS THE LINE THAT I OMIT, WHICH GIVES ME SILENCE
err = AudioUnitSetProperty(synthUnit,
kMusicDeviceProperty_UsesInternalReverb, kAudioUnitScope_Global, 0,
usesReverb, 4)
// Start playing
err = AUGraphStart(graph)
Thanks,
Erick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden