On Jan 13, 2006, at 3:05 PM, thomas rettich wrote:
> when I am using the AUfileplayer audio unit to play files is there
> a way to play an audio file in reverse. I couldn't figure out how
> to do it with this particular audio unit.
> if not what would be an alternative to do so.... there's is an
> offline unit in the examples folder that reverts the samples in a
> file but I need to do it in real time. any hints would be great.
Please define what you mean by "real time."
When there is a file, there is a known beginning and a known end.
But if you are doing it in "real time," I'm assuming you want to take
some chunk of sound and reversing it.
But this is not really reversing it.
Forward file: abcdefgh
Reversed file: hgfedcba
reversed (by 2): badcfegh
Note that these reversed sequences are not even close.
Which is a long winded way of saying: more definition please!