Music

Show off your latest creations, whether 3D printed or not
Post Reply
Blaine
Noob
Posts: 1
Joined: Mon Sep 01, 2014 11:19 pm

Music

Post by Blaine »

I am new to the forum and wanted to share my little weekend project.
I was having some trouble calibrating my printer so I decided to take a break and do something that requires no calibration but is just as fun as printing.

[youtube]http://www.youtube.com/watch?v=NJJZVc45j-s[/youtube]

If you're interested in making your own tune or recompiling the GCode for your machine,
I created a C# program to convert notes to GCode.

Attached is the visual studio source, a file with .gcm as the extension which is my program's save file format which holds the note data, and the GCode that plays the song in the video. All of these files are wrapped in a single file called All Files.zip.

I cannot take responsibility for any crashes resulting from the use of my program or the gcode I have attached. Having said that, I have not had any issues with my program yet but it is still a work in progress. I believe the GCode will work on any stock ORION or any delta that has 80 steps/mm steppers and runs in absolute position mode. You will have to determine if the generated GCode will work with your machine before running it. If you do not have 80 steps/mm, just compile the code and run the program, load the attached .gcm file, change the steps/mm, and generate the new gcode. I have not tried it but you may be able to use Visual Studio Express to open the visual studio solution and build it.

-Blaine
Attachments
All Files.zip
(23.13 KiB) Downloaded 216 times
User avatar
teejaydub
Prints-a-lot
Posts: 32
Joined: Sat Jul 26, 2014 2:20 pm

Re: Music

Post by teejaydub »

So awesome!

Now, with just a little more math... OK, a LOT more math... you could get three-note chords going, using each motor individually...
richardphat
Prints-a-lot
Posts: 25
Joined: Thu Jun 05, 2014 10:43 pm

Re: Music

Post by richardphat »

Necro, this is just a fantastic job. Can you share the algorithm? I use matlab instead and was figuring out how to use it to write gcode music.
User avatar
Eaglezsoar
ULTIMATE 3D JEDI
Posts: 7185
Joined: Sun Apr 01, 2012 5:26 pm

Re: Music

Post by Eaglezsoar »

Thanks for the file! Great stuff!
Post Reply

Return to “What are YOU making?”