Example #1
0
  public CueData distill() {
    CueData cd = new CueData();
    cd.setDescription(_discription);

    for (Integer chan : this)
      if (_channels.get(chan).getLevel() != ConsoleChannel.OUT)
        cd.addLevel(chan, _channels.get(chan).getLevel());

    return cd;
  }
Example #2
0
 private void setLevel(CueData c, String channel, String level) {
   c.addLevel(Integer.parseInt(channel) - 1, Short.parseShort(level));
 }