Answer the question
In order to leave comments, you need to log in
Why can't ALSA see the microphone?
Good afternoon!
There was a need to broadcast sound from a microphone to the Internet using icecast.
On Ubuntu server 20.04 were installed:
[general]
duration = 0 # duration in s, 0 forever
bufferSecs = 1 # buffer, in seconds
reconnect = yes # reconnect if disconnected
[input]
device = hw:0,0 # `pulse' for Pulseaudio
sampleRate = 22050 # sample rate 11025, 22050 or 44100
bitsPerSample = 16 # bits
channel = 2 # 2 = stereo
[icecast2-0]
bitrateMode = abr # variable bit rate (`cbr' constant, `abr' average)
quality = 1.0 # 1.0 is best quality
format = mp3 # format. Choose `vorbis' for OGG Vorbis
bitrate = 16 # bitrate
lowpass = 5000
sampleRate = 22050
server = ip.address # or IP
port = 8000 # port for IceCast2 access
password = ****** # source password to the IceCast2 server
mountPoint = live # mount point on the IceCast2 server .mp3 or .ogg
name = HGL d.30 Live
description = Service translation
genre = live
arecord -d 60 rec
[email protected]:/home/thescs# sox rec -n stat
sox WARN wav: Premature EOF on .wav input file
Samples read: 132770
Length (seconds): 16.596250
Scaled by: 2147483647.0
Maximum amplitude: 0.000000
Minimum amplitude: 0.000000
Midline amplitude: 0.000000
Mean norm: 0.000000
Mean amplitude: 0.000000
RMS amplitude: 0.000000
Maximum delta: 0.000000
Minimum delta: 0.000000
Mean delta: 0.000000
RMS delta: 0.000000
Rough frequency: -2147483648
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question