Started work on accepting multiple lines of the score. ponder is not working correctly either way :(



Signed-off-by: parhamfh <parhamfh@kth.se>
Introduced BeatPath/BeatPathSet class to abstract.

Abstracted the list manipulation so that we can be more flexible when dealing with lilypond score generation. Old way only one list of BeatPaths elements was given as input, but now we want a list of lists of BeatPaths, thus this approach. Better safe than sorry.



Signed-off-by: parhamfh <parhamfh@kth.se>
bugfix: Ignored index to BeatPath __init__

Signed-off-by: parhamfh <parhamfh@kth.se>
Improved ugly way of resetting BeatPair index counter.



Signed-off-by: parhamfh <parhamfh@kth.se>
added simple test file for BeatPathSet
Finished abstraction work on BeatPathSet

Signed-off-by: parhamfh <parhamfh@kth.se>
Fixed bug with assignment to property in newstyle class.

BeatPath was previously not inheriting from object and was therefor not a newstyle class. In oldstyle classes you can assign to properties without using property setters. shameful.

Signed-off-by: parhamfh <parhamfh@kth.se>
updated this too ofc, see previous commit.

Signed-off-by: parhamfh <parhamfh@kth.se>
Fixed check for notes crossing bar lines.

Should be a working implementation, from my tests it works. 
Printing is NOT working yet.


Signed-off-by: parhamfh <parhamfh@kth.se>
Fixed erroneous conditional

Signed-off-by: parhamfh <parhamfh@kth.se>
Good exampe of mock data.

gives a nice set of notes which can be used to test
the lilypond score generator.

Signed-off-by: parhamfh <parhamfh@kth.se>
Properly prints a .ly-file with bar lines.

The score will be correct and the included bar lines will check that there is no overflow or underflow of note values.

Signed-off-by: parhamfh <parhamfh@kth.se>
Added double bar line at the end of the score.


Signed-off-by: parhamfh <parhamfh@kth.se>
finished work on branch, including integrations.

Now everything works together and some bugs and errors were fixed.
BeatPath also implements __len__ now but still does not wrap it's list
properly. so for now an ugly solution is in place for print_path in run_model.
Merge branch 'feature/multiline_lilypond' into develop