Package uk.ac.qmul.eecs.depic.daw.beads
Class BeadsSampleWrapper
- java.lang.Object
-
- uk.ac.qmul.eecs.depic.daw.beads.BeadsSampleWrapper
-
-
Constructor Summary
Constructors Constructor and Description BeadsSampleWrapper(net.beadsproject.beads.data.Sample delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
equals(java.lang.Object obj)
int
getBytesPerSample()
void
getFrame(int arg0, float[] arg1)
void
getFrameCubic(double arg0, float[] arg1)
void
getFrameLinear(double arg0, float[] arg1)
void
getFrameNoInterp(double arg0, float[] arg1)
void
getFrames(int arg0, float[][] arg1)
float
getLength()
int
getNumChannels()
long
getNumFrames()
float
getSampleRate()
int
hashCode()
double
msToSamples(double arg0)
void
run()
double
samplesToMs(double arg0)
java.lang.String
toString()
-
-
-
Constructor Detail
-
BeadsSampleWrapper
public BeadsSampleWrapper(net.beadsproject.beads.data.Sample delegate)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getBytesPerSample
public int getBytesPerSample()
- Specified by:
getBytesPerSample
in interfaceSample
-
getFrameCubic
public void getFrameCubic(double arg0, float[] arg1)
- Specified by:
getFrameCubic
in interfaceSample
-
getFrameLinear
public void getFrameLinear(double arg0, float[] arg1)
- Specified by:
getFrameLinear
in interfaceSample
-
getFrameNoInterp
public void getFrameNoInterp(double arg0, float[] arg1)
- Specified by:
getFrameNoInterp
in interfaceSample
-
getFrames
public void getFrames(int arg0, float[][] arg1)
-
getNumChannels
public int getNumChannels()
- Specified by:
getNumChannels
in interfaceSample
-
getNumFrames
public long getNumFrames()
- Specified by:
getNumFrames
in interfaceSample
-
getSampleRate
public float getSampleRate()
- Specified by:
getSampleRate
in interfaceSample
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
msToSamples
public double msToSamples(double arg0)
- Specified by:
msToSamples
in interfaceSample
-
run
public void run()
-
samplesToMs
public double samplesToMs(double arg0)
- Specified by:
samplesToMs
in interfaceSample
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-