public void computeEditHzPerBpm(Float value) {
		currentTrack().setRefFr(refFr);
		currentTrack().setTempoForRef(value);
		float frPerBpm = 0;
		if (currentTrack().getTempoForRef() > 0)
			frPerBpm = currentTrack().getRefFr() / currentTrack().getTempoForRef();
		if (frPerBpm > 0) {
			while (frPerBpm >= 2)
				frPerBpm /= 2;
			while (frPerBpm < 1)
				frPerBpm *= 2;
		}
		if (currentTrack().getTempoForRef() > 0)
			currentTrack().setKeyFr(currentTrack().getRefFr() * currentTrack().getBpm() / currentTrack().getTempoForRef());
		currentTrack().setFrPerBpm(frPerBpm);
	}