This is an explanation of how it works the 4th iteration of the scorejs prototype. All the examples shown are valid code (at least for today ;-)
The library makes two big assumptions:
- an score is made by combining indivisible entities called
elements
: an object with aduration
property. Currently the only type of elements supported arenotes
(an element withpitch
property)