Class GetInstrumentsUsedTool

  • All Implemented Interfaces:
    ParserListener

    public class GetInstrumentsUsedTool
    extends ParserListenerAdapter
    Returns a List containing all of the instruments used in the given pattern. This is especially useful for loading instruments from a soundbank, to make sure you only load instruments that are needed by the pattern.
    Version:
    4.0
    Author:
    David Koelle
    • Constructor Detail

      • GetInstrumentsUsedTool

        public GetInstrumentsUsedTool()
    • Method Detail

      • getInstrumentsUsedInPattern

        public java.util.List<java.lang.Byte> getInstrumentsUsedInPattern​(PatternProducer patternProducer)