AudioFileGetProperty loop info
AudioFileGetProperty loop info
- Subject: AudioFileGetProperty loop info
- From: "Mark's Studio" <email@hidden>
- Date: Fri, 5 Dec 2003 22:09:46 +0100
I don't know if this is ok, but it seems that i can ask for a property
defined in Aiff.h
but im not sure how to get to the actual loop information, and how does
it work with other filetypes.
InstrumentChunk inst;
UInt32 instrumentSize = sizeof(InstrumentChunk);
result = AudioFileGetProperty (mAudioFileID,
InstrumentID,
&instrumentSize,
&inst);
NSLog(@"\nbaseFrequency %d\ndetune %d\nlowFrequency
%d\nhighFrequency %d\nlowVelocity %d\nhighVelocity %d\ngain
%hi\nsustainLoop %d sustainLoop %d sustainLoop %d\nreleaseLoop %d
releaseLoop %d releaseLoop %d\n",inst.baseFrequency,inst.detune,
inst.lowFrequency,inst.highFrequency
,inst.lowVelocity,inst.highVelocity
,inst.gain,
inst.sustainLoop.playMode,inst.sustainLoop.beginLoop,inst.sustainLoop.en
dLoop,
inst.releaseLoop.playMode,inst.releaseLoop.beginLoop,inst.releaseLoop.en
dLoop);
Peter Mark
Mark's Recording Studio A/S
Lundeskovsvej 3
2900 Hellerup
Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden
_______________________________________________
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.