Lume
    Preparing search index...

    Class BasicAnalysis

    BasicAnalysis is a simple, abstract layout. It is primarily meant for debugging, with the only graphic present being the NoteAnalyzer.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Returns the canvas size of the layout.

      Returns { x: number; y: number }

      The default (and recommended) canvas size is 850 by 850. This is because Lume was initally developed with this size, and the (non-custom) Graphic classes are designed with this limitation in mind.

    • Returns the note trackers used for this layout. Lume will call this method first when building a layout. For simple layouts, this method will only return a single note tracker with no filter.

      NoteTracker objects are processed separately from the other components as Lume needs direct access to the trackers to update them when processing the MIDI file.

      Returns NoteTracker[]

      When implementing this method, the order of the trackers doesn't matter.