Discuss Scratch

rdococ
Scratcher
1000+ posts

Speed up, slow down and reverse music

I would love the ability to make sounds speed up, slow down or reverse.
setsoundspeedto50%playsoundyay

Sounds could be sped up or slowed down in the middle of them, too.

playsoundmusicrepeat5changesoundspeedby-10%

Negative sound speed would represent reverse.

playsoundmusicsetsoundspeedto-200% 2x speed in reverse

I am aware that slowing down a song will make it lower, and speeding it up will make it higher. Should Scratch make sure it stays the same…?
Sheep_maker
Scratcher
1000+ posts

Speed up, slow down and reverse music

Support for either
playsoundsoundwithspeed100%
or an option to slow/speed up sounds in the sound editor.
rdococ
Scratcher
1000+ posts

Speed up, slow down and reverse music

Sheep_maker wrote:

Support for either
playsoundsoundwithspeed100%
or an option to slow/speed up sounds in the sound editor.
How about this?
setsoundspeed100%playsoundsound
This way, you can set the speed of certain sounds, while they're playing, for cool effects.
IgDegOo
Scratcher
1000+ posts

Speed up, slow down and reverse music

How do you delete a post

Last edited by IgDegOo (Aug. 25, 2017 08:53:19)

Sheep_maker
Scratcher
1000+ posts

Speed up, slow down and reverse music

rdococ wrote:

Sheep_maker wrote:

Support for either
playsoundsoundwithspeed100%
or an option to slow/speed up sounds in the sound editor.
How about this?
setsoundspeed100%playsoundsound
This way, you can set the speed of certain sounds, while they're playing, for cool effects.
Would it effect the sprite's sounds or the sprite and the clone's sounds? And what many of the sound is being played?
NanoRook
Scratcher
1000+ posts

Speed up, slow down and reverse music

Support. Sometimes it's fun to speed up or slow down music.
Deerleg
Scratcher
1000+ posts

Speed up, slow down and reverse music

The third one can already be done in the sound editor. Support for the other two.
rdococ
Scratcher
1000+ posts

Speed up, slow down and reverse music

Deerleg wrote:

The third one can already be done in the sound editor. Support for the other two.
Not in the middle of a script.

NanoRook wrote:

Support. Sometimes it's fun to speed up or slow down music.
Yay!

Sheep_maker wrote:

Would it effect the sprite's sounds or the sprite and the clone's sounds? And what many of the sound is being played?
Just the sprite's sound - clones could do it to change their own sounds. I don't understand your second question.
Deerleg
Scratcher
1000+ posts

Speed up, slow down and reverse music

rdococ wrote:

Deerleg wrote:

The third one can already be done in the sound editor. Support for the other two.
Not in the middle of a script.
If you want a sound reversed halfway through, then just find the part you want reversed in the sound editor, highlight it, and reverse it. It will only affect that part.
rdococ
Scratcher
1000+ posts

Speed up, slow down and reverse music

Deerleg wrote:

rdococ wrote:

Deerleg wrote:

The third one can already be done in the sound editor. Support for the other two.
Not in the middle of a script.
If you want a sound reversed halfway through, then just find the part you want reversed in the sound editor, highlight it, and reverse it. It will only affect that part.
What if it depends on the actions the player takes? What if you want the sound to play reversed as soon as the player presses a certain button?
Deerleg
Scratcher
1000+ posts

Speed up, slow down and reverse music

rdococ wrote:

Deerleg wrote:

rdococ wrote:

Deerleg wrote:

The third one can already be done in the sound editor. Support for the other two.
Not in the middle of a script.
If you want a sound reversed halfway through, then just find the part you want reversed in the sound editor, highlight it, and reverse it. It will only affect that part.
What if it depends on the actions the player takes? What if you want the sound to play reversed as soon as the player presses a certain button?
I see…I don't entirely think this would be used that much, though, so semi-support for now.
rdococ
Scratcher
1000+ posts

Speed up, slow down and reverse music

Deerleg wrote:

rdococ wrote:

Deerleg wrote:

rdococ wrote:

Deerleg wrote:

The third one can already be done in the sound editor. Support for the other two.
Not in the middle of a script.
If you want a sound reversed halfway through, then just find the part you want reversed in the sound editor, highlight it, and reverse it. It will only affect that part.
What if it depends on the actions the player takes? What if you want the sound to play reversed as soon as the player presses a certain button?
I see…I don't entirely think this would be used that much, though, so semi-support for now.
It could be used to make music players, or cool, time based sound effects in games.
2011Nintendo3DS
Scratcher
48 posts

Speed up, slow down and reverse music

IgDegOo wrote:

Support.

first touch power on your computer

Last edited by 2011Nintendo3DS (July 3, 2017 23:03:15)

2011Nintendo3DS
Scratcher
48 posts

Speed up, slow down and reverse music

i want this scripts:

changespeedbysetspeedto%


playsoundinreverseplaysoundinreverseuntildone
2011Nintendo3DS
Scratcher
48 posts

Speed up, slow down and reverse music

rdococ wrote:

I would love the ability to make sounds speed up, slow down or reverse.
setsoundspeedto50%playsoundyay

Sounds could be sped up or slowed down in the middle of them, too.

playsoundmusicrepeat5changesoundspeedby-10%

Negative sound speed would represent reverse.

playsoundmusicsetsoundspeedto-200% 2x speed in reverse

I am aware that slowing down a song will make it lower, and speeding it up will make it higher. Should Scratch make sure it stays the same…?


and how i can want this
LionHeart70
Scratcher
1000+ posts

Speed up, slow down and reverse music

No support for the reverse, but support for the other two. Since reverse can be done in the sound editor, there's no need for a block.
stickfiregames
Scratcher
1000+ posts

Speed up, slow down and reverse music

Now that 3.0 has a sound effect block, support for
setspeedeffectto100
Auroura_Wolf
Scratcher
1000+ posts

Speed up, slow down and reverse music

Are you guys sure you understand music? Given that the tempo is the speed of the music, speed blocks already exist for music. Come on guys, check your facts!
settempoto...bpmchangetempoby...tempo
Those are all blocks, and they do the same as a speed block would do. No support for those then, but reversing would be cool, but a bit ambiguous, what would it reverse? The last … seconds? Would it work like this?:
reverselast...secs
If so, support for that one
EDIT: I'm dumb, this is about sounds, not music. Misleading title. Uhh, anyway, yeah, this would be cool, apart from reversing since that's already possible, so I'll support

Last edited by Auroura_Wolf (July 4, 2017 15:32:55)

alexphan
Scratcher
1000+ posts

Speed up, slow down and reverse music

The sound blocks would be great, and

stickfiregames wrote:

Now that 3.0 has a sound effect block, support for
setspeedeffectto100

But if blocks cannot be implemented for whatever reason, there should be an option to speed up and slow down sounds in the sound editor.
walkcycle
Scratcher
500+ posts

Speed up, slow down and reverse music

rdococ wrote:

I am aware that slowing down a song will make it lower, and speeding it up will make it higher. Should Scratch make sure it stays the same…?
A kind of Scratch auto-tune?

Edit:
This could be what we're looking for: Audio time stretching and pitch scaling
Time stretching is the process of changing the speed or duration of an audio signal without affecting its pitch.
setstretcheffectto12.5

Just tested it and the ‘pitch’ effect in the new Scratch does slow down and speed up sound playback. And it goes past 100 and below zero. Very fun!

Last edited by walkcycle (July 4, 2017 23:25:01)

Powered by DjangoBB