Discuss Scratch

ZZ9PluralZAlpha
Scratcher
1000+ posts

New sound block maybe?

As for the term, I could shorten it to “Last Sound Played” if that helps. I think “Last Sound” like that might be a bit confusing.
ZZ9PluralZAlpha
Scratcher
1000+ posts

New sound block maybe?

ZZ9PluralZAlpha wrote:

As for the term, I could shorten it to “Last Sound Played” if that helps. I think “Last Sound” like that might be a bit confusing.
I'm talking about what it would say in the sensing block
([Last Sound Played v] of [Sprite1 v])
Benur21
Scratcher
100+ posts

New sound block maybe?

There's also some posts requesting Custom blocks that report values, with them we would really have ways to create that Sound # block. But they didn't add that, at least for now.

Sheep_maker wrote:

Benur21 wrote:

ZZ9PluralZAlpha wrote:

Can we submit these ideas to the Scratch Team so they can tell us if it can be included in an update?
I don't think much they will ever add something, but you can still try it.
Well since they aren't working on 2.0 anymore this is probably the best time to do so before 3.0 gets finished.
Really Scratch 3.0?? Is there any post about it?
Benur21
Scratcher
100+ posts

New sound block maybe?

ZZ9PluralZAlpha wrote:

Benur21 wrote:

ZZ9PluralZAlpha wrote:

Can we submit these ideas to the Scratch Team so they can tell us if it can be included in an update?
I don't think much they will ever add something, but you can still try it.
How do I do it? I've never seen anyone do it so I'm not sure what to do.
I mean you can try to request, like what you are doing now. (so just continue)

Last edited by Benur21 (July 29, 2016 18:21:03)

ZZ9PluralZAlpha
Scratcher
1000+ posts

New sound block maybe?

OK, now I understand. I thought there was some way you could tell the Scratch Team directly about it, that's all.
ZZ9PluralZAlpha
Scratcher
1000+ posts

New sound block maybe?

Wait, is there a way of telling the Scratch Team directly or is it just as you said:-

Benur21 wrote:

ZZ9PluralZAlpha wrote:

Benur21 wrote:

ZZ9PluralZAlpha wrote:

Can we submit these ideas to the Scratch Team so they can tell us if it can be included in an update?
I don't think much they will ever add something, but you can still try it.
How do I do it? I've never seen anyone do it so I'm not sure what to do.
I mean you can try to request, like what you are doing now. (so just continue)
Sheep_maker
Scratcher
1000+ posts

New sound block maybe?

Benur21 wrote:

Sheep_maker wrote:

Benur21 wrote:

ZZ9PluralZAlpha wrote:

Can we submit these ideas to the Scratch Team so they can tell us if it can be included in an update?
I don't think much they will ever add something, but you can still try it.
Well since they aren't working on 2.0 anymore this is probably the best time to do so before 3.0 gets finished.
Really Scratch 3.0?? Is there any post about it?
Here
Solmux
Scratcher
100+ posts

New sound block maybe?

Why would you want to detect what sound or music is playing at the time?
ZZ9PluralZAlpha
Scratcher
1000+ posts

New sound block maybe?

Solmux wrote:

Why would you want to detect what sound or music is playing at the time?
Because detecting that in a script could make other things happen when you want, but the scripting may be easier.
ZZ9PluralZAlpha
Scratcher
1000+ posts

New sound block maybe?


Sheep_maker wrote:

ZZ9PluralZAlpha wrote:

Sheep_maker wrote:

I mean just after it starts playing, it will report to the variable what sound is being played in that sprite, so it works only in one sprite and can't get confused with picking the wrong sprite. As for the start of the project when there may not be a sound, the block would report a “0” meaning no sound from that sprite at the time and would wait until sounds started playing from the sprite that the block is working in.
In that case support if there's also this:
([# of last sound played v] of [Sprite1 v])
I think there would also be this.
Benur21
Scratcher
100+ posts

New sound block maybe?

ZZ9PluralZAlpha wrote:

Wait, is there a way of telling the Scratch Team directly or is it just as you said:-

Benur21 wrote:

ZZ9PluralZAlpha wrote:

Benur21 wrote:

ZZ9PluralZAlpha wrote:

Can we submit these ideas to the Scratch Team so they can tell us if it can be included in an update?
I don't think much they will ever add something, but you can still try it.
How do I do it? I've never seen anyone do it so I'm not sure what to do.
I mean you can try to request, like what you are doing now. (so just continue)
Scroll down the page and there's something that says “Contact Us” in “Support” There you can contact Scratch Team directly but it is mainly to report bugs… I dont know
ZZ9PluralZAlpha
Scratcher
1000+ posts

New sound block maybe?

Benur21 wrote:

ZZ9PluralZAlpha wrote:

Wait, is there a way of telling the Scratch Team directly or is it just as you said:-

Benur21 wrote:

ZZ9PluralZAlpha wrote:

Benur21 wrote:

ZZ9PluralZAlpha wrote:

Can we submit these ideas to the Scratch Team so they can tell us if it can be included in an update?
I don't think much they will ever add something, but you can still try it.
How do I do it? I've never seen anyone do it so I'm not sure what to do.
I mean you can try to request, like what you are doing now. (so just continue)
Scroll down the page and there's something that says “Contact Us” in “Support” There you can contact Scratch Team directly but it is mainly to report bugs… I dont know
Hmmm………………..
ZZ9PluralZAlpha
Scratcher
1000+ posts

New sound block maybe?

ZZ9PluralZAlpha wrote:

Sheep_maker wrote:

ZZ9PluralZAlpha wrote:

Sheep_maker wrote:

I mean just after it starts playing, it will report to the variable what sound is being played in that sprite, so it works only in one sprite and can't get confused with picking the wrong sprite. As for the start of the project when there may not be a sound, the block would report a “0” meaning no sound from that sprite at the time and would wait until sounds started playing from the sprite that the block is working in.
In that case support if there's also this:
([# of last sound played v] of [Sprite1 v])
I think there would also be this.
So you could get things to happen with other sprites because of one sprite playing a certain sound.
Benur21
Scratcher
100+ posts

New sound block maybe?

You can create something like that using Custom blocks and Variables.
ZZ9PluralZAlpha
Scratcher
1000+ posts

New sound block maybe?

Benur21 wrote:

You can create something like that using Custom blocks and Variables.
What, something like this
([Last Sound Played v] of [Sprite1 v])
you can't make with custom blocks and what's the point it exists already.
and this
(Sound # :: sound)
is meant to save you having to make variables.
-Yugen-
Scratcher
56 posts

New sound block maybe?

Why would you do that, when you can just
set [sound v] to [1]
play sound (sound)
This way,
(sound) = (sound ♯::sound)
Sheep_maker
Scratcher
1000+ posts

New sound block maybe?

ZZ9PluralZAlpha wrote:

Benur21 wrote:

You can create something like that using Custom blocks and Variables.
What, something like this
([Last Sound Played v] of [Sprite1 v])
you can't make with custom blocks and what's the point it exists already.
and this
(Sound # :: sound)
is meant to save you having to make variables.
Variables isn't necessarily a bad thing and actually the () of () block can be done; as long as the variable is “for this sprite only” it'll be accessible from other sprites through this block.
LP_Play
Scratcher
1000+ posts

New sound block maybe?

What if multiple sounds are playing?
Hello there 60 second rule… GET OUT OF MY LIFE 60 SECOND RULE
Sheep_maker
Scratcher
1000+ posts

New sound block maybe?

LP_Play wrote:

What if multiple sounds are playing?
Hello there 60 second rule… GET OUT OF MY LIFE 60 SECOND RULE
Your encounter with the 60 second rule could've been saved by reading the entire discussion:

ZZ9PluralZAlpha wrote:

Sheep_maker wrote:

ZZ9PluralZAlpha wrote:

Sheep_maker wrote:

ZZ9PluralZAlpha wrote:

Sheep_maker wrote:

Unlike costumes, sprites and the stage don't always have a sound playing. So what would the block report if no sounds were playing? If it was playing multiple sounds at once?
The block would report back the sound that is playing at the time that is used and then could send that info to a variable that could keep the info for longer and its info could be used to start other things in a project or stop scripts in that sprite.
What if no sounds were playing?
And so are you suggesting
(sound #::sound)
or
set [var v] to sound #::sound
I am meaning
(sound # :: sound)
It would work with a variable you make. I will call it

(What sound played last)
If you want them to work together all the time, the script could look like this:-

when green flag clicked
forever

set [What sound played last v] to [(sound # :: sound)]
end
So
(# of last sound played::sound)
If no sounds have been played at the start of the project, what would it report?

And by “played,” does it count sounds from when they start playing or stop playing?
I mean just after it starts playing, it will report to the variable what sound is being played in that sprite, so it works only in one sprite and can't get confused with picking the wrong sprite. As for the start of the project when there may not be a sound, the block would report a “0” meaning no sound from that sprite at the time and would wait until sounds started playing from the sprite that the block is working in.
ZZ9PluralZAlpha
Scratcher
1000+ posts

New sound block maybe?

-Yugen- wrote:

Why would you do that, when you can just
set [sound v] to [1]
play sound (sound)
This way,
(sound) = (sound ♯::sound)
You may have to name the sounds by what you set the variable too otherwise it may not work.

Powered by DjangoBB