musicblocks icon indicating copy to clipboard operation
musicblocks copied to clipboard

Simple Tuplet block playing all the note simultaneously

Open therealharshit opened this issue 1 year ago β€’ 7 comments

Description

The simple tuplet block plays all the note at same time.

Expected Behaviour

I'd expect it to play the notes sequentially.

Screenshots

Image

How to Reproduce

  1. Drag a simple tuplet block from the widget pallette.
  2. Click on it.
  3. Observe that only one note plays.
  4. Look at the console log and observe that all the notes were sent to the synth at the same time.

Console log Errors:

7synthutils.js:1756 0 C2 0.19047619047619047 kick drum null null false 0

Environment:

  • Operating System: macOS
  • Browser (if applicable): Chrome
  • Version of Software/Project: master branch

Checklist

  • [x] I have read and followed the project's code of conduct.
  • [x] I have searched for similar issues before creating this one.
  • [x] I have provided all the necessary information to understand and reproduce the issue.
  • [x] I am willing to contribute to the resolution of this issue.

Thank you for contributing to our project! We appreciate your help in improving it.

πŸ“š See contributing instructions.

πŸ™‹πŸΎπŸ™‹πŸΌ Questions: Community Matrix Server.

therealharshit avatar Apr 21 '25 18:04 therealharshit

@walterbender I am not sure about the expected behaviour. What do you think?

therealharshit avatar Apr 21 '25 18:04 therealharshit

I'd have to test, but it should not be playing all the notes simultaneously. It should be a sequence of notes.

walterbender avatar Apr 21 '25 19:04 walterbender

@therealharshit Hi! I am comfortable with frontend and would love to work on fixing this issue. Could you please assign this to me?

bhumika-ks31 avatar Apr 25 '25 06:04 bhumika-ks31

@bhumika-ks31 at Sugar Labs we don't assign issues, anyone can work on it (including you) and raise a PR for review.

therealharshit avatar Apr 25 '25 08:04 therealharshit

@omsuneri please tag this also as hactoberfest.

therealharshit avatar Oct 03 '25 17:10 therealharshit

@therealharshit sure !!

omsuneri avatar Oct 04 '25 04:10 omsuneri

Screenshots

Image

For anyone curious about what the results of the above should be, as well as other combinations, you could think of it like this:

Image

One box is "number of notes", the other is "note value denominator" (using denominator only for simplification).

pikurasa avatar Dec 14 '25 12:12 pikurasa