Creating a Makey Makey Guitar in Scratch or Soundplant!

by MakeyMakey in Teachers > 8

4568 Views, 10 Favorites, 0 Comments

Creating a Makey Makey Guitar in Scratch or Soundplant!

Screen Shot 2019-06-10 at 11.57.46 AM.png

Learn to create your own guitar sounds in Scratch or Soundplant and turn cardboard into a musical instrument!

Supplies

Makey Makey Classic, Scratch or Soundplant, cardboard, conductive tape or foil, quarters, nickels

Option 1: Use "Play Note" in Scratch

938d8ce6330108b3716f13cc70cb7158513265731207428365.png
f6a2a5c005d20703ed1f90537da659ec13855941733414572870.png
06dc361a081f4011509ed915a62e8a5449216239540134446408.png
06702ebb03a5bccde916f1f5d73553315511409289235453955.png

If you want to make a program that works with the key presses WASDFG, flip your Makey Makey over and use the small white jumper wires to attach to your alligator clips and the conductive spots on your guitar. (Picture 1)

You have multiple options for coding a guitar in Scratch. If you know about musical notation from playing a piano, you might find using the midi notes in Scratch a fun way to code your guitar.

With this option, you'll want to use the "set instrument" block at the start of the game. (Picture 2)

There are 21 instruments to choose from in Scratch and instrument 5 is an electric guitar. Add the "set instrument" block to the "When flag clicked" block to set your sprite to an electric sound! (Picture 2 and 3)

If you want the guitar notes to play when you press WASDFG, you will add a "when __ key pressed" for each note you want to program in your workspace. Attach a "play note __ for __ beats" to each key press block. (Picture 3)

To change each note, click into the play note variable and a keyboard will pop up like in picture 4. Choose the key note you would like to program. Use the arrow keys to adjust the octave. (Picture 4)

If you programmed your guitar with this option, you can skip to step 5 now!

Educator Tip:

Wondering what the 60 means in Scratch? This denotes the midi number. Read more about midi notes in Scratch here.

Option 2: Use a Guitar Sprite in Scratch!

938d8ce6330108b3716f13cc70cb715846645339617276356998.png
a1e8d05244621a012686cae44a312f8c54175528249403174798.png
a3606b7cb9360cc5842407370cd289aa54450296156690107178.png

If you want to make a program that works with the key presses WASDFG, flip your Makey Makey over and use the small white jumper wires to attach to your alligator clips and the conductive spots on your guitar. (Picture 1)

This is the easiest way to program an electric guitar in Scratch! Choose an electric guitar from the sprite menu and a full scale of guitar notes will magically appear in the sound tab! (Okay, it isn't magic, but still it's cool, right?!) (Picture 2)

To program your keys, just drag a "when __ key pressed" for each note you want to program into your workspace and attach a "play sound __ until done" to each "When __ key pressed." (Picture 3)

If you programmed your guitar with this option, you can skip to step 5 now!

Option 3: Upload Guitar Sounds With Mp3 Files

39de7a6e022c7146935f7c269a4a32ec0658355834728675482.png
ad580442565b4405629dda7c24cbeb1412448469536550963056.png
69a6325e105413740d6a687508e5763f48173506924609507191.png
3833977cf1f3a38c3f0fceeb34ab7bbe53339574788966503229.png

You can add your own guitar sounds too by either playing a guitar and recording it, or looking for mp3 or wav files you can upload to your guitar sprite.

Look for a good guitar chord mp3 that is usable with a creative commons license, or available for free reuse. (In other words, make sure you have the right to use the file!)

"Free Sound" has a good bank of guitar chords you can download for your games. Some files will upload to Scratch, but some won't. Download the mp3 or wav files from the website. (Picture 1)

To add an mp3 or wav file to Scratch, click on the "upload" icon in the Scratch Sound pop-up menu, search for the file, click on it, and import it. (Picture 2)

Once the sound is uploaded, you may want to edit the sounds as needed. You can shorten sounds by clicking on "trim" and adjusting the red areas to trim what you do not want. You can also adjust the full sound clip with these "effects": faster, slower, echo, robot, louder, softer, reverse. (Picture 3)

To program your freshly uploaded sound, add a "when key ___ pressed" block, and add a "play sound ____ until done." Make sure you click the arrow inside the block and choose the sound you just uploaded. Repeat for each key press. (Picture 4)

If you made a guitar program that works with the key presses WASDFG, flip your Makey Makey over and use the small white jumper wires to attach to your alligator clips and the conductive spots on your guitar. (See previous steps if needed)

If you programmed your guitar with this option, you can skip to step 5 now!

Option 4: Use Soundplant to Control Sound Effects

adding sound to soundplant4528421761798128635.gif
Adding a second sound7892361481888012011.gif
938d8ce6330108b3716f13cc70cb715846727473965383884387.png

Soundplant is a free keyboard mapping software by Marcel Blum. It allows you to add any mp3 or wav file sound to every key on your keyboard. It's an excellent way to create a Makey Makey midi guitar without coding.

If you have a computer that can download applications, make sure to ask your teacher to download this software. (If you have a Chromebook, you'll have to program your guitar with a different option.)

Once you have the mp3 or wav files you want for your guitar, drag each file to the key press you want to program. When you drag your file to the key in Soundplant, it should highlight the key color like in picture 1. When you drag the next sound to a different key, it will be a different color. The sound wave also appears in the blue box at the bottom of the application. You can shorten the sound by dragging the black arrow on either side of the sound wave. Edit the sound as needed, and then get ready to plug in your Makey Makey!

You can use the arrow keys and/or WASDFG! If you use the back of the Makey Makey, be sure to use your white jumper wires to plug into the left black header on your board (picture 3).

Educator Tip:

Soundplant is free and safe to use! Make sure you download it to your computer ahead of time. Sorry Chromebook folks, this is an application that requires a download.
Here are some free and fun guitar riffs you could pre-download for students.

Craft Your Own Physical Guitar

b6aae42c4b3fc55e1dc4099600a740f317704375897511471954.png
772fd75afbb47b139348ad5503cacc2f42213035834729614013.png
785d1ee42f558d73b654b578cf73a9d345977838763914672995.png
9a5f70ef9aa331eadcb8bb8e2e0a2e9456575674868538877224.png

There are lots of great examples of Makey Makey guitars in the world! My daughter and I made these examples just for this guide. My heavy metal guitar is a more advanced build, while her ukulele is a great build for beginners!

Picture 1: Front of my Heavy Metal guitar with 11 inputs (Programmed in SoundPlant.)

Picture 2: Back of my Heavy Metal guitar (I wrapped conductive tape from the dimes on the front to the back so I could plug my alligator clips on the back of my guitar. I also used the tape that was on my Amazon box for earth- did you know the black tape on an Amazon box is conductive? Cool, right?) I used regular tape to hold all the wires in place.

Picture 3: My 9 YO's 4 string Ukulele (Programmed in Scratch.)

Picture 4: Back of my 9 YO's Ukulele (My daughter made her guitar with HVAC tape for earth and conductive fabric tape as the strings of the guitar.)

Here are a few more ideas to inspire you:

Educator Tip:

Show kids a lot of examples so they'll try to make a very unique design! Push them to craft their own guitar that means something to them! My 9 YO actually modeled her cardboard ukulele after her own real ukulele!