Package com.softsynth.jmsl.jsyn
Class SampleRegion
java.lang.Object
com.softsynth.jmsl.jsyn.SampleRegion
public class SampleRegion
extends java.lang.Object
Deprecated.
use the pure Java JSyn2 package instead
- Author:
- Nick Didkovsky
-
Constructor Summary
Constructors Constructor Description SampleRegion(int sustainStart, int releaseStart, int numFrames)
Deprecated. -
Method Summary
Modifier and Type Method Description double
getDuration(double sampleRate)
Deprecated.int
getNumFrames()
Deprecated.int
getReleaseLength()
Deprecated.double
getReleaseLengthSec(double sampleRate)
Deprecated.int
getReleaseStart()
Deprecated.double
getReleaseStartSec(double sampleRate)
Deprecated.int
getSustainLength()
Deprecated.double
getSustainLengthSec(double sampleRate)
Deprecated.int
getSustainStart()
Deprecated.double
getSustainStartSec(double sampleRate)
Deprecated.java.lang.String
toString()
Deprecated.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
SampleRegion
public SampleRegion(int sustainStart, int releaseStart, int numFrames)Deprecated.
-
-
Method Details
-
getNumFrames
public int getNumFrames()Deprecated. -
getSustainStart
public int getSustainStart()Deprecated. -
getSustainLength
public int getSustainLength()Deprecated. -
getReleaseStart
public int getReleaseStart()Deprecated. -
getReleaseLength
public int getReleaseLength()Deprecated. -
getDuration
public double getDuration(double sampleRate)Deprecated. -
getSustainStartSec
public double getSustainStartSec(double sampleRate)Deprecated. -
getSustainLengthSec
public double getSustainLengthSec(double sampleRate)Deprecated. -
getReleaseStartSec
public double getReleaseStartSec(double sampleRate)Deprecated. -
getReleaseLengthSec
public double getReleaseLengthSec(double sampleRate)Deprecated. -
toString
public java.lang.String toString()Deprecated.- Overrides:
toString
in classjava.lang.Object
-