Re: Audio files and loop marker question
Re: Audio files and loop marker question
- Subject: Re: Audio files and loop marker question
- From: Doug Wyatt <email@hidden>
- Date: Mon, 24 Jul 2006 12:53:59 -0700
On Jul 24, 2006, at 09:20 , tahome izwah wrote:
I finally managed to get ExtAudioFile to create the files I need but
how do I add the loop marker information back in, or read it from the
source file in the first place?
Are there ExtAudioFile calls that get/set marker information? Note
that I am not talking about Apple Loops here, this is regular
information like the standard marker chunk of an AIFF file, or the
markers and "regions" in a SoundDesigner II file...
ExtAudioFile, as a higher-level API, doesn't provide this.
The AudioFile API, however, does provide access to markers/regions.
The way to use both AudioFile and ExtAudioFile together is:
- use AudioFileCreate or AudioFileOpen to obtain a new AudioFileID
- pass the AudioFileID to ExtAudioFileWrapAudioFileID and obtain a
new ExtAudioFileRef
- operate on the file using both ExtAudioFile and AudioFile API sets.
- call ExtAudioFileDispose
- call AudioFileClose
Doug
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden