Skip to content

Python-based MIDI to G-code scripts derived from Tim Gipson's awesome mid2cnc https://tim.cexx.org/?p=633. This version supports the MakerBot Cupcake CNC 3D Printer.

Notifications You must be signed in to change notification settings

TeamTeamUSA/mid2cnc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OVERVIEW
========
This is a hacked version of Tim Gipson's awesome mid2cnc code to support the MakerBot Cupcake CNC 3D printer. The gcode file will voice the song in the Z axis only.
mid2cnc requies a MIDI file, and I've found that this workflow is effective on OS X 10.5.8, YMMV:

1. Obtain the song you want as a PowerTab guitar tablature file. Search for .ptb or gp4 files using your favorite search engine
2. Use Tablatures or other application to convert tablature file to MIDI file
3. Use mid2cnc to convert MIDI file to gcode file.

INSTRUCTIONS
============
Usage:
python ./mid2cnc.py midifile gcodefile ppi
Example:
python ./mid2cnc.py ../man_on_the_silver_mountain/man_on_the_silver_mountain.mid ../man_on_the_silver_mountain/man_on_the_silver_mountain.gcode 800

You may have to experiment with the ppi value to get the song right; 600 is a good place to start. Larger numbers make the pitch lower and the song slower.

RESOURCES
=========
mid2cnc - https://tim.cexx.org/?p=633 (Also read the mid2cnc_readme.txt file)
PowerTab files - https://www.ultimate-guitar.com/tabs/
MakerBot Music group - https://groups.google.com/group/makerbotmusic
MakerBot Music - https://wiki.makerbot.com/makerbot-music

THANKS
======
Slowhand (https://www.instantpowertabs.de.vu) for the "Man On The Silver Mountain" source PowerTab file
Aladin for the "Tour de France" source guitar tab file
And last, but not least, T. R. Gipson (drmn4ea at google mail) for the awesome mid2cnc code on which to hack.

About

Python-based MIDI to G-code scripts derived from Tim Gipson's awesome mid2cnc https://tim.cexx.org/?p=633. This version supports the MakerBot Cupcake CNC 3D Printer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages