routing a usb microphone to speakers

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jboloski

routing a usb microphone to speakers

Post by jboloski »

I'm running an HP probook with 18.2 Cinnamon 64-bit version 3.4.3 with linux kernal 4.13.0-16 my processor is intel core:5-5200 cpu @2.2GHzx2 and I can't get the usb mic to play thru the speakers. I've loaded jackd and get the following message when I try to run it
08:51:19.223 Statistics reset.
08:51:19.262 ALSA connection change.
08:51:19.476 D-BUS: Service is available (org.jackaudio.service aka jackdbus).
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 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
08:51:19.563 ALSA connection graph change.

I've searched around and have found others with the same problem but none of the other fixes seem to help me.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: routing a usb microphone to speakers

Post by Flemur »

jboloski wrote:I can't get the usb mic to play thru the speakers. I've loaded jackd ....
Are you using "jack" just to get the mic to the speakers, or for some other reason?

FWIW, you shouldn't need jack just to do that.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: routing a usb microphone to speakers

Post by Flemur »

Here are some notes I took before giving up on "jack":

Code: Select all

Remove pulse, install jack and some utils

qjackctl -> Start
"Cannot lock down 82274202 byte memory area " ...etc.

1 - add name to "audio" group

2 - /etc/security/limits.conf: Add 2 lines
@audio   -  rtprio     99
@audio   -  memlock    unlimited

Reboot

Jack Server starts OK.

 +++++++++++++++
START VLC - 
Error messages about can't open sound output.

qjackctl -> Connect -> All connections are "capture_N" (1,2) or "playback_N" (1-8)
No mention of vlc.

VLC UNRESOLVED.

Update: install vlc-jack plugin; now vlc doesn't complain about sound, but still no sound.

 +++++++++++++++++++
START ardour3

qjackctl -> Connect -> shows plenty, named audour, automatically connected.

ardour3 unresolved.
(same for audacity - shows audacity connections, no sound).

 +++++++++++++

qjackctl: changed Setup->Interface to hw:0 (from 'default')
Start jackd, got this error:
ERROR: cannot register object path "/org/freedesktop/ReserveDevice1/Audio0": ...

Fixed that with 
$ killall -9  jackdbus
...then jackd server starts (IOW, it was two stupid to know it was already using hw:0).

 +++++++++++

qjackctl -> Setup -> Interface = plughw:0
PRESS "PLAY" button
SOUND! From audacity! AND VLC! And Ardour3!

+++++++++++++++

Oct07:
DISCOVERY: audio delay is IN THE TV! (later than audio from the cable-box it's connected to).

Ardour3: recorded some sound from TV - nbo delay; no effects (can't find them in Ardour menu...sigh)
Saved the recording as a "CD" (.wav?) file:
["ardour3" The selected preset did not load successfully! Perhaps it references a format that has been removed?]
Got a wav file (21Meg), silent.  Same as above with .ogg.

Found some stuff about ardour3 export: "Turning off the ALSA-Audio bridge for the export process did the trick."
That's truly lame.

So I couldn't find any mention of ALSA-Audio bridge in ardour or gjackctl, so stopped the jack server and tried the export again...ardour3 instantly crashed:
   JACK HALTED: JACK server has been closed

   (ardour-3.5.308~dfsg-1:6386): glibmm-ERROR **: 
   unhandled exception (type std::exception) in signal handler:
   what: basic_string::_S_construct null not valid
   [1]+  Trace/breakpoint trap   ardour3

Great stuff.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
jboloski

Re: routing a usb microphone to speakers

Post by jboloski »

"Are you using "jack" just to get the mic to the speakers, or for some other reason?

FWIW, you shouldn't need jack just to do that."

Yes, all I want is my usb mic to play thru the speakers. I'm a newbie and not particularly what you'd call high tech.
Locked

Return to “Sound”