예제 #1
0
        private void StartRootBeam(int?tuplet)
        {
            _currentBeam = new Beam(_beamNoteValue.Half(), _ownerVoice, true)
            {
                Tuplet = tuplet
            };

            _rootBeats.Add(_currentBeam);

            _beamStack.Push(_currentBeam);

            while (_currentCapacity <= _duration)
            {
                _currentCapacity += _beamNoteValue.GetDuration();
            }
        }
예제 #2
0
 public double GetBeats(BaseNoteValue beatLength)
 {
     return(this.GetDuration() / beatLength.GetDuration());
 }