Uses of Class
net.paulhertz.pixelaudio.sampler.ADSRParams
Packages that use ADSRParams
Package
Description
Example Processing sketches and demonstrations of PixelAudio library functionality.
Granular synthesis classes for PixelAudio.
JSON-based persistence for PixelAudio data structures supported by file i/o classes.
Digital audio sampling synthesis classes for PixelAudio.
-
Uses of ADSRParams in net.paulhertz.pixelaudio.example
Fields in net.paulhertz.pixelaudio.example declared as ADSRParamsModifier and TypeFieldDescription(package private) ADSRParamsLoadAudioToImage.adsr(package private) ADSRParamsLoadImageToAudio.adsr(package private) ADSRParamsWaveSynthSequencer.adsrprivate ADSRParamsWaveSynthSequencer.NoteTimedLocation.adsr(package private) ADSRParamsArgosyMixer.adsr1(package private) ADSRParamsArgosyMixer.adsr2(package private) ADSRParamsTutorialOne_01_FileIO.defaultEnv(package private) ADSRParamsTutorialOne_02_Animation.defaultEnv(package private) ADSRParamsTutorialOne_03_Drawing.defaultEnv(package private) ADSRParamsTutorialOne_04_Network.defaultEnv(package private) ADSRParamsTutorialOne_06_WindowBuffer.defaultEnv(package private) final ADSRParamsTutorialOne_05_GesturePlayground.SamplerPointHappening.envTutorialOne_05_GesturePlayground.granEnvelope(package private) ADSRParamsBagatelle.granularEnv(package private) ADSRParamsTutorialOne_05_GesturePlayground.granularEnv(package private) ADSRParamsBigWaveSynthAudio.longAdsr(package private) ADSRParamsBagatelle.samplerEnv(package private) ADSRParamsTutorialOne_05_GesturePlayground.samplerEnv(package private) ADSRParamsWaveSynthEditor.samplerEnv(package private) ADSRParamsBigWaveSynthAudio.shortAdsrFields in net.paulhertz.pixelaudio.example with type parameters of type ADSRParamsModifier and TypeFieldDescription(package private) ArrayList<ADSRParams>TutorialOne_01_FileIO.adsrList(package private) ArrayList<ADSRParams>TutorialOne_02_Animation.adsrListMethods in net.paulhertz.pixelaudio.example that return ADSRParamsModifier and TypeMethodDescriptionBagatelle.calculateEnvelopeDb(float gainDb, int totalSamples, float sampleRate) Calculate an envelope of length totalSamples.TutorialOne_03_Drawing.calculateEnvelopeDb(float gainDb, int totalSamples, float sampleRate) Calculate an envelope of length totalSamples.TutorialOne_04_Network.calculateEnvelopeDb(float gainDb, int totalSamples, float sampleRate) Calculate an envelope of length totalSamples.TutorialOne_05_GesturePlayground.calculateEnvelopeDb(float gainDb, int totalSamples, float sampleRate) Calculate an envelope of length totalSamples.TutorialOne_06_WindowBuffer.calculateEnvelopeDb(float gainDb, int totalSamples, float sampleRate) Calculate an envelope of length totalSamples.Bagatelle.calculateEnvelopeLinear(float linear, float totalMs) Calculate an envelope of length totalSamples.TutorialOne_03_Drawing.calculateEnvelopeLinear(float gainDb, float totalMs) Calculate an envelope of length totalSamples.TutorialOne_04_Network.calculateEnvelopeLinear(float gainDb, float totalMs) Calculate an envelope of length totalSamples.TutorialOne_05_GesturePlayground.calculateEnvelopeLinear(float linear, float totalMs) Calculate an envelope of length totalSamples.TutorialOne_06_WindowBuffer.calculateEnvelopeLinear(float gainDb, float totalMs) Calculate an envelope of length totalSamples.(package private) static ADSRParams(package private) static ADSRParams(package private) static ADSRParams(package private) static ADSRParams(package private) static ADSRParamsWaveSynthSequencer.NoteTimedLocation.getAdsr()Methods in net.paulhertz.pixelaudio.example with parameters of type ADSRParamsModifier and TypeMethodDescriptionBagatelle.buildGranSynth(ddf.minim.AudioOutput out, ADSRParams env, int numVoices) Initializes a 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.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.TutorialOne_05_GesturePlayground.buildGranSynth(ddf.minim.AudioOutput out, ADSRParams env, int numVoices) Initializes a 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 booleanBagatelle.envEquals(ADSRParams a, ADSRParams b) (package private) static booleanTutorialOne_05_GesturePlayground.envEquals(ADSRParams a, ADSRParams b) (package private) StringBagatelle.envNameFor(ADSRParams env) (package private) StringTutorialOne_05_GesturePlayground.envNameFor(ADSRParams env) intBagatelle.estimateLoopDurationMs(GestureSchedule sched, ADSRParams env, int noteLenSamples) Estimate loop duration for a Sampler instrument.(package private) StringBagatelle.formatEnv(ADSRParams env) (package private) StringTutorialOne_05_GesturePlayground.formatEnv(ADSRParams env) intArgosyMixer.playSample(PASamplerInstrument synth, int samplePos, int samplelen, float amplitude, ADSRParams env, float pan) Plays an audio sample with a custom envelope and stereo pan.intBagatelle.playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pan) Plays an audio sample with a custom envelope and stereo pan.intBagatelle.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.intBigWaveSynthAudio.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.intTutorialOne_01_FileIO.playSample(int samplePos, int samplelen, float amplitude, ADSRParams env) Plays an audio sample with PASamplerInstrument and custom ADSR.intTutorialOne_02_Animation.playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pan) Plays an audio sample with PASamplerInstrument and custom ADSR.intTutorialOne_03_Drawing.playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pan) Plays an audio sample with a custom envelope and stereo pan.intTutorialOne_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.intTutorialOne_04_Network.playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pan) Plays an audio sample with a custom envelope and stereo pan.intTutorialOne_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.intTutorialOne_05_GesturePlayground.playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pan) Plays an audio sample with a custom envelope and stereo pan.intTutorialOne_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.intTutorialOne_06_WB_Retrofit.playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pitch, float pan) intTutorialOne_06_WindowBuffer.playSample(int samplePos, int samplelen, float amplitude, ADSRParams env, float pan) Plays an audio sample with a custom envelope and stereo pan.intTutorialOne_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.intWaveSynthEditor.playSample(int samplePos, int samplelen, float amplitude, ADSRParams env) Plays an audio sample with WFSamplerInstrument and custom ADSR.intWaveSynthSequencer.playSample(int samplePos, int samplelen, float amplitude, ADSRParams env) Plays an audio sample with WFSamplerInstrument and custom ADSR.Bagatelle.startSamplerLoop(SamplerBrush sb, GestureSchedule sched, ADSRParams env, int noteLenSamples, int repeats, int gapMs, boolean animate) (package private) voidBagatelle.syncEnvelopeMenu(ADSRParams env) Constructors in net.paulhertz.pixelaudio.example with parameters of type ADSRParamsModifierConstructorDescriptionNoteTimedLocation(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) -
Uses of ADSRParams in net.paulhertz.pixelaudio.granular
Fields in net.paulhertz.pixelaudio.granular declared as ADSRParamsModifier and TypeFieldDescriptionprivate ADSRParamsPAGranularInstrument.defaultEnv(package private) ADSRParamsPAGranularVoice.defaultEnvParamsGestureGranularConfig.Builder.envEnvelope applied to granular or sampler playback.final ADSRParamsGestureGranularConfig.envEnvelope applied to granular or sampler playback.private ADSRParamsGestureGranularParams.Builder.envfinal ADSRParamsGestureGranularParams.envEnvelope applied to granular voices; null lets the instrument or sampler use its default envelope.(package private) final ADSRParamsPAGranularSampler.ScheduledPlay.envMethods in net.paulhertz.pixelaudio.granular that return ADSRParamsMethods in net.paulhertz.pixelaudio.granular with parameters of type ADSRParamsModifier and TypeMethodDescriptionvoidPAGranularVoice.activate(PASource source, ADSRParams envParams, float gain, float pan, boolean looping) Activates this voice with no external grain-window override.voidPAGranularVoice.activate(PASource source, ADSRParams envParams, float gain, float pan, boolean looping, ddf.minim.analysis.WindowFunction grainWindow, int grainLenSamples) Activates this voice with a source and playback settings.GestureGranularParams.Builder.env(ADSRParams v) Sets the playback envelope.private PAGranularVoicePAGranularSampler.getAvailableVoice(PASource src, ADSRParams env, float gain, float pan, boolean looping) private PAGranularVoicePAGranularSampler.getAvailableVoice(PASource src, ADSRParams env, float gain, float pan, boolean looping, ddf.minim.analysis.WindowFunction grainWindow, int grainLenSamples) Allocates or reuses a voice for a source.GestureGranularConfig.Builder.granularEnvelope(ADSRParams env) Makes explicit to the caller that the envelope is being set for GRANULAR synthesis.longPAGranularInstrument.play(PASource src, float amp, float pan, ADSRParams env, boolean looping) Plays a granular source immediately.longPAGranularSampler.play(PASource src, float gain, float pan, ADSRParams defaultEnv, boolean looping) Convenience overload for callers that supply an already-resolved default envelope.longPAGranularSampler.play(PASource src, ADSRParams env, float gain, float pan) Convenience overload that disables looping.longPAGranularSampler.play(PASource src, ADSRParams env, float gain, float pan, boolean looping) Plays a granular source immediately as a voice.GestureGranularConfig.Builder.samplerEnvelope(ADSRParams env) Makes explicit to the caller that the envelope is being set for SAMPLER synthesis.voidPAGranularInstrument.setDefaultEnvelope(ADSRParams env) voidPAGranularInstrument.startAfterDelaySamples(PASource src, float amp, float pan, ADSRParams env, boolean looping, long delaySamples) Schedules playback after a delay in samples relative to the current sampler time.voidPAGranularSampler.startAfterDelaySamples(PASource src, ADSRParams env, float gain, float pan, boolean looping, long delaySamples) Schedules a new voice to start after a delay in samples.voidPAGranularInstrument.startAtSampleTime(PASource src, float amp, float pan, ADSRParams env, boolean looping, long startSample) Schedules playback of a source at an absolute sample time.voidPAGranularInstrument.startAtSampleTime(PASource src, float amp, float pan, ADSRParams env, boolean looping, long startSample, ddf.minim.analysis.WindowFunction grainWindow, int grainLenSamples) Schedules playback of a source at an absolute sample time with grain-window settings.voidPAGranularSampler.startAtSampleTime(PASource src, ADSRParams env, float gain, float pan, boolean looping, long startSample) Schedules a new voice to start at an absolute sample time.voidPAGranularSampler.startAtSampleTime(PASource src, ADSRParams env, float gain, float pan, boolean looping, long startSample, ddf.minim.analysis.WindowFunction grainWindow, int grainLenSamples) Schedules a new voice to start at an absolute sample time with grain-window settings.voidPAGranularInstrument.startNow(PASource src, float amp, float pan, ADSRParams env, boolean looping) Schedules playback at the current instrument cursor.Constructors in net.paulhertz.pixelaudio.granular with parameters of type ADSRParamsModifierConstructorDescriptionPAGranularInstrument(ddf.minim.AudioOutput out, ADSRParams defaultEnv, int maxVoices) Creates a granular instrument.(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 ADSRParamsModifier and TypeMethodDescriptionprivate static ADSRParamsGestureGranularConfigIO.adsrFromJson(processing.data.JSONObject obj) Methods in net.paulhertz.pixelaudio.io with parameters of type ADSRParamsModifier and TypeMethodDescriptionprivate static processing.data.JSONObjectGestureGranularConfigIO.adsrToJson(ADSRParams env) -
Uses of ADSRParams in net.paulhertz.pixelaudio.sampler
Fields in net.paulhertz.pixelaudio.sampler declared as ADSRParamsModifier and TypeFieldDescriptionprivate ADSRParamsPASamplerInstrument.defaultEnvDefault ADSR envelope for playback.private ADSRParamsPASamplerInstrumentPool.defaultEnvDefault ADSR envelope passed to pooled instruments.final ADSRParamsSamplerBrushEvent.envADSR envelope for the sampler event.Methods in net.paulhertz.pixelaudio.sampler that return ADSRParamsModifier and TypeMethodDescriptionADSRParams.copy()static ADSRParamsADSRUtils.fitEnvelopeToDuration(ADSRParams adsr, int duration) Returns a new ADSRParams scaled to fit the specified duration (ms).PASamplerInstrument.getDefaultEnv()PASamplerInstrumentPool.getDefaultEnv()Methods in net.paulhertz.pixelaudio.sampler with parameters of type ADSRParamsModifier and TypeMethodDescriptionvoidPASamplerVoice.activate(int start, int length, float gain, ADSRParams envParams, float pitch, float pan, boolean looping) Activates the voice over a buffer region.voidPASamplerInstrumentPoolMulti.addPool(String key, ddf.minim.MultiChannelBuffer buffer, float bufferSampleRate, int poolSize, int perInstrumentVoices, ddf.minim.AudioOutput out, ADSRParams env) Adds a named sampler pool.static intPlaybackInfo.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 ADSRParamsADSRUtils.fitEnvelopeToDuration(ADSRParams adsr, int duration) Returns a new ADSRParams scaled to fit the specified duration (ms).default intPAPlayable.play(float amplitude, ADSRParams env, float pitch, float pan) Optional interface for playables that support envelopes.intPASampler.play(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan) Play command with all the useful arguments in standard order.intPASamplerInstrument.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.intPASamplerInstrumentPool.play(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan) The primary play command, with all common arguments in standard order.intPASamplerInstrumentPoolMulti.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.intPASamplerPlayable.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.intPASharedBufferSampler.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().intPASamplerInstrument.playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env) Plays a sample using a supplied envelope with default pitch and default pan.intPASamplerInstrument.playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch) Plays a sample using a supplied envelope, pitch, and current global pan.intPASamplerInstrument.playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan) Trigger playback using all six standard per-voice parameters.intPASamplerInstrument.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.intPASamplerInstrument.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.intPASamplerInstrumentPool.playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env) intPASamplerInstrumentPool.playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch) Plays a sample range with envelope and pitch.intPASamplerInstrumentPool.playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan) Play a subrange of the buffer with full parameters.intPASamplerInstrumentPool.playSample(ddf.minim.MultiChannelBuffer buffer, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch) Plays a range from a temporary buffer.intPASamplerInstrumentPool.playSample(ddf.minim.MultiChannelBuffer buffer, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan) Plays a range from a temporary buffer.intPASamplerInstrumentPoolMulti.playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env) intPASamplerInstrumentPoolMulti.playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch) Plays a sample range with envelope and pitch on the active pool.intPASamplerInstrumentPoolMulti.playSample(int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan) Play a subrange of the buffer with full parameters.intPASamplerInstrumentPoolMulti.playSample(ddf.minim.MultiChannelBuffer buffer, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch) Plays a range from a temporary buffer on the active pool.intPASamplerInstrumentPoolMulti.playSample(ddf.minim.MultiChannelBuffer buffer, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan) Plays a range from a temporary buffer on the active pool.intPASamplerInstrumentPoolMulti.playSample(String tag, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan) Plays a sample range on a named pool.default intPASamplerPlayable.playSample(float amplitude, ADSRParams env) Play with amplitude and envelope.default intPASamplerPlayable.playSample(float amplitude, ADSRParams env, float pitch) Play with amplitude, envelope, and pitch.default intPASamplerPlayable.playSample(float amplitude, ADSRParams env, float pitch, float pan) Play with amplitude, envelope, pitch, and pan.default intPASamplerPlayable.playSample(int start, int length, float amplitude, ADSRParams env, float pitch, float pan) Play a subrange of the buffer with full parameters.voidPASamplerInstrumentPool.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).voidPASamplerInstrumentPool.schedulePlayAtMillis(long triggerTimeMillis, int samplePos, int sampleLen, float amplitude, ADSRParams env, float pitch, float pan) Hook: schedule by future wallclock milliseconds; will be wired to TimedLocation later.voidPASamplerInstrument.setDefaultEnv(ADSRParams env) Sets the default ADSR envelope.voidPASamplerInstrumentPool.setDefaultEnv(ADSRParams env) Sets the default ADSR envelope for pooled instruments.Constructors in net.paulhertz.pixelaudio.sampler with parameters of type ADSRParamsModifierConstructorDescriptionPASamplerInstrument(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) Creates a sampler brush event.