Esempio n. 1
0
 public void Restore(JUMO.Score target)
 {
     foreach (Note note in Notes)
     {
         target.Add(new JUMO.Note(note.Value, note.Velocity, note.Start, note.Length));
     }
 }
Esempio n. 2
0
        public Score(JUMO.Score source, int patternId, int pluginId)
        {
            PatternId = patternId;
            PluginId  = pluginId;

            int noteCount = source.Count;
            int noteIndex = 0;

            Notes = new Note[noteCount];

            foreach (JUMO.Note note in source)
            {
                Notes[noteIndex++] = new Note(note);
            }
        }