• 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 from remoteIO on iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recording from remoteIO on iOS


  • Subject: Re: Recording from remoteIO on iOS
  • From: Lucas Ives <email@hidden>
  • Date: Wed, 20 Feb 2013 10:04:31 -0800



ExtAudioFileWrite is what you'll want here -- 

https://developer.apple.com/library/ios/#documentation/MusicAudio/Reference/ExtendedAudioFileServicesReference/Reference/reference.html

-l


On Wed, Feb 6, 2013 at 9:21 PM, Daniel Too <email@hidden> wrote:

Hi everyone,


I've been playing with the Momu toolkit to create some music on iPhone. It uses a single Audio Unit remoteIO and a render callback to do all of the work.

I'd like to record the output to a file in addition to outputting it through the iPhone output. 

At the moment, the ASBD going into the output is

Sample Rate: 22050

Format ID: lpcm

Format Flags: kAudioFormatFlagIsSignedInteger |  kAudioFormatFlagIsPacked |  kAudioFormatFlagIsNonInterleaved |   (24 << kLinearPCMFormatFlagsSampleFractionShift);

Bytes per Packet: 4

Frames per Packet: 1

Bytes per Frame: 4

Channels per Frame: 2

Bits per Channel: 32

I've tried lots of different ways to approach this, but I don't think I'm doing it correctly. 

How can I output this to a file? Can I use a recording callback on the output of the audio unit? How do I change the format of the data into something that I can write?


Thanks

Dan.


 _______________________________________________
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 from remoteIO on iOS (From: Daniel Too <email@hidden>)

  • Prev by Date: pink noise
  • Next by Date: Re: pink noise
  • Previous by thread: Recording from remoteIO on iOS
  • Next by thread: kAudioUnitProperty_Latency not working in Logic
  • Index(es):
    • Date
    • Thread