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

Re: recording in float with AVAudioRecorder


  • Subject: Re: recording in float with AVAudioRecorder
  • From: Vincent Jousse - FTSoftware <email@hidden>
  • Date: Fri, 11 Jan 2013 12:34:58 +0100

How to know ?

Vincent

Le 10/01/2013 18:36, Art Gillespie a écrit :
Is the wFormatTag in the WAV file's header set to WAVE_FORMAT_IEEE_FLOAT?


On Thu, Jan 10, 2013 at 8:52 AM, Vincent Jousse - FTSoftware <email@hidden> wrote:
WAVs.

Vincent

Le 10/01/2013 16:45, Art Gillespie a écrit :
What type of file are you using to store the samples? CAF? WAV?


On Thu, Jan 10, 2013 at 2:10 AM, Vincent Jousse <email@hidden> wrote:
Hi, I'm working on iOS.

I've just tried tweaking with AVLinearPCMIsBigEndianKey (with YES and NO values), when I import my recording on MacOS and open it with QuickTime Player, it still says me that they are integers.

Any other idea ?

--
Vincent


Le 10 janv. 2013 à 06:53, Manu N a écrit :

Hi,
iOS or Mac OS ?
On Mountain Lion, I have a working code with one more entry in the dictionary :

[NSNumber numberWithBool:false], AVLinearPCMIsBigEndianKey

Manuel


2013/1/9 Vincent Jousse <email@hidden>
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



_______________________________________________
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


 _______________________________________________
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




 _______________________________________________
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



 _______________________________________________
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

References: 
 >recording in float with AVAudioRecorder (From: Vincent Jousse <email@hidden>)
 >Fwd: recording in float with AVAudioRecorder (From: Manu N <email@hidden>)
 >Re: recording in float with AVAudioRecorder (From: Vincent Jousse <email@hidden>)
 >Re: recording in float with AVAudioRecorder (From: Art Gillespie <email@hidden>)
 >Re: recording in float with AVAudioRecorder (From: Vincent Jousse - FTSoftware <email@hidden>)
 >Re: recording in float with AVAudioRecorder (From: Art Gillespie <email@hidden>)

  • Prev by Date: Re: unable to change volumes of mixer inputs? (iOS)
  • Next by Date: Re: unable to change volumes of mixer inputs? (iOS)
  • Previous by thread: Re: recording in float with AVAudioRecorder
  • Next by thread: Which Audio Units work in iOS?
  • Index(es):
    • Date
    • Thread