No sound from Ardour 6.9.0

Hi,
Trouble getting sound from Ardour. 6.9.0
Setup: Ardour6.9.0, AVLinux, Jack and QJackCtl, Focusrite 2i2, MAudio C25 controller.
M Audio C25 (connected to General Midi Synth/midi_in 1 on Jack) is showing input on the midi channel.
ZynAddSubFX added as patch and Zyn virtual keyboard shows activity on the midi channel and also responds to the C25 keys.
There is no activity on the master channel and no sound. No feedback flashing.
Is there a video or an up to date manual that might help me here ( the grids are confusing). I’m sure its something simple, just need to get the order right or something.
Any help greatly appreciated
Thanks,
Ed

Type ‘alsamixer’ into a terminal then hit F6 to find your soundcard and check if anything is muted…

1 Like

Thanks Glen,
Someone said to me once that no sooner is one door closed then another is slammed in your face. I got a sound from the C25 via ZYN patch although I don’t know enough to know why yet. Jack however is acting up and when I click on the Firefox tab it started to throw out XRun Callbacks (~200/second). I hear more and more about the troubled pairing of Pulseaudio and Jack and see a few different approached to getting them to sit well together. I had tried Reaper and I have similar issues with Jack crashing. Your opinion or pointers would be appreciated.
Thanks again
Ed

PS I got the sound after trying what you said. Some of the sliders were at 0

OK,

So by ‘JACK Crashing’ do you mean it terminates itself or the running program? Or do you mean it starts throwing Xruns?

To be honest, to my knowledge and abilities JACK and PulseAudio are set up on AVL-MXE about as good as they can be and on my systems here it is quite stable and routing everything to everywhere just works… Having said all of that I rarely use JACK anymore for Audio production and almost always just use the ALSA driver with Ardour… no outside sound servers or bridges, no passthru’s or handoffs… just the beautiful simplicity of Ardour connected directly to your Audio hardware. I suggest trying Ardour and or Reaper with their ALSA Drivers and see how that works and then work outward from there. I suspect even on my own systems that the PulseAudio bridges are a bottleneck and source for Xruns but I don’t run at super low latencies…

Thanks again Glen,
Won’t waste your time with the details of the JACK errors etc.
I tried your ALSA suggestion and set Ardour to use my Scarlett 2i2 and my C25 and hey presto. No issues. I let myself believe that JACK was the way to go and I can be stubborn. I’m not completely out of the woods yet though.

Once I set up a midi track the General Midi synth is the default option and my C25 feed through to the master and I can hear the sound. I can change to any one of the presets for the GM and likewise hear the output and I can also record and playback. Switched to the ZYN synth (the one I used when testing initially)
ZYN synth as a plug-in doesn’t work properly (on my setup anyway) The virtual keyboard feeds through to the master and speakers but the C25 doesn’t even though the Zyn virtual keyboard responds to the C25 output.
Switched to the SetBfree patch and this works fine. I can live with that for now and try to find out what the issue is.

ALSA only lets one program at time output through the 2i2 it seems as once Ardour is running internet videos wont play and vice versa. I’m happy enough to live with that too.
I’ll park JACK for now.

Really appreciate your help
Ed

Yes you are absolutely right and there are several current threads bemoaning the fact that Ardour hogs the Audio device and indeed that is why the whole AVL setup for JACK and the PulseAudio bridges exists. When I am not working directly and only with Ardour and want to use Audio with Browsers or external programs then I use JACK and the PulseAudio bridges.

“Pipewire” is a new Sound server system to address this but it is not mature yet and lacks controls, I will not be trying or integrating it into AVL until it has matured more but I digress.

Please DO share the JACK errors and messages you are seeing, perhaps it is something simple or a matter of settings and by rights although ALSA is the shortest point between A and B the JACK and PulseAudio setup should also work reliably when you want or need that option.

Hi Glen,
I had a go at changing the system setup for JACK (before your previous post) and the xruns have stopped almost completely. I could get up to 30-40 thousand xruns if I wasn’t watching the screen. Now its just 1 or 2 but sometimes accompanied by 1 or 2 overruns. I have not been able to replicate the errors that occurred previously. I have to add that JACK seems much more stable now (if that’s what the issue was). One thing I notice since changing things around is that the ALSA tab on the connections window is no longer there. I don’t recall any connections made between the ports on that window, the connections being made between a2j and ardour in the MIDI tab.

Today I just started the PC and before opening Ardour I got an error (JACKnot starting) before Ardour was opened. When I opened Ardour it hung with a ‘connect to engine’ message on the Ardour logo applet. Restarted both and it set up ok. Is there a specific order to the way things should be started?

In general I cannot define clearly what’s happening but messages like:

1.Cannot connect to server socket err = No such file or directory
2. Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
3. Sink? and Source? errors are events in the output from the message window below but all three were always events in the previous errors I had and apologies if this is not useful.

The real issue I have though is why do ZynAddSubFX and Yoshimi synths (LV2i) not feed through from the C25 controller to the master to allow recording. Both will feed through from their own virtual keyboards and the Zyn virtual keyboard responds to inputs from the C25.
This is not solely an Ardour issue. I am having the same problem in Reaper. Also I have previously recorded these synths and they play the recorded midi data. In Reaper I can even copy the track ( originally recorded a few months ago) with Yoshimi to a new track and it can be edited and recorded but if I delete and re install the plug-in it stops working. There are other plug-ins this happens to also but those two I like particularly. This is also the case with the ALSA only set up.
Is this possibly an AVLinux issue? I’m not running the MX version.
Again thanks for taking the time.
Ed

MESSAGES OUTPUT:

07:38:14.224 Statistics reset.
07:38:14.281 JACK is starting...
07:38:14.282 /usr/bin/jackd -u -dalsa -r48000 -p256 -n3 -D -Chw:USB -Phw:USB -I1 -O1
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
07:38:14.469 JACK was started with PID=1643.
no message buffer overruns
no message buffer overruns
no message buffer overruns
jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2018 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio2
creating alsa driver ... hw:USB|hw:USB|256|3|48000|0|0|nomon|swmeter|-|32bit
ATTENTION: The playback device "hw:USB" is already in use. Please stop the application using it and run JACK again
Released audio card Audio2
audio_reservation_finish
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
07:38:14.830 JACK was stopped
07:38:14.830 Post-shutdown script...
07:38:14.830 /usr/bin/pajackconnect reset &
cat: /run/user/1000/pulse/pasinkj: No such file or directory
cat: /run/user/1000/pulse/pasourcej: No such file or directory
07:38:15.241 Post-shutdown script terminated successfully.
You need to specify a sink either by its name or its index.
You need to specify a source either by its name or its index.
07:38:16.493 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
07:38:29.158 JACK is starting...
07:38:29.158 /usr/bin/jackd -u -dalsa -r48000 -p256 -n3 -D -Chw:USB -Phw:USB -I1 -O1
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
07:38:29.170 JACK was started with PID=1682.
no message buffer overruns
no message buffer overruns
no message buffer overruns
jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2018 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio2
creating alsa driver ... hw:USB|hw:USB|256|3|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 256 frames (5.3 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 3 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 3 periods for playback
07:38:31.390 JACK connection change.
07:38:31.390 Server configuration saved to "/home/pme/.jackdrc".
07:38:31.391 Statistics reset.
07:38:31.398 Client activated.
07:38:31.398 Patchbay deactivated.
07:38:31.398 Post-startup script...
07:38:31.398 /usr/bin/pajackconnect start && a2jmidid -e &
07:38:31.408 JACK connection graph change.
Sink jack_out does not exist.
Source jack_in does not exist.
07:38:31.799 Post-startup script terminated successfully.
Source jack_in does not exist.
JACK MIDI <-> ALSA sequencer MIDI bridge, version 8 (7383d268c4bfe85df9f10df6351677659211d1ca) built on Thu Jan 1 01:00:00 1970
Copyright 2006,2007 Dmitry S. Baikov
Copyright 2007,2008,2009,2011,2012 Nedko Arnaudov
Bridge starting...
Using JACK server 'default'
Hardware ports will be exported.
07:38:33.725 JACK connection graph change.
Bridge started
Press ctrl-c to stop the bridge
port created: Midi Through [14] (capture): Midi Through Port-0
port created: Midi Through [14] (playback): Midi Through Port-0
07:38:33.807 JACK connection change.
07:38:48.781 JACK connection graph change.
07:39:07.981 JACK connection graph change.
07:39:08.070 JACK connection change.
07:39:13.447 JACK connection graph change.
07:39:13.484 JACK connection change.
07:39:13.523 JACK connection graph change.
07:39:13.692 JACK connection change.
07:39:13.700 JACK connection graph change.
JackGraphManager::Connect already connected port_src = 30 port_dst = 22
JackGraphManager::Connect already connected port_src = 33 port_dst = 22
JackGraphManager::Connect already connected port_src = 31 port_dst = 23
JackGraphManager::Connect already connected port_src = 34 port_dst = 23
JackGraphManager::Connect already connected port_src = 27 port_dst = 22
JackGraphManager::Connect already connected port_src = 28 port_dst = 23
JackGraphManager::Connect already connected port_src = 1 port_dst = 26
JackGraphManager::Connect already connected port_src = 2 port_dst = 29
JackGraphManager::Connect already connected port_src = 30 port_dst = 22
JackGraphManager::Connect already connected port_src = 31 port_dst = 23
JackGraphManager::Connect already connected port_src = 1 port_dst = 32
JackGraphManager::Connect already connected port_src = 33 port_dst = 22
JackGraphManager::Connect already connected port_src = 34 port_dst = 23
JackGraphManager::Connect already connected port_src = 13 port_dst = 3
JackGraphManager::Connect already connected port_src = 14 port_dst = 4
JackGraphManager::Connect already connected port_src = 27 port_dst = 22
JackGraphManager::Connect already connected port_src = 28 port_dst = 23
JackGraphManager::Connect already connected port_src = 24 port_dst = 3
JackGraphManager::Connect already connected port_src = 25 port_dst = 4
JackGraphManager::Connect already connected port_src = 35 port_dst = 3
JackGraphManager::Connect already connected port_src = 36 port_dst = 4
JackGraphManager::Connect already connected port_src = 1 port_dst = 7
JackGraphManager::Connect already connected port_src = 2 port_dst = 7
Unknown request 7959668
CheckSize error size = 0 Size() = 12
CheckRead error
Unknown request 0
07:39:13.902 JACK connection change.
07:40:22.314 Client deactivated.
07:40:22.316 Shutdown script...
07:40:22.316 /usr/bin/pajackconnect stop &
Module module-jack-sink not loaded.
Module module-jack-source not loaded.
07:40:22.717 Shutdown script terminated successfully.
07:40:22.717 JACK is stopping...
Jack main caught signal 15
e[33mWARNING: e[0mJACK server shutdown notification received.
Released audio card Audio2
audio_reservation_finish
Cannot read socket fd = 10 err = Success
CheckRes error
JackSocketClientChannel read fail
Bridge stopping...
07:40:22.789 JACK was stopped
07:40:22.789 Post-shutdown script...
07:40:22.790 /usr/bin/pajackconnect reset &
07:40:23.191 Post-shutdown script terminated successfully.
Server is not running
port deleted: Midi Through [14] (capture): Midi Through Port-0
Server is not running
port deleted: Midi Through [14] (playback): Midi Through Port-0
Server is not running
Server is not running
e[31mERROR: e[0ma2j_destroy: Cannot close jack client (-1)
Bridge stopped
07:40:37.018 JACK is starting...
07:40:37.018 /usr/bin/jackd -u -dalsa -r48000 -p256 -n3 -D -Chw:USB -Phw:USB -I1 -O1
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
no message buffer overruns
no message buffer overruns
no message buffer overruns
jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2018 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
07:40:37.110 JACK was started with PID=1800.
audio_reservation_init
Acquire audio card Audio2
creating alsa driver ... hw:USB|hw:USB|256|3|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 256 frames (5.3 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 3 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 3 periods for playback
07:40:39.337 JACK connection change.
07:40:39.338 Server configuration saved to "/home/pme/.jackdrc".
07:40:39.338 Statistics reset.
07:40:39.344 Client activated.
07:40:39.344 Patchbay deactivated.
07:40:39.344 Post-startup script...
07:40:39.345 /usr/bin/pajackconnect start && a2jmidid -e &
07:40:39.355 JACK connection graph change.
Sink jack_out does not exist.
Source jack_in does not exist.
07:40:39.746 Post-startup script terminated successfully.
Source jack_in does not exist.
JACK MIDI <-> ALSA sequencer MIDI bridge, version 8 (7383d268c4bfe85df9f10df6351677659211d1ca) built on Thu Jan 1 01:00:00 1970
Copyright 2006,2007 Dmitry S. Baikov
Copyright 2007,2008,2009,2011,2012 Nedko Arnaudov
Bridge starting...
Using JACK server 'default'
Hardware ports will be exported.
07:40:41.668 JACK connection graph change.
Bridge started
Press ctrl-c to stop the bridge
port created: Midi Through [14] (capture): Midi Through Port-0
port created: Midi Through [14] (playback): Midi Through Port-0
07:40:41.753 JACK connection change.

Hi Glen,
Almost sorted with the Yoshimi /Zyn issue. On the Reaper forum b2001 suggested I look at the channels that the midi was recorded to. I found with Yoshimi that the mixer panel only had channel 1 in use. When I enabled channel 2 I could then hear the audio from the synth. Don’t know why tho.
Thanks for your help,
Ed