Use parent renderer

This commit is contained in:
litter 2019-11-10 12:27:21 -05:00
parent ef2352f667
commit 5ca5257c9f
3 changed files with 3 additions and 4 deletions

View File

@ -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 = 3
prettyVersion = 0.03a
version = 4
prettyVersion = 0.04a
minRevision = 2
#maxRevision = 2

Binary file not shown.

View File

@ -75,8 +75,7 @@ public class SoundtrackOptical {
FRAMES = (int) Math.ceil(soundfile.frames() / RAW_FRAME_H);
frameSample = new float[RAW_FRAME_H];
raw = parent.createGraphics(RAW_FRAME_W, RAW_FRAME_H);//mode option?
raw = parent.createGraphics(RAW_FRAME_W, RAW_FRAME_H, parent.sketchRenderer());
for (int x = 0; x < soundfile.frames(); x++) {
compare = soundfile.read(x);