This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Suggestions
  •  » We need a sound reporter block < _mysound.wav_ is playing? >

#1 2011-02-22 03:39:56

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

We need a sound reporter block < _mysound.wav_ is playing? >

We need a reporter block to determine if a sound is currently playing.

That way, we can do something until the sound is done playing, like animate something.

Repeat until <not < _mysound.wav_ is playing? > >
|  (do stuff)
|__________

etc.

The only way to do this currently, is to use the timer to calculate when the sound will stop playing.  Yuck.

Last edited by BoltBait (2011-02-22 03:43:57)


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#2 2011-02-22 10:06:47

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: We need a sound reporter block < _mysound.wav_ is playing? >

*like*
tongue
I support man. Although this is one of the things I need once in a lifetime, I'd probably still want it/  big_smile


Hai.

Offline

 

#3 2011-02-22 23:22:00

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: We need a sound reporter block < _mysound.wav_ is playing? >

What about a (length of [sound]) block?


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#4 2011-02-22 23:30:26

puppetadventurer
Scratcher
Registered: 2011-02-20
Posts: 1000+

Re: We need a sound reporter block < _mysound.wav_ is playing? >

fullmoon wrote:

What about a (length of [sound]) block?

make your out suggestions thread >.>

(JK)


3

Offline

 

#5 2011-02-22 23:38:19

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: We need a sound reporter block < _mysound.wav_ is playing? >

puppetadventurer wrote:

fullmoon wrote:

What about a (length of [sound]) block?

make your out suggestions thread >.>

(JK)

We need these:

<[sound] is playing?>

(length of [sound])

(current amount played of [sound])


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 
  • Index
  •  » Suggestions
  •  » We need a sound reporter block < _mysound.wav_ is playing? >

Board footer