Esempio n. 1
0
 public Step ToStep()
 {
     return(Step.FromPitch(this));
 }
Esempio n. 2
0
 public static Pitch FromStep(Step step, int octaveNumber = 4)
 {
     return(new Pitch {
         StepName = step.StepName, Alter = step.Alter, MidiPitch = pitches[step.StepName] + step.Alter + (octaveNumber - 4) * 12, Octave = octaveNumber
     });
 }