• 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: How to capture the audio of an output device in OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to capture the audio of an output device in OSX


  • Subject: Re: How to capture the audio of an output device in OSX
  • From: Dodo <email@hidden>
  • Date: Tue, 09 Sep 2014 16:58:07 +0200

Still,

thinking and reconsidering all the discussed things, it seems to me that what would be the best for mu purpose would be to read a microphone onpit amd overlap it onto a buffer that is being playing. Again, is there any room to overlap the two buffers?


cheers

dodo

Sent by mobile phone. Please ignore typos and concise style.

Il giorno 09/set/2014, alle ore 16:37, Corey Walo <email@hidden> ha scritto:

I’m surprised no one has mentioned Soundflower which, like JACK, is open source. There is a kernel extension involved there as well. For what it’s worth, their own documentation point out that their utility is based on Apple’s Phantom Audio Driver, which is also open source. I’ve really only skimmed it, but it may help you. Looks like it was also written in 2001...

Best,
Corey Walo

On Sep 9, 2014, at 9:26 AM, Paul Davis <email@hidden> wrote:



On Tue, Sep 9, 2014 at 10:05 AM, Zack Morris <email@hidden> wrote:

I just want to chime in and say that one of the use cases for this is echo cancellation for VoIP.  I got pretty far with Speex in a shareware game several years back but without having an easy way to capture all of the sound output (including game sounds) there was really no way to adequately cancel the background noise for multiplayer.  I really needed to be able to capture the output of OpenAL as a single stream, run it through Speex’s cancellation, and then send that to the speakers.  I finally got so frustrated that I gave up on it.  One of a dozen reasons why I never finished the game, but it still cost me days of consternation.

P.S. If Apple is concerned about the security implications of applications capturing the output of other applications, then there are other approaches that would work. 

10 years ago, Stephane Letz ported JACK to OS X to provide powerful, arbitrary, free-form routing of audio between any number of applications and devices. The source code is all available, clients are not required to be open source. All streams are precisely sychronized. All CoreAudio applications can interact with JACK without any modifications whatsoever. JACK can also route audio across a network (LAN and WAN), provide shared transport control and more. Stephane has continued to maintain JACK despite several fundamental changes to CoreAudio over the last decade.

Apparently because of some failure at the "marketing level", OS X developers have almost uniformly ignored JACK and continued to live in a little bubble where unless Apple blesses something (like their own distinctly less capable interapplication audio API), it doesn't exist. Or maybe the "marketing" for JACK really did just suck. Who really knows.

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: 
 >How to capture the audio of an output device in OSX (From: claudio santoro <email@hidden>)
 >Re: How to capture the audio of an output device in OSX (From: Frederic De Jaeger <email@hidden>)
 >Re: How to capture the audio of an output device in OSX (From: Zack Morris <email@hidden>)
 >Re: How to capture the audio of an output device in OSX (From: Paul Davis <email@hidden>)
 >Re: How to capture the audio of an output device in OSX (From: Corey Walo <email@hidden>)

  • Prev by Date: Re: How to capture the audio of an output device in OSX
  • Next by Date: Re: How to capture the audio of an output device in OSX
  • Previous by thread: Re: How to capture the audio of an output device in OSX
  • Next by thread: Re: How to capture the audio of an output device in OSX
  • Index(es):
    • Date
    • Thread