Showing posts with label raspberry pi 4. Show all posts
Showing posts with label raspberry pi 4. Show all posts

Raspeberry Pi updates


Open the Terminal app on your Raspeberry Pi, then run each command below:

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install -y rpi-chromium-mods
sudo apt-get install -y python-sense-emu python3-sense-emu
sudo apt-get install -y python-sense-emu-doc realvnc-vnc-viewer

Raspberry Pi Recording Audio

Raspberry Pi Recording Audio

At least with the CM-Headphone type adapter, you can also record audio.
 arecord --device=hw:1,0 --format S16_LE --rate 44100 -c1 test.wav

Will record signed 16-bit (S16_LE) audio at 44100 Hz (--rate 44100) mono (-c1) audio to test.wav. We've noted that any audio input will be echoed out the speakers as well

You can have a little VU meter show up if you add to the-V mono command line. Press control-C to quit
 
Once you're done recording you can play back with
aplay --device=plughw:1,0 test.wav