最終更新:2022-11-29 (火) 12:32:05 (67d)  

speaker-test
Top / speaker-test

command-line speaker test tone generator for ALSA

メモ

  • 左右を試す: -c2

  • speaker-test 1.1.3
    
    Playback device is default
    Stream parameters are 48000Hz, S16_LE, 1 channels
    Using 16 octaves of pink noise
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size range from 192 to 2097152
    Period size range from 64 to 699051
    Using max buffer size 2097152
    Periods = 4
    was set period_size = 524288
    was set buffer_size = 2097152
     0 - Front Left
    Time per period = 10.951065
     0 - Front Left
    Time per period = 10.938699
     0 - Front Left
    Time per period = 10.935455
    

help

  • speaker-test 1.2.2
    
    Usage: speaker-test [OPTION]... 
    -h,--help	help
    -D,--device	playback device
    -r,--rate	stream rate in Hz
    -c,--channels	count of channels in stream
    -f,--frequency	sine wave frequency in Hz
    -F,--format	sample format
    -b,--buffer	ring buffer size in us
    -p,--period	period size in us
    -P,--nperiods	number of periods
    -t,--test	pink=use pink noise, sine=use sine wave, wav=WAV file
    -l,--nloops	specify number of loops to test, 0 = infinite
    -s,--speaker	single speaker test. Values 1=Left, 2=right, etc
    -w,--wavfile	Use the given WAV file as a test sound
    -W,--wavdir	Specify the directory containing WAV files
    -m,--chmap	Specify the channel map to override
    -X,--force-frequency	force frequencies outside the 30-8000hz range
    -S,--scale	Scale of generated test tones in percent (default=80)
    
    Recognized sample formats are: S8 S16_LE S16_BE FLOAT_LE S24_3LE S24_3BE S32_LE S32_BE