Skip to content
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

Audio fine tuning #7367

Open
DNin01 opened this issue Apr 21, 2024 · 4 comments
Open

Audio fine tuning #7367

DNin01 opened this issue Apr 21, 2024 · 4 comments
Labels
new addon Related to new addons to this extension. `scope: addons` should still be added. scope: addon Related to one or multiple addons type: enhancement New feature for the project

Comments

@DNin01
Copy link
Member

DNin01 commented Apr 21, 2024

Why this would be helpful

Scratch lets you change the speed and volume of audio tracks in the sound editor, but it's not as precise as more professional software like digital audio workstations. While your control over the volume is pretty much granular enough, your control over the speed only gets as precise as increments of 4 half-steps, with three clicks of either button changing the pitch by an octave.

How this addon works

For those small fine-tuning moments, a way to adjust the speed more exactly or by smaller increments would help with making more sophisticated sound effects.

At the same time, it shouldn't be painstaking to make coarse adjustments. The smaller the increment gets, the more clicks it takes to change the speed by larger amounts. One way to solve this is by using modifier keys to adjust the speed different amounts, like:

  • Holding no keys to speed up/slow down by 1 half-step at a time.
  • Holding Shift to speed up/slow down by 4 half-steps as usual.
  • Holding Alt to speed/up/slow down by half of a half-step.

There could also be other ways to change the speed, like by using a slider, that make both fine and coarse adjustments easy.

Possible alternatives

While you can use the pitch block to achieve more precise speed/pitch adjustments, you have more control and predictability over when those speed/pitch changes happen if you can directly edit the audio files, while changing it procedurally can result in inconsistent playback based on performance.

Additional context

Related code:

@DNin01 DNin01 added type: enhancement New feature for the project new addon Related to new addons to this extension. `scope: addons` should still be added. scope: addon Related to one or multiple addons labels Apr 21, 2024
@DNin01
Copy link
Member Author

DNin01 commented Apr 25, 2024

Also, if possible, it could be interesting to have "slow down" and "speed up" buttons, which would work like the "fade in" and "fade out" effects but for speed. To control how fast or slow the audio becomes, you would keep clicking them until the effect is just right.

@DNin01
Copy link
Member Author

DNin01 commented May 1, 2024

A better audio editor (turn the video sound on):

audioeditor.webm

(Sound effect from notificationsounds.com)

@BroJac5246
Copy link
Contributor

Also, if possible, it could be interesting to have "slow down" and "speed up" buttons, which would work like the "fade in" and "fade out" effects but for speed. To control how fast or slow the audio becomes, you would keep clicking them until the effect is just right.

Is that actually useful?

@Secret-chest
Copy link
Contributor

What about a speed slider or number entry with a percentage?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new addon Related to new addons to this extension. `scope: addons` should still be added. scope: addon Related to one or multiple addons type: enhancement New feature for the project
Projects
None yet
Development

No branches or pull requests

3 participants