• 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: Paul Davis <email@hidden>
  • Date: Tue, 09 Sep 2014 10:26:09 -0400



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

  • Follow-Ups:
    • Re: How to capture the audio of an output device in OSX
      • From: Dodo <email@hidden>
    • Re: How to capture the audio of an output device in OSX
      • From: Corey Walo <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>)

  • 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