Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I simply convert audio from Devialet to Linux command line?
#3
In which gives me:

Code:
$ arecord -L | tail -n 9
sysdefault:CARD=E20
    Expert Pro USB Audio 2.0, USB Audio
    Default Audio Device
front:CARD=E20,DEV=0
    Expert Pro USB Audio 2.0, USB Audio
    Front output / input
usbstream:CARD=E20
    Expert Pro USB Audio 2.0
    USB Stream Output

Which in turn made me try the following:
Code:
$ arecord -d 10 -D usbstream:CARD=E20 --disable-resample --disable-format -t raw output.raw
ALSA lib pcm_usb_stream.c:503:(_snd_pcm_usb_stream_open) Unknown field hint
arecord: main:831: audio open error: Invalid argument

This gave me no error and empty output( 15 MB of zeroes )
Code:
$ arecord -d 10 -D default -f S32_LE -r192000 -c 2 -t raw output.raw
Recording raw data 'output.raw' : Signed 32 bit Little Endian, Rate 192000 Hz, Stereo
$ ls -lAh output.raw
-rw-r--r-- 1 user user 15M Jul 27 08:43 output.raw

The entire file has zeroes only; minor snippet below, I can hear music from the turntable through the Devialet Expert Pro, so this must be the wrong `-D`?
I also tried `default:0`, `default:1`, `default:2`, as individual values for `-D` none of those options suffixed `:[0-9]` work.
Code:
0025eda0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0025edb0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0025edc0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0025edd0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0025ede0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0025edf0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0025ee00: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0025ee10: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0025ee20: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0025ee30: 0000 0000 0000 0000 0000 0000 0000 0000  ................

This works to a certain extent
Code:
arecord -d 10 -D sysdefault:CARD=E20 -f S32_LE -r192000 -c 2 -t raw output.raw
Random range of lines from output.raw below
Code:
005088d0: 0000 5cf6 0000 9cf7 0000 04f7 0000 1ef8  ..\.............
005088e0: 0000 8cf7 0000 66f8 0000 e8f7 0000 76f8  ......f.......v.
005088f0: 0000 12f8 0000 57f8 0000 0af8 0000 18f8  ......W.........
00508900: 0000 daf7 0000 c6f7 0000 8df7 0000 6ef7  ..............n.
00508910: 0000 32f7 0000 19f7 0000 d6f6 0000 cbf6  ..2.............
00508920: 0000 84f6 0000 87f6 0000 42f6 0000 4df6  ..........B...M.
00508930: 0000 0ef6 0000 1af6 0000 e4f5 0000 e8f5  ................
00508940: 0000 b9f5 0000 b0f5 0000 83f5 0000 6af5  ..............j.
00508950: 0000 39f5 0000 11f5 0000 d7f4 0000 a2f4  ..9.............
00508960: 0000 5ef4 0000 1ef4 0000 d6f3 0000 8df3  ..^.............
00508970: 0000 49f3 0000 fdf2 0000 c7f2 0000 7cf2  ..I...........|.
00508980: 0000 5df2 0000 18f2 0000 14f2 0000 def1  ..].............
I also tried the following
Code:
$ arecord -d 10 -D sysdefault:CARD=E20 -f DSD_U32_LE -r192000 -c 2 -t raw output.raw
Recording raw data 'output.raw' : Direct Stream Digital, 4-byte (x32), little endian, oldest bits in MSB, Rate 192000 Hz, Stereo
arecord: set_params:1352: Sample format non available
Available formats:
- S8
- U8
- S16_LE
- S16_BE
- U16_LE
- U16_BE
- S24_LE
- S24_BE
- U24_LE
- U24_BE
- S32_LE
- S32_BE
- U32_LE
- U32_BE
- FLOAT_LE
- FLOAT_BE
- FLOAT64_LE
- FLOAT64_BE
- MU_LAW
- A_LAW
- IMA_ADPCM
- S20_LE
- S20_BE
- U20_LE
- U20_BE
- S24_3LE
- S24_3BE
- U24_3LE
- U24_3BE
- S20_3LE
- S20_3BE
- U20_3LE
- U20_3BE
- S18_3LE
- S18_3BE
- U18_3LE
- U18_3BE
What is the default format of this device?
How unprocessed is it possible to tap this information?
Reply


Messages In This Thread
RE: How can I simply convert audio from Devialet to Linux command line? - by ggt667 - 27-Jul-2021, 17:37

Forum Jump:


Users browsing this thread: 1 Guest(s)