Parameters in Offline AUs and Reducing the length of AudioFiles
Parameters in Offline AUs and Reducing the length of AudioFiles
- Subject: Parameters in Offline AUs and Reducing the length of AudioFiles
- From: "Asher Vander Heiden" <email@hidden>
- Date: Thu, 15 Jul 2004 20:35:17 +1000
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?
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?
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.