Nav

How to change the volume on the Pi Cap

The Pi Cap is a great way to add sound to your Pi Zero projects or to create interactive sound installations with your Raspberry Pi. If you want to change the volume, you can do this easily with the help of alsamixer. In this tutorial, we are going to show you how.

We use SSH and the terminal to do this. If you don’t want to use SSH and the terminal, you can also use a monitor, keyboard and mouse connected to your Raspberry Pi to change the volume.

Find out how to change the tracks on the Pi Cap

How to change the tracks on the Pi Cap

Learn how to the run Pi Cap script at start-up

How to run Pi Cap script at start-up

Set the Pi Cap either as a touch or proximity sensor

How to make a proximity sensor with your Pi Cap

Step 1

Setting up your Pi Cap with a Pi

If you haven’t set up your Pi Cap then make sure to complete one of our set up tutorials first:

Setting up your Pi Cap on the Raspberry Pi 1, 2 or 3

Setting up your Pi Cap on the Raspberry Pi Zero

Links

Step 2

Use alsamixer

Once you’ve SSH’d into your Pi, type “alsamixer”. This will bring up an interface within the terminal which will allow you to set the volume of the Raspberry Pi. Simply press the up and down arrow keys to either increase or decrease the volume. When you are done, press ESC.

Links

Step 3

Run the code

Now enter “PiCapExamples/Python/picap-touch-mp3-py/run” to run the touch-mp3 code. If you touch the electrodes, you can play the tracks with the new adjusted volume!

Here, we tested our changes with the Python code, but the same method will work for the C++ or Node.js examples too.

Let us know if you have any questions. You can send us an email at info@bareconductive or contact us via Instagram or Twitter.

Links
change volume on Pi Cap

Suggested Tutorials

Find out how to change the tracks on the Pi Cap

How to change the tracks on the Pi Cap

Learn how to the run Pi Cap script at start-up

How to run Pi Cap script at start-up

Set the Pi Cap either as a touch or proximity sensor

How to make a proximity sensor with your Pi Cap

Categories

Bare Conductive

Instructions

Pi Cap

Date Posted

2018/08/08

Rating

0.00 avg. rating (0% score) - 0 votes