Class SkemeStart

  • All Implemented Interfaces:
    SdfConstants

    public class SkemeStart
    extends SdfMacro
    Implement the SKEME_START macro from the Digitrax sound definition language.

    This nests until the next SKEME_START.

    • Constructor Detail

      • SkemeStart

        public SkemeStart​(int byte1,
                          int byte2,
                          int byte3,
                          int byte4)
    • Method Detail

      • setNumber

        public void setNumber​(int num)
      • name

        public java.lang.String name()
        Description copied from class: SdfMacro
        Name used by the macro in the SDF definition
        Specified by:
        name in class SdfMacro
        Returns:
        Fixed name associated with this type of instructio
      • length

        public int length()
        Description copied from class: SdfMacro
        Provide number of bytes defined by this macro
        Specified by:
        length in class SdfMacro
        Returns:
        Fixed numher of bytes defined (a constant for the instruction type)
      • toString

        public java.lang.String toString()
        Description copied from class: SdfMacro
        Provide a single-line simplified representation, including the trailing newline. This is used e.g. in the tree format section of the EditorFrame.
        Specified by:
        toString in class SdfMacro
        Returns:
        newline-terminated string; never null
      • oneInstructionString

        public java.lang.String oneInstructionString()
        Description copied from class: SdfMacro
        Provide single instruction in MPASM format, including the trailing newline.
        Specified by:
        oneInstructionString in class SdfMacro
        Returns:
        Newline terminated string, never null
      • allInstructionString

        public java.lang.String allInstructionString​(java.lang.String indent)
        Description copied from class: SdfMacro
        Provide instructions in MPASM format, including the trailing newline and all nested instructions.
        Specified by:
        allInstructionString in class SdfMacro
        Parameters:
        indent - String inserted at the start of each output line, typically some number of spaces.
        Returns:
        Newline terminated string, never null