Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

programmatically recording sound sent to Built-in Output, Mac OS X

I have a conundrum:

I need to find a way to capture the raw audio data that is being piped to the Built-in Output on Mac OS X. Core Audio, HAL, etc.

I can "listen" in on the Built-in Output and the mic, but neither of these appear to offer the correct data stream - the exact stream (all combined data from all input sources) that goes to the speakers/built-in output.

Any advice is welcomed with appreciation.

like image 708
Demi Avatar asked May 30 '09 01:05

Demi


People also ask

Where is built-in Output on Mac?

On your Mac, choose Apple menu > System Preferences, click Sound , then click Output. Select the device you want to use in the list of sound output devices.

How do I record internal audio with QuickTime?

Now open Quicktime Player and click on File>New Screen Recording. Click the little arrow on the side of the Quicktime window. Under the microphone section, click on "Soundflower (2ch)." If you would rather record ONLY audio and not the screen, click File>New Audio Recording, and do the same thing.


1 Answers

maybe you should have a look at the Jack source code...

http://sourceforge.net/projects/jackosx

like image 180
kent Avatar answered Nov 16 '22 07:11

kent