Class Atom

  • All Implemented Interfaces:
    PatternProducer

    public class Atom
    extends java.lang.Object
    implements PatternProducer
    An Atom represents a single entity of a Voice+Layer+Instrument+Note and is useful especially when using the Realtime Player, so all of the information about a specific note is conveyed at the same time. Pattern now has an atomize() method that will turn the Pattern into a collection of atoms.
    • Constructor Summary

      Constructors 
      Constructor Description
      Atom​(byte voice, byte layer, byte instrument, java.lang.String note)  
      Atom​(byte voice, byte layer, byte instrument, Note note)  
      Atom​(java.lang.String voice, java.lang.String layer, java.lang.String instrument, java.lang.String note)  
      Atom​(java.lang.String voice, java.lang.String layer, java.lang.String instrument, Note note)  
    • Constructor Detail

      • Atom

        public Atom​(byte voice,
                    byte layer,
                    byte instrument,
                    java.lang.String note)
      • Atom

        public Atom​(byte voice,
                    byte layer,
                    byte instrument,
                    Note note)
      • Atom

        public Atom​(java.lang.String voice,
                    java.lang.String layer,
                    java.lang.String instrument,
                    java.lang.String note)
      • Atom

        public Atom​(java.lang.String voice,
                    java.lang.String layer,
                    java.lang.String instrument,
                    Note note)
    • Method Detail

      • getVoice

        public byte getVoice()
      • getLayer

        public byte getLayer()
      • getInstrument

        public byte getInstrument()
      • getNote

        public Note getNote()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object