Nav

How to play more than 12 tracks with the Touch Board

Find out how to play more than 12 tracks with the Touch Board

The 12 electrodes on the Touch Board allow you to play 12 tracks when you touch each electrode. If you want to play more than 12 tracks, then there are two methods to consider: The first is playing random tracks from a folder for each electrode, and the second method is connecting two or more Touch Boards together. In this tutorial we will explain both methods to you.

Learn how to use Electric Paint with LEDs

How to use Electric Paint with LEDs

Find out how to get polyphonic tracks with the Touch Board

How to get polyphonic playback with the Touch Board

Ready to put your own code on the Touch Board? Follow this tutorial to get started.

Setting up your Touch Board with Arduino

Step 1

Setting up the Touch Board

Before you get started, you first need set up the Touch Board. You can do this by following the Touch Board set-up tutorial.

There are two methods to explore. For the first method, we are going to use the “Random_Touch_MP3.ino” sketch. First, open the sketch in File->Sketchbook->Touch Board Examples in the Arduino IDE and upload it to your Touch Board. When you have uploaded the code, turn the board off and insert its SD card into your computer.

Links
Touch Board Arduino next to computer screen

Step 2

Prepare the SD card

With this sketch, we play random files from a folder when pressing an electrode. Contrary to the Touch_MP3 sketch, you don’t have to give your tracks specific names. Instead you have to create 12 folders, labeled “E0”, “E1”, “E2” and so on, up to “E11”. Each folder is accessed when the respective electrodes is touched. In each of these folders you can add as many tracks as you want, on the right are some examples.

Links

Step 3

Insert SD card and touch the electrodes

After you have ejected the SD card, insert it into the board, connect the board to speakers and turn the board back on. If you now touch the electrodes, it will play a random track from the respective folder!

Links

Step 4

Connect two or more Touch Boards together

Another method to play more than 12 tracks with the Touch Board is by connecting another Touch Board to the first one. There are two codes to upload. For the main board, select “primary_mp3_boardfrom File->Sketchbook->Touch Board Examples -> multi_touch_board_mp3 and hit upload. For the second board, select “secondary_mp3_board” from the same folder location.

When you have uploaded the codes you need to connect the boards together, but make sure to turn the boards off first. You can find the wiring diagram in our GitHub repo. Later, you will only need to power the first board, the second board receives power via the 5V pin.

Links

Step 5

Prepare the SD card

Insert the SD card from the primary Touch Board into your computer. For this method all the tracks are saved on the primary board’s SD card. When you connect two boards together, you can play up to 24 tracks. All of these need to be on one SD card, named from TRACK000.mp3 to TRACK023.mp3.

Links

Step 6

Touch the electrodes

After you have ejected the SD card, put it back into the primary Touch Board. If you now power the first board, you are able to play the first 12 tracks from the primary Touch Board and the second 12 tracks from the second Touch Board. You can extend this method to connect up to 7 Touch Boards together. You can also use a similar code for the MIDI function, have a look at the Sketchbook folder or at the GitHub repo!

Links
Arduino Touch Board and speaker for 12 tracks touch board

Step 7

Troubleshooting

We would love to see your creations, so feel free to send some images or videos either to info@bareconductive.com or via Instagram or Twitter.

Also if you have any problems, check out our troubleshooting guide or send us your questions.

Links

Suggested Tutorials

Learn how to use Electric Paint with LEDs

How to use Electric Paint with LEDs

Find out how to get polyphonic tracks with the Touch Board

How to get polyphonic playback with the Touch Board

Ready to put your own code on the Touch Board? Follow this tutorial to get started.

Setting up your Touch Board with Arduino

Categories

Bare Conductive

Make

Touch Board

Date Posted

2018/07/10

Rating

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