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?
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.
Really Scratch 3.0?? Is there any post about 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.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.
- Benur21
-
Scratcher
100+ posts
New sound block maybe?
I mean you can try to request, like what you are doing now. (so just continue)How do I do it? I've never seen anyone do it so I'm not sure what to do.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.
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:-
I mean you can try to request, like what you are doing now. (so just continue)How do I do it? I've never seen anyone do it so I'm not sure what to do.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.
- Sheep_maker
-
Scratcher
1000+ posts
New sound block maybe?
HereReally Scratch 3.0?? Is there any post about 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.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.
- 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?
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?
I think there would also be this.In that case support if there's also this:…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.([# of last sound played v] of [Sprite1 v])
- Benur21
-
Scratcher
100+ posts
New sound block maybe?
Wait, is there a way of telling the Scratch Team directly or is it just as you said:-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 knowI mean you can try to request, like what you are doing now. (so just continue)How do I do it? I've never seen anyone do it so I'm not sure what to do.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.
- ZZ9PluralZAlpha
-
Scratcher
1000+ posts
New sound block maybe?
Hmmm………………..Wait, is there a way of telling the Scratch Team directly or is it just as you said:-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 knowI mean you can try to request, like what you are doing now. (so just continue)How do I do it? I've never seen anyone do it so I'm not sure what to do.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.
- ZZ9PluralZAlpha
-
Scratcher
1000+ posts
New sound block maybe?
So you could get things to happen with other sprites because of one sprite playing a certain sound.I think there would also be this.In that case support if there's also this:…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.([# of last sound played v] of [Sprite1 v])
- 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?
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]This way,
play sound (sound)
(sound) = (sound ♯::sound)
- Sheep_maker
-
Scratcher
1000+ posts
New sound block maybe?
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.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.
- 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
Hello there 60 second rule… GET OUT OF MY LIFE 60 SECOND RULE
- Sheep_maker
-
Scratcher
1000+ posts
New sound block maybe?
What if multiple sounds are playing?Your encounter with the 60 second rule could've been saved by reading the entire discussion:
Hello there 60 second rule… GET OUT OF MY LIFE 60 SECOND RULE
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.SoI am meaningWhat if no sounds were playing?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.
And so are you suggesting(sound #::sound)orset [var v] to sound #::sound(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(# 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?

- ZZ9PluralZAlpha
-
Scratcher
1000+ posts
New sound block maybe?
Why would you do that, when you can justYou may have to name the sounds by what you set the variable too otherwise it may not work.set [sound v] to [1]This way,
play sound (sound)(sound) = (sound ♯::sound)





