Uses of Class
net.paulhertz.pixelaudio.granular.GranularPath
Packages that use GranularPath
-
Uses of GranularPath in net.paulhertz.pixelaudio.example
Methods in net.paulhertz.pixelaudio.example with parameters of type GranularPathModifier and TypeMethodDescriptionGesturePlayground_back.buildPathGranSource(float[] buf, GranularPath camino, GranularSettings settings) voidGesturePlayground_back.playGranular(float[] buf, GranularPath camino, GranularSettings settings, boolean isBuildADSR) -
Uses of GranularPath in net.paulhertz.pixelaudio.granular
Fields in net.paulhertz.pixelaudio.granular declared as GranularPathMethods in net.paulhertz.pixelaudio.granular that return GranularPathModifier and TypeMethodDescriptionstatic GranularPathGranularPaths.fixedHopReport(long startIndex, int numGrains, int hopSamples, int grainLengthSamples, float pitchHint, float gain, float pan, long startOffsetSamples, long hopOffsetSamples, int sourceLengthSamples, GranularPaths.EdgeMode edgeMode) static GranularPathLegacyGranularPathBuilder.fromBezierParametric(PACurveMaker curve, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength, int curveSteps, int targetCount, int totalDurationMs, float sampleRate) Deprecated.Build a timed GranularPath from the polygonized Bezier path, sampling it parametrically with u ∈ [0,1] over the path indices.static GranularPathLegacyGranularPathBuilder.fromBezierParametricWarped(PACurveMaker curve, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength, int curveSteps, int targetCount, int totalDurationMs, float sampleRate, DoubleUnaryOperator warp) Deprecated.General Bezier-parametric builder with optional time warp.static GranularPathLegacyGranularPathBuilder.fromBezierPoints(PACurveMaker curve, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength, int curveSteps) Deprecated.Build a GranularPath from the polygonized Bezier points of a PACurveMaker.static GranularPathLegacyGranularPathBuilder.fromBezierWithGestureTiming(PACurveMaker curve, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength, int curveSteps, float sampleRate) Deprecated.Build a timed GranularPath that uses: - the Bezier path for spatial positions (via getEventPoints/PAPathParametric), - the drag gesture's timing (via getDragOffsetsAsInts) for timeOffsetMs.static GranularPathLegacyGranularPathBuilder.fromBezierWithGestureTimingScaled(PACurveMaker curve, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength, int curveSteps, int targetDurationMs, float sampleRate) Deprecated.static GranularPathLegacyGranularPathBuilder.fromDragPoints(PACurveMaker curve, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength) Deprecated.Build a GranularPath from the drag points of a PACurveMaker, i.e., the unique points input by dragging the mouse.static GranularPathLegacyGranularPathBuilder.fromPointToLinearPath(int x, int y, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength, int hopLength, int numGrains, float sampleRate) Deprecated.Build a linear path from a point, equivalent to "classic" granular synthesis.static GranularPathLegacyGranularPathBuilder.fromPointToLinearPathDuration(int x, int y, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength, int hopLength, float durationMs, float sampleRate) Deprecated.static GranularPathLegacyGranularPathBuilder.fromPointToLinearPathTimedAndPitched(int x, int y, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength, int hopLength, int numGrains, float sampleRate, float timeStretch, float pitchRatio) Deprecated.Build a linear path from a point, classic granular synthesis with optional time-stretch and pitch-shift.static GranularPathLegacyGranularPathBuilder.fromRdpPoints(PACurveMaker curve, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength) Deprecated.Build a GranularPath from the RDP points of a PACurveMaker.static GranularPathLegacyGranularPathBuilder.fromTimedDragParametric(ArrayList<processing.core.PVector> dragPoints, int[] dragTimes, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength, int targetCount, int targetDurationMs, float sampleRate, DoubleUnaryOperator warp) Deprecated.static GranularPathLegacyGranularPathBuilder.fromTimedDragParametric(PACurveMaker curve, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength, int targetCount, int targetDurationMs, float sampleRate, DoubleUnaryOperator warp) Deprecated.static GranularPathLegacyGranularPathBuilder.fromTimedDragPoints(PACurveMaker curve, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength, float sampleRate) Deprecated.Build a GranularPath from the drag points of a PACurveMaker, i.e., the unique points input by dragging the mouse, with grain intervals determined by the time each point was drawn.static GranularPathLegacyGranularPathBuilder.fromTimedDragPointsResampled(PACurveMaker curve, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength, int targetCount, float sampleRate) Deprecated.Build a timed GranularPath from the drag points, but first resample the gesture (time + location) to targetCount samples.static GranularPathLegacyGranularPathBuilder.fromTimedDragPointsResampledToDuration(PACurveMaker curve, PixelAudioMapper mapper, int canvasWidth, int canvasHeight, int grainLength, int targetCount, int targetDurationMs, float sampleRate) Deprecated.Build a timed GranularPath from drag points, resampling the gesture to targetCount samples and scaling it to a total duration of targetDurationMs milliseconds.PathGranularSource.getPath()Constructors in net.paulhertz.pixelaudio.granular with parameters of type GranularPathModifierConstructorDescriptionPathGranularSource(float[] source, GranularPath path, GranularSettings settings, float sampleRate)