Open Lamaw opened 9 years ago
The model now stands like this :
sheet : Top level object. Models the entire music sheet.
bar : Models a measure. Compose the sheet as the temporal layer = = => Where the notes are displayed on the sheet
note : Models the unit in music representation. Drives visual representation = = => What note must be displayed on the sheet
We want to have possibility to set multiple voices in a single bar So notes would be a listes of voices -> rename notes for voices, with voices a liste of old notes
a2b99fc1c0da93b86ba8966eb3204c8085a5bc82 closes this issue
So bar is problematic when writing voice. Because "bar" concept can be deduced from the note duration and the time signature it should be a simple view of the notes dynamically computed.
While staring at audiveris, I just saw musicscore software which aims at representing/printing/editing music scores. Might be a good idea to see how they managed their music model, which are the format they can export to...
A song can be split in several elements, we need to define a data structure to model our project. I thought of one type of modelling:
A music-sheet can be written either in staves or tabs, which divide into bars, which divide into notes.