Discuss Scratch
- Appadeia
-
100+ posts
Sound Seeking - 30 Supporters
I support this.
Also, this should be a thing
Also, this should be a thing
create channel named [] :: sound
delete channel [ v] :: sound
toggle playback of channel [ v] :: sound
Last edited by Appadeia (Oct. 19, 2016 00:40:25)
- thoyal
-
500+ posts
Sound Seeking - 30 Supporters
What do you mean by “channel”? I support this.
Also, this should be a thingcreate channel named [] :: sound
delete channel [ v] :: sound
toggle playback of channel [ v] :: sound
- Lataliat
-
100+ posts
Sound Seeking - 30 Supporters
It's a MIDI thing. These blocks don't make any sense though…What do you mean by “channel”? I support this.
Also, this should be a thingcreate channel named [] :: sound
delete channel [ v] :: sound
toggle playback of channel [ v] :: sound
- GlassGalaxy
-
500+ posts
Sound Seeking - 30 Supporters
Ahh I'd love this ;-; I dislike having to use sound editors to chop songs into pieces for things It would be cool to have this in 3.0. Pause and resume would be nice too but it would be work-a-roundable if this was implemented.
- CoderOwl
-
30 posts
Sound Seeking - 30 Supporters
Support! @TheLogFather was also making a pen video rendering project and I feel this would be really useful.
- Tymewalk
-
1000+ posts
Sound Seeking - 30 Supporters
Pause and resume have already been said to be rather difficult to decide what that means. I fully support!
Maybe these blocks as well.fade in :: sound
fade out :: sound
fade in (2) secs :: sound
fade out (2) secs :: sound
pause sound [file v] :: sound
resume sound [file v] :: sound
The plain fade out and fade in blocks are pretty ambiguous, and the (X) secs ones can be workarounded very easily.
- 290Scratcher
-
1000+ posts
Sound Seeking - 30 Supporters
I agree with all of them, by looking at the thing for about 5 secs I'd like to be able to start sounds from a specific point, so I suggest the following blocks:play sound [ v] from (x) secs :: sound // Plays the sound from that position
play sound [ v] from (x) secs until done :: sound // Likewise, except it waits until it's finished.
play sound [ v] from (x) secs until (y) secs :: sound // Similar, but only plays up to Y seconds.
(length of sound [ v]::sound) // Reports the length of the sound in seconds. It gives something like "213.40", you can use round if you don't want that.
Where would this be useful?
- MP3 Players - You can skip forward and backward in sounds.
- Radios - When the user tunes in, it skips to what everyone else is hearing (based on time or Cloud Data, your choice), creating a synchronized sound, like a real radio.
- Time Travel Games - Imagine someone made a game similar to Braid. They could back up the music when the player reverses time.
- MAPs - This could benefit maps greatly by avoiding sound cutting, as shown below:
broadcast [Part 1 v]The same MAP script can be applied to other things, too.
play sound [Song v] from (0) secs until (33) secs :: sound
broadcast [Part 2 v]
play sound [Song v] from (33) secs until (68) secs :: sound
...
What if the user puts in more than 60 seconds/negative seconds/non-integer seconds?
More than 60 simply seeks to wherever that is - 0m and 78s seeks to 1 minute and 18 seconds (78 seconds) in.
Negative seconds don't play the sound in reverse, they simply cause the sound to start from the beginning, like 0 or the normal play sound blocks.
Non-integer seconds simply seek with more precision, for example, 12.5 seconds.
Why no hour or minute value?
@DaSpudLord makes a good point. The base value for everything in Scratch is in seconds - the timer reports seconds, wait _ secs, etc.
What happened to the seeking blocks?
stickfiregames pointed out that sprites can play more than one sound at a time, meaning those blocks can cause glitches. However, you can use this workaround to seek:stop all sounds
play sound from (seconds) secs until done :: sound
What about playing in reverse?
Just make a reversed copy of the sound and sync them up. Scratch has a “reverse” tool built into the sound editor, to reverse an entire sound, simply use “Select All” and then “Reverse”.List of supporters
@Tymewalk
@alexphan
@JoeyTheChicken
@little_kitten
@TheAwesomeMaster
@stickfiregames
@Sheep_Tester
@DaSpudLord
@Zarlog
@Skelepound
@Ninkancho
@Anthan
@PrincessPanda_test_
@BookOwl
@thoyal
@apgonscratch
@raspykoo
@Lataliat
@Digital_Gaming
@TheScratchHobbiest
@PoohBear789
@Rex208
@Appadela
@CodingGamerHD
@GlassGalaxy
@Prof_Red
@CoderOwl
- 290Scratcher
-
1000+ posts
Sound Seeking - 30 Supporters
Adding onto my previous post, there should be a block that is I'd like to be able to start sounds from a specific point, so I suggest the following blocks:play sound [ v] from (x) secs :: sound // Plays the sound from that position
play sound [ v] from (x) secs until done :: sound // Likewise, except it waits until it's finished.
play sound [ v] from (x) secs until (y) secs :: sound // Similar, but only plays up to Y seconds.
(length of sound [ v]::sound) // Reports the length of the sound in seconds. It gives something like "213.40", you can use round if you don't want that.
Where would this be useful?
- MP3 Players - You can skip forward and backward in sounds.
- Radios - When the user tunes in, it skips to what everyone else is hearing (based on time or Cloud Data, your choice), creating a synchronized sound, like a real radio.
- Time Travel Games - Imagine someone made a game similar to Braid. They could back up the music when the player reverses time.
- MAPs - This could benefit maps greatly by avoiding sound cutting, as shown below:
broadcast [Part 1 v]The same MAP script can be applied to other things, too.
play sound [Song v] from (0) secs until (33) secs :: sound
broadcast [Part 2 v]
play sound [Song v] from (33) secs until (68) secs :: sound
...
What if the user puts in more than 60 seconds/negative seconds/non-integer seconds?
More than 60 simply seeks to wherever that is - 0m and 78s seeks to 1 minute and 18 seconds (78 seconds) in.
Negative seconds don't play the sound in reverse, they simply cause the sound to start from the beginning, like 0 or the normal play sound blocks.
Non-integer seconds simply seek with more precision, for example, 12.5 seconds.
Why no hour or minute value?
@DaSpudLord makes a good point. The base value for everything in Scratch is in seconds - the timer reports seconds, wait _ secs, etc.
What happened to the seeking blocks?
stickfiregames pointed out that sprites can play more than one sound at a time, meaning those blocks can cause glitches. However, you can use this workaround to seek:stop all sounds
play sound from (seconds) secs until done :: sound
What about playing in reverse?
Just make a reversed copy of the sound and sync them up. Scratch has a “reverse” tool built into the sound editor, to reverse an entire sound, simply use “Select All” and then “Reverse”.List of supporters
@Tymewalk
@alexphan
@JoeyTheChicken
@little_kitten
@TheAwesomeMaster
@stickfiregames
@Sheep_Tester
@DaSpudLord
@Zarlog
@Skelepound
@Ninkancho
@Anthan
@PrincessPanda_test_
@BookOwl
@thoyal
@apgonscratch
@raspykoo
@Lataliat
@Digital_Gaming
@TheScratchHobbiest
@PoohBear789
@Rex208
@Appadela
@CodingGamerHD
@GlassGalaxy
@Prof_Red
@CoderOwl
set [x v] to length of [ v]I know the block is red but it should be orange. There should also be
time played of[ v]That's also red but it should be pink
- jokebookservice1
-
1000+ posts
Sound Seeking - 30 Supporters
Please be constructive when posting (supporting alone is not constructive). What is the workaround? Support, but workaround.
Banana

Last edited by jokebookservice1 (Oct. 26, 2016 09:26:01)
- Tymewalk
-
1000+ posts
Sound Seeking - 30 Supporters
First, quick tip, you can make it variable category like this: Adding onto my previous post, there should be a block that isset [x v] to length of [ v]I know the block is red but it should be orange. There should also betime played of[ v]That's also red but it should be pink
my cool block! :: variables
Second, the first block is easily workaroundable:
set [x v] to (length of [sound v] :: sound)
And I don't understand what you mean by the second block.
I don't see an easy workaround for this that doesn't take up massive scripts or massive filesize. Support, but workaround.
Banana
- 1a3c5e7g9i
-
100+ posts
Sound Seeking - 30 Supporters
Please don't necropost. Tymewalk BUMP(Creator of this topic) could have bumped this topic himself if he wanted to.
- QuantumSingularity
-
1000+ posts
Sound Seeking - 30 Supporters
Wow, great idea! I support this completely! Perhaps even a stop sound block? One that would let you stop a specific sound?
- VideoGamerCanInvent
-
1000+ posts
Sound Seeking - 30 Supporters
BUMP
Please don't necropost.
Support! I love the idea and it would be very useful.
- Mario0314
-
7 posts
Sound Seeking - 30 Supporters
I had considered uploading a bunch of my favorite songs to a Scratch project once and then just click buttons to play them, and this feature would be awesome for that, support!
- Tymewalk
-
1000+ posts
Sound Seeking - 30 Supporters
That's true, although necroposting is fine on the Suggestions forum (except if you're just going to say no support).Please don't necropost. Tymewalk BUMP(Creator of this topic) could have bumped this topic himself if he wanted to.