reading audiofile into floatbuffer
reading audiofile into floatbuffer
- Subject: reading audiofile into floatbuffer
- From: stiwi <email@hidden>
- Date: Tue, 13 Jan 2004 21:22:49 +0100
Hi,
i want to read a audio-file from disk into a float buffer to use it as
a wavetable in my Audio-unit. I am trying to use the AudioFile API but
i am stuck with the AudioConverter. I can read my sound data with
AudioFileOpen and get some information about it with
AudioFileGetProperty, copy the raw data to RAM with
AudioFileReadPackets but after that i am lost. I can't figure out how
to convert and copy the data to a float buffer.
Any insight, hints, source-code, links, etc. most welcome.
Thanks,
stiwi
_______________________________________________
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.