Halloween Voice changer with Raspberry Pi

 

Make your own voice changer

This tutorial show you how to make your own customizable voice changer for Halloween. At the end you will have a very compact voice changer with multiple voices, unless industrial commercial voice changer this one is open source so you can make your own voice.

What you will need:

  • 1 Raspberry PI Zero (it will also work with raspberry PI 2 or 3 and 3B 3B+, but the zera is smaller and consumes less battery.

  • 1 micro SD card 8Go or bigger

  • 1 micro USB cable

  • 1 MIC+ sound card it is perfect for the job as it has one integrated microphone, and two onboard speakers and it is the size of a Raspberry Pi ZERO

  • 1 Halloween mask, here we will choose a mask with a solid plastic front to hold the Raspberry Pi

  • Play dough (modeling clay)

  • Double sided tape

  • Any metal wire

2018-10-04 12_06_23-.png

Pre-requists:

  • Basic computer use

  • Time: 1h

Step by step:

-Step 1: Download archive here

-Step 2: unzip it and copy the image file somewhere on your desktop (it could take a few munites)

-Step 3: Burn the .img file on the SD card, on windows you can use Win32 disk imager, load the image file, select your SD card units drive (here G:) then click on Write

2018-10-02 15_22_30-Win32 Disk Imager.png

-Step 4: Take the MIC+ card and spearate the microphone from the main board

Use a cutter to weaken the part shown of the picture, give at least 10 pass of the blade above the little holes, then use your finger to apply pressure, try not to push too strongly of the microphone component (metalic rectangle). Then connect the cable as shown on the picture below:

2018-10-02 17_35_24-MIC+ apsberry PI DAC + SPEAKER onboard + Microphone for voice assistant — Raspia.png

-Step 5: Insert the SD card burnt on step 3

-Step 6: put MIC+ on top of the Raspberry PI Zero, and plug it to the USB charger, it will take 2minutes to boot, when ready the led will turn ON:

-Step 7: push the yellow button to switch between preset voices, the talk into the microphone, it the Mic is too close you wil have echo, so position the microphone behind the speaker.

-Step 8: Time to fit into your Halloween mask use Play dough this will isolate the microphone from the speaker feedback to avoid Echo, another trick is to use oldering wire to position the microphone the closer from your mouth and further away from the speakers

 

IMG_20181003_113505.jpg

Going further

  • Maybe you want to change the sensitivity of the microphone or power of the speaker:

    • you can directely edit the following files on the SD:

      • sudo nano /home/pi/l1
      • The script look like that:
        echo "************l1*************"
        amixer set Master 98%
        amixer set Micro 4%
        play -q -V0 "|rec -q -V0 -n -d -R riaa bend pitch -200"
      • Change the Master % for speakers volume, Micro % gain, then you can play with the soc parameters

  • You can choose not to install the pre cooked image, you need to download the lattest Raspian, then install the MIC+ sound card, then install sox:

    • apt-get sudo install sox