Skip to content

Sound test #3657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 19, 2025
Merged

Sound test #3657

merged 9 commits into from
May 19, 2025

Conversation

rom1504
Copy link
Member

@rom1504 rom1504 commented May 18, 2025

No description provided.

@rom1504 rom1504 requested a review from Copilot May 18, 2025 23:49
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds comprehensive sound event testing, normalizes sound event emissions in the plugin, and provides example listeners.

  • Introduce new end-to-end tests for sound effects, note blocks, and hardcoded sounds.
  • Update the sound plugin to normalize names and emit both soundEffectHeard and hardcodedSoundEffectHeard.
  • Provide example usage of sound event listeners in examples/sound.js.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
test/externalTests/sound.js Add tests for soundEffectHeard, noteHeard, and hardcodedSoundEffectHeard
lib/plugins/sound.js Normalize sound names and emit compatible events
examples/sound.js Add example listeners for sound events

@rom1504 rom1504 merged commit 5149566 into master May 19, 2025
25 of 26 checks passed
@rom1504
Copy link
Member Author

rom1504 commented May 19, 2025

/makerelease

@rom1504bot rom1504bot mentioned this pull request May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant