Re: Audio files and loop marker question
Re: Audio files and loop marker question
- Subject: Re: Audio files and loop marker question
- From: "tahome izwah" <email@hidden>
- Date: Mon, 24 Jul 2006 22:58:54 +0200
Thanks Doug, that is very helpful information.
If you don't mind (another) innocent question - what AudioFile call do
I use to retrieve marker information (an AudioFileMarkerList I guess)?
The only one I see is AudioFileGetProperty but I don't seem to be able
to find an explanation of the relevant property IDs that I need to
use... For AudioFileGetProperty the documentation just says "retrieves
the property information for the given property ID and selected
specifier" which isn't very helpful really.
The only in-depth documentation that comes up refers to CAF files and
the marker chunk and I don't think this is relevant in my case since
I'm dealing with AIFF and WAVE files mainly.
Also, is there a way to get an AudioFileID from an ExtAudioFileRef?
Thanks again
--th
2006/7/24, Doug Wyatt <email@hidden>:
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