sugarlabs / musicblocks

Music Blocks -- A musical microworld
https://musicblocks.sugarlabs.org/
GNU Affero General Public License v3.0
543 stars 734 forks source link

Sample widget improvements #3806

Open pikurasa opened 4 months ago

pikurasa commented 4 months ago

Current Behavior

Currently, when you initiate the sample widget, you get an option to upload a sample. This is nice, but it requires a few extra steps from the students.

Desired Behavior

Add a button and simple interface to the modal window to record a sample directly from the browser. It should have options to record, playback recorded sound, and re-record a sample (directly from the browser).

Screenshots / Mockups

I don't yet have a mockup, but this is what it looks like now:

Screenshot from 2024-03-08 13-21-14

Acceptance Tests

Users should be able to record a new sample via their browser, without having to upload from their filesystem.

Vasant18 commented 4 months ago

unable to reproduce the behavior, cannot find the sample widget , instead there is simple tuplet block in the widgets
image

pikurasa commented 4 months ago

@Vasant18 It's an advanced mode block, which means you need to:

  1. Click the hamburger menu in the top-right of the screen
  2. Click on the start
  3. Click on the hyperlink that appears at center that tells you to refresh your browser to start again in advanced mode
  4. You should now be in advanced mode

Does that make sense?