Is it possible to somehow tap in to sound output and send it via network to another machine. Formats probably are incompatible, but I would appreciate even on some information on how to tap in to audio on Mac OS X!
I was working on a good solution to this earlier this year, but haven't gotten the best way.
The first piece you will likely need is Soundflower. This will let you take the digital-out of your Mac, and loop it to a new digital-in source.
The piece I'm missing is the best way to broadcast a digital input to another machine.
It is probably possible to do this via ESounD, Pulse, or Jack, but I am not familiar with implementations of those, and this hasn't been my highest priority.
Another route I was considering was using VLC, to somehow source the Soundflower as though it were line-in or mic input, and publish an audio stream, then connect to this stream from Ubuntu, i.e. at http://192.168.0.2:8000.
However you arrive at it, I hope that this answer has helped you fit one piece of this puzzle.
If you're looking for a nicely packaged solution then I you want Rogue Amoeba's Airfoil software for doing this sort of thing. I use it from Mac to Mac (it uses Soundflower under the covers, for part of the trickery, but also their own "Instant Hijack" to grab audio from already-running applications) and it works very well.
There are Airfoil Speakers-only applications available for free for Mac, Windows, Linux and iPhone, plus it can send audio to an Airport Express.
You want Wormhole: http://code.google.com/p/wormhole2/
Binaries for OSX and Windows are available... Have not tried in a Linux environment but I imagine it would work in vsthost.
With XBMC installed on a Linux machine and without any other software on my Mac, I can stream anything I want (I run it under Debian so it should work also under Ubuntu).
To do this:
- Configure XBMC as an Airplay receiver : go to System > Services > Airplay and enable Airplay (I do not use password)
- On your Mac, Open Audio Midi Setup
- Right click on the Airplay item on the left side and choose “Use this device for sound output” from the Action pop-up menu.
Now, anything you play on your Mac should output to your Airplay device.
To reverse back to normal output (e.g. on a MacBook), right-click on another output (e.g. the standard speaker or integrated output) and choose “Use this device for sound output” from the Action pop-up menu.
See also : Audio Midi Setup: Set up your audio devices
If you're not tied to any particular audio application at the Mac end, I suggest using VLC Media Player. It could function as the Macintosh's music player and playlist repository, the Mac's digital audio streamer, and the streaming audio receiver/player for the Ubuntu system powering the good speakers.
There are advantages to using VLC besides avoiding the need to combine the functions of several programs. Because VLC offers pre-compiled binaries for operating systems from BeOS to Zaurus, as well as source code for (nearly) everything else, you could easily adapt to future changes in OS or hardware setups without having to worry about compatibility. Moreover, VLC can play every format you're likely to have on hand -- or likely to have ever heard of, for that matter.
solution using sunflower + esound:
It sounds like you're asking if it's possible to transmit the rendered audio across a network.
Not without another A/D conversion, and some way to pass that down to the Ethernet level, and matching software on the other side.
Can you revise your question to explain what you're actually trying to do? We can be more helpful then.
If you're trying to de-protect your DRM-ed AAC files from iTunes, it can be done, but no one here will tell you how.