Permalink
Browse files

Simple fix for bugs, prepping for some bigger changes

  • Loading branch information...
1 parent 9aa6363 commit d78387b47d923119c2f111b775f530f68bed3c1a @rjmarsan committed Mar 20, 2012
View
@@ -0,0 +1,2 @@
+PATH = $PATH:"/Users/rj/android-sdk/platform-tools/"
+export PATH
View
@@ -4,8 +4,9 @@ android:installLocation="preferExternal">
<uses-sdk android:targetSdkVersion="14" android:minSdkVersion="8"/>
<uses-permission android:name="android.permission.WAKE_LOCK"></uses-permission>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
-
- <application android:label="@string/app_name" android:icon="@drawable/icon" android:hardwareAccelerated="true">
+ <uses-permission android:name="android.permission.CAMERA"/>
+
+ <application android:label="@string/app_name" android:icon="@drawable/icon" android:hardwareAccelerated="true">
<activity android:name="com.rj.processing.plasmasoundhd.PDActivity"
android:theme="@android:style/Theme.Holo" android:screenOrientation="landscape"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
+targetSdkVersion:impact=1:10:found=14
+uses-access-native:impact:5:org.puredata.core.PdBase
+
+impact-summary: [5]=1; [4]=0; [3]=0; [2]=0; [1]=1;
Binary file not shown.
View
@@ -8,7 +8,7 @@
# project structure.
# Project target.
-target=Google Inc.:Google APIs:11
-android.library.reference.1=../../../Documents/workspace/AndMT
-android.library.reference.2=../../pd-for-android/PdCore
-android.library.reference.3=../../../Documents/workspace/Processing15
+target=android-14
+android.library.reference.1=../../../../../Volumes/osfree/workspace/AndMT
+android.library.reference.2=../../../../../Volumes/osfree/workspace/Processing15
+android.library.reference.3=../../../../../Users/rj/gitstuff/pd-for-android/PdCore
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <string name="instrument_name">Keyboard</string>
+
<string name="midimin">midimin</string>
@@ -3,7 +3,7 @@
import org.puredata.core.PdBase;
public class Parameter {
- boolean DEBUGGG = false;
+ boolean DEBUGGG = true;
String name;
public final static int CONTINUOUS = 0; //any value from min to max
@@ -136,8 +136,8 @@ private void sendNoteOn(int i, int j, float val, int index) {
//Log.d("Sequencer", "NOTE ON: "+index);
- instrument.touchDown(null, index, note, 127, 1-val, 1, null);
- instrument.touchMove(null, index, note, 127, 1-val, 1, null);
+ instrument.touchDown(null, index+1, note, 127, 1-val, 1, null);
+ instrument.touchMove(null, index+1, note, 127, 1-val, 1, null);
instrument.setMidiMin(midiMin);
@@ -149,7 +149,7 @@ private void sendNoteOff(int i, int j, float val, int index) {
if (instrument == null) return;
float note = getNote(j);
//Log.d("Sequencer", "NOTE OFF: "+index);
- instrument.touchUp(null, index, note, 127, 0.72f, 1, null);
+ instrument.touchUp(null, index+1, note, 127, 0.72f, 1, null);
}
}

0 comments on commit d78387b

Please sign in to comment.