• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
DLSMusicDevice and reverb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DLSMusicDevice and reverb


  • Subject: DLSMusicDevice and reverb
  • From: "E. Tejkowski" <email@hidden>
  • Date: Sat, 18 Nov 2006 16:52:17 -0600

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?

Below is some pseudocode showing what I am doing:

err = NewAUGraph
err = AUGraphNewNode(graph, description, 0, 0, synthNode)//dlsSynth
err = AUGraphNewNode(graph, description, 0, 0, outputNode)//output
err = AUGraphConnectNodeInput(graph,synthNode,1,outputNode,0)// connect dls to output
err = AUGraphUpdate(graph)
err = AUGraphOpen(graph)
err = AUGraphInitialize(graph)


// 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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: DLSMusicDevice and reverb
      • From: William Stewart <email@hidden>
  • Prev by Date: When did AUFilePlayer finish playing?
  • Next by Date: AUNetSend and AUNetReceive
  • Previous by thread: When did AUFilePlayer finish playing?
  • Next by thread: Re: DLSMusicDevice and reverb
  • Index(es):
    • Date
    • Thread