# Uses of Class
net.paulhertz.pixelaudio.sampler.ADSRParams

Packages that use ADSRParams
Package
Description
net.paulhertz.pixelaudio.example
Package `net.paulhertz.pixelaudio.example` provides example Processing sketches and demonstrations of PixelAudio library functionality.
net.paulhertz.pixelaudio.granular
Granular synthesis classes for PixelAudio.
net.paulhertz.pixelaudio.io
Package `net.paulhertz.pixelaudio.io` provides JSON-based persistence for PixelAudio data structures.
net.paulhertz.pixelaudio.sampler
Digital audio sampling synthesis classes for PixelAudio, built on the Minim library for Processing.

- ## Uses of ADSRParams in net.paulhertz.pixelaudio.example

  Fields in net.paulhertz.pixelaudio.example declared as ADSRParams
  Modifier and Type
  Field
  Description
  `(package private) ADSRParams`
  LoadAudioToImage.`adsr`
  `(package private) ADSRParams`
  LoadImageToAudio.`adsr`
  `(package private) ADSRParams`
  WaveSynthSequencer.`adsr`
  `private ADSRParams`
  WaveSynthSequencer.NoteTimedLocation.`adsr`
  `(package private) ADSRParams`
  ArgosyMixer.`adsr1`
  `(package private) ADSRParams`
  ArgosyMixer.`adsr2`
  `(package private) ADSRParams`
  TutorialOne_01_FileIO.`defaultEnv`
  `(package private) ADSRParams`
  TutorialOne_02_Animation.`defaultEnv`
  `(package private) ADSRParams`
  TutorialOne_03_Drawing.`defaultEnv`
  `(package private) ADSRParams`
  TutorialOne_04_Network.`defaultEnv`
  `(package private) ADSRParams`
  TutorialOne_06_WindowBuffer.`defaultEnv`
  `(package private) ADSRParams`
  TutorialOneWindowBuffer.`defaultEnv`
  Deprecated, for removal: This API element is subject to removal in a future version.
  `(package private) final ADSRParams`
  Bagatelle.SamplerPointHappening.`env`
  `(package private) final ADSRParams`
  DeadBodyWorkFlow.SamplerPointHappening.`env`
  `(package private) final ADSRParams`
  TutorialOne_05_GesturePlayground.SamplerPointHappening.`env`
  `ADSRParams`
  TutorialOne_05_GesturePlayground.`granEnvelope`
  `(package private) ADSRParams`
  Bagatelle.`granularEnv`
  `(package private) ADSRParams`
  DeadBodyWorkFlow.`granularEnv`
  `(package private) ADSRParams`
  TutorialOne_05_GesturePlayground.`granularEnv`
  `(package private) ADSRParams`
  TutorialOneWindowBuffer.`granularEnv`
  Deprecated, for removal: This API element is subject to removal in a future version.
  `(package private) ADSRParams`
  BigWaveSynthAudio.`longAdsr`
  `(package private) ADSRParams`
  Bagatelle.`samplerEnv`
  `(package private) ADSRParams`
  DeadBodyWorkFlow.`samplerEnv`
  `(package private) ADSRParams`
  TutorialOne_05_GesturePlayground.`samplerEnv`
  `(package private) ADSRParams`
  WaveSynthEditor.`samplerEnv`
  `(package private) ADSRParams`
  BigWaveSynthAudio.`shortAdsr`
  Fields in net.paulhertz.pixelaudio.example with type parameters of type ADSRParams
  Modifier and Type
  Field
  Description
  `(package private) ArrayList<ADSRParams>`
  TutorialOne_01_FileIO.`adsrList`
  `(package private) ArrayList<ADSRParams>`
  TutorialOne_02_Animation.`adsrList`
  Methods in net.paulhertz.pixelaudio.example that return ADSRParams
  Modifier and Type
  Method
  Description
  `ADSRParams`
  Bagatelle.`calculateEnvelopeDb(float gainDb, int totalSamples, float sampleRate)`
  Calculate an envelope of length totalSamples.
  `ADSRParams`
  DeadBodyWorkFlow.`calculateEnvelopeDb(float gainDb, int totalSamples, float sampleRate)`
  Calculate an envelope of length totalSamples.
  `ADSRParams`
  TutorialOne_03_Drawing.`calculateEnvelopeDb(float gainDb, int totalSamples, float sampleRate)`
  Calculate an envelope of length totalSamples.
  `ADSRParams`
  TutorialOne_04_Network.`calculateEnvelopeDb(float gainDb, int totalSamples, float sampleRate)`
  Calculate an envelope of length totalSamples.
  `ADSRParams`
  TutorialOne_05_GesturePlayground.`calculateEnvelopeDb(float gainDb, int totalSamples, float sampleRate)`
  Calculate an envelope of length totalSamples.
  `ADSRParams`
  TutorialOne_06_WindowBuffer.`calculateEnvelopeDb(float gainDb, int totalSamples, float sampleRate)`
  Calculate an envelope of length totalSamples.
  `ADSRParams`
  Bagatelle.`calculateEnvelopeLinear(float linear, float totalMs)`
  Calculate an envelope of length totalSamples.
  `ADSRParams`
  DeadBodyWorkFlow.`calculateEnvelopeLinear(float linear, float totalMs)`
  Calculate an envelope of length totalSamples.
  `ADSRParams`
  TutorialOne_03_Drawing.`calculateEnvelopeLinear(float gainDb, float totalMs)`
  Calculate an envelope of length totalSamples.
  `ADSRParams`
  TutorialOne_04_Network.`calculateEnvelopeLinear(float gainDb, float totalMs)`
  Calculate an envelope of length totalSamples.
  `ADSRParams`
  TutorialOne_05_GesturePlayground.`calculateEnvelopeLinear(float linear, float totalMs)`
  Calculate an envelope of length totalSamples.
  `ADSRParams`
  TutorialOne_06_WindowBuffer.`calculateEnvelopeLinear(float gainDb, float totalMs)`
  Calculate an envelope of length totalSamples.
  `(package private) static ADSRParams`
  Bagatelle.`envPreset(String name)`
  `(package private) static ADSRParams`
  DeadBodyWorkFlow.`envPreset(String name)`
  `(package private) static ADSRParams`
  TutorialOne_03_Drawing.`envPreset(String name)`
  `(package private) static ADSRParams`
  TutorialOne_04_Network.`envPreset(String name)`
  `(package private) static ADSRParams`
  TutorialOne_05_GesturePlayground.`envPreset(String name)`
  `(package private) static ADSRParams`
  TutorialOne_06_WindowBuffer.`envPreset(String name)`
  `ADSRParams`
  WaveSynthSequencer.NoteTimedLocation.`getAdsr()`
  Methods in net.paulhertz.pixelaudio.example with parameters of type ADSRParams
  Modifier and Type
  Method
  Description
  `PAGranularInstrument`
  Bagatelle.`buildGranSynth(ddf.minim.AudioOutput out, ADSRParams env, int numVoices)`
  Initializes a PAGranularInstrument.
  `PAGranularInstrument`
  DeadBodyWorkFlow.`buildGranSynth(ddf.minim.AudioOutput out, ADSRParams env, int numVoices)`
  Initializes a PAGranularInstrument.
  `PAGranularInstrument`
  TutorialOne_03_Drawing.`buildGranSynth(ddf.minim.AudioOutput out, ADSRParams env, int numVoices)`
  Initializes a new PAGranularSynth instance that you probably would pass to a PAGranularInstrumentDirector.
  `PAGranularInstrument`
  TutorialOne_04_Network.`buildGranSynth(ddf.minim.AudioOutput out, ADSRParams env, int numVoices)`
  Initializes a new PAGranularSynth instance that you probably would pass to a PAGranularInstrumentDirector.
  `PAGranularInstrument`
  TutorialOne_05_GesturePlayground.`buildGranSynth(ddf.minim.AudioOutput out, ADSRParams env, int numVoices)`
  Initializes a PAGranularInstrument.
  `PAGranularInstrument`
  TutorialOne_06_WindowBuffer.`buildGranSynth(ddf.minim.AudioOutput out, ADSRParams env, int numVoices)`
  Initializes a new PAGranularSynth instance that you probably would pass to a PAGranularInstrumentDirector.
  `(package private) static boolean`
  Bagatelle.`envEquals(ADSRParams a, ADSRParams b)`
  `(package private) static boolean`
  DeadBodyWorkFlow.`envEquals(ADSRParams a, ADSRParams b)`
  `(package private) static boolean`
  TutorialOne_05_GesturePlayground.`envEquals(ADSRParams a, ADSRParams b)`
  `(package private) String`
  Bagatelle.`envNameFor(ADSRParams env)`
  `(package private) String`
  DeadBodyWorkFlow.`envNameFor(ADSRParams env)`
  `(package private) String`
  TutorialOne_05_GesturePlayground.`envNameFor(ADSRParams env)`
  `int`
  Bagatelle.`estimateLoopDurationMs(GestureSchedule sched, ADSRParams env, int noteLenSamples)`
  `int`
  DeadBodyWorkFlow.`estimateLoopDurationMs(GestureSchedule sched, ADSRParams env, int noteLenSamples)`
  `(package private) String`
  Bagatelle.`formatEnv(ADSRParams env)`
  `(package private) String`
  DeadBodyWorkFlow.`formatEnv(ADSRParams env)`
  `(package private) String`
  TutorialOne_05_GesturePlayground.`formatEnv(ADSRParams env)`
  `int`
  ArgosyMixer.`playSample(PASamplerInstrument synth, int samplePos, int samplelen, float amplitude, ADSRParams env, float pan)`
  Plays an audio sample with a custom envelope and stereo pan.
  `int`
  Bagatelle.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pan)`
  Plays an audio sample with a custom envelope and stereo pan.
  `int`
  Bagatelle.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pitch, float pan)`
  Plays an audio sample with with a custom envelope, pitch and stereo pan.
  `int`
  BigWaveSynthAudio.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pitch, float pan)`
  Plays an audio sample with with a custom envelope, pitch and stereo pan.
  `int`
  DeadBodyWorkFlow.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pan)`
  Plays an audio sample with a custom envelope and stereo pan.
  `int`
  DeadBodyWorkFlow.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pitch, float pan)`
  Plays an audio sample with with a custom envelope, pitch and stereo pan.
  `int`
  TutorialOne_01_FileIO.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env)`
  Plays an audio sample with PASamplerInstrument and custom ADSR.
  `int`
  TutorialOne_02_Animation.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pan)`
  Plays an audio sample with PASamplerInstrument and custom ADSR.
  `int`
  TutorialOne_03_Drawing.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pan)`
  Plays an audio sample with a custom envelope and stereo pan.
  `int`
  TutorialOne_03_Drawing.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pitch, float pan)`
  Plays an audio sample with with a custom envelope, pitch and stereo pan.
  `int`
  TutorialOne_04_Network.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pan)`
  Plays an audio sample with a custom envelope and stereo pan.
  `int`
  TutorialOne_04_Network.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pitch, float pan)`
  Plays an audio sample with with a custom envelope, pitch and stereo pan.
  `int`
  TutorialOne_05_GesturePlayground.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pan)`
  Plays an audio sample with a custom envelope and stereo pan.
  `int`
  TutorialOne_05_GesturePlayground.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pitch, float pan)`
  Plays an audio sample with with a custom envelope, pitch and stereo pan.
  `int`
  TutorialOne_06_WB_Retrofit.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pitch, float pan)`
  `int`
  TutorialOne_06_WindowBuffer.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pan)`
  Plays an audio sample with a custom envelope and stereo pan.
  `int`
  TutorialOne_06_WindowBuffer.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pitch, float pan)`
  Plays an audio sample with with a custom envelope, pitch and stereo pan.
  `int`
  TutorialOneWindowBuffer.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  Plays an audio sample with a custom envelope.
  `int`
  TutorialOneWindowBuffer.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pan)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  Plays an audio sample with a custom envelope and stereo pan.
  `int`
  TutorialOneWindowBuffer.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pitch, float pan)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  Plays an audio sample with with a custom envelope, pitch and stereo pan.
  `int`
  WaveSynthEditor.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env)`
  Plays an audio sample with WFSamplerInstrument and custom ADSR.
  `int`
  WaveSynthSequencer.`playSample(int samplePos, int samplelen, float amplitude, ADSRParams env)`
  Plays an audio sample with WFSamplerInstrument and custom ADSR.
  `Bagatelle.InstrumentLoop`
  Bagatelle.`startSamplerLoop(SamplerBrush sb, GestureSchedule sched, ADSRParams env, int noteLenSamples, int repeats, int gapMs, boolean animate)`
  `DeadBodyWorkFlow.InstrumentLoop`
  DeadBodyWorkFlow.`startSamplerLoop(SamplerBrush sb, GestureSchedule sched, ADSRParams env, int noteLenSamples, int repeats, int gapMs, boolean animate)`
  `(package private) void`
  Bagatelle.`syncEnvelopeMenu(ADSRParams env)`
  `(package private) void`
  DeadBodyWorkFlow.`syncEnvelopeMenu(ADSRParams env)`
  Constructors in net.paulhertz.pixelaudio.example with parameters of type ADSRParams
  Modifier
  Constructor
  Description
  ``
  `NoteTimedLocation(int x, int y, int stop, int pos, int note, float duration, float amplitude, int circ, ADSRParams adsr, WaveSynth ws)`
  `(package private)`
  `SamplerPointHappening(int x, int y, int samplePos, int len, float gain, float pan, float pitch, ADSRParams env, int noteMs)`
  `(package private)`
  `SamplerPointHappening(int x, int y, int samplePos, int len, float gain, float pan, float pitch, ADSRParams env, int noteMs)`
  `(package private)`
  `SamplerPointHappening(int x, int y, int samplePos, int len, float gain, float pan, float pitch, ADSRParams env, int noteMs)`

- ## Uses of ADSRParams in net.paulhertz.pixelaudio.granular

  Fields in net.paulhertz.pixelaudio.granular declared as ADSRParams
  Modifier and Type
  Field
  Description
  `private ADSRParams`
  PAGranularInstrument.`defaultEnv`
  `(package private) ADSRParams`
  PAGranularVoice.`defaultEnvParams`
  `ADSRParams`
  GestureGranularConfig.Builder.`env`
  `final ADSRParams`
  GestureGranularConfig.`env`
  `private ADSRParams`
  GestureGranularParams.Builder.`env`
  `final ADSRParams`
  GestureGranularParams.`env`
  `(package private) final ADSRParams`
  PAGranularSampler.ScheduledPlay.`env`
  Methods in net.paulhertz.pixelaudio.granular that return ADSRParams
  Modifier and Type
  Method
  Description
  `ADSRParams`
  PAGranularInstrument.`getDefaultEnvelope()`
  Methods in net.paulhertz.pixelaudio.granular with parameters of type ADSRParams
  Modifier and Type
  Method
  Description
  `void`
  PAGranularVoice.`activate(PASource source, ADSRParams envParams, float gain, float pan, boolean looping)`
  `void`
  PAGranularVoice.`activate(PASource source, ADSRParams envParams, float gain, float pan, boolean looping, ddf.minim.analysis.WindowFunction grainWindow, int grainLenSamples)`
  `GestureGranularParams.Builder`
  GestureGranularParams.Builder.`env(ADSRParams v)`
  `private PAGranularVoice`
  PAGranularSampler.`getAvailableVoice(PASource src, ADSRParams env, float gain, float pan, boolean looping)`
  `private PAGranularVoice`
  PAGranularSampler.`getAvailableVoice(PASource src, ADSRParams env, float gain, float pan, boolean looping, ddf.minim.analysis.WindowFunction grainWindow, int grainLenSamples)`
  Allocate a PAGranularVoice instance.
  `GestureGranularConfig.Builder`
  GestureGranularConfig.Builder.`granularEnvelope(ADSRParams env)`
  Makes explicit to the caller that the envelope is being set for GRANULAR synthesis.
  `long`
  PAGranularInstrument.`play(PASource src, float amp, float pan, ADSRParams env, boolean looping)`
  Main granular play() method.
  `long`
  PAGranularSampler.`play(PASource src, float gain, float pan, ADSRParams defaultEnv, boolean looping)`
  `long`
  PAGranularSampler.`play(PASource src, ADSRParams env, float gain, float pan)`
  `long`
  PAGranularSampler.`play(PASource src, ADSRParams env, float gain, float pan, boolean looping)`
  Play a granular source as a voice.
  `GestureGranularConfig.Builder`
  GestureGranularConfig.Builder.`samplerEnvelope(ADSRParams env)`
  Makes explicit to the caller that the envelope is being set for SAMPLER synthesis.
  `void`
  PAGranularInstrument.`setDefaultEnvelope(ADSRParams env)`
  `void`
  PAGranularInstrument.`startAfterDelaySamples(PASource src, float amp, float pan, ADSRParams env, boolean looping, long delaySamples)`
  Schedule playback after a delay in samples relative to "now".
  `void`
  PAGranularSampler.`startAfterDelaySamples(PASource src, ADSRParams env, float gain, float pan, boolean looping, long delaySamples)`
  Schedule a new voice to start after a given delay in samples.
  `void`
  PAGranularInstrument.`startAtSampleTime(PASource src, float amp, float pan, ADSRParams env, boolean looping, long startSample)`
  Schedule playback of a PASource at an absolute sample time.
  `void`
  PAGranularInstrument.`startAtSampleTime(PASource src, float amp, float pan, ADSRParams env, boolean looping, long startSample, ddf.minim.analysis.WindowFunction grainWindow, int grainLenSamples)`
  Schedule playback of a PASource at an absolute sample time.
  `void`
  PAGranularSampler.`startAtSampleTime(PASource src, ADSRParams env, float gain, float pan, boolean looping, long startSample)`
  Schedule a new voice to start at an absolute sample time.
  `void`
  PAGranularSampler.`startAtSampleTime(PASource src, ADSRParams env, float gain, float pan, boolean looping, long startSample, ddf.minim.analysis.WindowFunction grainWindow, int grainLenSamples)`
  Called by PAGranularInstrument.startAtSampleTime(...), creates a ScheduledPlay instance with PASource src and other arguments, then passes it to AudioScheduler scheduler, which will be handled through Minim's uGenerate call to this instance of PAGranularSampler.
  `void`
  PAGranularInstrument.`startNow(PASource src, float amp, float pan, ADSRParams env, boolean looping)`
  Convenience: schedule using current instrument cursor as "now".
  Constructors in net.paulhertz.pixelaudio.granular with parameters of type ADSRParams
  Modifier
  Constructor
  Description
  ``
  `PAGranularInstrument(ddf.minim.AudioOutput out, ADSRParams defaultEnv, int maxVoices)`
  `(package private)`
  `ScheduledPlay(PASource src, ADSRParams env, float gain, float pan, boolean looping)`
  `(package private)`
  `ScheduledPlay(PASource src, ADSRParams env, float gain, float pan, boolean looping, ddf.minim.analysis.WindowFunction grainWindow, int grainLenSamples)`

- ## Uses of ADSRParams in net.paulhertz.pixelaudio.io

  Methods in net.paulhertz.pixelaudio.io that return ADSRParams
  Modifier and Type
  Method
  Description
  `private static ADSRParams`
  GestureGranularConfigIO.`adsrFromJson(processing.data.JSONObject obj)`
  Methods in net.paulhertz.pixelaudio.io with parameters of type ADSRParams
  Modifier and Type
  Method
  Description
  `private static processing.data.JSONObject`
  GestureGranularConfigIO.`adsrToJson(ADSRParams env)`

- ## Uses of ADSRParams in net.paulhertz.pixelaudio.sampler

  Fields in net.paulhertz.pixelaudio.sampler declared as ADSRParams
  Modifier and Type
  Field
  Description
  `private ADSRParams`
  PASamplerInstrument.`defaultEnv`
  `private ADSRParams`
  PASamplerInstrumentPool.`defaultEnv`
  `final ADSRParams`
  SamplerBrushEvent.`env`
  Methods in net.paulhertz.pixelaudio.sampler that return ADSRParams
  Modifier and Type
  Method
  Description
  `ADSRParams`
  ADSRParams.`copy()`
  `static ADSRParams`
  ADSRUtils.`fitEnvelopeToDuration(ADSRParams adsr, int duration)`
  Returns a new ADSRParams scaled to fit the specified duration (ms).
  `ADSRParams`
  PASamplerInstrument.`getDefaultEnv()`
  `ADSRParams`
  PASamplerInstrumentPool.`getDefaultEnv()`
  Methods in net.paulhertz.pixelaudio.sampler with parameters of type ADSRParams
  Modifier and Type
  Method
  Description
  `void`
  PASamplerVoice.`activate(int start, int length, float gain, ADSRParams envParams, float pitch, float pan, boolean looping)`
  `void`
  PASamplerInstrumentPoolMulti.`addPool(String key, ddf.minim.MultiChannelBuffer buffer, float bufferSampleRate, int poolSize, int perInstrumentVoices, ddf.minim.AudioOutput out, ADSRParams env)`
  `static int`
  PlaybackInfo.`computeVoiceDuration(int samplePos, int sampleLen, int bufferLen, float pitch, ADSRParams env, boolean looping, float sampleRate)`
  Computes total playback duration (in output samples, pitch-independent).
  `static ADSRParams`
  ADSRUtils.`fitEnvelopeToDuration(ADSRParams adsr, int duration)`
  Returns a new ADSRParams scaled to fit the specified duration (ms).
  `default int`
  PAPlayable.`play(float amplitude, ADSRParams env, float pitch, float pan)`
  Optional interface for playables that support envelopes.
  `int`
  PASampler.`play(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  Play command with all the useful arguments in standard order.
  `int`
  PASamplerInstrument.`play(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  The primary play method, called by all playSample() methods, from PASamplerPlayable interface.
  `int`
  PASamplerInstrumentPool.`play(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  The primary play command, with all common arguments in standard order.
  `int`
  PASamplerInstrumentPoolMulti.`play(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  PASamplerPlayable's play method, all six standard parameters in standard order, called by other methods.
  `int`
  PASamplerPlayable.`play(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  Core playback method: start playback from a given buffer range with start index, duration, amplitude, envelope, pitch, and pan control, arguments in standard order for PixalAudio library.
  `int`
  PASharedBufferSampler.`play(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  Play command with all the useful arguments in standard order, overrides PASampler.play().
  `int`
  PASamplerInstrument.`playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env)`
  Plays a sample using a supplied envelope with default pitch and default pan.
  `int`
  PASamplerInstrument.`playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch)`
  Plays a sample using a supplied envelope, pitch, and current global pan.
  `int`
  PASamplerInstrument.`playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  Trigger playback using all six standard per-voice parameters.
  `int`
  PASamplerInstrument.`playSample(ddf.minim.MultiChannelBuffer buffer, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch)`
  Sets a new buffer for PASamplerInstrument and plays it with envelope, pitch, and default pan.
  `int`
  PASamplerInstrument.`playSample(ddf.minim.MultiChannelBuffer buffer, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  Sets a new buffer for PASamplerInstrument and plays it with envelope, pitch, and pan.
  `int`
  PASamplerInstrumentPool.`playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env)`
  `int`
  PASamplerInstrumentPool.`playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch)`
  `int`
  PASamplerInstrumentPool.`playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  `int`
  PASamplerInstrumentPool.`playSample(ddf.minim.MultiChannelBuffer buffer, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch)`
  `int`
  PASamplerInstrumentPool.`playSample(ddf.minim.MultiChannelBuffer buffer, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  `int`
  PASamplerInstrumentPoolMulti.`playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env)`
  `int`
  PASamplerInstrumentPoolMulti.`playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch)`
  `int`
  PASamplerInstrumentPoolMulti.`playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  `int`
  PASamplerInstrumentPoolMulti.`playSample(ddf.minim.MultiChannelBuffer buffer, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch)`
  `int`
  PASamplerInstrumentPoolMulti.`playSample(ddf.minim.MultiChannelBuffer buffer, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  `int`
  PASamplerInstrumentPoolMulti.`playSample(String tag, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  `default int`
  PASamplerPlayable.`playSample(float amplitude, ADSRParams env)`
  Play with amplitude and envelope.
  `default int`
  PASamplerPlayable.`playSample(float amplitude, ADSRParams env, float pitch)`
  Play with amplitude, envelope, and pitch.
  `default int`
  PASamplerPlayable.`playSample(float amplitude, ADSRParams env, float pitch, float pan)`
  Play with amplitude, envelope, pitch, and pan.
  `default int`
  PASamplerPlayable.`playSample(int start, int length, float amplitude, ADSRParams env, float pitch, float pan)`
  Play a subrange of the buffer with full parameters.
  `void`
  PASamplerInstrumentPool.`schedulePlayAtFrame(long frameIndex, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  Hook: schedule by audio-frame index (frame = one AudioOutput callback).
  `void`
  PASamplerInstrumentPool.`schedulePlayAtMillis(long triggerTimeMillis, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan)`
  Hook: schedule by (future) wallclock ms — will be wired to TimedLocation later.
  `void`
  PASamplerInstrument.`setDefaultEnv(ADSRParams env)`
  `void`
  PASamplerInstrumentPool.`setDefaultEnv(ADSRParams env)`
  Constructors in net.paulhertz.pixelaudio.sampler with parameters of type ADSRParams
  Modifier
  Constructor
  Description
  ``
  `PASamplerInstrument(ddf.minim.MultiChannelBuffer buffer, float sampleRate, int maxVoices, ddf.minim.AudioOutput audioOut, ADSRParams env)`
  Primary constructor for backward compatibility.
  ``
  `PASamplerInstrument(ddf.minim.MultiChannelBuffer buffer, ddf.minim.AudioOutput out, PASampler sampler, ADSRParams defaultEnv, float bufferSampleRate)`
  Full constructor with explicit buffer sample rate, custom sampler, and envelope.
  ``
  `PASamplerInstrumentPool(ddf.minim.MultiChannelBuffer buffer, float sampleRate, int poolSize, int perInstrumentVoices, ddf.minim.AudioOutput out, ADSRParams defaultEnv)`
  Full backward-compatible constructor with a MultiChannelBuffer argument.
  ``
  `PASamplerInstrumentPool(ddf.minim.MultiChannelBuffer buffer, ddf.minim.AudioOutput out, int poolSize, float bufferSampleRate, ADSRParams env)`
  Full constructor.
  ``
  `PASamplerInstrumentPoolMulti(String key, ddf.minim.MultiChannelBuffer buffer, float sampleRate, int poolSize, int perInstrumentVoices, ddf.minim.AudioOutput out, ADSRParams adsr)`
  Convenience constructor for single-pool initialization.
  ``
  `SamplerBrushEvent(int x, int y, int eventTimeMs, int samplePos, int sampleLen, float gain, float pitchRatio, ADSRParams env, float pan)`