• 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
recording in float with AVAudioRecorder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

recording in float with AVAudioRecorder


  • Subject: recording in float with AVAudioRecorder
  • From: Vincent Jousse <email@hidden>
  • Date: Wed, 09 Jan 2013 23:24:04 +0100

Hi,

When I record using AVAudioRecorder and the following parameters, I get 32bit samples (what I want) but they are not floats. Does anybody know what happens ?

        NSDictionary *recordSettings =
        [NSDictionary  dictionaryWithObjectsAndKeys:
         [NSNumber numberWithInt: kAudioFormatLinearPCM],   AVFormatIDKey,
         [NSNumber numberWithFloat: 44100.0],               AVSampleRateKey,
         [NSNumber numberWithInt: 1],                       AVNumberOfChannelsKey,
         [NSNumber numberWithInt: 32],                      AVLinearPCMBitDepthKey,
         [NSNumber numberWithBool:YES],                     AVLinearPCMIsFloatKey,
         nil];

--
Vincent


 _______________________________________________
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

  • Prev by Date: Re: getting generator audio unit output in render callback
  • Next by Date: Fwd: recording in float with AVAudioRecorder
  • Previous by thread: Granular Synthesis and AudioFileServices in iOS 6
  • Next by thread: Fwd: recording in float with AVAudioRecorder
  • Index(es):
    • Date
    • Thread