Muse.assist: Assistive Acoustic Guitar Strumming Device

by muse-x in Circuits > Assistive Tech

2963 Views, 11 Favorites, 0 Comments

Muse.assist: Assistive Acoustic Guitar Strumming Device

muse.xfinalpic.png
MuseX - Demo April 24th

This device strums an acoustic guitar when prompted by input from an ability switch commonly used by children with Cerebral Palsy. This device was originally created to allow students with CP to participate in a music therapy program and to facilitate their understanding of the production of sound.

Parts List

This list is divided into three sections: the mechanical support structure, the motor/ motor accessories section, and other helpful tools and parts.

Linear Motion System

Motors and Accessories

Other

Create the Device Platform

IMG_5164.jpg
photo 1.JPG
  1. Cut the polycarbonate sheet into two equal rectangles with a minimum width of 2.5 in and a length of at least 6 in.
  2. Wrap each in felt using tape or glue to fix the felt to the polycarbonate.
  3. Adhere the fuzzy side of the velcro to one side of each platform, covering the entire platform.

3D Printing

3D Print (in italics) or order the following printed parts:

  • 1 Motor Holder Base Assembly - Active
  • 1 Motor Holder Base Assembly - Passive
  • 1 Pick Cart
  • 2 Dowel Servo Motor Connectors
  • 2 Belt Rectangles

Assembling the Passive Side

IMG_5163.JPG
2014-04-23 (1).jpg
photo 2.JPG
  1. Attach the pulley to the protruding wall of plastic of the 3D-printed Motor Holder Base Assembly - Passive using the partially threaded screw and an M4 nut. The head of the screw and the pulley itself should face away from the base.
  2. Screw one of the 3D-printed Dowel Servo Motor Connectors onto one of the servo motors using 2 M1 screws and nuts.
  3. Screw the servo motor into the base of the Motor Holder Base Assembly - Passive using 2 M3 screws. Then reinforce this connection to the Assembly base by hot gluing around the base of the servo.
  4. Use 2 Flat Head Socket Cap Screws, M4, 60 mm Length to secure a Linear Rail Shaft Guide/Supports, 8mm diameter to the base. Secure using M4 nuts.
  5. Adhere the spiky side of velcro to the bottom of the 3D-printed Motor Holder Base Assembly.

Assembling the Active Side

IMG_5166.JPG
IMG_5193.jpg
photo 2.JPG
  1. Affix the pulley to the stepper motor's rotating rod; there is a tightening screw on the pulley itself (see the first image).
  2. Attach the stepper motor to the 2 posts of plastic on the 3D-printed Motor Holder Base Assembly - Active using 4 M3 screws.
    • It may be necessary to add two small pieces of felt between the motor and the posts to reduce unwanted noise during strumming. If so, unscrew the M3s and cut out a small piece of felt. Then place it in between the motor and the post and re-screw the motor to the post
  3. Screw one of the 3D-printed Dowel Servo Motor Connectors onto the other servo motor using 2 M1 screws. Make sure that the two connectors are mirroring one another.
  4. Screw the servo motor into the base of the Motor Holder Base Assembly - Active using 2 M3 screws. Then reinforce this connection to the Assembly base by hot gluing around the base of the servo.
  5. Use 2 Flat Head Socket Cap Screws, M4, 60 mm Length to attach one of the Linear Rail Shaft Guide/Supports, 8mm diameter to the base.
  6. Adhere the spiky side of velcro to the bottom of the 3D-printed Motor Holder Base Assembly.

Build the Pick Cart

IMG_5169.JPG
  1. Place the 8 mm bearings into either side of the large hole in the center of the 3D-printed Pick Cart. Secure with a small amount of hot glue around the outside diameter of the flange.
  2. Place the 1/8 in. bearings into either side of the small hole in the protruding rectangle of the 3D-printed Pick Cart. Secure with a small amount of hot glue around the outside diameter of the flange.
  3. Secure the pick into the slot in the cart on the side opposite to the protruding rectangle.
    • Depending on the thickness of the pick you are using, you may or may not need to use a small amount of hot glue or felt to secure it in place.

Rail Assembly

IMG_5172.jpg
IMG_5169.JPG
IMG_5179.jpg
  1. Slide the 8 mm Shaft into one of the linear rail shaft guide on either the active or passive side. Tighten the screw on the side of the shaft guide using a small Allen wrench.
  2. Slide the pick cart onto the 8 mm shaft, ensuring that the protruding rectangle of the pick cart is on the same side of the shaft as the protruding parts of the dowel-servo motor connectors.
  3. Then attach the other side of the 8 mm shaft to the other linear rail shaft guide, and again tighten the screw to secure the shaft using an Allen wrench.
  4. Slide the 1/8 in. Shaft through the hole in one of the dowel-servo motor connectors, then through the appropriate bearings in the pick cart, and finally through the hole in the second dowel-servo motor connector.
  5. Secure the 1/8 in. dowel by tightening a shaft collar onto both protruding ends of the 1/8 in shaft. The shaft collars need to be tightened using an Allen wrench.

Add the Timing Belt

IMG_5165.jpg
IMG_5183.jpg
IMG_5184.jpg
IMG_5185.JPG
  1. Cut the timing belt to make it a continuous strip.
  2. Wrap the timing belt tightly around the Stepper Motor and Timing Pulley. Loop one end slightly past the top of the pick cart and fasten it using one of the 3D-printed belt rectangles and 2 M3 screws.
    • Note: instead of screwing in the belt immediately, consider leaving the belt secured but not overly tightened until the system is adequate.
  3. Then, adjust the belt so that it is tight, but leave a tiny bit of slack in the loop. Take the other end of the loop and repeat the fastening process, this time fastening two layers of belt loop.
  4. If there is a lot of overhang, cut the loop ends to the appropriate length.

Attaching the Device to the Base

IMG_5181.jpg
IMG_5182.jpg
photo.JPG
  1. Cut 2 pieces of velcro that span the length of the 3D-printed base assembly, and attach one to the bottom of either base.
  2. Attach the opposite side of the velcro to the felt bases that you built previously.
  3. Secure each 3D printed base assembly to a felt base. Make sure they are aligned.
  4. Using the Irwin Quick Grip clamps, clamp the felt bases to either side of the guitar's sound hole, extending outwards in the long direction.

Setting Up/Consolidating the Electronics

Muse.x Fritz Picture.png
Muse.x Fritz Schematic.png

1. Once you have the physical structure in place, follow the Fritzing diagrams attached to properly wire your Arduino and motors.

2. For a more aesthetically pleasing device, you may choose to group the wires from each of the respective motors together using electrical tape, so as to form 3 bundles of wires. You may also choose to use long electrical wires and store the Arduino/ Shield in a casing that can be placed off to the side while the device is in use.

Downloads

Muse.X Code

MuseXGUI-1.png

Below you'll find the code for the operation of the device.

https://github.com/hatboysam/muse-x

There are two separate codebases:

1) The Arduino code, which should be programmed onto the microcontroller.

2) The Java code, which is run on the host computer by the operator.

Here are the steps to get Muse.X up and running:

  1. Download the code. You can use the `git clone` command or just download the files individually from the GitHub interface.
  2. Use the Arduino IDE to open the UnoStepper folder. Attach your Arduino and upload the UnoStepper.ino file onto the board. That is all you will need to do for the Arduino.
  3. To operate the device you will need the Java interface. You can compile from source if you know how, or just use the pre-compiled JAR file located here.
  4. Before using the JAR, you will need to install a few libraries. Follow the instructions (for Mac OS X) here.
  5. Now you are ready to play! Just connect your Arduino over USB and then run the MuseX.jar file. You should see an interface like the image above.

How to use the GUI interface:
  • The 'Play/Pause' button starts and stops the device. When starting, continuous motion begins. When pausing, the device finishes its next stroke and then stops.
  • The 'Left' and 'Right' buttons move the pick cart slightly left or right. Use these to align the cart before starting to play. You'll want to move the cart about 1" from one end of the bar. When the cart begins to move, it will automatically go in the opposite of the last direction in which it was adjusted. For example, if you click 'Right' a few times and then click 'Play', the first stroke will be to the left.
  • The 'Calibrate' and 'OK' buttons are used to calibrate the height of the pick above the strings. Follow the instructions to calibrate. You'll want to do this at the start of each time the device is re-booted.
  • The 'Up (Pick)' and 'Down (Pick)' buttons adjust the calibration of the pick. For best results, calibrate the device so that it moves smoothly but never actually touches the strings. Then click 'Play' and repeatedly click 'Down (Pick)' until the desired volume level is reached. This will create the smoothest operation and make calibration the easiest.
  • The 'Strum Pattern' checkboxes choose which beats are up-beats and which are down-beats. If all are checked, the device will hit the strings on every stroke. If none are checked, the device will move back and forth above the strings.
  • The 'Button Action' radio buttons control the response to input from the audio jack. The 'Single Strum' mode will do one stroke per press. The 'One Measure' mode will do four strokes per press. The 'Infinite On/Off' method will make the button press act like the 'Play/Pause' button. Each mode will respect the input of the 'Strum Pattern' checkboxes, skipping the appropriate beats.