예제 #1
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            int duration = 300;

            C  = new BlinkNote(ColorNote.C, 262, duration);
            D  = new BlinkNote(ColorNote.D, 294, duration);
            Dh = new BlinkNote(ColorNote.D, 294, duration * 2);
            E  = new BlinkNote(ColorNote.E, 330, duration);
            Eh = new BlinkNote(ColorNote.E, 330, duration * 2);
            Ew = new BlinkNote(ColorNote.E, 330, (duration * 2) * 2);
            F  = new BlinkNote(ColorNote.F, 349, duration);
            G  = new BlinkNote(ColorNote.G, 392, duration);
            Gh = new BlinkNote(ColorNote.G, 392, duration * 2);

            Rest = new BlinkNote(ColorNote.Rest, 0, duration / 2);
        }
예제 #2
0
 public void Add(BlinkNote note)
 {
     _notes.Add(note);
 }