Package net.paulhertz.pixelaudio.example
Class TutorialOne_04_Network.AudioBrushLite
java.lang.Object
net.paulhertz.pixelaudio.example.TutorialOne_04_Network.AudioBrushLite
- Enclosing class:
- TutorialOne_04_Network
A light-weight version of the AudioBrush class for combining gestures and
audio synthesis. AudioBrushLite combines PACurveMaker gesture and curve
modeling with basic audio synthesis parameters. AudioBrush, introduced in
TutorialOne_05_GesturePlayground, exposes most of the parameters used for
granular synthesis in PixelAudio, along with a many of the brush and gesture
settings available in PACurveMaker.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TutorialOne_04_Network.BrushConfigConfiguration variables for drawingprivate final PACurveMakerPACurveMaker instance stores point and time data, provides drawing and scheduling methodsprivate TutorialOne_04_Network.HopModeFor granular instrument, timing modelAudio output variableprivate floatPitch scaling -
Constructor Summary
ConstructorsConstructorDescriptionAudioBrushLite(PACurveMaker curve, TutorialOne_04_Network.BrushConfig cfg, TutorialOne_04_Network.BrushOutput output, TutorialOne_04_Network.HopMode hopMode) -
Method Summary
Modifier and TypeMethodDescriptioncfg()curve()hopMode()output()floatvoidvoidvoidsetPitchRatio(float newRatio)
-
Field Details
-
curve
PACurveMaker instance stores point and time data, provides drawing and scheduling methods -
cfg
Configuration variables for drawing -
output
Audio output variable -
hopMode
For granular instrument, timing model -
pitchRatio
private float pitchRatioPitch scaling
-
-
Constructor Details
-
AudioBrushLite
public AudioBrushLite(PACurveMaker curve, TutorialOne_04_Network.BrushConfig cfg, TutorialOne_04_Network.BrushOutput output, TutorialOne_04_Network.HopMode hopMode)
-
-
Method Details
-
curve
-
cfg
-
output
-
setOutput
-
pitchRatio
public float pitchRatio() -
setPitchRatio
public void setPitchRatio(float newRatio) -
hopMode
-
setHopMode
-