Library for generating optical soundtracks with Processing.
Go to file
litter 74f12083bb Add two audio files to use with examples 2019-10-29 01:20:06 -04:00
.settings Create eclipse project for building jar of library. IDE is showing lots of errors. Will have to modify core functionality. 2019-10-29 00:15:19 -04:00
data Add two audio files to use with examples 2019-10-29 01:20:06 -04:00
examples/BasicOptical Basic example 2019-10-29 01:19:25 -04:00
library * Cast floats (from double) everywhere. 2019-10-29 00:16:51 -04:00
src/soundtrack/optical Build project to git repo 2019-10-29 01:19:54 -04:00
.classpath Build project to git repo 2019-10-29 01:19:54 -04:00
.gitignore Create eclipse project for building jar of library. IDE is showing lots of errors. Will have to modify core functionality. 2019-10-29 00:15:19 -04:00
.project Build project to git repo 2019-10-29 01:19:54 -04:00
LICENSE Add last name 2019-10-29 00:12:06 -04:00
README.md Write basic readme with basic example usage 2019-10-29 01:19:13 -04:00
library.properties Create eclipse project for building jar of library. IDE is showing lots of errors. Will have to modify core functionality. 2019-10-29 00:15:19 -04:00

README.md

soundtrack.optical

Library for generating 16mm optical soundtracks with Processing.

Install library by downloading library as .zip, uncompressing and placing SoundtrackOptical in your Processing library directory. Start up (or restart) Processing to use in a sketch.

Supports mono audio only (at the moment, feel free to contribute).

Draws various kids of 16mm soundtracks. Read about them here..

  • unilateral
  • dual unilateral (in progress!)
  • single variable area
  • dual variable area
  • multiple variable area (Maurer)

Example Usage

import processing.sound.*;
import soundtrack.optical.*;

SoundtrackOptical soundtrack;

String soundtrackFile = "./data/barking.wav";
int dpi = 2400;
float volume = 1.0;
String type = "dual variable area";
String pitch = "long";
boolean positive = true;

void setup() {
  size(213, 620);
  frameRate(24);
  soundtrack = new SoundtrackOptical(this, soundtrackFile, dpi, volume, type, pitch, positive);
}

void draw () {
  soundtrack.frame(0, 0);
}