• 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
advice on multi-track recording
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

advice on multi-track recording


  • Subject: advice on multi-track recording
  • From: Iain McCowan <email@hidden>
  • Date: Wed, 27 Apr 2011 16:40:11 +1000


Hello,

I have a software application that records 8-track audio (48 kHz) direct to disk using the ExtAudioFile API.  The application is voice recording e.g. for meetings.

My goal is to end up with 8 single track mpeg audio files.

My solution to date has been to record to an 8-channel uncompressed PCM CAF file, and then at the end of the recording, split into 8 encoded single channel files.

This works reliably, however it can take a long time for multi-hour recordings (e.g. 4 hours x 8 chan x 48 kHz), which users don't like. 

However, if I attempt to directly record to 8 independent audio files in parallel (mpeg or uncompressed), I get lots of dropped frames, presumably due to disk access overhead with multiple file handles meaning file writing buffers are getting full before writes happen - I am using the ExtAudioFileWriteAsync.

My next thought is to instead chunk the recording into e.g. X minute chunks.  These can presumably then be progressively split and re-encoded in the background as each chunk ends, without the real-time pressures, reducing the lag to finish this job at the end of recording.

Before I attempt to implement that however, it strikes me that I can't be the first to do this, so thought I would ask what approaches have worked for others out there.

Any tips?

thanks,

Iain.


 _______________________________________________
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: advice on multi-track recording
      • From: Brian Willoughby <email@hidden>
  • Prev by Date: Re: iOS - AudioSession Category to play in sleep mode
  • Next by Date: Re: VoiceProcessingIO unit AGC
  • Previous by thread: Can I include a AUGraph in a AUUnit?
  • Next by thread: Re: advice on multi-track recording
  • Index(es):
    • Date
    • Thread