Skip to content

SoundEffect: Create predefined sounds as examples #110

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

Closed
microbit-carlos opened this issue Aug 19, 2022 · 1 comment
Closed

SoundEffect: Create predefined sounds as examples #110

microbit-carlos opened this issue Aug 19, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@microbit-carlos
Copy link
Contributor

We'll like to have two or three predefined SoundEffects that users could use to investigate and modify.

These predefined SoundEffects should be immutable, like the predefined Images. To modify them a copy can be created:

my_copy = audio.SoundEffect.EXAMPLE_1.copy()
my_copy.duration = 2000
audio.play(my_copy)

Of course, they should have descriptive names, not EXAMPLE_n :)

@microbit-carlos microbit-carlos added this to the 2.1 milestone Aug 19, 2022
@microbit-carlos microbit-carlos added the enhancement New feature or request label Aug 19, 2022
@microbit-carlos microbit-carlos modified the milestones: 2.1-beta.1, 2.1.0 Aug 26, 2022
@microbit-carlos microbit-carlos modified the milestones: 2.1.0, 2.2 Sep 12, 2022
@microbit-carlos microbit-carlos modified the milestones: 2.1.1, 2.1.2 Oct 24, 2022
@microbit-carlos microbit-carlos modified the milestones: 2.2.0, 2.2.1 Mar 24, 2023
@microbit-carlos
Copy link
Contributor Author

We haven't had any request for this yet, and we can always add pre-made SoundEffects to the Python Editor sidebar. So we'll close this was "won't implement" for the meantime.

@microbit-carlos microbit-carlos removed this from the 2.2.0-beta.2 milestone Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants