|
|
|
Stevethefiddle
|
(original messages at bottom)
Hi Gale, I've made something of a breakthrough in getting Audacity to work with Jack on my system. Something HAS changed on my system, and it has nothing to do with which version of Audacity. It is my USB sound card! Usually I run my laptop with just the internal sound card, and if I start Jackd (with Jack Control) and then open Audacity and try to set it to use Jack. As soon as (and I mean immediately) I select Jack as the Host, Audacity crashes. This still happens with Audacity 1.3.9 and 1.3.10-alpha -Sept-7 However, recently I have been listening to some on-line music with my laptop connected to my music system via a Behringer UCA-202 USB sound card. If I have the USB sound card connected, then I can select Jack as the Host without Audacity crashing and IT WORKS! What seems to be happening is that when Jack Control is launched, it grabs the system sound ports and somehow seems to "suspend" PulseAudio. If I open the PulseAudio recording volume meter, it shows nothing, even though the sound system is configured to record from the laptops built in microphone. (If I close Jack Control, then the PulseAudio recording volume meter springs back into life). Jack Control has kind of stolen the system sound ports from Pulse. So what then seems to happen when I try to use Audacity... Without the USB sound card: As we know, PortAudio has a peculiar habit with Jack of hiding its ports when they are not in use, and PulseAudio has had its devices stolen, so effectively there are no devices available when Jack is selected and Audacity crashes. With the USB sound card: Extra ports - so there is a device available for Audacity. Jack can now be selected and I can work using Jack AND Portaudio is still running and works for controlling input and output levels from both the internal sound card and the USB sound card. Now it gets really weird. I can now remove the USB sound card and Audacity continues to work with Jack. I can open and close Audacity, with only the internal sound card and it works perfectly with Jack as long as I do not change it back to ALSA. It seems that everything remembers what everything is connected to. As soon as I switch Audacity to using ALSA, I can not switch back to Jack again unless I connect my USB sound card. I'm wondering if this relates to the bug (that was "fixed" recently) where Audacity would crash on opening Preferences is no devices are available. One other detail; When Audacity is first set to use Jack (with the USB sound card connected), if I click on the recording meter in Audacity BEFORE I have recorded anything, Audacity crashes. Once something has been recorded, it seems that the audio connections have been made and so I can activate the recording meters without any problem. My reasoning of WHY this is happening may be way off, but I have Cc:'d this to the audacity-devel list in case it sparks off some inspiration that finally fixes the Audacity/Jack problem. Perhaps a "dummy" audio device in Audacity? Steve -------- Forwarded Message -------- > From: Steve <[hidden email]> > Reply-to: [hidden email] > To: Gale Andrews <[hidden email]> > Subject: Re: Jackd works! > Date: Thu, 03 Sep 2009 11:13:23 +0100 > > Yes, this is on Ubuntu 9.04 > > I'm not certain exactly when the change occurred, but I think it is post > 1.3.7. > > No changes to Jack or PortAudio since 1.3.7 that I'm aware of. > > I upgraded PortAudio on May 19th 2009, so I am using libportaudio2 19 > +svn20071207-C which is a little more recent than the Jaunty repository > version (18.1-7.1). > > This was a completely fresh install from the release tarball. > > I uninstalled previous versions and completely deleted the earlier > audacity and .audacity-data folders before installing, then a default > install with no ./configure options, additional patches or any other > customisations (my new "reference" build). > > I'm not sure why I ended up with an Application shortcut with no icon - > perhaps I missed removing an old desktop configuration file. > > But yes, I'm delighted. So a big "Thank You" to everyone involved. > > Steve > > > On Thu, 2009-09-03 at 03:05 +0100, Gale Andrews wrote: > > | From Steve > > | Thu, 03 Sep 2009 01:16:16 +0100 > > | Subject: Jackd works! > > > ... Shut down Audacity and started up Jack Control. > > > Opened Audacity and switched the host from ALSA to Jack. > > > Pressed "Record" and.... > > > It records ! > > > Pressed "Stop", then "Play" and it Plays ! > > > > > > OK, so it's still got the disappearing ports when ever it is in Stop > > > mode, but it connects back up to the sound system on demand. > > > The darn thing works straight out of the box! > > > > That's nice to hear (this is Ubuntu, I presume)? I'm not sure what > > changed in Audacity between 1.3.8 and 1.3.9 that would have > > improved that, though. I don't recall us updating PortAudio, did > > JACK change anything? > > > > > > > > Gale > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ audacity-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/audacity-devel |
||||||||||||||||
|
gilzad
|
Hi Steven,
I just encountered the same problem after having compiled and installed audacity 1.3.9 on Ubuntu 9.04. Choosing Jack in the preferences made Audacity crash immediately with a segmentation fault. I am lucky to have a usb soundcard, too so I could reproduce what you had described. And I can confirm that Audacity lets me choose Jack once another output device is connected and that it keeps on running even after I've disconnected the USB soundcard. I can also confirm that a click on the record meters makes audacity crash (when using jack). Once I've played an audio file (not even recorded), I'm able to click on the recording meters and they will start showing the input. There's one more case. If I... 1) Set up Audacity to use Jack while the usb device is connected 2) Disconnect the USB soundcard 3) Start Audacity again 4) Attempt to enter the preferences ..then Audacity will crash and I can only access the preferences after I've connected the usb device again. Thanks to you shedding some light on the issue. Best, Gilzad
|
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |