1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.DspFaust;
public class dsp_faustJNI {
static {
try {
java.lang.System.loadLibrary("dsp_faust");
} catch (UnsatisfiedLinkError e) {
java.lang.System.err.println("native code library failed to load.\n" + e);
java.lang.System.exit(1);
}
}
public final static native long new_DspFaust__SWIG_0(boolean jarg1);
public final static native long new_DspFaust__SWIG_1();
public final static native long new_DspFaust__SWIG_2(int jarg1, int jarg2);
public final static native void delete_DspFaust(long jarg1);
public final static native boolean DspFaust_start(long jarg1, DspFaust jarg1_);
public final static native void DspFaust_stop(long jarg1, DspFaust jarg1_);
public final static native boolean DspFaust_isRunning(long jarg1, DspFaust jarg1_);
public final static native long DspFaust_keyOn(long jarg1, DspFaust jarg1_, int jarg2, int jarg3);
public final static native int DspFaust_keyOff(long jarg1, DspFaust jarg1_, int jarg2);
public final static native long DspFaust_newVoice(long jarg1, DspFaust jarg1_);
public final static native int DspFaust_deleteVoice(long jarg1, DspFaust jarg1_, long jarg2);
public final static native void DspFaust_allNotesOff(long jarg1, DspFaust jarg1_);
public final static native void DspFaust_propagateMidi(long jarg1, DspFaust jarg1_, int jarg2, double jarg3, int jarg4, int jarg5, int jarg6, int jarg7);
public final static native String DspFaust_getJSONUI(long jarg1, DspFaust jarg1_);
public final static native String DspFaust_getJSONMeta(long jarg1, DspFaust jarg1_);
public final static native int DspFaust_getParamsCount(long jarg1, DspFaust jarg1_);
public final static native void DspFaust_setParamValue__SWIG_0(long jarg1, DspFaust jarg1_, String jarg2, float jarg3);
public final static native void DspFaust_setParamValue__SWIG_1(long jarg1, DspFaust jarg1_, int jarg2, float jarg3);
public final static native float DspFaust_getParamValue__SWIG_0(long jarg1, DspFaust jarg1_, String jarg2);
public final static native float DspFaust_getParamValue__SWIG_1(long jarg1, DspFaust jarg1_, int jarg2);
public final static native void DspFaust_setVoiceParamValue__SWIG_0(long jarg1, DspFaust jarg1_, String jarg2, long jarg3, float jarg4);
public final static native void DspFaust_setVoiceParamValue__SWIG_1(long jarg1, DspFaust jarg1_, int jarg2, long jarg3, float jarg4);
public final static native float DspFaust_getVoiceParamValue__SWIG_0(long jarg1, DspFaust jarg1_, String jarg2, long jarg3);
public final static native float DspFaust_getVoiceParamValue__SWIG_1(long jarg1, DspFaust jarg1_, int jarg2, long jarg3);
public final static native String DspFaust_getParamAddress(long jarg1, DspFaust jarg1_, int jarg2);
public final static native String DspFaust_getVoiceParamAddress(long jarg1, DspFaust jarg1_, int jarg2, long jarg3);
public final static native float DspFaust_getParamMin__SWIG_0(long jarg1, DspFaust jarg1_, String jarg2);
public final static native float DspFaust_getParamMin__SWIG_1(long jarg1, DspFaust jarg1_, int jarg2);
public final static native float DspFaust_getParamMax__SWIG_0(long jarg1, DspFaust jarg1_, String jarg2);
public final static native float DspFaust_getParamMax__SWIG_1(long jarg1, DspFaust jarg1_, int jarg2);
public final static native float DspFaust_getParamInit__SWIG_0(long jarg1, DspFaust jarg1_, String jarg2);
public final static native float DspFaust_getParamInit__SWIG_1(long jarg1, DspFaust jarg1_, int jarg2);
public final static native String DspFaust_getMetadata__SWIG_0(long jarg1, DspFaust jarg1_, String jarg2, String jarg3);
public final static native String DspFaust_getMetadata__SWIG_1(long jarg1, DspFaust jarg1_, int jarg2, String jarg3);
public final static native void DspFaust_propagateAcc(long jarg1, DspFaust jarg1_, int jarg2, float jarg3);
public final static native void DspFaust_setAccConverter(long jarg1, DspFaust jarg1_, int jarg2, int jarg3, int jarg4, float jarg5, float jarg6, float jarg7);
public final static native void DspFaust_propagateGyr(long jarg1, DspFaust jarg1_, int jarg2, float jarg3);
public final static native void DspFaust_setGyrConverter(long jarg1, DspFaust jarg1_, int jarg2, int jarg3, int jarg4, float jarg5, float jarg6, float jarg7);
public final static native float DspFaust_getCPULoad(long jarg1, DspFaust jarg1_);
public final static native boolean DspFaust_configureOSC(long jarg1, DspFaust jarg1_, int jarg2, int jarg3, int jarg4, int jarg5, String jarg6);
public final static native boolean DspFaust_isOSCOn(long jarg1, DspFaust jarg1_);
public final static native int DspFaust_getScreenColor(long jarg1, DspFaust jarg1_);
}
|