| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,3 @@ | |||
| 1 | + *.DS_Store | ||
| 2 | + *.o | ||
| 3 | + *.jnilib | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,11 +1,11 @@ | |||
| 1 | 1 | all: | |
| 2 | 2 | ||
| 3 | - g++ -Ic:/Java/jdk1.7.0_60/include -Ic:/Java/jdk1.7.0_60/include/win32 -I./include -std=c++11 -g -c processing_sound_MethClaInterface.cpp; | ||
| 4 | - g++ -dynamiclib -lmethcla -L../../library/macosx/ -o libMethClaInterface.jnilib *.o; | ||
| 3 | + g++ -Ic:/Java/jdk1.8.0_11/include -Ic:/Java/jdk1.8.0_11/include/win32 -I./include -std=c++11 -g -c processing_sound_MethClaInterface.cpp; | ||
| 4 | + g++ -dynamiclib -lmethcla -L../../library/windows32/ -o libMethClaInterface.dll *.o; | ||
| 5 | 5 | ||
| 6 | 6 | clean: | |
| 7 | 7 | rm *.o | |
| 8 | - rm *.jnilib | ||
| 8 | + rm *.dll | ||
| 9 | 9 | ||
| 10 | 10 | install: | |
| 11 | - cp libMethClaInterface.jnilib ../../lib/macosx | ||
| 11 | + cp libMethClaInterface.dll ../../lib/windows32 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -562,7 +562,7 @@ JNIEXPORT jintArray JNICALL Java_processing_sound_MethClaInterface_soundFilePlay | |||
| 562 | 562 | { amp, rate }, | |
| 563 | 563 | { Methcla::Value(str), | |
| 564 | 564 | Methcla::Value(loop), | |
| 565 | - Methcla::Value(cue) } | ||
| 565 | + Methcla::Value(int(cue)) } | ||
| 566 | 566 | ); | |
| 567 | 567 | ||
| 568 | 568 | auto pan = request.synth( | |
@@ -627,7 +627,7 @@ JNIEXPORT jintArray JNICALL Java_processing_sound_MethClaInterface_soundFilePlay | |||
| 627 | 627 | { amp, rate }, | |
| 628 | 628 | { Methcla::Value(str), | |
| 629 | 629 | Methcla::Value(loop), | |
| 630 | - Methcla::Value(cue) } | ||
| 630 | + Methcla::Value(int(cue)) } | ||
| 631 | 631 | ); | |
| 632 | 632 | ||
| 633 | 633 | auto after = request.synth( | |
@@ -1228,7 +1228,7 @@ JNIEXPORT jlong JNICALL Java_processing_sound_MethClaInterface_fft(JNIEnv *env, | |||
| 1228 | 1228 | METHCLA_PLUGINS_FFT_URI, | |
| 1229 | 1229 | Methcla::NodePlacement::after(m_nodeId[0]), | |
| 1230 | 1230 | {}, | |
| 1231 | - {Methcla::Value(fftSize)} | ||
| 1231 | + {Methcla::Value(int(fftSize))} | ||
| 1232 | 1232 | ); | |
| 1233 | 1233 | ||
| 1234 | 1234 | request.mapOutput(m_nodeId[0], 0, in_bus); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -217,6 +217,12 @@ public static void reverbSet(float room, float damp, float wet, int nodeId){ | |||
| 217 | 217 | methCla.reverbSet(room, damp, wet, nodeId); | |
| 218 | 218 | }; | |
| 219 | 219 | ||
| 220 | + // Mix | ||
| 221 | + | ||
| 222 | + public static int[] mixPlay(int[] input, float[] amp){ | ||
| 223 | + return methCla.mixPlay(input, amp); | ||
| 224 | + }; | ||
| 225 | + | ||
| 220 | 226 | // Amplitude Follower | |
| 221 | 227 | ||
| 222 | 228 | public static long amplitude(int[] nodeId){ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments