Skip to content

Program to generate a .scr for use inside AutoCAD from a .mid

License

Notifications You must be signed in to change notification settings

ianespana/Wintergatan-Laser-MIDI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wintergatan Laser MIDI

alt text

Description

Wintergatan Laser MIDI generates a .scr for AutoCAD from a MIDI file. You can use AutoCAD to control pretty much anything you want in terms of "machining", be it a CNC router, a laser cutter, a 3D printer, an automatic hole puncher... The sky is the limit.

You could also take the cad in .dxf format and convert it into .svg using Inkscape for other machines that can't take raw AutoCAD formats.

Synopsis

WintergatanLaserMIDI <filename.mid> [(optional) Tone Distance (mm)] [(optional) Beat Distance (mm)]

Arguments

filename.mid = MIDI file for which to generate code.

Tone Distance = Defines the distance between every note-pitch. (optional)

Beat Distance = Defines how far away the beats are from each other. (optional)

Usage

1. Open a new command line window where the executable is located.
2. Execute the program with the command found above. Keep in mind that Y=0 corresponds to C4!
3. In AutoCAD, make a new block called PUNCHHOLE. Make sure said block has the dimensions you wish to use for your punch holes (I recommend making a circle shape, but it is not mandatory)
4. Drag and drop the .scr file generated by the program into the AutoCAD window.

Latest Version

1.0.1

Latest Changes

[1.0.2] - 26-04-2017

  • Added

    • Program now checks if an old file with the same name exists, and if so, deletes it.

To do:

  • Watch out for bugs and squash them asap

Credits

Stephen Toub (stephentoub) - Making the MIDI C# Library

Ian Ramírez (ianespana) - Making this program

About

Program to generate a .scr for use inside AutoCAD from a .mid

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages