Permalink
Browse files

fix up OSC message initialisation

add the right values to the right OSC messages - error was only
happening if calculation period was set to 1

Signed-off-by: Stefan Nussbaumer <st9fan@gmail.com>
  • Loading branch information...
nuss committed Jan 25, 2017
1 parent 8978d1d commit ea43badfd5ab4e33f02cfd2482f3a4b3635723c7
Showing with 3 additions and 3 deletions.
  1. +1 −1 app/build.gradle
  2. +2 −2 app/src/main/java/net/videosc/VideOSCImageHandling.java
View
@@ -16,7 +16,7 @@ android {
applicationVariants.all { variant ->
variant.outputs.each { output ->
output.outputFile = new File(output.outputFile.parent,
output.outputFile.name.replace("app-release", "VideOSC-1.1-rc1")
output.outputFile.name.replace("app-release", "VideOSC-1.1-rc2")
// output.outputFile.name.replace("app-", "VideOSC-")
)
}
@@ -106,11 +106,11 @@ static void drawFrame(PApplet applet) {
oscP5.send(oscR, broadcastLoc);
}
if (!offPxls.get(i)[1]) {
oscR.add(gval);
oscG.add(gval);
oscP5.send(oscG, broadcastLoc);
}
if (!offPxls.get(i)[2]) {
oscR.add(bval);
oscB.add(bval);
oscP5.send(oscB, broadcastLoc);
}
} else {

0 comments on commit ea43bad

Please sign in to comment.