Sugar Labs

Save Rhythms from Rhythm Ruler Widget to be Named by Drum Sound

In Music Blocks, the names for the chunks produced by the Rhythm Ruler widget are "rhythm_x" (with 'x' as a number).

Instead, I think it would be better if the name were:

drumname_x

or

drumname_rhythm_x

where "drumname" is the name of the drum sound and 'x' is a number (if and when needed).

Example:

snare_rhythm_0

The relevant code is here:

https://github.com/walterbender/musicblocks/blob/master/js/rhythmruler.js#L329

and here:

https://github.com/walterbender/musicblocks/blob/master/js/rhythmruler.js#L281

Task tags

  • music blocks
  • javascript

Students who completed this task

TymonR

Task type

  • code Code
close

2016