# Uses of Class
net.paulhertz.pixelaudio.curves.AudioBrush

Packages that use AudioBrush
Package
Description
net.paulhertz.pixelaudio.curves
Gesture, path, and Bézier curve modeling classes for PixelAudio.
net.paulhertz.pixelaudio.example
Package `net.paulhertz.pixelaudio.example` provides example Processing sketches and demonstrations of PixelAudio library functionality.

- ## Uses of AudioBrush in net.paulhertz.pixelaudio.curves

  Subclasses of AudioBrush in net.paulhertz.pixelaudio.curves
  Modifier and Type
  Class
  Description
  `class`
  `GranularBrush`
  AudioBrush subclass for PAGranularInstrument.
  `class`
  `SamplerBrush`
  AudioBrush subclass for PASamplerInstrument.

- ## Uses of AudioBrush in net.paulhertz.pixelaudio.example

  Fields in net.paulhertz.pixelaudio.example declared as AudioBrush
  Modifier and Type
  Field
  Description
  `private AudioBrush`
  Bagatelle.`activeBrush`
  `private AudioBrush`
  DeadBodyWorkFlow.`activeBrush`
  `private AudioBrush`
  TutorialOne_05_GesturePlayground.`activeBrush`
  `(package private) final AudioBrush`
  Bagatelle.BrushHit.`brush`
  `(package private) final AudioBrush`
  Bagatelle.InstrumentLoop.`brush`
  `(package private) final AudioBrush`
  DeadBodyWorkFlow.BrushHit.`brush`
  `(package private) final AudioBrush`
  DeadBodyWorkFlow.InstrumentLoop.`brush`
  `(package private) final AudioBrush`
  TutorialOne_05_GesturePlayground.BrushHit.`brush`
  `private AudioBrush`
  Bagatelle.`hoverBrush`
  AudioBrush wraps a PACurveMaker (gesture) and a GestureGranularConfig.Builder (granular synthesis parameters)
  `private AudioBrush`
  DeadBodyWorkFlow.`hoverBrush`
  AudioBrush wraps a PACurveMaker (gesture) and a GestureGranularConfig.Builder (granular synthesis parameters)
  `private AudioBrush`
  TutorialOne_05_GesturePlayground.`hoverBrush`
  AudioBrush wraps a PACurveMaker (gesture) and a GestureGranularConfig.Builder (granular synthesis parameters)
  Methods in net.paulhertz.pixelaudio.example that return AudioBrush
  Modifier and Type
  Method
  Description
  `AudioBrush`
  Bagatelle.`initCurveMakerAndAddBrush()`
  Initializes a PACurveMaker instance with allPoints as an argument to the factory method PACurveMaker.buildCurveMaker() and then fills in PACurveMaker instance variables.
  `AudioBrush`
  DeadBodyWorkFlow.`initCurveMakerAndAddBrush()`
  Initializes a PACurveMaker instance with allPoints as an argument to the factory method PACurveMaker.buildCurveMaker() and then fills in PACurveMaker instance variables.
  `AudioBrush`
  TutorialOne_05_GesturePlayground.`initCurveMakerAndAddBrush()`
  Initializes a PACurveMaker instance with allPoints as an argument to the factory method PACurveMaker.buildCurveMaker() and then fills in PACurveMaker instance variables.
  `AudioBrush`
  Bagatelle.`makeBrush(PACurveMaker curve, GestureGranularConfig.Builder config)`
  `AudioBrush`
  Bagatelle.`makeBrush(PACurveMaker curve, GestureGranularConfig.Builder config, GestureGranularConfigIO.InstrumentType instrumentType)`
  End point for all makeBrush(...) calls, applies cues and special fx.
  `AudioBrush`
  DeadBodyWorkFlow.`makeBrush(PACurveMaker curve, GestureGranularConfig.Builder config)`
  `AudioBrush`
  DeadBodyWorkFlow.`makeBrush(PACurveMaker curve, GestureGranularConfig.Builder config, GestureGranularConfigIO.InstrumentType instrumentType)`
  End point for all makeBrush(...) calls, applies cues and special fx.
  `AudioBrush`
  Bagatelle.`makeBrushFromCurveMaker()`
  `AudioBrush`
  DeadBodyWorkFlow.`makeBrushFromCurveMaker()`
  `(package private) AudioBrush`
  Bagatelle.`toggleActiveBrushType()`
  Toggle the currently active brush between SamplerBrush and GranularBrush.
  `(package private) AudioBrush`
  DeadBodyWorkFlow.`toggleActiveBrushType()`
  Toggle the currently active brush between SamplerBrush and GranularBrush.
  `(package private) AudioBrush`
  TutorialOne_05_GesturePlayground.`toggleActiveBrushType()`
  Toggle the currently active brush between SamplerBrush and GranularBrush.
  `(package private) AudioBrush`
  Bagatelle.`toggleBrushType(AudioBrush brush)`
  Convert a brush to the opposite type, reusing the same PACurveMaker and the same GestureGranularConfig.Builder instance.
  `(package private) AudioBrush`
  DeadBodyWorkFlow.`toggleBrushType(AudioBrush brush)`
  Convert a brush to the opposite type, GranularBrush to/from SamplerBrush, reusing their PACurveMaker and the GestureGranularConfig.Builder instances.
  `(package private) AudioBrush`
  TutorialOne_05_GesturePlayground.`toggleBrushType(AudioBrush brush)`
  Convert a brush to the opposite type, reusing the same PACurveMaker and the same GestureGranularConfig.Builder instance.
  `(package private) AudioBrush`
  Bagatelle.`toggleHoveredBrushType()`
  Toggle the currently hovered brush between SamplerBrush and GranularBrush.
  `(package private) AudioBrush`
  DeadBodyWorkFlow.`toggleHoveredBrushType()`
  Toggle the currently hovered brush between SamplerBrush and GranularBrush.
  `(package private) AudioBrush`
  TutorialOne_05_GesturePlayground.`toggleHoveredBrushType()`
  Toggle the currently hovered brush between SamplerBrush and GranularBrush.
  Methods in net.paulhertz.pixelaudio.example with parameters of type AudioBrush
  Modifier and Type
  Method
  Description
  `(package private) ArrayList<processing.core.PVector>`
  Bagatelle.`getPathPoints(AudioBrush b)`
  `(package private) ArrayList<processing.core.PVector>`
  DeadBodyWorkFlow.`getPathPoints(AudioBrush b)`
  `(package private) ArrayList<processing.core.PVector>`
  TutorialOne_05_GesturePlayground.`getPathPoints(AudioBrush b)`
  `(package private) GestureSchedule`
  Bagatelle.`getPlaybackScheduleForBrush(AudioBrush b)`
  `GestureSchedule`
  Bagatelle.`getScheduleForBrush(AudioBrush b)`
  `GestureSchedule`
  DeadBodyWorkFlow.`getScheduleForBrush(AudioBrush b)`
  `GestureSchedule`
  TutorialOne_05_GesturePlayground.`getScheduleForBrush(AudioBrush b)`
  `boolean`
  Bagatelle.`hasLoopForBrush(AudioBrush brush)`
  `boolean`
  DeadBodyWorkFlow.`hasLoopForBrush(AudioBrush brush)`
  `(package private) void`
  Bagatelle.`initBrushTransform(AudioBrush b)`
  `(package private) void`
  DeadBodyWorkFlow.`initBrushTransform(AudioBrush b)`
  `(package private) boolean`
  Bagatelle.`isBrushInteractable(AudioBrush b)`
  `(package private) boolean`
  DeadBodyWorkFlow.`isBrushInteractable(AudioBrush b)`
  `(package private) boolean`
  TutorialOne_05_GesturePlayground.`isBrushInteractable(AudioBrush b)`
  `void`
  Bagatelle.`openBrushEditor(AudioBrush brush)`
  `void`
  DeadBodyWorkFlow.`openBrushEditor(AudioBrush brush)`
  `(package private) void`
  Bagatelle.`removeGranularBrush(AudioBrush gb, int idx)`
  Remove a granular brush using index when reliable, else by object.
  `(package private) void`
  DeadBodyWorkFlow.`removeGranularBrush(AudioBrush gb, int idx)`
  Remove a granular brush using index when reliable, else by object.
  `(package private) void`
  TutorialOne_05_GesturePlayground.`removeGranularBrush(AudioBrush gb, int idx)`
  Remove a granular brush using index when reliable, else by object.
  `(package private) void`
  Bagatelle.`removeSamplerBrush(AudioBrush sb, int idx)`
  Remove a sampler brush using index when reliable, else by object.
  `(package private) void`
  DeadBodyWorkFlow.`removeSamplerBrush(AudioBrush sb, int idx)`
  Remove a sampler brush using index when reliable, else by object.
  `(package private) void`
  TutorialOne_05_GesturePlayground.`removeSamplerBrush(AudioBrush sb, int idx)`
  Remove a sampler brush using index when reliable, else by object.
  `(package private) void`
  Bagatelle.`replaceBrush(AudioBrush oldBrush, AudioBrush newBrush, int oldIndex)`
  Remove oldBrush from its current typed list, insert newBrush into the opposite typed list, and preserve hover/active state.
  `(package private) void`
  DeadBodyWorkFlow.`replaceBrush(AudioBrush oldBrush, AudioBrush newBrush, int oldIndex)`
  Remove oldBrush from its current typed list, insert newBrush into the opposite typed list, and preserve hover/active state.
  `(package private) void`
  TutorialOne_05_GesturePlayground.`replaceBrush(AudioBrush oldBrush, AudioBrush newBrush, int oldIndex)`
  Remove oldBrush from its current typed list, insert newBrush into the opposite typed list, and preserve hover/active state.
  `(package private) void`
  Bagatelle.`setActiveBrush(AudioBrush brush)`
  `(package private) void`
  Bagatelle.`setActiveBrush(AudioBrush brush, int idx)`
  `(package private) void`
  DeadBodyWorkFlow.`setActiveBrush(AudioBrush brush)`
  `(package private) void`
  DeadBodyWorkFlow.`setActiveBrush(AudioBrush brush, int idx)`
  `(package private) void`
  TutorialOne_05_GesturePlayground.`setActiveBrush(AudioBrush brush)`
  `(package private) void`
  TutorialOne_05_GesturePlayground.`setActiveBrush(AudioBrush brush, int idx)`
  `void`
  Bagatelle.`stopLoopsForBrush(AudioBrush brush)`
  `void`
  DeadBodyWorkFlow.`stopLoopsForBrush(AudioBrush brush)`
  `(package private) void`
  Bagatelle.`syncDrawingModeToBrush(AudioBrush brush)`
  Change the current DrawingMode to suit the brush passed as an argument.
  `(package private) void`
  DeadBodyWorkFlow.`syncDrawingModeToBrush(AudioBrush brush)`
  Change the current DrawingMode to suit the brush passed as an argument.
  `(package private) void`
  TutorialOne_05_GesturePlayground.`syncDrawingModeToBrush(AudioBrush brush)`
  Change the current DrawingMode to suit the brush passed as an argument.
  `(package private) AudioBrush`
  Bagatelle.`toggleBrushType(AudioBrush brush)`
  Convert a brush to the opposite type, reusing the same PACurveMaker and the same GestureGranularConfig.Builder instance.
  `(package private) AudioBrush`
  DeadBodyWorkFlow.`toggleBrushType(AudioBrush brush)`
  Convert a brush to the opposite type, GranularBrush to/from SamplerBrush, reusing their PACurveMaker and the GestureGranularConfig.Builder instances.
  `(package private) AudioBrush`
  TutorialOne_05_GesturePlayground.`toggleBrushType(AudioBrush brush)`
  Convert a brush to the opposite type, reusing the same PACurveMaker and the same GestureGranularConfig.Builder instance.
  `(package private) GranularBrush`
  Bagatelle.`toGranularBrush(AudioBrush brush)`
  Convert a brush explicitly to GranularBrush.
  `(package private) GranularBrush`
  DeadBodyWorkFlow.`toGranularBrush(AudioBrush brush)`
  Convert a brush explicitly to GranularBrush.
  `(package private) GranularBrush`
  TutorialOne_05_GesturePlayground.`toGranularBrush(AudioBrush brush)`
  Convert a brush explicitly to GranularBrush.
  `(package private) SamplerBrush`
  Bagatelle.`toSamplerBrush(AudioBrush brush)`
  Convert a brush explicitly to SamplerBrush.
  `(package private) SamplerBrush`
  DeadBodyWorkFlow.`toSamplerBrush(AudioBrush brush)`
  Convert a brush explicitly to SamplerBrush.
  `(package private) SamplerBrush`
  TutorialOne_05_GesturePlayground.`toSamplerBrush(AudioBrush brush)`
  Convert a brush explicitly to SamplerBrush.
  Method parameters in net.paulhertz.pixelaudio.example with type arguments of type AudioBrush
  Modifier and Type
  Method
  Description
  `void`
  Bagatelle.`drawBrushes(List<? extends AudioBrush> brushes, int readyColor, int hoverColor, int selectedColor)`
  `void`
  DeadBodyWorkFlow.`drawBrushes(List<? extends AudioBrush> brushes, int readyColor, int hoverColor, int selectedColor)`
  `void`
  TutorialOne_05_GesturePlayground.`drawBrushes(List<? extends AudioBrush> brushes, int readyColor, int hoverColor, int selectedColor)`
  Constructors in net.paulhertz.pixelaudio.example with parameters of type AudioBrush
  Modifier
  Constructor
  Description
  `(package private)`
  `BrushHit(AudioBrush brush, int index)`
  `(package private)`
  `BrushHit(AudioBrush brush, int index)`
  `(package private)`
  `BrushHit(AudioBrush brush, int index)`
  `(package private)`
  `InstrumentLoop(AudioBrush brush, Runnable playAction, Runnable stopAction, int durationMs, int gapMs, int repeatsRemaining, long nextStartMillis)`
  `(package private)`
  `InstrumentLoop(AudioBrush brush, Runnable playAction, Runnable stopAction, int durationMs, int gapMs, int repeatsRemaining, long nextStartMillis)`