Discuss Scratch

Appadeia
Scratcher
100+ posts

Sound Seeking - 30 Supporters

I support this.
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)

CodingGamerHD
Scratcher
62 posts

Sound Seeking - 30 Supporters

Support!
thoyal
Scratcher
500+ posts

Sound Seeking - 30 Supporters

Appadeia wrote:

I support this.
Also, this should be a thing
create channel named [] :: sound

delete channel [ v] :: sound

toggle playback of channel [ v] :: sound
What do you mean by “channel”?
Lataliat
Scratcher
100+ posts

Sound Seeking - 30 Supporters

thoyal wrote:

Appadeia wrote:

I support this.
Also, this should be a thing
create channel named [] :: sound

delete channel [ v] :: sound

toggle playback of channel [ v] :: sound
What do you mean by “channel”?
It's a MIDI thing. These blocks don't make any sense though…
GlassGalaxy
Scratcher
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.
Prof_Red
Scratcher
500+ posts

Sound Seeking - 30 Supporters

Support!
CoderOwl
Scratcher
30 posts

Sound Seeking - 30 Supporters

Support! @TheLogFather was also making a pen video rendering project and I feel this would be really useful.
CoderOwl
Scratcher
30 posts

Sound Seeking - 30 Supporters

Bump
Tymewalk
Scratcher
1000+ posts

Sound Seeking - 30 Supporters

TheScratchHobbiest wrote:

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

Pause and resume have already been said to be rather difficult to decide what that means.

The plain fade out and fade in blocks are pretty ambiguous, and the (X) secs ones can be workarounded very easily.

290Scratcher
Scratcher
1000+ posts

Sound Seeking - 30 Supporters

Tymewalk wrote:

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]
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
...
The same MAP script can be applied to other things, too.

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
I agree with all of them, by looking at the thing for about 5 secs
290Scratcher
Scratcher
1000+ posts

Sound Seeking - 30 Supporters

Tymewalk wrote:

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]
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
...
The same MAP script can be applied to other things, too.

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
Adding onto my previous post, there should be a block that is
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
banana439monkey
Scratcher
1000+ posts

Sound Seeking - 30 Supporters

Support, but workaround.

Banana
jokebookservice1
Scratcher
1000+ posts

Sound Seeking - 30 Supporters

banana439monkey wrote:

Support, but workaround.

Banana
Please be constructive when posting (supporting alone is not constructive). What is the workaround?

Last edited by jokebookservice1 (Oct. 26, 2016 09:26:01)

Tymewalk
Scratcher
1000+ posts

Sound Seeking - 30 Supporters

290Scratcher wrote:

Adding onto my previous post, there should be a block that is
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
First, quick tip, you can make it variable category like this:
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.

banana439monkey wrote:

Support, but workaround.

Banana
I don't see an easy workaround for this that doesn't take up massive scripts or massive filesize.
BookOwl
Scratcher
1000+ posts

Sound Seeking - 30 Supporters

BUMP
1a3c5e7g9i
Scratcher
100+ posts

Sound Seeking - 30 Supporters

BookOwl wrote:

BUMP
Please don't necropost. Tymewalk (Creator of this topic) could have bumped this topic himself if he wanted to.
QuantumSingularity
Scratcher
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
Scratcher
1000+ posts

Sound Seeking - 30 Supporters

BookOwl wrote:

BUMP

Please don't necropost.





Support! I love the idea and it would be very useful.
Mario0314
Scratcher
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
Scratcher
1000+ posts

Sound Seeking - 30 Supporters

1a3c5e7g9i wrote:

BookOwl wrote:

BUMP
Please don't necropost. Tymewalk (Creator of this topic) could have bumped this topic himself if he wanted to.
That's true, although necroposting is fine on the Suggestions forum (except if you're just going to say no support).

Powered by DjangoBB