Discuss Scratch
- Discussion Forums
- » Suggestions
- » play sound --- for --- seconds
- ronford
-
26 posts
play sound --- for --- seconds
I really miss a ‘play sound — for — seconds’
or even better:
'play sound — from — to — seconds' (two time locations in the audio)
Now you're stuck playing the whole audio from only the beginning.
And because there is only a ‘stop all sounds’ possibility, and not a ‘stop this sound’, it makes stopping and starting of audio in different layers very limited.
Maybe a little complicated for younger programmers, but the possibilities of playing with audio inside a program is very limited (as opposed to the visual possibilities in Scratch) and this would possibly widen the scope on the audio side a little.
or even better:
'play sound — from — to — seconds' (two time locations in the audio)
Now you're stuck playing the whole audio from only the beginning.
And because there is only a ‘stop all sounds’ possibility, and not a ‘stop this sound’, it makes stopping and starting of audio in different layers very limited.
Maybe a little complicated for younger programmers, but the possibilities of playing with audio inside a program is very limited (as opposed to the visual possibilities in Scratch) and this would possibly widen the scope on the audio side a little.
- ProdigyZeta7
-
1000+ posts
play sound --- for --- seconds
I agree. Scratch should allow more flexible sound manipulation.
- cheeseeater
-
1000+ posts
play sound --- for --- seconds
Agree, I would would like a ‘play sound for ___ seconds’ block.
- Lilifant7253
-
1000+ posts
play sound --- for --- seconds
I agree! I would like a block like this too: Play sound ___till___.
- goldfish678
-
1000+ posts
play sound --- for --- seconds
There's a simple workaround:
play sound (pulldown menu)
wait (wanted time of sound playing) secs
play sound (pulldown menu)
wait (wanted time of sound playing) secs
- ProdigyZeta7
-
1000+ posts
play sound --- for --- seconds
O rly? Try starting a sound other than at 0:00. There's a simple workaround:
play sound (pulldown menu)
wait (wanted time of sound playing) secs
- mitchboy
-
1000+ posts
play sound --- for --- seconds
You could have it play with the volume at 0 for a while, then change the volume to 100. It doesn't work if you need it right away, though.O rly? Try starting a sound other than at 0:00. There's a simple workaround:
play sound (pulldown menu)
wait (wanted time of sound playing) secs
- footsocktoe
-
1000+ posts
play sound --- for --- seconds
One simple solution is to get Audacity (free download) and use it to cut your sound into separate sounds, each of which begins where you need it to.
- PERCE-NEIGE
-
100+ posts
play sound --- for --- seconds
Why in audacity? You can cut and paste in Scratch sound editor.
The problem with stopping sound is real, I agree with the author of this post. When you have several sound playing in the same time, and you need to stop only ONE sound, you can't!
Imagine the extended possibility of programming if you could!
The problem with stopping sound is real, I agree with the author of this post. When you have several sound playing in the same time, and you need to stop only ONE sound, you can't!
Imagine the extended possibility of programming if you could!
- DotDash
-
1000+ posts
play sound --- for --- seconds
maybe ST could add a dropdown on the stop all sounds block so you could choose a specific sound, but it still has all in the dropdown.
- Foxgirlgamer
-
100+ posts
play sound --- for --- seconds
the second idea is good, because you can't make a cut-up of every sound variant you want, and if the times it begins/stops at are affected by something like variables it would be a pain to go
if variable=1
'play sound (1)'
if variable=2
'play sound (2)'
etc
it would be easier to just be like
'play sound (1) from (variable) to (end)
if variable=1
'play sound (1)'
if variable=2
'play sound (2)'
etc
it would be easier to just be like
'play sound (1) from (variable) to (end)
- Charles12310
-
1000+ posts
play sound --- for --- seconds
I really think this should be useful because in there could be a wait when a block is runned.
play sound [sound v] for () secs :: sound
- Carriage
-
500+ posts
play sound --- for --- seconds
Waiiit this is a duplicate lemme find the link…
also, simple workaround:
also, simple workaround:
play sound [meow v]
wait (1) secs
broadcast [next script v]
stop [this script v]
- Charles12310
-
1000+ posts
play sound --- for --- seconds
There's a stop all sounds block, you know? Waiiit this is a duplicate lemme find the link…
also, simple workaround:play sound [meow v]
wait (1) secs
broadcast [next script v]
stop [this script v]
However, what if another sound is playing at the ame time?
- DaEpikDude
-
1000+ posts
play sound --- for --- seconds
I think that the "play sound from (time) to (time) is a better idea: maybe the first dropdown could have “start” in it along with being able to type in any number, and the second could have “end”?
- Nambaseking01
-
1000+ posts
play sound --- for --- seconds
Support, Scratch needs to get more serious and improvise with sound blocks — there's very low possibilites atm.
This is already possible using the set volume to () block if you give 0 in the input though, but that's a bit complicated.
This is already possible using the set volume to () block if you give 0 in the input though, but that's a bit complicated.
- --Explosion--
-
1000+ posts
play sound --- for --- seconds
Maybe instead of this block these?
start sound [sound v] at […] seconds::sound
stop sound [sound v]::sound
(current [time v] of sound [sound v]::sound)//with the options time, volume, and pitch
- Silvan_Zwick
-
14 posts
play sound --- for --- seconds
(#13)
I really think this should be useful because in there could be a wait when a block is runned.play sound [sound v] for () secs :: sound
(#11)There is a
maybe ST could add a dropdown on the stop all sounds block so you could choose a specific sound, but it still has all in the dropdown.
start sound [sound v] at () seconds :: soundblock and a
play sound [sound v] starting at () seconds until done :: soundblock in Snail IDE, along with a
stop sound [sound v] :: soundblock.
- goofynamesnipe
-
22 posts
play sound --- for --- seconds
Can't you duplicate the sound and crop it at the correct length?
Although this could be useful for huge projects with a lot of music so semi support
Although this could be useful for huge projects with a lot of music so semi support
- Discussion Forums
- » Suggestions
-
» play sound --- for --- seconds