I've found this conversation to be extremely interesting and helpful. Perhaps it could be dumped onto to the Rosegarden wiki?

I've only used Rosegarden sporadically recently (for testing builds etc) and am constantly depressed when I try to get noise out of it. And even more depressed when I try to get jack to work. I was not aware of the respawning of pulseaudio and really not interested enough to work through all the guff to get it working again.

Cheers

Shelagh

On 2 February 2013 10:07, Aere Greenway <Aere@dvorak-keyboards.com> wrote:
On 02/01/2013 09:59 AM, Holger Marzen wrote:
> On Fri, 1 Feb 2013, Aere Greenway wrote:
>
>> On 02/01/2013 01:42 AM, Holger Marzen wrote:
>>> On Thu, 31 Jan 2013, Aere Greenway wrote:
>>>
>>>> The only thing that doesn't work together with JACK is the Flashplayer
>>>> (for
>>>> YouTube Videos).  I have to terminate QjackCtl to play one of those and
>>>> have
>>>> sound.
>>> Hi Aere,
>>>
>>> AFAIK the Flashplayer works as an ALSA client. So this should be covered
>>> by the redirection in /etc/asound.conf as described in
>>> http://www.marzen.de/Holger/pulseaudio_and_jack/
>>> under 2.)
>>>
>>> I can for example play a song in the browser with a flash based audio
>>> player and record it with audacity:
>>> http://www.marzen.de/tmp/audacity+jack.png
>>>
>>> So ALSA clients use JACK via redirection in /etc/asound.conf,
>>> Pulse clients use JACK via definitions in /etc/pulse/default.pa,
>>> JACK clients use ... ok, that's simple now :)
>>>
>>> Regards
>>> Holger
>>>
>> Holger:
>>
>> Regarding the ALSA portion of your URL (below):
>>
>> 2.) In /etc/asound.conf (system wide) or ~/.asoundrc we redirect
>>      ALSA-clients to JACK:
>>
>>      pcm.!default {
>>          type plug
>>          slave.pcm "jack"
>>      }
>>
>>      pcm.jack {
>>          type jack
>>          playback_ports {
>>              0 system:playback_1
>>              1 system:playback_2
>>          }
>>          capture_ports {
>>              0 system:capture_1
>>              1 system:capture_2
>>          }
>>      }
>>
>>
>> On my system, there is no file in either location.  Also, though the file ends
> That's fine, it's usually not at all needed for standard ALSA operation.
>
>> in '.conf', it looks like C++
>> code.
> I didn't invent the syntax :)
>
>> Creating the file "~/.asoundrc" with the above contents, had no effect on my
>> system, even after rebooting (though logoff/logon might have been enough).
> Neither is needed. Just a restart of the application.
>
>> Is it something I need to compile, and put the object file somewhere?
>>
>> Since there was no file in either location, perhaps it's a difference in using
>> Lubuntu (LXDE).
> Then your browser/flash might use Pulseaudio. It's becoming popular.
> Recent Skype versions need it to function correctly, they don't use the
> asound.conf magic either.
>
> Browser audio is becoming a big piece of magic. You never know if it
> uses some HTML5-mechanisms or a plugin.
>
>> I have all the other 'flavors' of Ubuntu that I can test it on. What Linux
>> distribution do you use?
> Xubuntu 12.04 LTS.
>
> I start qjackctl automatically with my graphical session, that starts
> Pulseaudio, and I have the above /etc/asound.conf.
>
> Best Regards
> Holger
>
Holger:

Thank you so very much for your excellent information.

I now have JACK successfully co-existing with everything on the
following systems in my test-bed:

Lubuntu 12.10
Ubuntu-Studio 12.04
Ubuntu 12.04
Kubuntu 12.10

I will gradually convert the rest of my machines.  All tests with my new
MIDI device worked well too, in that environment.  It's nice being able
to choose between all of the available devices without having to worry
about starting or terminating qjackctl.

I'm not sure why YouTube videos now work on Lubuntu 12.10.  The only
thing I changed was to have qjackctl automatically started on login.
That is something you mentioned, so it could have made the difference.

Regarding that, on Kubuntu 12.10, with qjackctl auto-started, I don't
here the KDE login-sound, at least, I don't hear it until I take-down
qjackctl at then end, then it plays.

--
Sincerely,
Aere


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel