public void Begin(IPointer pointer, Point point) { pointer.Capture(element); var tone = vm.NotesViewModel.PointToTone(point); sineGen = PlaybackManager.Inst.PlayTone(MusicMath.ToneToFreq(tone)); }
public void Update(IPointer pointer, Point point) { var tone = vm.NotesViewModel.PointToTone(point); if (sineGen != null) { sineGen.Freq = MusicMath.ToneToFreq(tone); } }