Package net.paulhertz.pixelaudio.example
Class GesturePlayground.SamplerPointHappening
java.lang.Object
net.paulhertz.pixelaudio.example.GesturePlayground.SamplerPointHappening
- All Implemented Interfaces:
GesturePlayground.Happening
- Enclosing class:
- GesturePlayground
static final class GesturePlayground.SamplerPointHappening
extends Object
implements GesturePlayground.Happening
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final ADSRParams(package private) final float(package private) final int(package private) final float(package private) final float(package private) final float(package private) final int(package private) final int(package private) final int -
Constructor Summary
ConstructorsConstructorDescriptionSamplerPointHappening(int x, int y, int samplePos, int len, float gain, float pan, float pitch, ADSRParams env, int noteMs) -
Method Summary
-
Field Details
-
x
final int x -
y
final int y -
samplePos
final int samplePos -
len
final int len -
gain
final float gain -
pan
final float pan -
pitchRatio
final float pitchRatio -
env
-
noteMs
final float noteMs
-
-
Constructor Details
-
SamplerPointHappening
SamplerPointHappening(int x, int y, int samplePos, int len, float gain, float pan, float pitch, ADSRParams env, int noteMs)
-
-
Method Details
-
x
public int x()- Specified by:
xin interfaceGesturePlayground.Happening
-
y
public int y()- Specified by:
yin interfaceGesturePlayground.Happening
-