Discuss Scratch

Xolay
Scratcher
1000+ posts

More Sound Blocks

Ciyob86 wrote:

Title

[sound v] playing?::sound boolean //Reports true if the specified sound is playing
[sound v] duration::sound reporter // Reports the length of the specified sound
([sound v] current time::sound reporter // Reports the current second of the specified sound if it is playing
stop sound [sound v]::sound //Stops a specified sound

pause sound [sound v]::sound //Pauses a specified sound

set volume of [sound v] to ()::sound //Sets the volume of a specified sound

set [effect v]effect of [sound v] to ()%:: sound

(sound name::sound) // Says what song is playing

Last edited by Xolay (Aug. 22, 2021 18:13:40)

Xolay
Scratcher
1000+ posts

More Sound Blocks

BanMeScratchNews wrote:

Xolay wrote:

Ciyob86 wrote:

Title

[sound v] playing?::sound boolean //Reports true if the specified sound is playing
[sound v] duration::sound reporter // Reports the length of the specified sound
([sound v] current time::sound reporter // Reports the current second of the specified sound if it is playing
stop sound [sound v]::sound //Stops a specified sound

pause sound [sound v]::sound //Pauses a specified sound

set volume of [sound v] to ()::sound //Sets the volume of a specified sound

set [effect v]effect of [sound v] to ()%:: sound

(sound name::sound) // Says what song is playing
im going to add the sound name thing.
Cool
Ciyob86
Scratcher
500+ posts

More Sound Blocks

BanMeScratchNews wrote:

Xolay wrote:

Ciyob86 wrote:

Title

[sound v] playing?::sound boolean //Reports true if the specified sound is playing
[sound v] duration::sound reporter // Reports the length of the specified sound
([sound v] current time::sound reporter // Reports the current second of the specified sound if it is playing
stop sound [sound v]::sound //Stops a specified sound

pause sound [sound v]::sound //Pauses a specified sound

set volume of [sound v] to ()::sound //Sets the volume of a specified sound

set [effect v]effect of [sound v] to ()%:: sound

(sound name::sound) // Says what song is playing
im going to add the sound name thing.
edit: added
(sound name ::sound)
How would that work?
Ciyob86
Scratcher
500+ posts

More Sound Blocks

BanMeScratchNews wrote:

([sound effect v] ::sound)
replaces volume
([sound effect v] of [sound v] ::sound)
I'll add that to the op
Xolay
Scratcher
1000+ posts

More Sound Blocks

BanMeScratchNews wrote:

Xolay wrote:

Ciyob86 wrote:

Title

[sound v] playing?::sound boolean //Reports true if the specified sound is playing
[sound v] duration::sound reporter // Reports the length of the specified sound
([sound v] current time::sound reporter // Reports the current second of the specified sound if it is playing
stop sound [sound v]::sound //Stops a specified sound

pause sound [sound v]::sound //Pauses a specified sound

set volume of [sound v] to ()::sound //Sets the volume of a specified sound

set [effect v]effect of [sound v] to ()%:: sound

(sound name::sound) // Says what song is playing
im going to add the sound name thing.
edit: added
(sound name ::sound)
Ciyob86 add this on the op
Ciyob86
Scratcher
500+ posts

More Sound Blocks

BanMeScratchNews wrote:

Ciyob86 wrote:

BanMeScratchNews wrote:

Xolay wrote:

Ciyob86 wrote:

Title

[sound v] playing?::sound boolean //Reports true if the specified sound is playing
[sound v] duration::sound reporter // Reports the length of the specified sound
([sound v] current time::sound reporter // Reports the current second of the specified sound if it is playing
stop sound [sound v]::sound //Stops a specified sound

pause sound [sound v]::sound //Pauses a specified sound

set volume of [sound v] to ()::sound //Sets the volume of a specified sound

set [effect v]effect of [sound v] to ()%:: sound

(sound name::sound) // Says what song is playing
im going to add the sound name thing.
edit: added
(sound name ::sound)
How would that work?
returns the name of the current sound that is playing. i make mp4s lol
What if multiple sounds are playing?
Ciyob86
Scratcher
500+ posts

More Sound Blocks

BanMeScratchNews wrote:

Ciyob86 wrote:

BanMeScratchNews wrote:

Ciyob86 wrote:

BanMeScratchNews wrote:

Xolay wrote:

Ciyob86 wrote:

Title

[sound v] playing?::sound boolean //Reports true if the specified sound is playing
[sound v] duration::sound reporter // Reports the length of the specified sound
([sound v] current time::sound reporter // Reports the current second of the specified sound if it is playing
stop sound [sound v]::sound //Stops a specified sound

pause sound [sound v]::sound //Pauses a specified sound

set volume of [sound v] to ()::sound //Sets the volume of a specified sound

set [effect v]effect of [sound v] to ()%:: sound

(sound name::sound) // Says what song is playing
im going to add the sound name thing.
edit: added
(sound name ::sound)
How would that work?
returns the name of the current sound that is playing. i make mp4s lol
What if multiple sounds are playing?
then it returns multiple sounds.
How?
Xolay
Scratcher
1000+ posts

More Sound Blocks

Ciyob86 wrote:

BanMeScratchNews wrote:

Ciyob86 wrote:

BanMeScratchNews wrote:

Xolay wrote:

Ciyob86 wrote:

Title

[sound v] playing?::sound boolean //Reports true if the specified sound is playing
[sound v] duration::sound reporter // Reports the length of the specified sound
([sound v] current time::sound reporter // Reports the current second of the specified sound if it is playing
stop sound [sound v]::sound //Stops a specified sound

pause sound [sound v]::sound //Pauses a specified sound

set volume of [sound v] to ()::sound //Sets the volume of a specified sound

set [effect v]effect of [sound v] to ()%:: sound

(sound name::sound) // Says what song is playing
im going to add the sound name thing.
edit: added
(sound name ::sound)
How would that work?
returns the name of the current sound that is playing. i make mp4s lol
What if multiple sounds are playing?
Reports sound and sound2 like this:
(sound name::sound) // Meow, Woof

Last edited by Xolay (Aug. 22, 2021 18:37:55)

Xolay
Scratcher
1000+ posts

More Sound Blocks

BanMeScratchNews wrote:

Ciyob86 wrote:

BanMeScratchNews wrote:

Ciyob86 wrote:

BanMeScratchNews wrote:

Ciyob86 wrote:

BanMeScratchNews wrote:

Xolay wrote:

Ciyob86 wrote:

Title

[sound v] playing?::sound boolean //Reports true if the specified sound is playing
[sound v] duration::sound reporter // Reports the length of the specified sound
([sound v] current time::sound reporter // Reports the current second of the specified sound if it is playing
stop sound [sound v]::sound //Stops a specified sound

pause sound [sound v]::sound //Pauses a specified sound

set volume of [sound v] to ()::sound //Sets the volume of a specified sound

set [effect v]effect of [sound v] to ()%:: sound

(sound name::sound) // Says what song is playing
im going to add the sound name thing.
edit: added
(sound name ::sound)
How would that work?
returns the name of the current sound that is playing. i make mp4s lol
What if multiple sounds are playing?
then it returns multiple sounds.
How?
if more than 1 sound is playing it detects that and returns multiple sounds LIKE THE 2 WORDS.
or it does sound1, sound2, sound3.. etc.
So are you adding
(sound name::sound) 
to the OP?
Ciyob86
Scratcher
500+ posts

More Sound Blocks

pls snip quotes
Ciyob86
Scratcher
500+ posts

More Sound Blocks

Bump
Ciyob86
Scratcher
500+ posts

More Sound Blocks

Bump
medians
Scratcher
1000+ posts

More Sound Blocks

Reviving this post, mockups:
([names v] of currently playing sounds ::sound)
([durations v] of currently playing sounds ::sound)
([sound v]’s [duration v] ::sound) //default
([sound v]’s [current time v] ::sound)
([sound v]’s [volume v] ::sound)
([sound v]’s [effect v] ::sound)
set [volume v] of [sound v] to ()% ::sound

set [effect v] of [sound v] to ()% ::sound

change [volume v] of [sound v] by ()% ::sound

change [effect v] of [sound v] by ()% ::sound

Last edited by medians (June 26, 2022 17:05:06)

hill_walker123
Scratcher
100+ posts

More Sound Blocks

bump

Powered by DjangoBB