Add docs later. Must sleep.

This commit is contained in:
litter 2019-10-29 10:36:57 -04:00
parent e3ab7134d4
commit 5552589502
1 changed files with 5 additions and 6 deletions

View File

@ -4,17 +4,16 @@ import processing.core.*;
import processing.sound.*; import processing.sound.*;
public class SoundtrackOptical { public class SoundtrackOptical {
String TYPE = "dual variable area"; //type of soundtrack String TYPE = "dual variable area";
int DPI = 2880; //dots/in int DPI = 2880;
boolean POSITIVE = true; boolean POSITIVE = true;
float VOLUME = (float) 1.0; float VOLUME = (float) 1.0;
String pitch = "long"; String pitch = "long";
//String filePath = "wavTones.com.unregistred.sweep_100Hz_6000Hz_-3dBFS_5s.wav";
String FILEPATH; String FILEPATH;
float IN = (float) 25.4; //mm/in float IN = (float) 25.4;
float FRAME_H = (float) 7.62; //mm float FRAME_H = (float) 7.62;
float FRAME_W = (float) (12.52 - 10.26); //mm float FRAME_W = (float) (12.52 - 10.26);
float DPMM = (float) (DPI / IN); float DPMM = (float) (DPI / IN);
int FRAME_H_PIXELS = (int) Math.round(DPMM * FRAME_H); int FRAME_H_PIXELS = (int) Math.round(DPMM * FRAME_H);