sul-cidr / josquin-ribbon

http://ribbon.stanford.edu/
BSD 3-Clause "New" or "Revised" License
12 stars 0 forks source link

Encode rhythmic activity (attack density) as ribbon width #10

Closed curran closed 7 years ago

gworthey commented 8 years ago

Jesse describes this simply as follows: "In a single given measure, add up the total number of notes in all the voices: that total represents the attack density." Hopefully this confirms your understanding, @curran and @seemantk!

curran commented 8 years ago

Awesome, thank you for the clarification here. The ribbons are coming along over at #71. This attack density computation can fit in there as the windowed computation. We can adjust the parameters to compute for each bar - a step size of 4 and a window interval of 4. We may run into trouble if the mensuration changes mid-song, but this will definitely work to get us started.

curran commented 8 years ago

We implemented the attack density computation using the algorithm described above. Here is the implementation for review.

Here's what the attack density ribbon looks like:

image

curran commented 8 years ago

Just as an experiment, here's what it looks like if the ribbons are always centered on middle C:

image

This gives more of a histogram-ish view.

curran commented 7 years ago

This was implemented in #71. Closing.