I was always fascinated by this relatively new instrument the "Hang" but have never actually seen it in real life, only in videos. I know instruments sound better live than in a video so I wanted to create my own with my CPX.
Hardware and AestheticsI used a plastic bowl I found at the dollar store to be my main harness for my project. I tinkered around with different materials to work as the sensors and ended up using aluminum foil which is an excellent conductor, as a matter of fact a bit too good. It was causing nearby buttons to be activated so I had to distance them apart and inside of the bowl there is actually nothing connecting the alligator clips the aluminum foil! The conductivity is so strong that it goes right through the plastic bowl and makes the connection to the clips that are simply touching the bowl. I also used a portable speaker to be the output of the sounds.
ImagesI used circuit Python to code my CPX. I looked up how to make appropriate WAV files to be used for the music and associated them to each of the six touch sensors of the CPX. I also had code to play the sounds through a speaker output if connected otherwise it'll play through the small speaker on the CPX which isn't ideal as it barely has any volume and no bass. For the sounds clips to be truly heard the bass is very important.
VideosCreditsCode I used to make this project:
Python --– examples --- circuitplayground_play_file_buttons
Python --– examples --- circuitplayground_touch_pixel_rainbow
Comments
Please log in or sign up to comment.