• 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
Setparameter problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setparameter problem


  • Subject: Setparameter problem
  • From: Pjotr kiwapta <email@hidden>
  • Date: Tue, 23 Sep 2008 23:04:51 +0200
  • Importance: Normal

I am quit new to AudioUnit programming. So I have followed the AudioUnit programmer guide (TremoloUnit ). Now I wanted to create an audio instrument instead of an effect. So I created an instrument based on the AudioUnit instrument template. Where AUEffectBase has implemented a SetParameter function, the AUMonotimbralInstrumentBase hasn't. So I looked into the code of AUEffectBase. It appears that SetParameter calls Globals()->SetParameter. So I did the same in my audio instrument. But it doesn't work. (at least the view isn't updated).

I don't understand what I am doing wrong. I have defined the parameters. When I open the unit in AULab, the sliders for the parameters appear and work fine. But calling the factory presets doesn't work because Globals()->SetParameter doesn't seem to do anything. Why does it work in the AUEffectBase and not in the AUMonotimbralInstrumentBase? Please help, because it is rather frustrating.

Thanks in advance.
_________________________________________________________________
De mooiste afbeeldingen van Angelina Jolie vind je met Live Search
http://search.live.com/images/results.aspx?q=angelina jolie&FORM=MIINTM _______________________________________________
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: Setparameter problem
      • From: Cynthia Maxwell <email@hidden>
  • Prev by Date: Re: output to aiff
  • Next by Date: Re: Setparameter problem
  • Previous by thread: Re: AudioQueue basics - elapsed time and seeking
  • Next by thread: Re: Setparameter problem
  • Index(es):
    • Date
    • Thread