Create a Controller to Plug and Play!
Up to 1 hour
All ages
What Will You Learn?
Learn to create your own guitar sounds in Scratch or Soundplant and turn cardboard into a musical instrument!
Option 1: Use "Play Note" in Scratch
Step 1
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. See picture 1 for attaching white wires.
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.
Step 2
With this option, you’ll want to use the “set instrument” block at the start of the game as in 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 like in picture 2 and 3.
Step 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 like in picture 3.
Step 4
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 like in picture 4.
If you programmed your guitar with this option, you can skip to creating your guitar 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!
Step 1
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 like in picture 1.
Step 2
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?!)Â
Step 3
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.”Â
If you programmed your guitar with this option, you can skip to creating your guitar now!
Option 3: Upload guitar sounds with mp3 files
Step 1
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 in picture 1.
Step 2
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 like in picture 2.Â
Step 3
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 like in picture 3. Â
Step 4
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 as in picture 4. slower, echo, robot, louder, softer, reverse like in picture 3. Â
Step 5
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
Step 1
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.)
Step 2
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!
Step 3
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 like picture 2.
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
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!
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.
A few ideas to inspire you:
- Cut a guitar shape out of cardboard, add change for key presses like in the Makey Makey instructions (picture 1).
- Use foil along the neck of the guitar.
- Check out Josh Burker’s workshop for a ton of whimsical designs and look at these too!
- Craft a guitar and use copper tape for the strings, wire each guitar string to a key press!
- More advanced wiring is used in this Cardboard Heavy Metal Guitar .
- Even More advanced: Look at this guide Turtle Art Mashup Instruments by Christopher Sweeney. (Instructables link coming)
Wire up all the keys and plug in the USB cable, now you are ready to Makey Makey music!
Makey Makey Classic Inventor's Kit
The original Makey Makey Classic – Named one of Consumer Reports’ “Best Tech Toys of 2014,” “Best of Toy Fair 2014” by Popular Science, and a finalist for Toy of the Year 2016.
Makes STEM Education fun! Start out easy with a banana piano. First setup takes seconds. Then make game controllers, musical instruments, and countless inventions. Advance to additional inputs and multi-key remapping up to 18 keys. Ages 8 to infinity.Â
Turn everyday objects like bananas into touchpads!
Connect the world around you to your computer! Setup takes just seconds.
Just plug, clip, and play! No programing knowledge needed. No software to install. Works with Mac and Windows.
1000s of possibilities! Draw your own game controller, sneak a cat selfie, and dance like never before.
Ages 8 to infinity.
Visit the Makey Makey website for tons of projects, educator resources, apps and more.
Materials:
- Makey Makey
- Scratch or Soundplant
- cardboard
- conductive tape or foil
- quarters
- nickels