• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AudioFileGetProperty loop info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Resizing AU Views (Carbon)
  • Next by Date: Re: Questions about multiple DLS synth instantiations
  • Previous by thread: Re: Resizing AU Views (Carbon)
  • Next by thread: [Semi-OT] 192kHz/96kHz soundcard recommendations ?
  • Index(es):
    • Date
    • Thread