ograndedjogo / tab-translator

MIT License
2 stars 0 forks source link

Define a data model for abstract music representation #5

Open Lamaw opened 9 years ago

Lamaw commented 9 years ago

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.

Lamaw commented 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

MisterFruits commented 9 years ago

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

MisterFruits commented 9 years ago

a2b99fc1c0da93b86ba8966eb3204c8085a5bc82 closes this issue

MisterFruits commented 9 years ago

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.

MisterFruits commented 8 years ago

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...

official web site github repo