com.softsynth.jmsl.jsyn
Class SampleLoopRegioner
java.lang.Object
com.softsynth.jmsl.jsyn.SampleLoopRegioner
public class SampleLoopRegioner
- extends java.lang.Object
Pulls cues from a sample and builds a SampleRegion. A SampleRegion contains a
loop startframe & length, release startframe and length.
Assumes the loaded sample has exactly two cue points: sustain start is a cue
point, and release start is a cue point. Sustain end == release start.
- Author:
- Nick Didkovsky, copyright 2001 Nick Didkovsky
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleLoopRegioner
public SampleLoopRegioner()
SampleLoopRegioner
public SampleLoopRegioner(com.softsynth.jsyn.SynthSample sample)
setSample
public int setSample(com.softsynth.jsyn.SynthSample s)
- assign sample, build sample regions,
- Returns:
- number of cue points found
getSampleRegion
public SampleRegion getSampleRegion()
main
public static void main(java.lang.String[] args)