I am running the latest Raspbian Stretch and there is no screen attached (running headless).
All commands are via PuTTY ssh console.
I could do the following after plugging in the mic:
So the arecord command produces a wav file and if I copy this to my PC I can play it with VLC, but the sound is very low volume and very distorted and noisy when playback volume is raised to actually hear anything...
Code: Select all
$ lsusb -t /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M |__ Port 4: Dev 5, If 1, Class=Audio, Driver=snd-usb-audio, 12M |__ Port 4: Dev 5, If 2, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 4: Dev 5, If 0, Class=Audio, Driver=snd-usb-audio, 12M $ arecord -l **** List of CAPTURE Hardware Devices **** card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 $ arecord -D plughw:1,0 -d 3 tes2t.wav Recording WAVE 'tes2t.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono $ ls -l t* -rw-r--r-- 1 pi pi 24044 Feb 2 17:00 tes2t.wav
I have tried to find a way to increase the recording level but failed, none of the files referenced in the various pages I found actually exist on my RPi3.
So is there some kind of extra installation one should do in order to be able to record sound properly?
And get the config files in place that can set the volume (and quality).
And why is it saying 8bit while recording? Surely a better quality should be available than 8 bit?