Discuss Scratch

s213413
Scratcher
4 posts

Change Speed or Pitch

how i change the pitch on JavaScript by 2^(1/12) = 1.05946309436 or half step (semitones)


https://codepen.io/s213413/pen/BaReXbE


i try to change the pitch on the slider range step = “0.119” (1.0595 mod1 = 0.0595 x2 0.119)

Last edited by s213413 (Sept. 6, 2021 16:41:48)

medians
Scratcher
1000+ posts

Change Speed or Pitch

Wow, seeing this after 3.0 released!!!

south_baby wrote:

iProductions wrote:

how do i make pitch lower after making it higher if your doing a song
Use help with scripts next time, and don't quote the OP. Though basically you just use the change pitch by block.
set sound speed to () ::sound //1 would be normal

change sound speed by () ::sound
medians
Scratcher
1000+ posts

Change Speed or Pitch

Maybe the existing block could still exist, but the new version could be split into speed and pitch?
Lilou2313
Scratcher
1 post

Change Speed or Pitch

when green flag clicked
forever
if <Changing speed doesn't change pitch> then
switch costume to [FIIINNALLLLLLLYYYY v]
end
end
hydrofungus
Scratcher
1000+ posts

Change Speed or Pitch

Lilou2313 wrote:

when green flag clicked
forever
if <Changing speed doesn't change pitch> then
switch costume to [FIIINNALLLLLLLYYYY v]
end
end
Don’t blockspam

Last edited by hydrofungus (Dec. 9, 2023 10:55:17)

medians
Scratcher
1000+ posts

Change Speed or Pitch

hydrofungus wrote:

Lilou2313 wrote:

when green flag clicked
forever
if <Changing speed doesn't change pitch> then
switch costume to [FIIINNALLLLLLLYYYY v]
end
end
Don’t blockspam
That user is referring to the fact that changing the pitch with the current block changes the speed.

Powered by DjangoBB