Subject: Re: [linux-audio-user] Recording from SPDIF with Audiophile
From: Tommi Sakari Uimonen (tuimonen_AT_cc.hut.fi)
Date: Mon Jan 12 2004 - 23:53:11 EET
Hi,
try putting this to ~/.asoundrc
pcm.spdif_capture
{
type plug
ttable.0.8 1
ttable.1.9 1
slave.pcm {
type hw
card 0
device 0
}
}
ecasound -i alsa,spdif_capture -o alsa,plughw:0
(I assume that Audiophile is card number 0)
or -o test.wav, but with the former you can monitor your spdif from the
analog outputs (of course you can do the same with envy24control and
setting the hw outs to spdif from the patchbay/router)
If you don't know ecasound yet, try:
arecord -D spdif_capture -f dat > test.wav
Remember to set the clock input to spdif from envy24control->Hardware
settings->Master clock->S/PDIF In, otherwise you get strange results or
no sound at all.
I have Audiophile 2496 and have successfully recorded through spdif, also
together with analog inputs, but that needs more .asoundrc magic:
pcm.2496_test
{
type plug
ttable.0.0 1
ttable.1.1 1
ttable.2.8 1
ttable.3.9 1
slave.pcm {
type hw
card 1
device 0
}
}
then:
arecord -D 2496_test -c 4 -r 48000 -f S32_LE > test.wav
gives you 4 channels.
Tommi Uimonen
This archive was generated by hypermail 2b28 : Mon Jan 12 2004 - 23:53:42 EET