/CuttingRecordGenerator

To make "Record" with laser cutter.

Primary LanguageProcessing

CuttingRecordGenerator

This program generates "Record" image from audio file. If you have laser cutter or paper cutting machine, you can make your own "Record".

This work is licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/3.0/.

Usage

  1. If you don't have Processing IDE, download from here.
    http://www.processing.org/

  2. Download Ess library.We need this to handle audio file(wav, aif, mp3).
    http://www.tree-axis.com/Ess/download.html

  3. Extruct Ess_r2.zip and put it into Processing library directory.
    Usually, ~/Documents/Processing/libraries/

  4. Download CuttingRecordGenerator_src.zip and extract.
    https://github.com/mitsuhito/CuttingRecordGenerator/blob/master/CuttingRecordGenerator_src.zip?raw=true

  5. Open CuttingRecordGenerator.pde and just press Run button.
    Make sure there is no error or exception, then the Ess library is working.
    After drawing animation, sin_440hz_30sec_wav.svg will be created in data directory.

If you have some audio file, put it into data directory and change this line.
CuttingRecordGenerator.pde @L31
String audioFilePath = "sin_440hz_30sec.wav";

  1. Adjust parameters.
    There are some output parameters.According to the need, change these values.
//
// Parameters for svg output
//
double recordDiameterMillimeter = 300;//170; // 170mm
double outputSamplingRate = 44100;//44100; // 44.1kHz
double rpm = 33; // 33rmp
double amplitudeMax = 0.2; // 0.2pt
double spaceOfEachLine = 2; // 2pt
double rInnerMarginMillimeter = 100; // 100mm
double rOuterMarginMillimeter = 5; // 5mm
double centerHoleDaiameterMillimeter = 7.24; // 7.24mm
double svgPathStrokeWidth = 0.001; // 0.001pt
// fabrication machine's dpi
// i.e. Universal VLS 2.30 with HPDFO lends is 1000dpi
int dpi = 200;

Cutting Record Params Diagram1

Cutting Record Params Diagram2

  1. Cutting "Record" and play it!
    If you have some digital fabrication tool such as laser cutter, paper cutting machine, you can try to make your own record. If you don't have it go to hacker space, fablab!

What kind of sound made by laser cutter?

Please watch this video.
Laser Cut Record from jo kazuhiro

More detail is here.
http://www.instructables.com/id/How-to-make-a-record-without-prior-acoustic-inform/

mitsuhito.ando@gmail.com