public void AllocateNotes(Note[] notes)
{
foreach (Note note in notes)
{
AddNote(note);
}
allocSingleArr = new GuitarNote[notes.Length - NumDroppedNotes];
int j = 0;
for (int i = 0; i < alloc.Length; i++)
{
foreach (GuitarNote guitarNote in alloc[i])
{
allocSingleArr[j] = guitarNote;
j++;
}
}
Array.Sort(allocSingleArr);
}