Package soundtrap

Class BCLLine

java.lang.Object
soundtrap.BCLLine

public class BCLLine extends Object
Unpacked contents of a line of BCL data. Should be in format "rtime","mticks","report","state","nl","thr","scnt"
Author:
Douglas Gillespie
  • Method Details

    • makeBCLLine

      public static BCLLine makeBCLLine(String bclLine)
      Create a line of BCL data. Returns null if critical information missing.
      Parameters:
      bclLine - line read from bcl file.
      Returns:
      unpacked data or null if it's not a valid line.
    • getRawLine

      public String getRawLine()
      Returns:
      the rawLine
    • getRtime

      public Integer getRtime()
      Returns:
      the rtime
    • getMticks

      public Integer getMticks()
      Returns:
      the mticks
    • getReport

      public String getReport()
      Returns:
      the report
    • getState

      public Integer getState()
      Returns:
      the state
    • getNl

      public Integer getNl()
      Returns:
      the nl
    • getThr

      public Integer getThr()
      Returns:
      the thr
    • getScnt

      public Integer getScnt()
      Returns:
      the scnt
    • getMilliseconds

      public long getMilliseconds()
      Get the time as Java like milliseconds.
      Returns:
    • getMicroSeconds

      public long getMicroSeconds()
      Get the abs time in microseconds.
      Returns:
      the abs time in microseconds.