Class ChannelStart

  • All Implemented Interfaces:
    SdfConstants

    public class ChannelStart
    extends SdfMacro
    Implement the CHANNEL_START macro from the Digitrax sound definition language
    • Constructor Detail

    • Method Detail

      • 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