• 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: AVAudioFile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AVAudioFile


  • Subject: Re: AVAudioFile
  • From: Gregory Wieber <email@hidden>
  • Date: Fri, 28 Nov 2014 13:37:50 -0800

On a hunch, I tried writing a 'caf' file, and passing a nil settings dictionary to the AVAudioFile constructor and this works for writing from a tap block.

So, it looks like I have either a misunderstanding of how to properly specify a non-caf file for AVAudioFile, or there's a bug. Before I file a radar, I would like to try one more time and see if anyone has been successful in creating an AVAudioFile of AIFF or WAV type.

best,

Greg



On Wed, Nov 26, 2014 at 10:33 AM, Gregory Wieber <email@hidden> wrote:
Hello all,

I've re-watched the relevant talks and re-read the headers and docs, but for the life of me I can't get an AVAudioFile from an AVAudioNode tap block that's playable. I'm trying to create an AIFF file, but haven't had success with any file-type. Bytes are written, no error, but the file isn't recognized as a valid AIFF by any media player.

Here's the code:
https://gist.github.com/dreamwieber/455c2f2073139bd591f6

And here's some more details of variations on that code which I've tried:

http://stackoverflow.com/questions/27156408/how-to-write-avaudiofile-from-tap-block

Thanks for any help -- been stuck at this basic first step with AVAudioEngine for a while now. On the surface it looks like such a nice Swift-ready API compared to ExtAudioFile (with which I have experience), but so far I'm striking out.

Greg

 _______________________________________________
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: 
 >AVAudioFile (From: Gregory Wieber <email@hidden>)

  • Prev by Date: Re: AudioServerPlugIn / kAudioDevicePropertyStreams
  • Previous by thread: AVAudioFile
  • Next by thread: Logic Macro and ID in the Logic event List
  • Index(es):
    • Date
    • Thread