Lines Matching refs:tick
467 public synchronized void setTickPosition(long tick) {
468 if (tick < 0) {
473 if (Printer.trace) Printer.trace(">> RealTimeSequencer: setTickPosition("+tick+") ");
476 if (tick != 0) {
481 if (tick != 0) {
485 getDataPump().setTickPos(tick);
696 public void setLoopStartPoint(long tick) {
697 if ((tick > getTickLength())
698 || ((loopEnd != -1) && (tick > loopEnd))
699 || (tick < 0)) {
700 throw new IllegalArgumentException("invalid loop start point: "+tick);
702 loopStart = tick;
709 public void setLoopEndPoint(long tick) {
710 if ((tick > getTickLength())
711 || ((loopStart > tick) && (tick != -1))
712 || (tick < -1)) {
713 throw new IllegalArgumentException("invalid loop end point: "+tick);
715 loopEnd = tick;
1421 private long ignoreTempoEventAt; // ignore next META tempo during playback at this tick pos only
1787 if (DEBUG_PUMP) Printer.println(">> chaseEvents from tick "+startTick+".."+(endTick-1));
1821 private long tick2millis(long tick) {
1823 double dMillis = ((((double) tick) * 1000) /
1827 return MidiUtils.ticks2microsec(tick,
1832 private void ReindexTrack(int trackNum, long tick) {
1834 trackReadPos[trackNum] = MidiUtils.tick2index(tracks[trackNum], tick);
1934 // get target tick from current time in millis
1945 // calculate current tick based on current time in milliseconds