LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-29-2012, 03:56 PM   #1
Francexi
LQ Newbie
 
Registered: Apr 2012
Posts: 17

Rep: Reputation: Disabled
Routing the speakers output to mic input


Hi everyone,
first of all, sorry for my english, i'm italian.
I'm trying to record sounds from my speakers and my microphone contemporaneously. I can't simple connect the output of the audio card to the input 'cause i want to hear what i'm recording and 'cause i'm using a webcam to record (so the microphone is via USB). Well, the question is: can I copy the output of the master channel of the audio card and route it in the channel of the USB camera microphone? If yes, how?
I'm running on Slackware 14 and i'm using ALSA. If you need more informations, do not hesitate to ask them.
Thanks in advance,
Francexi

p.s. i've got the vague impression of being wrong the section, didn't I?

Last edited by Francexi; 10-29-2012 at 03:58 PM.
 
Old 10-29-2012, 06:58 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,624

Rep: Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441
You might be able to do this with jack (that's "jack" as in an audio jack for a patch-bay). It's designed for rerouting audio between outputs and inputs. I've used it a couple of times; it works very nicely.

http://jackaudio.org/

There's a Slackbuild for it: http://slackbuilds.org/repository/14...onnection-kit/

If use the Slackbuilds search, you will find several other related tools for jack.
 
Old 10-30-2012, 03:00 PM   #3
Francexi
LQ Newbie
 
Registered: Apr 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
ok, i've downloaded and installed jackaudio and the realtive qt backend. But when I try to make a connection in the Patchbay section the only client either in output and in input is Midi Through and the only plug Midi Through port-0
 
Old 10-30-2012, 08:58 PM   #4
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,624

Rep: Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441
Run alsamixer and see what connections it recognizes.

I think that this page offers a pretty good tutorial: http://linuxcritic.wordpress.com/200...-in-slackware/
 
Old 10-31-2012, 10:35 AM   #5
Francexi
LQ Newbie
 
Registered: Apr 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
alsamixer shows 2 cards, the HD Intel (I suppose is audio card) that contains lots of channels everyone to the max level(the classic ones: Master, PCM, mic etc.etc.), and USB camera, that have "capture"(level at max) and "auto gain control"(without any bar)
 
Old 10-31-2012, 07:14 PM   #6
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,624

Rep: Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441
I'm afraid I can't help. When I used Jack, it was with RecordMyDesktop and it worked just fine. I think what you are doing is much more complex than I am qualified to help with.

I found some links I think might be useful.

An article in Linux Journal: http://www.linuxjournal.com/node/1004080

I found a couple of tutorials on YouTube.

http://www.youtube.com/watch?v=fMz6f...e=results_main

http://www.youtube.com/watch?v=fMz6f...e=results_main

I wish I knew more, but I hope these help.
 
Old 11-01-2012, 04:37 AM   #7
Francexi
LQ Newbie
 
Registered: Apr 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
solved the problem. I've forgot of start the jack daemon(<---idiot). Now the patchbay shows me a lot of plug and I don't know which choose. But the biggest problem ('cause the first can be resolved going to attempt) is the fact that if a sound is running I can't start the audio server (that returns me "Audio device is Busy") and if the server is running i can't start any sound for the same cause(returns "device is busy")
 
Old 11-02-2012, 08:08 PM   #8
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,624

Rep: Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441
I floundered around myself when I first used Jack until I realized I had to turn it on! Don't be too hard on yourself.

As for the rest, I'm afraid I'm stuck as outlined at my previous post.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirect output sound to input (mic or line-in) chabacha Linux - Software 1 01-22-2011 02:15 PM
Eliminate or Reduce Mic Input to Speakers Latency? AudioMechanic Linux - Hardware 5 03-07-2010 04:17 PM
Can't get any mic output from the Speakers/Headphone lhorace Linux - Software 2 12-04-2009 06:38 PM
Routing MIC input to SPEAKERS Acetylcholine Linux - Software 4 11-07-2009 09:07 AM
Can't get any output from my mic. Won't accept input. Please help Fear58 Linux - Hardware 1 07-06-2004 11:42 PM


All times are GMT -5. The time now is 11:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration