• 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
audio input/output help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

audio input/output help


  • Subject: audio input/output help
  • From: Nigel Redmon <email@hidden>
  • Date: Thu, 18 Oct 2007 11:45:04 -0700

I hate to ask these types of questions, but I'm time limited ("ship this week" they say :-/), and I'd appreciate any help in cutting directly to the chase...

I've taken over a project that uses Portaudio on PC and Mac. It mostly works, except when I use my digital mixer (Tascam DM-3200) with firewire interface as both input and output. Maybe something to do with 24 channels each way, but the point is I don't have time to figure out the problem which ultimately might find me down at the core audio level anyway, so I'd like to just ditch it and go with core audio.

So far, I figured out how to find all the input and output devices, with numbers of channels and other properties, and that works fine. Now to audio input and output...

My understanding is that I need to work at the HAL level, since I need input. My needs in a nutshell:

This is a multichannel speaker calibration app. There are an arbitrary number of sets of arbitrary number of speakers, each of which may be connected to an arbitrary output device (that sounds more complicated than it is--the idea is that an recording engineer might have a speaker configuration for 5.1 mix down and a configuration for stereo--even 10.2, etc.; he may have some of these configuration split over multiple output devices).

Input is always a single channel (from a calibrated mic), device and channel selected by the user. Output is (mostly) on a single channel as well (noise pulses and sweeps--you can only calibrate one speaker at a time). There is stereo output as well, just for simple audio cues--because it sounds good that way--but the needs are pretty simple overall. The app assumes a fixed 44.1 kHz on the software end, so I'd have to have sample rate conversion on input and output to ensure that rate on the app side.

Can someone recommend some example code that cuts right to this sort of thing? Again, sorry to ask this sort of basic question, but I'd appreciate any help in getting something together (and debugged) quickly.

Thanks,

Nigel
_______________________________________________
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: audio input/output help
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Using MIDISend/MIDISendSysex for Line 6 USB Device
  • Next by Date: Re: audio input/output help
  • Previous by thread: Re: debug printing from AU?
  • Next by thread: Re: audio input/output help
  • Index(es):
    • Date
    • Thread