routing a usb microphone to speakers

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
jboloski
Level 1
Level 1
Posts: 2
Joined: Thu Nov 09, 2017 8:56 pm

routing a usb microphone to speakers

Postby jboloski » Fri Nov 10, 2017 9:55 am

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.

User avatar
Flemur
Level 13
Level 13
Posts: 4548
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: routing a usb microphone to speakers

Postby Flemur » Fri Nov 10, 2017 10:23 am

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.
Mint 18.2 Xfce/fluxbox/pulse-less - Xubuntu 16.10/fluxbox/pulse-less
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 13
Level 13
Posts: 4548
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: routing a usb microphone to speakers

Postby Flemur » Fri Nov 10, 2017 10:29 am

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.
Mint 18.2 Xfce/fluxbox/pulse-less - Xubuntu 16.10/fluxbox/pulse-less
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

jboloski
Level 1
Level 1
Posts: 2
Joined: Thu Nov 09, 2017 8:56 pm

Re: routing a usb microphone to speakers

Postby jboloski » Mon Nov 13, 2017 10:48 pm

"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.


Return to “Sound, Multimedia, & Codecs”

Who is online

Users browsing this forum: No registered users and 2 guests