docs: public int getXForBeat(int beat) {
          BeatGrid grid = beatGrid.get();
          if (grid != null) {
              return millisecondsToX(grid.getTimeWithinTrack(beat));
          }
          return 0;
      }