• 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
Re: Audio Units: a few questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Units: a few questions


  • Subject: Re: Audio Units: a few questions
  • From: William Stewart <email@hidden>
  • Date: Wed, 21 Jun 2006 14:22:38 -0700


On 21/06/2006, at 12:55 PM, Artemiy Pavlov wrote:

Hello all!

I have a few questions on Audio Units, I'd appreciate any help.

1. How is it possible to pass variables from one Process() run to another? I mean there are things needed to remember like oscillator phases and such, but where do I define these variables? Will simple global-scope variables work?

Have a look at the FilterDemo code in the CA SDK (/Developer/Examples/ CoreAudio)

2. Is there an "Integer" parameter type? What I want is a slider which would step from, say, 1 to 10 in single steps (1, 2, 3).
Yes - declare the parameter as an indexed type - there's an example of this in the SampleEffect unit in the SDK


3. Where should the plugin "instantiation" code be placed? What is the best way to initialize some data which would be accessible in Process()?

In the initialise call

Bill



Thanks very much!


Sincerely,

Artemiy Pavlov
Sineshine http://sineshine.com



_______________________________________________
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

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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: Audio Units: a few questions
      • From: Artemiy Pavlov <email@hidden>
References: 
 >Audio Units: a few questions (From: Artemiy Pavlov <email@hidden>)

  • Prev by Date: Re: Coreaudio-api Digest, Vol 3, Issue 193
  • Next by Date: Re: Audio Units: a few questions
  • Previous by thread: Audio Units: a few questions
  • Next by thread: Re: Audio Units: a few questions
  • Index(es):
    • Date
    • Thread