Skip to Content
Learning Raspberry Pi
book

Learning Raspberry Pi

by Samarth Shah, Serge Schneider
April 2015
Beginner
258 pages
5h 30m
English
Packt Publishing
Content preview from Learning Raspberry Pi

Tips and tricks

The previous section has the solution to most of the challenges that you might face while using this book. You should not limit your Raspberry Pi learning to what has been covered in this book. This section covers some interesting tips and tricks that will be useful to you.

Play MP3 files

The Raspbian OS contains the standard distribution to play .wav files. However, if you want to play MP3 files, install the mpg321 library by executing the following command in the terminal:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mpg321

You can play MP3 files with the following command:

mpg321 "my file.mp3"

Remove boot messages

Go to the Raspberry Pi terminal and enter the following command:

cd /boot/
sudo nano cmdline.txt

At the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering the Raspberry Pi

Mastering the Raspberry Pi

Warren W. Gay
Raspberry Pi Hacks

Raspberry Pi Hacks

Ruth Suehle, Tom Callaway

Publisher Resources

ISBN: 9781783982820