public class WaveSourceJ
extends java.lang.Object
Constructor | Description |
---|---|
WaveSourceJ(long nativeH) |
|
WaveSourceJ(WaveSourceJ fan_out) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
add(double gA,
double gB,
WaveSourceJ srcB) |
|
boolean |
add(WaveSourceJ srcB) |
|
boolean |
dllFilt(java.lang.String lib,
java.lang.String proc,
java.lang.String id,
double[] fcoef) |
|
long |
getNativeH() |
|
boolean |
javaFilt(java.lang.String filt_name,
double[] fcoef) |
|
long |
removeNativeH() |
|
boolean |
resample(int dsamp,
int usamp) |
|
boolean |
sisoFilt(SISOFilter filt) |
|
boolean |
sub(WaveSourceJ srcB) |
|
boolean |
vocFilt(java.lang.String filt_name,
double[] fcoef) |
public WaveSourceJ(long nativeH)
public WaveSourceJ(WaveSourceJ fan_out)
fan_out
- WaveSourceJ object to replicate for signal fanoutpublic long getNativeH()
public long removeNativeH()
public boolean dllFilt(java.lang.String lib, java.lang.String proc, java.lang.String id, double[] fcoef)
public boolean sisoFilt(SISOFilter filt)
filt
- SISOFilter Filter object descended from net.cspeech.DSP.SISOFilter,
which includes net.cspeech.DSP.InPlace and net.cspeech.DSP.NonCausalpublic boolean javaFilt(java.lang.String filt_name, double[] fcoef)
filt_name
- Name of the Java class of the filterfcoef
- Double array of filter parameterspublic boolean vocFilt(java.lang.String filt_name, double[] fcoef)
filt_name
- Function entry point in VocFiltfcoef
- Double array of filter parameterspublic boolean resample(int dsamp, int usamp)
public boolean add(double gA, double gB, WaveSourceJ srcB)
gA
- Weight of this waveformgB
- Weight of contents of WaveSourceJ objectsrcB
- Conducts weighted sum of the two waveformspublic boolean add(WaveSourceJ srcB)
srcB
- Adds contents of WaveSourceJ object to this waveformpublic boolean sub(WaveSourceJ srcB)
srcB
- Subtracts contents of WaveSourceJ object to this waveform