News for hackers. Stuff that matters.
Re:Linux is not about choice (2008) by pmahoney on Monday May 06, 2013 @03:54PM (#5664380)
I actually find PulseAudio vs. JACK incredibly annoying. I like to play around with "professional" audio. I don't consider it professional, but more relevantly I like to play with certain apps that require JACK.

It's certainly an RTFM thing, but last time I didn't know how to get PulseAudio to go away. I wrote a shell script to keep killing it in a loop (since it restarts itself) long enough to get JACK to take over. I know there must be better ways...

Then inevitably once I've got JACK setup, I'll want to play some background music or watch some Flash video online without tearing down my JACK setup. Oops, does that audio player support JACK natively? Do I have that plugin installed? Can I run Pulse and have it direct output into JACK? None of this has worked smoothly in my experience.

> users of JACK generally buy high-end hardware specifically for that purpose and know what they're doing

This has not been my experience. I love to dabble, but apparently don't know what I'm doing.

Re:Linux is not about choice (2008) by aclevernickname on Monday May 06, 2013 @07:40PM (#5665492)
May I humbly recommend adding the KXstudio Repos (https://launchpad.net/ubuntu/+ppas?name_filter=kxstudio) to your Ubuntu installation? the Cadence utility makes JACK configuration very painless, automagically setting up JACK to run everything, with ALSA loopback and PulseAudio bridges for input and output. Firefox/Flash/Phonon/Skype all route through PulseAudio, which gets sent to JACK. all ALSA-only applications get routed through Loopback, which gets sent to JACK. And you can route all of this sound (visually, if you use the Claudia app) to whatever processing or recording application you want.

Two weeks ago, I spent 20 minutes with 3 KXStudio Laptops and a master KXStudio workstation, and got all the laptops acting as input slaves to pipe live instruments and mics to Ardour running on the workstation using Opus as the transferring codec. all it took was loading the network module into JACK, and making sure there was gigE/cat6 for networking. we had mp3's and FLAC's of the concert ready for the band to review before their roadies were done packing up the gear.

As for high-end hardware, the laptops are using M-Audio Fast Track Pros and 10/10's. None of the hardware goes for more than $150, and we're using ultra-cheap AMD Fusion laptop slaves sourced from alibaba with an AMD A10-based workstation as master. We're at $2800, including 3 monitors.

Because an AMD A10 with 12GB of RAM is stupid overpowered for audio production, we installed MacOS X via KVM and routed that output through JACK as well. WINE loads quite a few professional digital audio workstation packages, and a ton of VSTs, and wineasio makes them all work with JACK. Running all this emulation doesn't make the system feel sluggish at all.

the main website is http://kxstudio.sourceforge.net, but the LiveCD downloadable there is based on Ubuntu 12.04. I installed raring, added the PPA's, and then installed packages. I like bleeding edge. but the official livecd is _very_ painless to install if you're having headaches configuring.

Re:Linux is not about choice (2008) by fmoralesc on Monday May 06, 2013 @09:33PM (#5666009)
Whoa! These cadence utils are great! Bridging jack and pulseaudio has always been such a pain...

Thanks for the link!

In case anyone is interested: I'm using them on Arch, they are available through the AUR.

Re:Linux is not about choice (2008) by pyre on Monday May 06, 2013 @04:28PM (#5664570)
FYI on killing PulseAudio:

* Turning off auto-respawn (from 2010, not sure if it's entirely accurate): http://www.linuxplanet.com/linuxplanet/tutorials/7130/2

* Script I used to use to get Skype and PulseAudio to play nice in the early days of PA: http://ubuntuforums.org/showthread.php?t=790889

Re:Linux is not about choice (2008) by leephillips on Monday May 06, 2013 @04:41PM (#5664642)
Reminds me of how I seem to need to purge anything related to "avahi" before I can get wireless networking to work. I don't know what that junk is for but I wish it wasn't installed by default.
Re:Linux is not about choice (2008) by thwarted on Monday May 06, 2013 @06:48PM (#5665261)
I don't know why it is generally enabled on "server" installations. That being said, the only time I've had a legit use of it was on a media server, running mediatomb, which uses avahi to do SSDP/mDNS/zeroconf/DNS-SD [1], and on the client running VLC (I think the "local network" options interface with avahi itself). Which actually ended up being quite nice. I usually disable it, and try to uninstall it completely, on other server installations.

[1] http://en.wikipedia.org/wiki/Zero_configuration_networking

Re:Linux is not about choice (2008) by marshray on Monday May 06, 2013 @09:32PM (#5666006)
I can't seem to install GVIM on Ubuntu without avahi. I wish I had more choice about it.
Re:Linux is not about choice (2008) by rammark on Tuesday May 07, 2013 @05:03AM (#5667139)
Try installing vim-gtk instead of vim-gnome.
Re:Linux is not about choice (2008) by marshray on Tuesday May 07, 2013 @09:13PM (#5671902)
IIRC, it would have required me to add the 'universe' repository.
Re:Linux is not about choice (2008) by kondor6c on Tuesday May 07, 2013 @02:32PM (#5669837)
try using Gen too the use flags allow for great flexibility and allow smaller packages.
Re:Linux is not about choice (2008) by toyg on Monday May 06, 2013 @05:01PM (#5664759)
It provides compatibility with Apple's more recent network technologies (Bonjour/Rendezvous etc), plus probably other stuff I don't know anything about.
Re:Linux is not about choice (2008) by dnewcome on Monday May 06, 2013 @06:04PM (#5665075)
You can prefix your command with pasuspender to temporarily disable pulseaudio. This is usually what I do. It's kind of inconvenient and half the time I forget to do it, so sometimes I just write a little launcher script that includes it.
Re:Linux is not about choice (2008) by kyrias on Monday May 06, 2013 @10:43PM (#5666275)

    > It's certainly an RTFM thing, but last time I didn't know how to get PulseAudio to go away
`pulseaudio -k`
Re:Linux is not about choice (2008) by cookiecaper on Tuesday May 07, 2013 @01:08PM (#5669283)
PulseAudio instantly respawns from this if you have autospawn set to yes (and most distributions do, and it takes some effort to get it working without that).

Typically when I want a quick-and-dirty "kill PulseAudio for real" solution I move /usr/bin/pulseaudio to /usr/bin/pulse-dead, issue pkill pulseaudio, and proceed until I want PA to come back to life, at which time I mv the binary back.

Re:Linux is not about choice (2008) by Hello71 on Tuesday May 07, 2013 @07:05PM (#5671453)

  pasuspender
Re:Linux is not about choice (2008) by cookiecaper on Wednesday May 08, 2013 @03:40PM (#5676378)
That only works as long as the command it wraps is living. I could use that approach, but typically I don't just want pulseaudio dead while gedit or something is running, I want it dead until I decide that I want it back. It usually happens this way when I'm debugging an audio issue, so it'd be annoying to have PA constantly cycling that way.
Re:Linux is not about choice (2008) by kyrias on Saturday May 11, 2013 @07:33PM (#5692536)

  paususpender while true
  do
  done
Re:Linux is not about choice (2008) by Hello71 on Saturday May 11, 2013 @08:36PM (#5692665)

  pasuspender cat