diff --git a/library.properties b/library.properties index 3ff3150..3f277ed 100755 --- a/library.properties +++ b/library.properties @@ -6,7 +6,7 @@ url = https://github.com/sixteenmillimeter/SoundtrackOptical categories = "Animation,Sound,Video & Vision" sentence = Framework for generating 16mm optical soundtracks from a digital audio file. paragraph = Create optical soundtracks in different styles to be used in super16 film-out -version = 2 -prettyVersion = 0.02a +version = 3 +prettyVersion = 0.03a minRevision = 2 #maxRevision = 2 diff --git a/library/SoundtrackOptical.jar b/library/SoundtrackOptical.jar index 5b4e8da..56a987b 100644 Binary files a/library/SoundtrackOptical.jar and b/library/SoundtrackOptical.jar differ diff --git a/src/soundtrack/optical/SoundtrackOptical.java b/src/soundtrack/optical/SoundtrackOptical.java index c8e8261..f447793 100755 --- a/src/soundtrack/optical/SoundtrackOptical.java +++ b/src/soundtrack/optical/SoundtrackOptical.java @@ -89,10 +89,24 @@ public class SoundtrackOptical { } } + /** + * Calls frame() every frame of parent PApplet draw() + * + * @param X {Integer} Left position of soundtrack to draw on parent renderer + * @param Y {Integer} Top position + */ public void draw (int X, int Y) { frame(X, Y, parent.frameCount); } + /** + * Draws a frame on parent PApplet window at position + * + * @param X {Integer} Left position of soundtrack to draw on parent renderer + * @param Y {Integer} Top position + * @param frameNumber {Integer} Frame of soundtrack to draw + */ + @SuppressWarnings("static-access") public void frame(int X, int Y, int frameNumber) { if (frameNumber != -1) {