Re: Capture w/ M-Audio Fast Track USB?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 2, 2009 at 3:25 AM, Clemens Ladisch <cladisch@xxxxxxxxxxxxxx> wrote:
> Michael B Allen wrote:
>> Does capture work with the M-Audio Fast Track USB?
>
> Maybe.  Does some capture device show up in the output of "arecord -l"?

Yes. And I have been able to get capture to work but it is very faint
and distorted. Here is what I have done so far so that the other
people who were interested in this can play along:

# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 1: Track [Fast Track], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

After inseting the Fast Track:

# cat /proc/asound/devices
  2:        : timer
  3:        : sequencer
  4: [ 0- 1]: digital audio playback
  5: [ 0- 0]: digital audio playback
  6: [ 0- 0]: digital audio capture
  7: [ 0- 0]: hardware dependent
  8: [ 0]   : control
  9: [ 1- 0]: digital audio playback
 10: [ 1- 0]: digital audio capture
 11: [ 1]   : control

So item 10 looks like card 1 subdevice 0 is "digital audio capture".

But then again "digital audio playback" is also card 1 subdevice 0?

>> Can someone give me some advice or a pointer to some documentation
>> that explains how the whole ALSA tool chain works wrt external USB
>> sound recording?
>
> You can tell any ALSA program to use a specific device by using a device
> name like "plughw:x,y" if you know the card and device numbers.

So this means the device identifier for the Fast Track with my
particular hardware setup is:

  plughw:1,0

> If you're using PulseAudio, you have to tell it to use that device.

Can I bypass PulseAudio and stick to the commandline?

If I do:

  # arecord -D plughw:1,0 /tmp/test.wav

and then do:

  # aplay -Dplughw:1,0 /tmp/test.wav
  Playing WAVE '/tmp/test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono

at first, this produced silence.

Then I realized I could do:

  # alsamixer -c 1

to run alsamixer with card 1. Now I can see Capture was turned OFF. So
if I go to Capture and hit the space bar to turn it ON and then turn
it up to 97%:

# amixer -c 1
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 256
  Mono:
  Front Left: Playback 192 [75%] [-31.50dB] [on]
  Front Right: Playback 192 [75%] [-31.50dB] [on]
Simple mixer control 'Mic',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 128
  Front Left: Capture 124 [97%] [-3.00dB] [on]
  Front Right: Capture 124 [97%] [-3.00dB] [on]

and do arecord again just like before I can play it back and it works
but it is very faint and distorted.

So this proves capture signal is making it to ALSA.

However why is it so faint?

I suppose it is distorted because I have the level set to -3dB?

Mike

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux