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

Recording from remoteIO on iOS


  • Subject: Recording from remoteIO on iOS
  • From: Daniel Too <email@hidden>
  • Date: Thu, 07 Feb 2013 18:21:04 +1300

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

  • Follow-Ups:
    • Re: Recording from remoteIO on iOS
      • From: Lucas Ives <email@hidden>
  • Prev by Date: Re: A number of simple questions (still a few unanswered)
  • Next by Date: kAudioUnitProperty_Latency not working in Logic
  • Previous by thread: Re: iOS: AUReverb2 and room types
  • Next by thread: Re: Recording from remoteIO on iOS
  • Index(es):
    • Date
    • Thread