LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-30-2016, 11:55 AM   #1
rmcellig
Member
 
Registered: Sep 2009
Posts: 252
Blog Entries: 1

Rep: Reputation: 24
using arecord to record from USB Audio Capture device


I have been using the arecord command to record my radio shows etc... It works great!! I'm using Lubuntu 14.04 on a Dell 1520 laptop

I am now using an Edirol UA3 USB device. It's not working for me when I use arecord. It keeps recording using the internal mic on my laptop instead of the Line In connected through my USB device. Is there something I need to change in arecord to make this to work?

This iswhat i have been using in my crontab:

Code:
38 12 * * 4   /usr/bin/arecord -t wav   -f cd -d 30 $HOME/fridaytest.wav
I know there is a -D option for arecord that I can use but am not sure what the proper syntax should be.

Thanks!!
 
Old 06-30-2016, 01:20 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Open alsamixer to see all your devices and test them.
 
Old 07-02-2016, 05:45 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
$ cat /proc/asound/cards

It will list the index number for your card(s). 0 is the default unless you override it. As in -D hw:0. Use -D hw:1 or whatever index value makes sense. And you can also override the default in the .asoundrc file.

FILE: ~/.asoundrc
Code:
defaults.ctl.card 2
defaults.pcm.card 2
defaults.pcm.device 0
Where 2 is the index of the card you wish to be default. A little more obscure way is the re-index the sound modules when they load at boot with /etc/modprobe.d/alsa_custom.conf type stuff to make your preferred one index 0. And probably a few other tricks.
 
  


Reply



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
record streaming audio using arecord rmcellig Linux - Newbie 1 07-14-2014 10:44 AM
How can I capture/record audio on Linux? alex170872 Linux - Software 4 04-09-2013 08:11 AM
Using the CLI tool arecord to capture streaming audio rmcellig Linux - Software 1 12-20-2011 07:39 PM
Wanted capture device for VCR device with Audio and Video outs only k_graham Linux - Newbie 2 06-18-2009 11:24 PM
How do I capture/record streaming audio? AlanQ Linux - Software 7 01-18-2006 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:02 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration