예제 #1
0
 static public Pitch GetShiftedTone(this Pitch item, int amount)
 {
     return(item.GetShiftedSemitones(amount));
 }
예제 #2
0
 public Pitch GetPitch(Pitch root)
 {
     return(root.GetShiftedSemitones(offset));
 }
예제 #3
0
 static public Pitch GetShiftedCents(this Pitch item, int amount)
 {
     return(item.GetShiftedSemitones(amount / 100.0));
 }
예제 #4
0
 static public Pitch GetShiftedOctave(this Pitch item, int amount)
 {
     return(item.GetShiftedSemitones(amount * Pitch.Octave));
 }