Skip to contentSkip to conversation

: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work

ALSA - utils 0001251 [email protected] 1 participant 1 message Jul 14, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1251>
======================================================================
Reported By: Robert_Schulze
Assigned To:
======================================================================

Project:                    ALSA - utils
Issue ID:                   1251
Category:                   aplay/arecord
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             07-11-2005 14:39 CEST
Last Modified:              07-14-2005 11:06 CEST

======================================================================
Summary: emagic a62m: maybe bug: arecord doesn't record
anything, jack+jackrec work
Description:
When I want to record something from my emi a62m audiointerface, arecord doesn't work:

"arecord -D emi -f cd > test.wav"
when issuing "aplay -vvv test.wav", the histogram shows up a permanent peak of 36% during the whole file, no sound hearable.

Starting "jackd -d alsa -D emi" and issuing "jackrec -f test.wav -d 5 alsa_pcm:capture_1 alsa_pcm:capture_2" does record a valid file.

.asoundrc:

pcm.emi
{
type hw
card 1
}

ctl.emi
{
type hw
card 1
}

Card 0 is a solo1.
======================================================================

----------------------------------------------------------------------
Clemens Ladisch - 07-14-05 11:02
----------------------------------------------------------------------
The difference is that arecord uses two channels, while Jack records from all six channels.

Please try the following arecord commands:

arecord -D emi -f S16_LE  -c 2 -r 96  > test_2_16_96.wav
arecord -D emi -f S24_3LE -c 2 -r 96  > test_2_24_96.wav
arecord -D emi -f S16_LE  -c 6 -r 48  > test_6_16_48.wav
arecord -D emi -f S24_3LE -c 6 -r 48  > test_6_24_48.wav

According to your tests so far, the last two should work.

What is the output of "xxd -g1 test_2_16_96.wav | head"?

----------------------------------------------------------------------
Robert_Schulze - 07-14-05 11:06
----------------------------------------------------------------------
The difference may also be that jack opens the device duplex-like (Capture
+ Playback running) mode.

I'll try your suggestions, when I'm at home.

Issue History
Date Modified Username Field Change
======================================================================
07-11-05 14:39 Robert_Schulze New Issue
07-11-05 16:20 Clemens LadischNote Added: 0005448
07-12-05 11:57 Robert_Schulze Note Added: 0005452
07-12-05 12:52 Clemens LadischNote Added: 0005453
07-12-05 17:29 Robert_Schulze Note Added: 0005456
07-14-05 11:02 Clemens LadischNote Added: 0005469
07-14-05 11:06 Robert_Schulze Note Added: 0005470
======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar