• 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: Parameters in Offline AUs and Reducing the length of AudioFiles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parameters in Offline AUs and Reducing the length of AudioFiles


  • Subject: Re: Parameters in Offline AUs and Reducing the length of AudioFiles
  • From: William Stewart <email@hidden>
  • Date: Thu, 15 Jul 2004 17:24:19 -0700

On 15/07/2004, at 3:35 AM, Asher Vander Heiden wrote:

> Hello,
>
> I've spent a long time studying the documentation on these 2 issues
> and I feel I have come to a dead end on both of them.
>
> 1. Can an Offline AudioUnit contain parameters?

Yes - its an AU (very similar to an effect but with additional
semantics about how it wants input and how it delivers output (inc.
preroll functionality))

> If so, then I gather that this is done differently to how it is done
> in a normal AudioUnit. I followed how to setup parameters for an AU
> based on the documentation and the 'SampleEffectAU'. I found that
> problems started to occur because the 'SampleEffectAU' includes
> "AUEffectBase.h" while the Offline AU includes "AUBase.h" instead.
> Does this mean that Offline Units are not mean to have parameters?

No - its exactly the same.. the reason it subclasses AUBase is that it
deals differently with input and output of render.

Bill

> 2. How can you reduce the length (duration) of an AudioFile?
>
> Due to factors that I wont go into, after processing my AudioFiles
> end up with a period of silence at the end of the file. I would really
> like to know if there is a way of chopping off these unwanted zeros? I
> have actually managed to extract the data from an AudioFile and placed
> it into a buffer. I have removed the zeros and have places the data
> into a new buffer and into a new AudioFile. I set the new AudioFile
> with the reduced number of bytes and fames and it seemed to have
> worked ! Until I went to open the file and it tells me the file has an
> incorrect duration?
>
>
> I would greatly appreciate it if anyone could give me any ideas to
> solve these problems.
> I've been pouring over documentation and I am still stuck.....
>
>
> Asher Vander Heiden.
>
> _________________________________________________________________
> SEEK: Now with over 50,000 dream jobs! Click here:
> http://ninemsn.seek.com.au?hotmail
> _______________________________________________
> 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.
>
>
--
mailto:email@hidden
tel: +1 408 974 4056

________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
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: 
 >Parameters in Offline AUs and Reducing the length of AudioFiles (From: "Asher Vander Heiden" <email@hidden>)

  • Prev by Date: Re: Canonical format max amp limits?
  • Next by Date: Re: Saving an AudioFile without an extension
  • Previous by thread: Parameters in Offline AUs and Reducing the length of AudioFiles
  • Next by thread: Happy DTS Incident
  • Index(es):
    • Date
    • Thread