sugarlabs/musicblocks

Pitch Blocks outside of Note Value

pikurasa opened this issue · 3 comments

I think some of the lowest lying fruit to extend Music Blocks' functionality in a way that both 1) extends its functionality as well as 2) removes a barrier for beginners is to allow pitch/drum/noise blocks to work outside of note value.

Outside of Forever Loop

We should assume that the note should be played as a quarter note. Most of the time this works, but does not currently work on scalar step and hertz blocks.

Screenshot at 2020-07-15 15:22:34 scalar step

Within Forever Loop

(Please let me know what you think about these ideas.)

Pitches within a forever loop should play continuously without regard for time.

Example: Hertz Block

Screenshot at 2020-07-15 15:02:25 cursor y to hertz

Something like the above should create a continuous pitch that follows the y cursor without confining it to a note value.

Example: Solfege Pitch Blocks

Screenshot at 2020-07-15 15:06:26 continuous sound

The above should hold the note until clicked/unclicked.

Example: Solfege Step +/- Blocks

Screenshot at 2020-07-15 15:10:46 continuously step up or down

The above should rapidly tick up/down through the scale.

I like this idea but I am not sure how to implement it. We need to see if we can change the pitch of a synth as it is playing. And the sample-based pitches are somewhat dependent on note value.

The scalar step block will play stand-alone now.

In thinking about it, if the hertz block stand-alone is assigned a short note value, say 1/32, then it would keep changing in the forever loop.