Index
All Classes and Interfaces|All Packages|Constant Field Values
P
- PABezShape - Class in net.paulhertz.pixelaudio.curves
-
Class to store a path composed of lines and Bezier curves, along with fill, stroke, weight and opacity values.
- PABezShape(float, float, boolean) - Constructor for class net.paulhertz.pixelaudio.curves.PABezShape
-
Creates a BezShape with initial point x,y, closed or open according to the value of isClosed.
- PABezVertex - Class in net.paulhertz.pixelaudio.curves
-
Provides storage for a cubic Bezier curves's control points and anchor point.
- PABezVertex() - Constructor for class net.paulhertz.pixelaudio.curves.PABezVertex
-
initializes all points to 0,0
- PABezVertex(float, float, float, float, float, float) - Constructor for class net.paulhertz.pixelaudio.curves.PABezVertex
- PACurveMaker - Class in net.paulhertz.pixelaudio.curves
-
PACurveMaker is a utility and storage class for interactive drawing and curve modeling and for drawing to on screen PApplets or off screen PGraphics.
- PACurveMaker(ArrayList<PVector>) - Constructor for class net.paulhertz.pixelaudio.curves.PACurveMaker
-
Constructor called by all factory methods, initializes dragPoints, rdpPoints and rdpIndices.
- PACurveUtility - Class in net.paulhertz.pixelaudio.curves
-
A class to maintain static versions of point reduction and curve-modeling methods.
- PACurveUtility() - Constructor for class net.paulhertz.pixelaudio.curves.PACurveUtility
- PALineVertex - Class in net.paulhertz.pixelaudio.curves
-
Stores a line vertex consisting of a single point.
- PALineVertex() - Constructor for class net.paulhertz.pixelaudio.curves.PALineVertex
- PALineVertex(float, float) - Constructor for class net.paulhertz.pixelaudio.curves.PALineVertex
- pan - Variable in class net.paulhertz.pixelaudio.voices.PASamplerVoice
- PAPlayable - Interface in net.paulhertz.pixelaudio.voices
-
Generic interface for anything that can be "played." Provides a minimal playback API plus backward-compatible overloads for sampler instruments and other PAPlayable classes.
- PASampler - Interface in net.paulhertz.pixelaudio.voices
-
Backend engine contract for sampler implementations.
- PASamplerInstrument - Class in net.paulhertz.pixelaudio.voices
-
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.
- PASamplerInstrument(MultiChannelBuffer, float, int, AudioOutput, ADSRParams) - Constructor for class net.paulhertz.pixelaudio.voices.PASamplerInstrument
-
Primary constructor for backward compatibility.
- PASamplerInstrument(MultiChannelBuffer, AudioOutput) - Constructor for class net.paulhertz.pixelaudio.voices.PASamplerInstrument
-
Convenience constructor assuming buffer and output share the same rate.
- PASamplerInstrument(MultiChannelBuffer, AudioOutput, PASampler, ADSRParams, float) - Constructor for class net.paulhertz.pixelaudio.voices.PASamplerInstrument
-
Full constructor with explicit buffer sample rate, custom sampler, and envelope.
- PASamplerInstrumentPool - Class in net.paulhertz.pixelaudio.voices
-
PASamplerInstrumentPool Manages a group of PASamplerInstruments sharing the same source buffer and audio output.
- PASamplerInstrumentPool(MultiChannelBuffer, float, int, int, AudioOutput, ADSRParams) - Constructor for class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
-
Full backward-compatible constructor with a MultiChannelBuffer argument.
- PASamplerInstrumentPool(MultiChannelBuffer, AudioOutput, int) - Constructor for class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
-
Convenience constructor: default env, bufferSampleRate = out.sampleRate().
- PASamplerInstrumentPool(MultiChannelBuffer, AudioOutput, int, float, ADSRParams) - Constructor for class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
-
Full constructor.
- PASamplerInstrumentPoolMulti - Class in net.paulhertz.pixelaudio.voices
-
PASamplerInstrumentPoolMulti Manages multiple PASamplerInstrumentPool instances, each keyed by name.
- PASamplerInstrumentPoolMulti(AudioOutput) - Constructor for class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPoolMulti
- PASamplerInstrumentPoolMulti(String, MultiChannelBuffer, float, int, int, AudioOutput, ADSRParams) - Constructor for class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPoolMulti
-
Convenience constructor for single-pool initialization.
- PASamplerPlayable - Interface in net.paulhertz.pixelaudio.voices
-
Specialized playable interface for sample-based instruments.
- PASamplerVoice - Class in net.paulhertz.pixelaudio.voices
-
PASamplerVoice — a single playback "voice" reading from a shared mono buffer.
- PASamplerVoice(float[], float) - Constructor for class net.paulhertz.pixelaudio.voices.PASamplerVoice
- PASharedBufferSampler - Class in net.paulhertz.pixelaudio.voices
-
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).
- PASharedBufferSampler(MultiChannelBuffer, float, AudioOutput) - Constructor for class net.paulhertz.pixelaudio.voices.PASharedBufferSampler
-
Construct a sampler over a shared MultiChannelBuffer.
- PASharedBufferSampler(MultiChannelBuffer, float, AudioOutput, int) - Constructor for class net.paulhertz.pixelaudio.voices.PASharedBufferSampler
- PASharedBufferSampler(MultiChannelBuffer, AudioOutput) - Constructor for class net.paulhertz.pixelaudio.voices.PASharedBufferSampler
- PAVertex2DINF - Interface in net.paulhertz.pixelaudio.curves
-
Interface for line and curve vertices.
- peelPixels(int[], int, int, int, int) - Method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Copies a rectangular area of pixels in image (row-major) order and returns it as an array of RGB values (a standard operation).
- peelPixelsAsAudio(int[], int, int, int, int) - Method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Copies a rectangular area of pixels in image (row-major) order and returns it as an array of audio values ([-1.0, 1.0]).
- peelSamples(float[], int, int, int, int) - Method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Copies a rectangular area of audio values from a signal mapped to an image using imageToSignalLUT to index values.
- peelSamplesAsRGB(float[], int, int, int, int) - Method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Copies a rectangular area of audio values from a signal mapped to an image using imageToSignalLUT to index values.
- phase - Variable in class net.paulhertz.pixelaudio.WaveData
-
fraction of TWO_PI in the range 0..1,
- phaseAtFrame(int) - Method in class net.paulhertz.pixelaudio.WaveData
- phaseCycles - Variable in class net.paulhertz.pixelaudio.WaveData
-
number of times to cycle through TWO_PI over the duration of the animation
- phaseInc - Variable in class net.paulhertz.pixelaudio.WaveData
-
increment to the phase for each step of animation = (cycles * TWO_PI)/(animation steps) Should be set when animation begins, otherwise is set to 0, unchanging.
- phaseScalesTwoPI - Static variable in class net.paulhertz.pixelaudio.WaveData
-
support for old JSON format where phase was already scaled by TWO_PI in the new format phase ranges over the open interval (0, 1), so we scale it by TWO_PI and store the result in phaseTwoPi, which tracks phase information.
- phaseTwoPi - Variable in class net.paulhertz.pixelaudio.WaveData
-
TWO_PI * phase, used internally to calculate wave value
- pianoKeyFrequency(float) - Static method in class net.paulhertz.pixelaudio.WaveSynthBuilder
- PixelAudio - Class in net.paulhertz.pixelaudio
- PixelAudio(PApplet) - Constructor for class net.paulhertz.pixelaudio.PixelAudio
-
a Constructor, usually called in the setup() method in your sketch to initialize and start the Library.
- PixelAudioMapper - Class in net.paulhertz.pixelaudio
-
As of pre-release version 0.9.2-beta, PixelAudioMapper is substantially complete, though there are a number of features that have not been tested or demonstrated with code examples.
- PixelAudioMapper(PixelMapGen) - Constructor for class net.paulhertz.pixelaudio.PixelAudioMapper
-
Basic constructor for PixelAudio, sets up all variables.
- PixelAudioMapper.ChannelNames - Enum Class in net.paulhertz.pixelaudio
-
List of available color channels, "L" for lightness, since "B" for brightness is taken.
- PixelAudioMapper.ChannelNames.ChannelExtractor - Interface in net.paulhertz.pixelaudio
- pixelMap - Variable in class net.paulhertz.pixelaudio.PixelMapGen
- PixelMapGen - Class in net.paulhertz.pixelaudio
-
Abstract class for handling coordinates and LUT generation for PixelAudioMapper.
- PixelMapGen(int, int) - Constructor for class net.paulhertz.pixelaudio.PixelMapGen
-
Constructor for classes that extend PixelMapGen.
- PixelMapGen(int, int, AffineTransformType) - Constructor for class net.paulhertz.pixelaudio.PixelMapGen
-
Constructor for classes that extend PixelMapGen.
- pixelsTransform(int[], int, int, AffineTransformType) - Static method in class net.paulhertz.pixelaudio.BitmapTransform
-
Performs a geometric transform (rotation, reflection) of an array of pixels.
- plantPixels(float[], int[], int, int, PixelAudioMapper.ChannelNames) - Method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Writes values from audio data array sprout into the specified channel of the img array at positions mapped by the signal path, starting at signalPos for the given length.
- plantPixels(int[], int[], int, int) - Method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Starting at
signalPos, writeslengthvalues from RGB arraysproutinto RGB arrayimg, in signal order. - plantPixels(int[], int[], int, int, PixelAudioMapper.ChannelNames) - Method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Writes values from RGB source array sprout into img at positions mapped by the signal path, using the specified channel.
- plantSamples(float[], float[], int, int) - Method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Starting at signalPos, insert length audio samples from source array sprout into target array of audio samples sig.
- plantSamples(int[], float[], int, int) - Method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Starting at
signalPos, insertlengthtranscoded RGB samples from source arraysproutinto target array of audio samplessig. - plantSamples(int[], float[], int, int, PixelAudioMapper.ChannelNames) - Method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Writes transcoded values from a specified channel of a color array (sprout) into an audio array (sig) starting at signalPos for the given length.
- play() - Method in interface net.paulhertz.pixelaudio.voices.PAPlayable
-
Simple play call using default amplitude, pitch, and pan.
- play(float) - Method in interface net.paulhertz.pixelaudio.voices.PAPlayable
-
Play with amplitude only.
- play(float, float) - Method in interface net.paulhertz.pixelaudio.voices.PAPlayable
-
Play with amplitude and pitch.
- play(float, float, float) - Method in interface net.paulhertz.pixelaudio.voices.PAPlayable
-
Minimal play signature for generic playables.
- play(float, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrument
-
Generic play() from PAPlayable, will play the entire buffer from the beginning of the buffer with specified pitch and pan and default envelope.
- play(float, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
-
The most basic play command, plays the entire buffer.
- play(float, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPoolMulti
-
Plays the instrument's entire buffer, from PAPlayable interface.
- play(float, float, float, boolean) - Method in interface net.paulhertz.pixelaudio.voices.PAPlayable
-
Play with amplitude, pitch, and pan.
- play(float, ADSRParams, float, float) - Method in interface net.paulhertz.pixelaudio.voices.PAPlayable
-
Optional interface for playables that support envelopes.
- play(int, int, float, ADSRParams, float, float) - Method in interface net.paulhertz.pixelaudio.voices.PASampler
-
Play command with all the useful arguments in standard order.
- play(int, int, float, ADSRParams, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrument
-
The primary play method, called by all playSample() methods, from PASamplerPlayable interface.
- play(int, int, float, ADSRParams, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
-
The primary play command, with all common arguments in standard order.
- play(int, int, float, ADSRParams, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPoolMulti
-
PASamplerPlayable's play method, all six standard parameters in standard order, called by other methods.
- play(int, int, float, ADSRParams, float, float) - Method in interface net.paulhertz.pixelaudio.voices.PASamplerPlayable
-
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.
- play(int, int, float, ADSRParams, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASharedBufferSampler
-
Play command with all the useful arguments in standard order, overrides PASampler.play().
- PlaybackInfo - Class in net.paulhertz.pixelaudio.voices
-
Holds information about a triggered playback event.
- PlaybackInfo(long, int, float, float, boolean, long, float) - Constructor for class net.paulhertz.pixelaudio.voices.PlaybackInfo
- playbackSampleRate - Variable in class net.paulhertz.pixelaudio.voices.PASamplerVoice
- playbackSampleRate - Variable in class net.paulhertz.pixelaudio.voices.PASharedBufferSampler
- playSample() - Method in interface net.paulhertz.pixelaudio.voices.PASamplerPlayable
-
Simplest: play whole buffer at default amplitude and pitch.
- playSample(float) - Method in interface net.paulhertz.pixelaudio.voices.PASamplerPlayable
-
Play with amplitude only.
- playSample(float, ADSRParams) - Method in interface net.paulhertz.pixelaudio.voices.PASamplerPlayable
-
Play with amplitude and envelope.
- playSample(float, ADSRParams, float) - Method in interface net.paulhertz.pixelaudio.voices.PASamplerPlayable
-
Play with amplitude, envelope, and pitch.
- playSample(float, ADSRParams, float, float) - Method in interface net.paulhertz.pixelaudio.voices.PASamplerPlayable
-
Play with amplitude, envelope, pitch, and pan.
- playSample(int, int, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrument
-
Convenience overload: uses default envelope, default pitch, and center pan.
- playSample(int, int, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
- playSample(int, int, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPoolMulti
- playSample(int, int, float) - Method in interface net.paulhertz.pixelaudio.voices.PASamplerPlayable
-
Play subrange with amplitude only.
- playSample(int, int, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrument
-
Convenience overload: uses default envelope, supplied pitch and center pan.
- playSample(int, int, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
- playSample(int, int, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPoolMulti
- playSample(int, int, float, float) - Method in interface net.paulhertz.pixelaudio.voices.PASamplerPlayable
-
Play subrange with amplitude and pitch (no envelope).
- playSample(int, int, float, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrument
-
All params except the envelope, so we use the default envelope.
- playSample(int, int, float, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
- playSample(int, int, float, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPoolMulti
- playSample(int, int, float, ADSRParams) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrument
-
Plays a sample using a supplied envelope with default pitch and default pan.
- playSample(int, int, float, ADSRParams) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
- playSample(int, int, float, ADSRParams) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPoolMulti
- playSample(int, int, float, ADSRParams, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrument
-
Plays a sample using a supplied envelope, pitch, and current global pan.
- playSample(int, int, float, ADSRParams, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
- playSample(int, int, float, ADSRParams, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPoolMulti
- playSample(int, int, float, ADSRParams, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrument
-
Trigger playback using all six standard per-voice parameters.
- playSample(int, int, float, ADSRParams, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
- playSample(int, int, float, ADSRParams, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPoolMulti
- playSample(int, int, float, ADSRParams, float, float) - Method in interface net.paulhertz.pixelaudio.voices.PASamplerPlayable
-
Play a subrange of the buffer with full parameters.
- playSample(MultiChannelBuffer, int, int, float, ADSRParams, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrument
-
Sets a new buffer for PASamplerInstrument and plays it with envelope, pitch, and default pan.
- playSample(MultiChannelBuffer, int, int, float, ADSRParams, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
- playSample(MultiChannelBuffer, int, int, float, ADSRParams, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPoolMulti
- playSample(MultiChannelBuffer, int, int, float, ADSRParams, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrument
-
Sets a new buffer for PASamplerInstrument and plays it with envelope, pitch, and pan.
- playSample(MultiChannelBuffer, int, int, float, ADSRParams, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
- playSample(MultiChannelBuffer, int, int, float, ADSRParams, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPoolMulti
- playSample(String, int, int, float, ADSRParams, float, float) - Method in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPoolMulti
- pluckPixels(int[], int, int) - Method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Starting at signalPos, reads length values from pixel array img in signal path order using signalToImageLUT to redirect indexing and then returns them as an array of RGB pixel values in signal order.
- pluckPixelsAsAudio(int[], int, int, PixelAudioMapper.ChannelNames) - Method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Starting at
signalPos, readslengthvalues from pixel arrayimgin signal order usingsignalToImageLUTto redirect indexing and then returns them as an array of transcoded float values. - pluckSamples(float[], int, int) - Method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Starting at signalPos, reads length values from float array sig and returns them as a new array of audio values in signal order.
- pluckSamplesAsRGB(float[], int, int) - Method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Starting at
signalPos, reads and transcodeslengthvalues from float arraysigand returns them as an RGB array in signal order. - pointCount() - Method in class net.paulhertz.pixelaudio.curves.PABezShape
-
Returns number of points (anchor points and control points) in curves.
- pointInPoly(ArrayList<PVector>, float, float) - Static method in class net.paulhertz.pixelaudio.curves.PABezShape
-
Decides if a point is inside a polygon, returns true if it is.
- polySteps - Variable in class net.paulhertz.pixelaudio.curves.PACurveMaker
-
number of steps along a polygonized curve, used to produce brushPoly
- pool - Variable in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
- pools - Variable in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPoolMulti
- poolSize - Variable in class net.paulhertz.pixelaudio.voices.PASamplerInstrumentPool
- position - Variable in class net.paulhertz.pixelaudio.voices.PASamplerVoice
- prepareAnimation() - Method in class net.paulhertz.pixelaudio.WaveSynth
- prevalidate(int, int) - Static method in class net.paulhertz.pixelaudio.HilbertGen
- PRIME_W - Static variable in class net.paulhertz.pixelaudio.OpenSimplex2
- PRIME_X - Static variable in class net.paulhertz.pixelaudio.OpenSimplex2
- PRIME_Y - Static variable in class net.paulhertz.pixelaudio.OpenSimplex2
- PRIME_Z - Static variable in class net.paulhertz.pixelaudio.OpenSimplex2
- printWDStates(ArrayList<WaveData>) - Static method in class net.paulhertz.pixelaudio.WaveSynthBuilder
-
Prints mute/active status of WaveData operators in supplied waveDataList.
- pullAudioAsColor(float[]) - Static method in class net.paulhertz.pixelaudio.PixelAudioMapper
- pullAudioAsColor(float[], int[], int, int) - Static method in class net.paulhertz.pixelaudio.PixelAudioMapper
- pullPixelAsAudio(int[], float[], int[], PixelAudioMapper.ChannelNames, float[]) - Static method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Converts an array of pixel channel values to an array of audio sample values, mapping sample values to the interval [-1.0, 1.0], using a supplied lookup table to change the order of resulting array.
- pullPixelAsAudio(int[], float[], PixelAudioMapper.ChannelNames, float[]) - Static method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Converts an array of pixel channel values to an array of audio sample values, mapping sample values to the interval [-1.0, 1.0], with no remapping of array order.
- pushAudioToChannel(float[], int[], int[], PixelAudioMapper.ChannelNames) - Static method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Replaces a specified channel in an array of pixel values, rgbPixels, with a value derived from an array of floats, buf, that represent audio samples.
- pushAudioToPixel(float[], int[], PixelAudioMapper.ChannelNames) - Static method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Replaces a specified channel in an array of pixel values, rgbPixels, with a value derived from an array of floats, buf, that represent audio samples.
- pushChannelToPixel(int[], int[], int[], PixelAudioMapper.ChannelNames) - Static method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Replaces a specified channel in an array of pixel values, rgbPixels, with a value derived from an array of RGB values, colors.
- pushChannelToPixel(int[], int[], PixelAudioMapper.ChannelNames) - Static method in class net.paulhertz.pixelaudio.PixelAudioMapper
-
Replaces a specified channel in an array of pixel values, rgbPixels, with a value derived from another array of RGB values, colors.
- put(String, String) - Method in class net.paulhertz.pixelaudio.Lindenmayer
-
Loads a key and its corresponding value into the transition table.
All Classes and Interfaces|All Packages|Constant Field Values