Package net.paulhertz.pixelaudio.voices
package net.paulhertz.pixelaudio.voices
Package net.paulhertz.pixelaudio.voices provides a hierarchy of Java classes
for implementing digital audio sampling synthesis with support from the Minim library for Processing.
PlaybackInfomaintains information about audio playback events, which it generates in response to play() and playSample() methods.ADSRUtilsprovides utilities for working with envelopes in ADSRParams format.ADSRParamsprovides a wrapper for parameters in Minim's ADSR class. Use it to create envelopes.SimpleADSRprovides an executable ADSR envelope for PASamplerVoice.TimedLocationhandles event scheduling.PAPlayableis the root interface for things that can play or render audio.PASamplerprovides an interface for fundamental sampler methods, including play() and setBuffer().PASamplerPlayableextends PAPlayable for sample-based playback (with parameters like pitch, gain, and envelopes).PASamplerVoicehandles individual note playback (one per simultaneous note). It's a custom driver for audio which you don't need to instantiate directly.PASharedBufferSamplermediates between PASamplerInstrument and PASamplerVoice. It extends Minim's abstract class UGen. Instantiation is controlled through PASamplerInstrument.PASamplerInstrumentmanages a set of voices for polyphony and envelopes. Instantiate this in your code for basic audio sampler synthesis.PASamplerInstrumentPoolmanages a collection of PASamplerInstruments, supporting reuse and multi-sample configurations. Think of it as a section of instruments.PASamplerInstrumentPoolMultimanages a collection of PASamplerInstrumentPools: Think of it as the orchestra.
-
ClassDescriptionValue object for Minim ADSR parameters.Utility functions for ADSRParams.Generic interface for anything that can be "played." Provides a minimal playback API plus backward-compatible overloads for sampler instruments and other PAPlayable classes.Backend engine contract for sampler implementations.PASamplerInstrument Represents a playable instrument that uses a PASampler instantiated as a PASharedBufferSampler to trigger audio playback from a shared buffer that is (currently) a Minim MultiChannelBuffer.PASamplerInstrumentPool Manages a group of PASamplerInstruments sharing the same source buffer and audio output.PASamplerInstrumentPoolMulti Manages multiple PASamplerInstrumentPool instances, each keyed by name.Specialized playable interface for sample-based instruments.PASamplerVoice — a single playback "voice" reading from a shared mono buffer.UGen-based sampler that plays multiple PASamplerVoice instances from a single shared mono buffer (channel 0 of a MultiChannelBuffer) which is an array of floating point samples over (-1.0..1.0).Holds information about a triggered playback event.SimpleADSR — software envelope generator with optional exponential curves.Used to schedule or track events that take place at specific coordinate locations.