Skip to content
Permalink
Browse files

continue Processing 3 port

  • Loading branch information...
n1ckfg committed Feb 11, 2019
1 parent 7f93810 commit 7f3b698dd9c29fd6f44b5ff2b1df8c2800486f87
Showing with 10 additions and 16 deletions.
  1. +0 −2 AEkeys.pde
  2. +5 −4 Controls.pde
  3. +1 −1 Data.pde
  4. +0 −1 HandPoint.pde
  5. +4 −4 ManosOsc.pde
  6. +0 −3 MayaKeys.pde
  7. +0 −1 Midi.pde
@@ -142,5 +142,3 @@ void AEkeysEnd() {
dataAE.add("} //end script" + "\r");
dataAE.endSave(scriptsFilePath + "/" + aeFileName + "_" + millis() + "." + aeFileType);
}


@@ -1,3 +1,5 @@
import java.awt.Desktop;

void keyPressed() {
if (key=='z' || key=='Z') reverseZ = !reverseZ;
if (key=='d' || key=='D'){
@@ -38,9 +40,9 @@ void openAppFolderHandler(){
print("Trying OS X Finder method.");
//open(sketchPath(""));
//String[] params = { };
open(sketchPath("data"));
open(sketchPath("ManosOsc.app/Contents/Resources/Java/data"));
open(sketchPath("ManosOsc_LM.app/Contents/Resources/Java/data"));
Desktop.getDesktop().open(new File(sketchPath("data")));
Desktop.getDesktop().open(new File(sketchPath("ManosOsc.app/Contents/Resources/Java/data")));
Desktop.getDesktop().open(new File(sketchPath("ManosOsc_LM.app/Contents/Resources/Java/data")));
}catch(Exception e){ }
}else{
try{
@@ -76,4 +78,3 @@ void scriptsFolderHandler(){
}catch(Exception e){ }
}
}

2 Data.pde 100755 → 100644
@@ -83,7 +83,7 @@ class Data {

// Comment out if you want to use absolute paths
// or if you're not using this inside PApplet
if(sketchPath!=null) prefix=savePath(prefix);
//if(sketchPath!=null) prefix=savePath(prefix);

index=0;
ok=false;
@@ -138,4 +138,3 @@ class HandPoint {
return returns;
}
}

@@ -1,7 +1,7 @@
//ManosOsc by Nick Fox-Gieg | fox-gieg.com
//thanks to Liubo Borissov, Grace Christenbery, Alex Kaufmann, Victoria Nece, Marcel Schwittlick

import com.onformative.leap.LeapMotionP5;
//import com.onformative.leap.LeapMotionP5;
import com.leapmotion.leap.*;
import java.awt.Desktop;
import java.net.InetAddress;
@@ -371,9 +371,9 @@ void draw() {
}

//not reading correctly from settings
boolean sketchFullScreen() {
return fullScreen;
}
//boolean sketchFullScreen() {
//return fullScreen;
//}

String setOnOff(boolean _b) {
String s;
@@ -109,6 +109,3 @@ void mayaKeysEnd() {
*/
dataMaya.endSave(scriptsFilePath + "/" + mayaFileName + "_" + millis() + "." + mayaFileType);
}



@@ -30,4 +30,3 @@ void midiTester(){
sendCtl(i,int(random(127)));
}
}

0 comments on commit 7f3b698

Please sign in to comment.
You can’t perform that action at this time.