microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
721 stars 593 forks source link

Organization of Music Blocks #4899

Closed Jaqster closed 1 year ago

Jaqster commented 1 year ago

As we are adding more and more audio blocks, I think it may be time to take a look at how we're organizing these blocks. Attaching the current list here - and including the Arcade sound blocks as well, as it would be great to have some consistency across.

It seems to me that we have 2 different sets of blocks:

  1. Sounds and sound effects (based on frequency values)
  2. Music (based on musical note values) And blocks that affect both (volume, tempo values). Music Blocks.pdf

Let's discuss how we can best represent these blocks to users. This issue may be related...https://github.com/microsoft/pxt-microbit/issues/4482.

jaustin commented 1 year ago

It's also worth noting that the language across some of these blocks is a bit confusing in the way they now relate to each other.

image

What's the difference between "play" a melody or "start" a melody, when we "play" a sound (but we can start it in the background, too...). The melodies we "start" are different to the ones we can "play"! For example the relationship between these options, and then

image

"until done" and "in background"

More detail in #4735

abchatra commented 1 year ago

Lets port the play paradigm from the arcade which solves various issues.

abchatra commented 1 year ago

@srietkerk I am assigning this issue to @thsparks