Ok all you Squeak source code hackers! I've a need that might provide a not-so-challenge to all you geniuses.
So here it is.
I need a block that lets you play a sound from a specific point. So you can play an audio file from any point within it.
I'm pretty sure there is already support for this in the Scratch Source, but I'm not really sure how to piece everything together. So...
ready
Set
GOOOOO!!!!!!!
(By the way, anyone who can do this will get credit in any of the projects I use it for)
Last edited by shadow_7283 (2010-05-21 22:39:07)
Offline
Hmm, let me guess. It's for the Harry Scratcher Collab, right?
What style? HH:MM:SS:ss or frame (foo)? Or both?
Offline
Vista4563 wrote:
Hmm, let me guess. It's for the Harry Scratcher Collab, right?
What style? HH:MM:SS:ss or frame (foo)? Or both?
Don't care. JUST GIVE ME IT!
Offline
*Bumpady bump-bump, bumpady bump-bump* (Look at frosty go!)
Offline
I think that it should be ('play sound %S from %n secs' #- #playSound:from: '' '10') for block specs.
Offline
Those are pretty much the exact same block specs I used when I was experimenting with this. Thanks for posting them (and I think yours are slightly better).
Offline
shadow_7283 wrote:
Those are pretty much the exact same block specs I used when I was experimenting with this. Thanks for posting them (and I think yours are slightly better).
Thank you. Now, the real question to be solved is, what is the function code?
Offline