Example #1
0
        public void Begin(IPointer pointer, Point point)
        {
            pointer.Capture(element);
            var tone = vm.NotesViewModel.PointToTone(point);

            sineGen = PlaybackManager.Inst.PlayTone(MusicMath.ToneToFreq(tone));
        }
Example #2
0
        public void Update(IPointer pointer, Point point)
        {
            var tone = vm.NotesViewModel.PointToTone(point);

            if (sineGen != null)
            {
                sineGen.Freq = MusicMath.ToneToFreq(tone);
            }
        }