PianoKeyEmulator.Note.FromID C# (CSharp) Méthode

FromID() public static méthode

public static FromID ( int id ) : Note
id int
Résultat Note
        public static Note FromID(int id)
        {
            return new Note((byte) (id/12 - 1), (Tones) (id%12));
        }