All of lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - utils 0001251]: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work
@ 2005-09-28 11:21 bugtrack
  0 siblings, 0 replies; 11+ messages in thread
From: bugtrack @ 2005-09-28 11:21 UTC (permalink / raw)
  To: alsa-devel


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:              09-28-2005 13:21 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.
======================================================================

----------------------------------------------------------------------
 Robert_Schulze - 07-19-05 17:32 
----------------------------------------------------------------------
xxd -g1 test_2_24_98.wav:

0000000: 52 49 46 46 a0 3b 48 00 57 41 56 45 66 6d 74 20  RIFF.;H.WAVEfmt
0000010: 10 00 00 00 01 00 02 00 00 77 01 00 00 ca 08 00 
.........w......
0000020: 06 00 18 00 64 61 74 61 7c 3b 48 00 5f 5f 5f 5f 
....data|;H.____
0000030: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000040: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000050: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000060: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000070: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000080: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000090: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________

xxd -g1 test_6_16_48.wav:

0000000: 52 49 46 46 1c 7f 10 00 57 41 56 45 66 6d 74 20  RIFF....WAVEfmt
0000010: 10 00 00 00 01 00 06 00 80 bb 00 00 00 ca 08 00 
................
0000020: 0c 00 10 00 64 61 74 61 f8 7e 10 00 5f 5f 5f 5f 
....data.~..____
0000030: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000040: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000050: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000060: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000070: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000080: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000090: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________

xxd -g1 test_6_24_48.wav:
0000000: 52 49 46 46 20 38 80 00 57 41 56 45 66 6d 74 20  RIFF 8..WAVEfmt
0000010: 10 00 00 00 01 00 06 00 80 bb 00 00 00 2f 0d 00 
............./..
0000020: 12 00 18 00 64 61 74 61 fc 37 80 00 5f 5f 5f 5f 
....data.7..____
0000030: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000040: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000050: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000060: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000070: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000080: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000090: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________

The other two don't also work:

xxd -g1 test_2_16_48.wav:

0000000: 52 49 46 46 24 00 13 00 57 41 56 45 66 6d 74 20  RIFF$...WAVEfmt
0000010: 10 00 00 00 01 00 02 00 80 bb 00 00 00 ee 02 00 
................
0000020: 04 00 10 00 64 61 74 61 00 00 13 00 2f 2f 2f 2f 
....data....////
0000030: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000040: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000050: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000060: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000070: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000080: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000090: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////

xxd -g1 test_2_24_48.wav:

0000000: 52 49 46 46 ac 7e 17 00 57 41 56 45 66 6d 74 20  RIFF.~..WAVEfmt
0000010: 10 00 00 00 01 00 02 00 80 bb 00 00 00 65 04 00 
.............e..
0000020: 06 00 18 00 64 61 74 61 88 7e 17 00 2f 2f 2f 2f 
....data.~..////
0000030: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000040: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000050: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000060: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000070: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000080: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000090: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////


I noticed one more thing:

If I call:
> arecord -D emi -f cd | tee test.wav | aplay -D emi
the file "test.wav" contains valid recording data!

----------------------------------------------------------------------
 Robert_Schulze - 09-28-05 13:21 
----------------------------------------------------------------------
Could you already figure out, what's going wrong?
It seems to be a reasonable easy solution to open the device reading _and_
writing (capture + playback), while recording. Is it possible to simulate
that via a .asoundrc-file?

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                          
07-14-05 17:06 Robert_Schulze Note Added: 0005476                          
07-14-05 18:04 Clemens LadischNote Added: 0005478                          
07-19-05 17:32 Robert_Schulze Note Added: 0005529                          
09-28-05 13:21 Robert_Schulze Note Added: 0006410                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [ALSA - utils 0001251]: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work
@ 2005-07-19 15:32 bugtrack
  0 siblings, 0 replies; 11+ messages in thread
From: bugtrack @ 2005-07-19 15:32 UTC (permalink / raw)
  To: alsa-devel


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-19-2005 17:32 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 18:04 
----------------------------------------------------------------------
Do the following work?
arecord -D emi -f S16_LE -c 2 -r 48 > test_2_16_48.wav
arecord -D emi -f S24_3LE -c 2 -r 48 > test_2_24_48.wav

Could you post the output of the xxd for the other non-working files?

----------------------------------------------------------------------
 Robert_Schulze - 07-19-05 17:32 
----------------------------------------------------------------------
xxd -g1 test_2_24_98.wav:

0000000: 52 49 46 46 a0 3b 48 00 57 41 56 45 66 6d 74 20  RIFF.;H.WAVEfmt
0000010: 10 00 00 00 01 00 02 00 00 77 01 00 00 ca 08 00 
.........w......
0000020: 06 00 18 00 64 61 74 61 7c 3b 48 00 5f 5f 5f 5f 
....data|;H.____
0000030: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000040: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000050: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000060: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000070: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000080: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000090: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________

xxd -g1 test_6_16_48.wav:

0000000: 52 49 46 46 1c 7f 10 00 57 41 56 45 66 6d 74 20  RIFF....WAVEfmt
0000010: 10 00 00 00 01 00 06 00 80 bb 00 00 00 ca 08 00 
................
0000020: 0c 00 10 00 64 61 74 61 f8 7e 10 00 5f 5f 5f 5f 
....data.~..____
0000030: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000040: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000050: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000060: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000070: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000080: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000090: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________

xxd -g1 test_6_24_48.wav:
0000000: 52 49 46 46 20 38 80 00 57 41 56 45 66 6d 74 20  RIFF 8..WAVEfmt
0000010: 10 00 00 00 01 00 06 00 80 bb 00 00 00 2f 0d 00 
............./..
0000020: 12 00 18 00 64 61 74 61 fc 37 80 00 5f 5f 5f 5f 
....data.7..____
0000030: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000040: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000050: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000060: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000070: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000080: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000090: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________

The other two don't also work:

xxd -g1 test_2_16_48.wav:

0000000: 52 49 46 46 24 00 13 00 57 41 56 45 66 6d 74 20  RIFF$...WAVEfmt
0000010: 10 00 00 00 01 00 02 00 80 bb 00 00 00 ee 02 00 
................
0000020: 04 00 10 00 64 61 74 61 00 00 13 00 2f 2f 2f 2f 
....data....////
0000030: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000040: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000050: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000060: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000070: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000080: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000090: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////

xxd -g1 test_2_24_48.wav:

0000000: 52 49 46 46 ac 7e 17 00 57 41 56 45 66 6d 74 20  RIFF.~..WAVEfmt
0000010: 10 00 00 00 01 00 02 00 80 bb 00 00 00 65 04 00 
.............e..
0000020: 06 00 18 00 64 61 74 61 88 7e 17 00 2f 2f 2f 2f 
....data.~..////
0000030: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000040: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000050: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000060: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000070: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000080: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000090: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////


I noticed one more thing:

If I call:
> arecord -D emi -f cd | tee test.wav | aplay -D emi
the file "test.wav" contains valid recording data!

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                          
07-14-05 17:06 Robert_Schulze Note Added: 0005476                          
07-14-05 18:04 Clemens LadischNote Added: 0005478                          
07-19-05 17:32 Robert_Schulze Note Added: 0005529                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [ALSA - utils 0001251]: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work
@ 2005-07-14 16:04 bugtrack
  0 siblings, 0 replies; 11+ messages in thread
From: bugtrack @ 2005-07-14 16:04 UTC (permalink / raw)
  To: alsa-devel


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 18:04 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.
======================================================================

----------------------------------------------------------------------
 Robert_Schulze - 07-14-05 17:06 
----------------------------------------------------------------------
Hmm,
none of the described calls of arecord worked.

Here is the output of 'xxd -g1 test_2_16_96.wav | head':

0000000: 52 49 46 46 24 80 2d 00 57 41 56 45 66 6d 74 20  RIFF$.-.WAVEfmt
0000010: 10 00 00 00 01 00 02 00 00 77 01 00 00 dc 05 00 
.........w......
0000020: 04 00 10 00 64 61 74 61 00 80 2d 00 5f 5f 5f 5f 
....data..-.____
0000030: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000040: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000050: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000060: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000070: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000080: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000090: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f  ________________

----------------------------------------------------------------------
 Clemens Ladisch - 07-14-05 18:04 
----------------------------------------------------------------------
Do the following work?
arecord -D emi -f S16_LE -c 2 -r 48 > test_2_16_48.wav
arecord -D emi -f S24_3LE -c 2 -r 48 > test_2_24_48.wav

Could you post the output of the xxd for the other non-working files?

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                          
07-14-05 17:06 Robert_Schulze Note Added: 0005476                          
07-14-05 18:04 Clemens LadischNote Added: 0005478                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [ALSA - utils 0001251]: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work
@ 2005-07-14 15:06 bugtrack
  0 siblings, 0 replies; 11+ messages in thread
From: bugtrack @ 2005-07-14 15:06 UTC (permalink / raw)
  To: alsa-devel


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 17: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.
======================================================================

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

----------------------------------------------------------------------
 Robert_Schulze - 07-14-05 17:06 
----------------------------------------------------------------------
Hmm,
none of the described calls of arecord worked.

Here is the output of 'xxd -g1 test_2_16_96.wav | head':

0000000: 52 49 46 46 24 80 2d 00 57 41 56 45 66 6d 74 20  RIFF$.-.WAVEfmt
0000010: 10 00 00 00 01 00 02 00 00 77 01 00 00 dc 05 00 
.........w......
0000020: 04 00 10 00 64 61 74 61 00 80 2d 00 5f 5f 5f 5f 
....data..-.____
0000030: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000040: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000050: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000060: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000070: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000080: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000090: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f  ________________

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                          
07-14-05 17:06 Robert_Schulze Note Added: 0005476                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [ALSA - utils 0001251]: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work
@ 2005-07-14  9:06 bugtrack
  0 siblings, 0 replies; 11+ messages in thread
From: bugtrack @ 2005-07-14  9:06 UTC (permalink / raw)
  To: alsa-devel


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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [ALSA - utils 0001251]: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work
@ 2005-07-14  9:02 bugtrack
  0 siblings, 0 replies; 11+ messages in thread
From: bugtrack @ 2005-07-14  9:02 UTC (permalink / raw)
  To: alsa-devel


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:02 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.
======================================================================

----------------------------------------------------------------------
 Robert_Schulze - 07-12-05 17:29 
----------------------------------------------------------------------
While nothing runs:

Emagic GmbH Emagic EMI 6|2 m at usb-0000:00:07.2-1.1, full speed : USB
Audio

Playback:
  Status: Stop
  Interface 1
    Altset 1
    Format: S16_LE
    Channels: 2
    Endpoint: 10 OUT (ASYNC)
    Rates: 44100, 48000, 96000
  Interface 1
    Altset 2
    Format: S24_3LE
    Channels: 2
    Endpoint: 10 OUT (ASYNC)
    Rates: 44100, 48000, 96000

Capture:
  Status: Stop
  Interface 2
    Altset 1
    Format: S16_LE
    Channels: 6
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000
  Interface 2
    Altset 2
    Format: S24_3LE
    Channels: 6
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000
  Interface 2
    Altset 3
    Format: S16_LE
    Channels: 2
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000, 96000
  Interface 2
    Altset 4
    Format: S24_3LE
    Channels: 2
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000, 96000

------------------------------------------------------------------------------
While jackd runs:

Emagic GmbH Emagic EMI 6|2 m at usb-0000:00:07.2-1.1, full speed : USB
Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 1
    URBs = 5 [ 1 1 1 1 1 ]
    Packet Size = 243
    Momentary freq = 48000 Hz
  Interface 1
    Altset 1
    Format: S16_LE
    Channels: 2
    Endpoint: 10 OUT (ASYNC)
    Rates: 44100, 48000, 96000
  Interface 1
    Altset 2
    Format: S24_3LE
    Channels: 2
    Endpoint: 10 OUT (ASYNC)
    Rates: 44100, 48000, 96000

Capture:
  Status: Running
    Interface = 2
    Altset = 1
    URBs = 5 [ 1 1 1 1 1 ]
    Packet Size = 588
    Momentary freq = 48000 Hz
  Interface 2
    Altset 1
    Format: S16_LE
    Channels: 6
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000
  Interface 2
    Altset 2
    Format: S24_3LE
    Channels: 6
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000
  Interface 2
    Altset 3
    Format: S16_LE
    Channels: 2
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000, 96000
  Interface 2
    Altset 4
    Format: S24_3LE
    Channels: 2
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000, 96000

-------------------------------------------------------------------------------
while arecord runs:

Emagic GmbH Emagic EMI 6|2 m at usb-0000:00:07.2-1.1, full speed : USB
Audio

Playback:
  Status: Stop
  Interface 1
    Altset 1
    Format: S16_LE
    Channels: 2
    Endpoint: 10 OUT (ASYNC)
    Rates: 44100, 48000, 96000
  Interface 1
    Altset 2
    Format: S24_3LE
    Channels: 2
    Endpoint: 10 OUT (ASYNC)
    Rates: 44100, 48000, 96000

Capture:
  Status: Running
    Interface = 2
    Altset = 3
    URBs = 5 [ 1 1 1 1 1 ]
    Packet Size = 243
    Momentary freq = 48000 Hz
  Interface 2
    Altset 1
    Format: S16_LE
    Channels: 6
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000
  Interface 2
    Altset 2
    Format: S24_3LE
    Channels: 6
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000
  Interface 2
    Altset 3
    Format: S16_LE
    Channels: 2
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000, 96000
  Interface 2
    Altset 4
    Format: S24_3LE
    Channels: 2
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000, 96000

------------------------------------------------------------------------------

I tried both 24 bit, where alsa says that the device supports S24_3LE, and
16 bit (jackd ... --shorts). In both cases, jack works and arecord
doesn't.

One thing I realized: If I open the device capture-only with "jackd ...
-C", the recording results are equal to the results of pure arecord. Maybe
it has something to do with that.
You can see the difference in the sections above.

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

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [ALSA - utils 0001251]: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work
@ 2005-07-12 15:29 bugtrack
  0 siblings, 0 replies; 11+ messages in thread
From: bugtrack @ 2005-07-12 15:29 UTC (permalink / raw)
  To: alsa-devel


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-12-2005 17:29 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-12-05 12:52 
----------------------------------------------------------------------
The difference may be that Jack uses a different bit depth.  Does this
device support 24 bit sample?  Please show the contents of
/proc/asound/card1/stream0.

----------------------------------------------------------------------
 Robert_Schulze - 07-12-05 17:29 
----------------------------------------------------------------------
While nothing runs:

Emagic GmbH Emagic EMI 6|2 m at usb-0000:00:07.2-1.1, full speed : USB
Audio

Playback:
  Status: Stop
  Interface 1
    Altset 1
    Format: S16_LE
    Channels: 2
    Endpoint: 10 OUT (ASYNC)
    Rates: 44100, 48000, 96000
  Interface 1
    Altset 2
    Format: S24_3LE
    Channels: 2
    Endpoint: 10 OUT (ASYNC)
    Rates: 44100, 48000, 96000

Capture:
  Status: Stop
  Interface 2
    Altset 1
    Format: S16_LE
    Channels: 6
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000
  Interface 2
    Altset 2
    Format: S24_3LE
    Channels: 6
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000
  Interface 2
    Altset 3
    Format: S16_LE
    Channels: 2
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000, 96000
  Interface 2
    Altset 4
    Format: S24_3LE
    Channels: 2
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000, 96000

------------------------------------------------------------------------------
While jackd runs:

Emagic GmbH Emagic EMI 6|2 m at usb-0000:00:07.2-1.1, full speed : USB
Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 1
    URBs = 5 [ 1 1 1 1 1 ]
    Packet Size = 243
    Momentary freq = 48000 Hz
  Interface 1
    Altset 1
    Format: S16_LE
    Channels: 2
    Endpoint: 10 OUT (ASYNC)
    Rates: 44100, 48000, 96000
  Interface 1
    Altset 2
    Format: S24_3LE
    Channels: 2
    Endpoint: 10 OUT (ASYNC)
    Rates: 44100, 48000, 96000

Capture:
  Status: Running
    Interface = 2
    Altset = 1
    URBs = 5 [ 1 1 1 1 1 ]
    Packet Size = 588
    Momentary freq = 48000 Hz
  Interface 2
    Altset 1
    Format: S16_LE
    Channels: 6
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000
  Interface 2
    Altset 2
    Format: S24_3LE
    Channels: 6
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000
  Interface 2
    Altset 3
    Format: S16_LE
    Channels: 2
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000, 96000
  Interface 2
    Altset 4
    Format: S24_3LE
    Channels: 2
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000, 96000

-------------------------------------------------------------------------------
while arecord runs:

Emagic GmbH Emagic EMI 6|2 m at usb-0000:00:07.2-1.1, full speed : USB
Audio

Playback:
  Status: Stop
  Interface 1
    Altset 1
    Format: S16_LE
    Channels: 2
    Endpoint: 10 OUT (ASYNC)
    Rates: 44100, 48000, 96000
  Interface 1
    Altset 2
    Format: S24_3LE
    Channels: 2
    Endpoint: 10 OUT (ASYNC)
    Rates: 44100, 48000, 96000

Capture:
  Status: Running
    Interface = 2
    Altset = 3
    URBs = 5 [ 1 1 1 1 1 ]
    Packet Size = 243
    Momentary freq = 48000 Hz
  Interface 2
    Altset 1
    Format: S16_LE
    Channels: 6
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000
  Interface 2
    Altset 2
    Format: S24_3LE
    Channels: 6
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000
  Interface 2
    Altset 3
    Format: S16_LE
    Channels: 2
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000, 96000
  Interface 2
    Altset 4
    Format: S24_3LE
    Channels: 2
    Endpoint: 12 IN (ASYNC)
    Rates: 44100, 48000, 96000

------------------------------------------------------------------------------

I tried both 24 bit, where alsa says that the device supports S24_3LE, and
16 bit (jackd ... --shorts). In both cases, jack works and arecord
doesn't.

One thing I realized: If I open the device capture-only with "jackd ...
-C", the recording results are equal to the results of pure arecord. Maybe
it has something to do with that.
You can see the difference in the sections above.

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [ALSA - utils 0001251]: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work
@ 2005-07-12 10:52 bugtrack
  0 siblings, 0 replies; 11+ messages in thread
From: bugtrack @ 2005-07-12 10:52 UTC (permalink / raw)
  To: alsa-devel


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-12-2005 12:52 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.
======================================================================

----------------------------------------------------------------------
 Robert_Schulze - 07-12-05 11:57 
----------------------------------------------------------------------
Well, even if I simulate jack's-settings by:

arecord -D emi -f S16_LE -r 48000 -c 2 

it doesn't work.

----------------------------------------------------------------------
 Clemens Ladisch - 07-12-05 12:52 
----------------------------------------------------------------------
The difference may be that Jack uses a different bit depth.  Does this
device support 24 bit sample?  Please show the contents of
/proc/asound/card1/stream0.

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [ALSA - utils 0001251]: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work
@ 2005-07-12  9:57 bugtrack
  0 siblings, 0 replies; 11+ messages in thread
From: bugtrack @ 2005-07-12  9:57 UTC (permalink / raw)
  To: alsa-devel


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-12-2005 11:57 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-11-05 16:20 
----------------------------------------------------------------------
The "cd" format uses 44.1 Khz while Jack's default sample rate is 48 Khz.

Does arecord work with "-f dat"?

----------------------------------------------------------------------
 Robert_Schulze - 07-12-05 11:57 
----------------------------------------------------------------------
Well, even if I simulate jack's-settings by:

arecord -D emi -f S16_LE -r 48000 -c 2 

it doesn't work.

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [ALSA - utils 0001251]: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work
@ 2005-07-11 14:20 bugtrack
  0 siblings, 0 replies; 11+ messages in thread
From: bugtrack @ 2005-07-11 14:20 UTC (permalink / raw)
  To: alsa-devel


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-11-2005 16:20 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-11-05 16:20 
----------------------------------------------------------------------
The "cd" format uses 44.1 Khz while Jack's default sample rate is 48 Khz.

Does arecord work with "-f dat"?

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                          
======================================================================




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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [ALSA - utils 0001251]: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work
@ 2005-07-11 12:40 bugtrack
  0 siblings, 0 replies; 11+ messages in thread
From: bugtrack @ 2005-07-11 12:40 UTC (permalink / raw)
  To: alsa-devel


The following issue has been SUBMITTED.
======================================================================
<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-11-2005 14:39 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.
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
07-11-05 14:39 Robert_Schulze New Issue                                    
======================================================================




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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-09-28 11:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-28 11:21 [ALSA - utils 0001251]: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work bugtrack
  -- strict thread matches above, loose matches on Subject: below --
2005-07-19 15:32 bugtrack
2005-07-14 16:04 bugtrack
2005-07-14 15:06 bugtrack
2005-07-14  9:06 bugtrack
2005-07-14  9:02 bugtrack
2005-07-12 15:29 bugtrack
2005-07-12 10:52 bugtrack
2005-07-12  9:57 bugtrack
2005-07-11 14:20 bugtrack
2005-07-11 12:40 bugtrack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.