• 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: Tap into audio output stream?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tap into audio output stream?


  • Subject: Re: Tap into audio output stream?
  • From: Paul Davis <email@hidden>
  • Date: Wed, 21 Aug 2013 14:30:02 -0400

quoting jeff moore of apple from 2 years ago:

     "The three pieces of software you mention use completely
different ways to achieve their behavior. Soundflower is a kernel
driver that copies the data from it's output back to it's input. Audio
Hijack patches the HAL in a process to insert itself in the audio
stack. JACK is a user-land driver that sends audio to a server for
distribution."

i don't know if the HAL-patching approach is still viable. if it is, it would be the only way to do what you want. if it isn't, then the concept of "don't change output device but somehow tap the audio stream" is a non-starter.



On Wed, Aug 21, 2013 at 2:26 PM, Rick Mann <email@hidden> wrote:
Sorry, OS X (for now, anyway).

Sent from my iPhone

On Aug 21, 2013, at 11:11, Paul Davis <email@hidden> wrote:

you haven't said whether you are trying to do this on OS X or iOS which makes a significant difference in what is possible and how it would be accomplished.


On Wed, Aug 21, 2013 at 1:54 PM, Rick Mann <email@hidden> wrote:
Unfortunately, soundflower is an output device, so I have to switch away from regular output. 

Sent from my iPhone

On Aug 21, 2013, at 4:50, Paul Davis <email@hidden> wrote:

read up on soundflower and jack (the former is simpler and limited, the latter is more complex and essentially unlimited).


On Wed, Aug 21, 2013 at 3:24 AM, Rick Mann <email@hidden> wrote:
I'm sure this is common, but I don't know if it's possible.

Is there a way to listen in on the currently-selected default audio output stream? For example, if I have iTunes playing out the line out, can I have a separate app get those samples and do analysis on it (visualizers, etc.)?

And, a bit off-topic: Can JavaSound do the same (listen to output)?

Thanks!

--
Rick




 _______________________________________________
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



 _______________________________________________
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: Tap into audio output stream?
      • From: Rick Mann <email@hidden>
References: 
 >Tap into audio output stream? (From: Rick Mann <email@hidden>)
 >Re: Tap into audio output stream? (From: Paul Davis <email@hidden>)
 >Re: Tap into audio output stream? (From: Rick Mann <email@hidden>)
 >Re: Tap into audio output stream? (From: Paul Davis <email@hidden>)
 >Re: Tap into audio output stream? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Tap into audio output stream?
  • Next by Date: Re: Tap into audio output stream?
  • Previous by thread: Re: Tap into audio output stream?
  • Next by thread: Re: Tap into audio output stream?
  • Index(es):
    • Date
    • Thread