Sugar Labs

Recreate Rhythms from chart using Music Blocks code

Recreate all 20 rhythms from this chart using music blocks code:

https://ulibarri.website/owncloud/index.php/s/t7XP5wjimlNpz92

Note that the rhythm itself is the same regardless of meter, so no need to recreate the rhythm for any other meter (i.e. both columns in chart are equivalent)

Please use any clever ways of using math and variables to simplify the code. Please use action blocks to organize the code.

The results of this code will be used to help make sure our lilypond output is good.

NOTE: The fractions on the far left side of the chart are exactly the same as the fractions MB uses for note values, which represent the rhythm.

It is not necessary to stop at four quarter notes as this chart has. This freedom should help if you have designed a clever method for automating the calculation.

Task tags

  • music blocks

Students who completed this task

Tapaswini Kodavanti

Task type

  • code Code
close

2017