Class ChordFollower

    • Field Detail

      • incomingDuration

        public TypedIOPort incomingDuration
        Duration of the previous note in runtime.
      • acceptedTuples

        public TypedIOPort acceptedTuples
        The accepted duration value to be applied at the next tick.
      • incomingNote

        public TypedIOPort incomingNote
        Accepted note in previous tick.
      • chordSequence

        public TypedIOPort chordSequence
        The chord sequence to which the melody should adhere to.
      • nextChord

        public TypedIOPort nextChord
        Next chord information provided to the Pitch oracle.
      • reset

        public TypedIOPort reset
        Reset all inputs and begin new melody.
      • resetBeat

        public TypedIOPort resetBeat
        Reset beat only, keep chord information.
      • currentBeat

        public TypedIOPort currentBeat
        Current beat count of the improvised melody.
      • trigger

        public TypedIOPort trigger
        Trigger to begin counting.
      • startLick

        public TypedIOPort startLick
        Boolean output to decide whether Pitch oracle should switch to a new lick.
    • Method Detail

      • wrapup

        public void wrapup()
        Description copied from class: AtomicActor
        Do nothing except invoke the wrapup() methods of any objects that have been registered with addInitializable(). Derived classes override this method to define operations to be performed exactly once at the end of a complete execution of an application. It typically closes files, displays final results, etc.
        Specified by:
        wrapup in interface Initializable
        Overrides:
        wrapup in class AtomicActor<TypedIOPort>