Earlier I had alsa installed together with jack2 and both worked fine - I could record my songs in Qtractor without any problems.
But I reecently bought GuitarPro software for Linux which needs a pulseaudio to work. So I installed the pulseaudio and It is
working fine by itself. I can start/stop it using commands:
Code: Select all
pulseaudio --start
pulseaudio --kill
wrote two scripts for starting the jack2dbus in two separate configurations
Hardware default audio (Nvidia) for playback and USB audio interface (Scarlet 2i4) for recording:
Code: Select all
#!/bin/bash
jack_control start
jack_control eps realtime true
jack_control ds alsa
jack_control dps period 265
jack_control dps playback hw:0,0
jack_control dps capture hw:USB
Code: Select all
#!/bin/bash
jack_control start
jack_control eps realtime true
jack_control ds alsa
jack_control dps device hw:USB
jack_control dps period 265
I first start the pulseaudio and check if it is running.
Code: Select all
$ pulseaudio --start
$ ps aux | grep pulse
ziga 4171 48.0 0.2 520004 15328 ? S<l 14:22 0:00 pulseaudio --start
ziga 4176 0.0 0.0 76628 2552 ? S 14:22 0:00 /usr/lib/pulse/gconf-helper
ziga 4179 0.0 0.0 10820 1076 pts/2 S+ 14:22 0:00 grep pulse
Code: Select all
$ jack_control status
--- status
started
The audio/MIDI engine could not be started! In the image check allso the console in the background.
So why isn't Qtractor working?