Discuss Scratch

rdococ
Scratcher
500+ posts

Modification to the new pitch effect

This thread is to be locked soon (hopefully, I think) - since the idea was kind of confusing.

The upcoming Scratch 3.0 has a “set pitch effect” (along with pan l/r) block for audio.

set [pitch v] effect to (0) :: sound
When I tried this out, I was disappointed to find that I could not reverse the audio. My suggestion is to add an option to reverse the audio - either through negative pitch (right now, it uses a scale where minus infinity is 0x speed, 0 is 1x speed and 100 is 2x speed. I believe, anyway), or through a separate block, e.g.:

rewind :: sound

Last edited by rdococ (Aug. 14, 2017 03:00:33)

FancyFoxy
Scratcher
500+ posts

Modification to the new pitch effect

Negative pitch is not backwards. Negative pitch is lowering the pitch. Are you thinking of the “speed” effect people were suggesting?

THIS IS MY SIGNATURE. THIS MEANS IT IS AN AUTOMATIC MESSAGE THAT APPEARS AT THE BOTTOM OF ALL MY POSTS.
Hi! I'm FancyFoxy! I create animations and games that were never, EVER meant to be taken seriously.
FancyFoxy Heroes and #Thanksgiving are some of my latest projects, check them out!
DownsGameClub
Scratcher
1000+ posts

Modification to the new pitch effect

It seems as if you are jumping between two different ideas. Mind revising your post so that it only has one main idea?

–DGC
Scratcher since Aug. 2015 +++ Fire Alarm Enthusiast +++ College student studying fire protection engineering
rdococ
Scratcher
500+ posts

Modification to the new pitch effect

Eh?

Yes, modifying the pitch of the song modifies the speed of the song, and you can reverse the song by modifying its pitch. It is simply that Scratch's pitch block uses a measurement scale that doesn't allow this, and is now confusing people - like above.

I can assure you that I am only suggesting one idea, and that is to enable us to reverse audio (preferably while it's playing, too). What I am suggesting two of is two possible ways to do this: one idea is that we modify the pitch effect block to enable this. The other idea, if the former idea is too confusing for the newer of us, is to add a separate, “reverse sound” block.

Last edited by rdococ (Aug. 12, 2017 20:41:30)

alexphan
Scratcher
1000+ posts

Modification to the new pitch effect

There is already a ‘reverse’ option in Scratch 2.0's sound editor, so it's highly likely that they will bring it back in 3.0 (the GUI you were playing with is unfinished, so they will probably have a sound editor in the final)

Last edited by alexphan (Aug. 12, 2017 20:52:55)

rdococ
Scratcher
500+ posts

Modification to the new pitch effect

alexphan wrote:

There is already a ‘reverse’ option in Scratch 2.0's sound editor, so it's highly likely that they will bring it back in 3.0 (the GUI you were playing with is unfinished, so they will probably have a sound editor in the final)

rdococ wrote:

Eh?

Yes, modifying the pitch of the song modifies the speed of the song, and you can reverse the song by modifying its pitch. It is simply that Scratch's pitch block uses a measurement scale that doesn't allow this, and is now confusing people - like above.

I can assure you that I am only suggesting one idea, and that is to enable us to reverse audio (preferably while it's playing, too). What I am suggesting two of is two possible ways to do this: one idea is that we modify the pitch effect block to enable this. The other idea, if the former idea is too confusing for the newer of us, is to add a separate, “reverse sound” block.
In other words, I would like to reverse the sound while the project is running as a cool effect. It shouldn't be too hard, seeing as above, changing pitch (at least the way Scratch does it) can reverse audio, and we already have that.

Last edited by rdococ (Aug. 12, 2017 20:56:23)

alexphan
Scratcher
1000+ posts

Modification to the new pitch effect

rdococ wrote:

I would like to reverse the sound while the project is running as a cool effect. It shouldn't be too hard, seeing as above, changing pitch (at least the way Scratch does it) can reverse audio, and we already have that.
Okay, I see.

I think a separate block would be more suitable for this. It could either be just like the play sound block (simple, but has its limitations):
reverse sound [ v] :: sound
or a “playback mode” block (which might be a bit confusing for some, but can be useful for reversing a sound while it's playing)
set play sound to [ v] :: sound //can be normal, reversed, or toggle
FancyFoxy
Scratcher
500+ posts

Modification to the new pitch effect

rdococ wrote:

Yes, modifying the pitch of the song modifies the speed of the song, and you can reverse the song by modifying its pitch. It is simply that Scratch's pitch block uses a measurement scale that doesn't allow this, and is now confusing people - like above.
I still don't understand how you can reverse it through pitch. 0 is default pitch, -100 is low pitch, 100 is high pitch. Sounds would only ever be able to be played forward with this block.

THIS IS MY SIGNATURE. THIS MEANS IT IS AN AUTOMATIC MESSAGE THAT APPEARS AT THE BOTTOM OF ALL MY POSTS.
Hi! I'm FancyFoxy! I create animations and games that were never, EVER meant to be taken seriously.
FancyFoxy Heroes and #Thanksgiving are some of my latest projects, check them out!
kenny2scratch
Scratcher
500+ posts

Modification to the new pitch effect

rdococ wrote:

modifying the pitch of the song modifies the speed of the song.
No, it does NOT. There are some methods of speeding up audio that do increase the pitch at the same time, but solely increasing the pitch does NOT increase the speed. This is why using a negative pitch effect does not slow it down - a positive one does not speed it up either.

I do support for a speed effect - I might even bring it up on GitHub. Then, if you need to increase speed and pitch at the same time, you can just do it.

So no support for the original idea - but support for a speed effect.~~~~

post brought to you by the preview links bug and previously the uploads site bug. 看一下中文 Scratch 維基想參加?請參考這頁
Join the Scratch Wiki!
Made by Scratchers, for Scratchers, since December 6, 2008

rdococ
Scratcher
500+ posts

Modification to the new pitch effect

kenny2scratch wrote:

rdococ wrote:

modifying the pitch of the song modifies the speed of the song.
No, it does NOT. There are some methods of speeding up audio that do increase the pitch at the same time, but solely increasing the pitch does NOT increase the speed. This is why using a negative pitch effect does not slow it down - a positive one does not speed it up either.

I do support for a speed effect - I might even bring it up on GitHub. Then, if you need to increase speed and pitch at the same time, you can just do it.

So no support for the original idea - but support for a speed effect.~~~~
Increasing the pitch DOES increase the speed if you simply compress the song temporally. Songs are stored and played in the form of sound waves, and if you compress the sound waves closer together in time, you also increase the frequency.

I have tested this on Scratch 3.0 before, and will do again, and yes, using the pitch effect block DOES change the speed.

However, I will agree with you that maybe I should have brought up the idea of a sound speed block, rather than a modification to the pitch effect block which would probably confuse people (as it has done here).
Harakou
Scratcher
1000+ posts

Modification to the new pitch effect

Closed by request of owner.

Powered by DjangoBB