Skip to content

Custom Pitch Block turns into Regular Pitch Block + No Pitch Preview #4724

@AnvitaPrasad

Description

@AnvitaPrasad

Description

There are two issues related to the Custom Pitch Block

  1. Custom Pitch Blocks are sometimes replaced by Regular Pitch Blocks without user intent.
  2. No pitch preview sound plays when clicking on a Custom Pitch Block, unlike other pitch blocks.

Related:

Expected Behavior

  • Custom Pitch Blocks should retain their type and not convert into Regular Pitch Blocks.
  • Clicking on a Custom Pitch Block should play a preview sound, just like Regular Pitch Blocks.

Screenshots

Screen.Recording.2025-07-10.at.2.22.45.PM.mov

How to Reproduce

  1. Go to https://sugarlabs.github.io/musicblocks/
  2. Create multiple custom temperaments.
  3. Insert a Custom Pitch Block into the workspace.
  4. Interact with the block (drag, right-click, move between views, etc.).
  5. Observe that it may get replaced by a Regular Pitch Block.
  6. Click on the Custom Pitch Block — no pitch preview plays.

Console log Errors:


Environment:

  • Operating System: [e.g., macOS Ventura 13.5]
  • Browser (if applicable): [e.g., Chrome 124.0.6367.91]
  • Version of Software/Project: Latest main branch

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • 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.


Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions