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

Re: Rate


  • Subject: Re: Rate
  • From: James McCartney <email@hidden>
  • Date: Mon, 9 Dec 2002 12:21:57 -0800

On Monday, December 9, 2002, at 08:59 AM, aNt wrote:

How do I make a AU play at a faster rate?

You need to define what you mean by that. higher sampling rate? more samples per render? plays at a higher frequency (e.g. oscillator or sample playback) ?

An AudioUnit lives not in isolation, but in relation to its inputs and outputs. If you want to increase the sampling rate or buffer size, then you are going to need to address that with whatever hardware or software is driving you downstream (e.g. HAL, DefaultOutputUnit, or code for nonrealtime writing to a file, etc.). There is kAudioUnitProperty_SampleRate to set the unit's sample rate.

If you want to change a frequency then you'd do that with a parameter defined by the AudioUnit.



---
James McCartney email@hidden
Apple CoreAudio
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Rate (From: aNt <email@hidden>)

  • Prev by Date: Re: multi-track sequencing with MusicPlayer
  • Next by Date: Re: Automation record ?
  • Previous by thread: Rate
  • Next by thread: multi-track sequencing with MusicPlayer
  • Index(es):
    • Date
    • Thread