Discuss Scratch

Poteto143
Scratcher
1000+ posts

[CLOSED]Suggestion of new sound blocks

play sound [ v] from ()::sound //Give a number as time to begin playing
play sound [ v] from () until done::sound
On current version of scratch, We always have to play sounds from start of them.
But some people (include me) want those blocks to play sounds from given time.

Here is a usage. This is a simple music player:
when green flag clicked
set [current time v] to [0]
when [space v] key pressed
reset timer
play sound [music v] from (current time)::sound
wait until <not <key [space v] pressed?>>
wait until <key [space v] pressed?>
set [current time v] to ((current time) + (timer))

I think I'm not good at English so if you find wrong point in my English, let me know.

Last edited by Poteto143 (March 7, 2020 09:22:23)

--Explosion--
Scratcher
1000+ posts

[CLOSED]Suggestion of new sound blocks

Support, these are awesone! However maybe make the current time block specific to a certain sound, since multiple sounds can be playing at once.
current time in sound [sound v]::sound reporter
Poteto143
Scratcher
1000+ posts

[CLOSED]Suggestion of new sound blocks

Thank you for replying!!
Other people, how do you think about my suggestion?
Skywarslord
Scratcher
100+ posts

[CLOSED]Suggestion of new sound blocks

Poteto143 wrote:

play sound [ v] from ()::sound //Give a number as time to begin playing
play sound [ v] from () until done::sound
On current version of scratch, We always have to play sounds from start of them.
But some people (include me) want those blocks to play sounds from given time.

Here is a usage. This is a simple music player:
when green flag clicked
set [current time v] to [0]
when [space v] key pressed
reset timer
play sound [music v] from (current time)::sound
wait until <not <key [space v] pressed?>>
wait until <key [space v] pressed?>
set [current time v] to ((current time) + (timer))

I think I'm not good at English so if you find wrong point in my English, let me know.

I support! This would make it easier for people who often import music for specific parts. As a result we have to find the part and edit the sound. This would make it easier for us because then people dont have to do edit sound as often.
-GentooPenguin-
Scratcher
100+ posts

[CLOSED]Suggestion of new sound blocks

There is a simple workaround:
when green flag clicked
wait () secs
play sound [ v] until done
XayCraft360
Scratcher
100+ posts

[CLOSED]Suggestion of new sound blocks

-GentooPenguin- wrote:

There is a simple workaround:
when green flag clicked
wait () secs
play sound [ v] until done

But lets say you want to use the theme song for your game in the main menu, but only a piece of it. Do you really want to wait ? seconds in order to do that?
Poteto143
Scratcher
1000+ posts

[CLOSED]Suggestion of new sound blocks

Bump
I want more other opinion .
WindOctahedron
Scratcher
1000+ posts

[CLOSED]Suggestion of new sound blocks

This topic is a duplicate.
Please continue the discussion in the topic provided above, to keep it in one place.
Poteto143
Scratcher
1000+ posts

[CLOSED]Suggestion of new sound blocks

WindOctahedron wrote:

This topic is a duplicate.
Please continue the discussion in the topic provided above, to keep it in one place.
okay.
Should I close this topic?
WindOctahedron
Scratcher
1000+ posts

[CLOSED]Suggestion of new sound blocks

Poteto143 wrote:

WindOctahedron wrote:

This topic is a duplicate.
Please continue the discussion in the topic provided above, to keep it in one place.
okay.
Should I close this topic?
Yes, you should.
Poteto143
Scratcher
1000+ posts

[CLOSED]Suggestion of new sound blocks

I got it.
By the way, Where can I find such a rule? Please tell me.
I found it so I'll close this topic. Thank you everyone!

Last edited by Poteto143 (March 7, 2020 09:21:59)

Poteto143
Scratcher
1000+ posts

[CLOSED]Suggestion of new sound blocks

Wait, I can't find a close button・・・ where can I find it?
It should be under the send button.

Last edited by Poteto143 (March 7, 2020 09:25:29)

WindOctahedron
Scratcher
1000+ posts

[CLOSED]Suggestion of new sound blocks

Poteto143 wrote:

Wait, I can't find a close button・・・ where can I find it?
It should be under the send button.
You have to wait 24 hours before you can close a topic (to prevent spam).
However, I've already reported this topic to be closed, so if you're lucky, a Scratch Team member will close it for you.
Poteto143
Scratcher
1000+ posts

[CLOSED]Suggestion of new sound blocks

I forgot that I have to wait.
And thank you for reporting.
Za-Chary
Scratcher
1000+ posts

[CLOSED]Suggestion of new sound blocks

WindOctahedron wrote:

This topic is a duplicate.
Please continue the discussion in the topic provided above, to keep it in one place.
Hey, you're right! Thanks!

To keep the conversation focused in one place, I'll be closing this topic now. Feel free to continue the discussion in the link provided above.

Powered by DjangoBB