Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how do you play different frequency sounds?
- dinoracer
-
Scratcher
18 posts
how do you play different frequency sounds?
when green flag clickedcould you do that to play different frequency sounds?
forever
set [pitch v] to (mouse y :: sensing) :: variable
set [pitch v] effect to ([abs v] (pitch) :: operators) :: sound
start sound [ frequency 1 v] :: sound // this sound has a frequency of 1 //
Last edited by dinoracer (Nov. 13, 2023 03:07:58)
- -Valtren-
-
Scratcher
1000+ posts
how do you play different frequency sounds?
I edited the code to look like this and tested it, and it sort of works.

If you could figure out the exact frequencies from the pitch effect, then yes, I suppose it's possble.

If you could figure out the exact frequencies from the pitch effect, then yes, I suppose it's possble.
- dinoracer
-
Scratcher
18 posts
how do you play different frequency sounds?
you [should v] learn how to use ([scratch] + [blocks]) :: control
- Discussion Forums
- » Help with Scripts
-
» how do you play different frequency sounds?

