• 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: Documentation for Example Apps? (and recording stuff)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documentation for Example Apps? (and recording stuff)


  • Subject: Re: Documentation for Example Apps? (and recording stuff)
  • From: Peter <email@hidden>
  • Date: Wed, 12 Mar 2003 01:05:12 -0600

Hey Kurt,

On Wednesday, March 12, 2003, at 12:24 AM, Kurt Revis wrote:

On Tuesday, March 11, 2003, at 08:49 PM, Peter wrote:

PlayBufferedSoundFile deals with all sorts of crazy cool stuff that I don't understand.

Well, I'd be happy to answer questions, if you have specific questions. I tried to put enough comments in the code to make it comprehensible.

I didn't mean to "diss" your code - I'm a newb and will examine your code and see if I have questions. Your commenting is very thorough. To give you my background, I'm coming to Mac OS X sound development cold and I'm designing an application to read AIFF files, record AIFF files, and later broadcast input (file or mic) to another computer for a class project. I've read through the CoreAudio PDF and the source code of example programs, but I have lots of questions.

For Core Audio and HAL stuff, I would recommend Omni Group's SoundExample. It plays files from a CD through the HAL.

This has a few problems: it only does very basic AIFF parsing (as its own comments say, it's "the worlds lamest AIFF-C reader") and it reads the file from within the HAL I/O thread, which will cause dropouts if anything else is happening on the machine at the same time. It's OK as a basic example, but we can do better now.

You use QuickTime in your code. Is it possible to "do better" but still use the HAL (or AUs)? I'm not familiar with AUs. After reading the CoreAudio PDF, AUs seemed more relevant for AUGraphs?, MIDI stuff, or sound manipulation. I only need to play and record sound but is that part of what AUs do? I read an archive email about someone hooking up a SoundConverter (?) to an AU... If AUs are the way, who should use the HAL? Driver developers or me, higher-level-application-man?

I started with simpler examples because they were something I could understand. I might be able to sort through Daisy and it uses the HAL. AudioPlayFile has a lot of stuff and I've search through it, felt intimidated, and decided to return to it later.

I'd like to keep a discussion about playing AIFF files and all the fun quirks that come with it going.

What exactly do you want to know? If you want to keep a discussion going, the way to do it is to actually discuss...

I hope the frequency of my discussion will cause everyone to wish there was a "Squelch Peter" button. Spring break is next week so I'll have lots of questions. I'm little shy about posting my questions because they are very simple right now.

Is anyone using the AudioFile API in the AudioToolbox? Does it make your work much easier? I am doing regular file reads and writes; would you recommend "switching?" :)

The idea of someone wasting time writing yet another AIFF parser fills me with pain. I would really recommend trying out the new API... it looks very well designed and not very complicated.

Okay, Kurt, I will stop my parser work and check out the API. I empathize with your pain at seeing yet another file parser.

--
Kurt Revis
email@hidden


Thanks for your email.

Peter
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Documentation for Example Apps? (and recording stuff)
      • From: Kurt Revis <email@hidden>
  • Prev by Date: Fwd: Documentation for Example Apps? (SoundExample link)
  • Next by Date: Re: Documentation for Example Apps? (and recording stuff)
  • Previous by thread: Need Java example Apps for output
  • Next by thread: Re: Documentation for Example Apps? (and recording stuff)
  • Index(es):
    • Date
    • Thread