[darkice] Re: Cant Get Creative E-MU USB audio interface to work

  • From: Hungerburg <pch13@xxxxxxxxx>
  • To: darkice@xxxxxxxxxxxxx
  • Date: Fri, 1 Apr 2016 11:57:52 +0200

Am 2016-04-01 um 11:31 schrieb Ben Edwards:

    # this section describes the audio input that will be streamed
    [input]
    device          = hw:1,0    # Alsa soundcard device for the audio input
    sampleRate      = 44100     # sample rate in Hz. try 11025, 22050 or 44100
    bitsPerSample   = 16        # bits per sample. try 16
    channel         = 2         # channels. 1 = mono, 2 = stereo


Alsa bells and whistles: Possibly just set "device = plughw:1,0"

Test with: arecord -vv -Dplughw:1,0 -fS16_LE -c2 -r44100 /tmp/plug.wav


More involved: If you put below stanza into your ~/.asoundrc file you might be able to use "s16" as input device

pcm.s16 {
    type        dsnoop
    ipc_key     123456
    slave {
        pcm     "hw:1,0"
        format  "S16_LE"
        rate    44100
    }
    hint {
        show on
        description "Sample Width S16_LE"
    }
}

Test with: arecord -vv -Ds16 -fS16_LE -c2 -r44100 /tmp/s16.wav

--
peter

Other related posts: