Sugar Labs

Create a vibrato block (clamp) in Music Blocks

For this task, you must successfully code the following design into music blocks (https://github.com/walterbender/musicblocks/):

Proposal for a vibrato clamp (https://github.com/walterbender/musicblocks/issues/433):

Two arguments: 1) "Intensity" in cents -- the amount, in cents, that the pitch will bend both up and down in a cycle. 2) "Rate" in rhythmic note value -- defines the rate that the pitch will go through a full cycle of bending up (positive amount of cents) and then down (negative amount of cents) and then back to zero.

Example: -Vibrato with 5 cents vibrato in 16th notes --1/4 note value of "Do4" pitch

...will produce a Do4 that oscillates +/- 5 cents in pitch four times (and returns to zero at end) for a 1/4 (quarter) note.

Task tags

  • sound
  • music blocks
  • code
  • javascript
  • pitch

Students who completed this task

TymonR

Task type

  • code Code
close

2016