Some fixes and support for more than 2 voices

This commit is contained in:
Flamefire committed 2013-10-11 14:50:27 +02:00
1 parent 8890176e97
commit bf1c00b5d1
10 files changed
+144 -62

No files matched your search

+2 -5
View File
@@ -90,11 +90,8 @@ namespace VocaluxeLib.Songs
public void SetMedley(int startBeat, int endBeat)
{
foreach (CSongNote note in _Notes)
{
if (note.StartBeat < startBeat || note.EndBeat > endBeat)
note.NoteType = ENoteType.Freestyle;
}
foreach (CSongNote note in _Notes.Where(note => note.StartBeat < startBeat || note.EndBeat > endBeat))
note.NoteType = ENoteType.Freestyle;
VisibleInTimeLine = FirstNoteBeat >= startBeat && LastNoteBeat <= endBeat;
}