Package net.paulhertz.pixelaudio.example

# Class DeadBodyWorkFlow.InstrumentLoop

java.lang.Object
net.paulhertz.pixelaudio.example.DeadBodyWorkFlow.InstrumentLoop

Enclosing class:
  DeadBodyWorkFlow

static class DeadBodyWorkFlow.InstrumentLoop extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `(package private) boolean`
  `active`
  `(package private) final AudioBrush`
  `brush`
  `(package private) final int`
  `durationMs`
  `(package private) final int`
  `gapMs`
  `(package private) long`
  `nextStartMillis`
  `(package private) final Runnable`
  `playAction`
  `(package private) int`
  `repeatsRemaining`
  `(package private) final Runnable`
  `stopAction`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InstrumentLoop(AudioBrush brush, Runnable playAction, Runnable stopAction, int durationMs, int gapMs, int repeatsRemaining, long nextStartMillis)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `(package private) void`
  `stop()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### brush

    final AudioBrush brush

  - ### playAction

    final Runnable playAction

  - ### stopAction

    final Runnable stopAction

  - ### durationMs

    final int durationMs

  - ### gapMs

    final int gapMs

  - ### repeatsRemaining

    int repeatsRemaining

  - ### nextStartMillis

    long nextStartMillis

  - ### active

    boolean active

- ## Constructor Details

  - ### InstrumentLoop

    InstrumentLoop(AudioBrush brush, Runnable playAction, Runnable stopAction, int durationMs, int gapMs, int repeatsRemaining, long nextStartMillis)

- ## Method Details

  - ### stop

    void stop()