Discuss Scratch

LionHeart70
Scratcher
1000+ posts

New sound pitch blocks

I think these are being added in 3.0.
Brannum
Scratcher
3 posts

New sound pitch blocks

DevanWolf wrote:

Yes, that's right! I would like to add pitch for the play sound, play note, and play drum blocks!
set pitch to(1)::sound

change pitch by(1)::sound
(pitch::sound)
It sets how fast or slow sounds on the sprite or stage will play. Like for example, if the pitch is a 0.5 means it's playing at half speed, and at 2, it's double speed, and at 1.5 plays in 1 and a half (1.5x) speed, and so on.

Example for a sliding down pitch trumpet like a trombone:
play sound[trumpet v]
repeat(8)
change pitch by(-0.125)::sound
wait(0.125)secs
end
repeat(8)
change pitch by(0.125)::sound
wait(0.125)secs
A melodic drum
set pitch to(1)::sound
play drum(1 v)for(0.5)beats
set pitch to(1.1)::sound
play drum(1 v)for(0.5)beats
set pitch to(1.25)::sound
play drum(1 v)for(0.5)beats
set pitch to(1.4)::sound
play drum(1 v)for(0.5)beats
set pitch to(1.5)::sound
play drum(1 v)for(0.5)beats
setet pitch to(1)::sound
play drum(4 v)for(0.5)beats[/quote]
I need a different kind of pitch. only lowers or raises the pitch, not the speed
wWSunPandaWw
Scratcher
1000+ posts

New sound pitch blocks

Support, I don't know much about music but I think people who do would love this!
DevanWolf
Scratcher
100+ posts

New sound pitch blocks

Brannum wrote:

DevanWolf wrote:

Yes, that's right! I would like to add pitch for the play sound, play note, and play drum blocks!
set pitch to(1)::sound

change pitch by(1)::sound
(pitch::sound)
It sets how fast or slow sounds on the sprite or stage will play. Like for example, if the pitch is a 0.5 means it's playing at half speed, and at 2, it's double speed, and at 1.5 plays in 1 and a half (1.5x) speed, and so on.

Example for a sliding down pitch trumpet like a trombone:
play sound[trumpet v]
repeat(8)
change pitch by(-0.125)::sound
wait(0.125)secs
end
repeat(8)
change pitch by(0.125)::sound
wait(0.125)secs
A melodic drum
set pitch to(1)::sound
play drum(1 v)for(0.5)beats
set pitch to(1.1)::sound
play drum(1 v)for(0.5)beats
set pitch to(1.25)::sound
play drum(1 v)for(0.5)beats
set pitch to(1.4)::sound
play drum(1 v)for(0.5)beats
set pitch to(1.5)::sound
play drum(1 v)for(0.5)beats
setet pitch to(1)::sound
play drum(4 v)for(0.5)beats
I need a different kind of pitch. only lowers or raises the pitch, not the speed
Oops! You forgot to add the
[/scratchblocks]
at the end of the scratchblocks line! I fixed it as an example in the reply quote.
GameTabStudios
Scratcher
14 posts

New sound pitch blocks

Great idea but you can already change the pitch using very advanced broadcasting techniques.
fishu4
Scratcher
100+ posts

New sound pitch blocks

in 3.0 it existsed, it has been added in scratch 3.0.
c0der0928
Scratcher
100+ posts

New sound pitch blocks

did noone realize this block already exists
set [pitch v] effect to (100)
change [pitch v] effect by (10)
TheAutocorrectingCat
Scratcher
1000+ posts

New sound pitch blocks

c0der0928 wrote:

did noone realize this block already exists
set [pitch v] effect to (100)
change [pitch v] effect by (10)
Please don’t necropost.
Necroposting is posting on an old, dead topic without adding any new information.

Powered by DjangoBB