public class LASamplePlayer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected float |
filled |
protected float |
freq |
static float |
partial_loop_threshold
A partial loop execution of a length below this fraction will be omitted;
above it will be replaced by a complete execution.
|
protected FloatSamplePlayer |
player |
protected SampleRegister |
reg |
protected SigSequencer |
seq |
protected java.util.function.Function<FunctionalPitch,java.lang.Float> |
tuning |
Constructor and Description |
---|
LASamplePlayer(float freq,
SigSequencer seq,
SampleRegister reg,
java.util.function.Function<FunctionalPitch,java.lang.Float> tuning,
FloatSamplePlayer player) |
Modifier and Type | Method and Description |
---|---|
protected void |
startNote(float when,
float duration,
FunctionalPitch pitch) |
protected float freq
protected SigSequencer seq
protected SampleRegister reg
protected java.util.function.Function<FunctionalPitch,java.lang.Float> tuning
protected FloatSamplePlayer player
protected float filled
public static final float partial_loop_threshold
public LASamplePlayer(float freq, SigSequencer seq, SampleRegister reg, java.util.function.Function<FunctionalPitch,java.lang.Float> tuning, FloatSamplePlayer player)
protected void startNote(float when, float duration, FunctionalPitch pitch)