So far, 90% of this module I’ve learned using YouTube. To my tutors, this is why I have not bothered coming in as I feel I’m learning more independently (probably as each of us learn at different speeds).
For my project, the physical aspect of the air guitar, I’m waiting on parts to arrive. So, whole waiting I’ve concentrated on the visual aspect, mainly through more YouTube videos.
Set of 20 videos a showing how to do this…
Yep, coded that myself…following the Gents instructions.
Moving on #sillypun I’m aiming to have full control over the balls. They will pause when no sound, and move when sound.
In light of my current project, The Air Guitar Gloves, I feel the need to express all.
Introducing The Air Guitar Gloves
Following on from other items of multi purpose, I wanted to create a toy that is fitting for children as well as fitting for the budding musician. As a lover of guitar hero I imagined a world without an actual controller. Or more apt, a world where air guitar actually played music. Using a teensy board, several wires and a handful of switches, I set about programming the notes into the tiny device to turn it into a MIDI device capable of playing the first five frets on all strings for a standard four string bass guitar.
What had to happen then was testing (see other CMT related blogs). Testing saw the requirement for more usable switches. Touch switches were sourced, and have proven to be a much more suitable fret board adjuster and string activator than a simple push button. Alas, these require some code adjustment as they require 3V power to insure the button reads as active. The code is currently set to INPUT_PULLUP which means the signals are reversed and LOW means the note plays. Now the code needs to be adjusted so that LOW means off. Well, that was the theory behind them. Safe to say they didn’t work. So I changed back to oroginal push switches.
To wire the switches in, gloves were sourced and the switches were stitched to the outside while the wiring threaded through the interior. One ground wire that connects to all the switches and one individual activator/pin wire for each individual and relevant button.
Think Michael Jackson wearing two gloves while mimicking Phil Lynott playing Smoke On The Water.
I’m hoping this to be altered in the future to become easier to use. To be wireless and have the coding reduced to clear. The incorporation of MaxMSP to help with the fluidity of the gloves including wireless application and self sustained sound, would be awesome.
It works. All four string notes and frets work. Obviously being in uni means my leds are home but as a MIDI device to play air guitar…it works.
So, patented here…air guitar tab:
‘I believe in a thing called love’ – The Darkness
Full prototype device:
TheMyTFozzy Air bass mk1:
And the streams of coding that created this ‘Dragon’s Den’ wannabe:
Next step. The build of gloves and harness for the board. As the board isn’t my property I’ll use a Breadboard to connect it to and I’ll hot glue the cables in. That way, as the board and cables are mine, the teensy can be removed and I can put my own on when it arrives. Otherwise it would be soldered up and put into a more sleeker design but for uni project purposes I want it to be on show.
Note to Matt, I am not a performer so if you want a demonstration of this Andy Gregory has agreed to play it…in actual fact, he has stressed his interest in creating something for me to be on the side line playing.
Safe to say this is my favourite module of this course and really hoping to do more in the coming years.
Posted on March 21st 2017.
So, building an air guitar, waiting on the bits to arrive so u can assemble it I stumbled upon an idea.
I’m adding a knight rider style light show to each string. Meaning, when a string is being played, a set of leds will blink like the knight rider light.
Note to Aidan, I purchased leds with pre wired in resistors.
So far I got this:
I’m gonna go simple and have 4 leds per string, then everything is in 4s.
I’ve done it. Spent a few days but I now have a MIDI controllable bottom E and first fret selector for my gloves/jacket.
Watched videos on YouTube about multiple buttons but they were getting me know where. I found the bounce.h to be a fantastic was to simplify button input.
Basic circuit to…
Took me a while to realise that having an if statement inside an if statement meant I could have a closure statement of else containing the two ifs I needed. Also, as you’ll see in my code, there is only an added buttonState == LOW where the requirement for the fret to increase by 1.
Now, I’ll duplicate the buttons, add a few extra for other frets. Name them all separately so I can manipulate them separately and then… Find more problems to overcome.
Like my current lack of buttons.
Spent all my lecture time today working on the code to get the button to play an E. Did it. Perfect.
Brought teensy home so I can continue working on my project and when I finished the install or teensy files to arduino it decided to run the loop constantly and have the midi button pressed when it isn’t pressed.