• 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: New to converter.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New to converter.


  • Subject: Re: New to converter.
  • From: John Draper <email@hidden>
  • Date: Fri, 11 Jan 2008 15:27:50 -0800

Aurélien Ammeloot wrote:
Hi,

I'm looking for a simple tutorial or well commented sample code in order to open an audio file and convert it in a linear PCM stream.

Apple's documentation is quite confusing me. As CoreAudio, AudioToolbox and AudioUnit frameworks all seem to provide tools to work on but I must officially admit that I don't understand how to use these tools as I haven't read well explained code yet. Even the sample projects: afconvert and ConvertFile do not help very much (no comment in the former's code).

I just would like to transfer the PCM stream to LAME to convert it all to MP3, but that seems simpler according to LAME's api documentation.

I'm using Leopard and do not require backwards compatibility.

Any useful resource appreciated.
Thanks,
AA
_______________________________________________
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

Welcome to a very large crowd of people who ALSO wants to do this. Initially, we used MTCoreAudio for this application, but apparently the Author is no longer supporting it due to 'Conflict of Interest' issues, so we are just going to ditch it in our application as being totally unusable... Which is too bad, because it does a lot of the work one doesn't really want to do.

In their updated version, we were unable to get the MTConversionBuffer to spit out 16 bit samples into our sample buffer. Apparently the Author didn't seem to think that people would still want to use 8k/sec samples, and he apparently took this out of the new version as far as I've been able to determine.

None of us can figure out how to use it, and if I had known it would be this difficult to use MTCoreAudio, I would have made an effort to use the lower level procedural code, but (sigh) there is a large lack of examples in this area.

I guess it's time to "cash in" on an instance of support from Apple soon.

John
_______________________________________________
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: New to converter.
      • From: Michael Thornburgh <email@hidden>
References: 
 >Noob Questions (From: Matt Mashyna <email@hidden>)
 >Re: Noob Questions (From: Jens Alfke <email@hidden>)
 >New to converter. (From: AurĂ©lien Ammeloot <email@hidden>)

  • Prev by Date: Re: the right question
  • Next by Date: advice re: GUI notification
  • Previous by thread: Re: New to converter.
  • Next by thread: Re: New to converter.
  • Index(es):
    • Date
    • Thread