Sunday, June 1, 2014

speaker test

スピーカの配線を確認するためのコマンドがあるそうなので。

# apt-cache search alsa-util
alsa-utils - Utilities for configuring and using ALSA

すでにインスコはされてました。

デバイスを確認

# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default:CARD=M20
    M2Tech USB Audio 2.0, USB Audio
    Default Audio Device

実際のテスト
-c でチャンネル数
-t でトーンを選ぶ

# speaker-test -Ddefault:CARD=M20 -c2 -tsine

そんな感じ。