Hello John,
SCRATCH is a fantastic tool !!
So, I want to synchronize the sounds with the action, it means that we need a block STOP THAT SOUND (with the name of the sound).
I know that we have STOP ALL,but it stops all the sounds of the project !!
What do you think about that ??
Thank you.
Offline
Serge,
I looked into it and you're right, there is no way to do this without stopping all sounds. There is a few workarounds, though I'm not sure if you'll like them.
1) For cases when you want a 5 second sound to last 2 seconds:
Edit the 5 second sound in a sound editor such as "Audacity" and clip it to be only 2 seconds long. Then import into Scratch.
2) For cases when you want a sound to last any number of seconds which varies depending on the situation, and you don't know before starting the sound how long it should last:
Make the sound very short, like 0.1 seconds long. Then repeat this sound over and over again until the time you wanted it to last is up. This could look something like Forever{If[thingNotDone=1]playSoundAgain,Else break}
3) For all cases when you know how long you want the sound to play immediately before you will start the sound, but don't know how long way ahead of time, and you don't mind using the built in midi sounds:
Use the "play note for ____ secs" or "play drum for _____ secs" and put the number of seconds you want it to play in the blank.
Offline
Thank you for the answer, Jay .
I have two other suggestions about sounds:
-SCRATCH should be able to import MP3 format (better for the weight of a project)
-SCRATCH should be able to import Midifile because it manages the rhe soundcard .
Offline
Hi Serge,
Scratch can import MP3 files because many people have sounds stored in MP3 format. However, when an MP3 file is imported into a Scratch project, the 1.0 version of Scratch uses a method of sound compression that leaves the Scratch project larger than the original project + size of the imported MP3 (as some people might expect). Future versions of Scratch will feature more sound compression.
Offline
Thanks for the suggestions about sound. Yes, we badly need better sound compression. And MIDI files and a stop sound block would be nice. The fade-out/fade-in idea touches on a thought we had: add a new block like the "set _ effect" block for image effects that does simple sound manipulation/effects. Volume, reverb, and playback speed would all be easy to implement. Simple filters (highpass/lowpass) could also be useful, although they might not be enough fun. We hope to work on some of these things for a future release of Scratch.
Last edited by johnm (2007-03-15 20:11:45)
Offline
A volume control for scratch is a must, but I think that you need separate loudness controls for each drum, note, and play_sound, as they have wildly varying volumes, depending on drum type, instrument, or how the sound clip was recorded.
It would be best to add a "loudness" parameter to each of the "play" blocks.
Offline
serge wrote:
Hello John,
SCRATCH is a fantastic tool !!
So, I want to synchronize the sounds with the action, it means that we need a block STOP THAT SOUND (with the name of the sound).
I know that we have STOP ALL,but it stops all the sounds of the project !!
What do you think about that ??
Thank you.
Woah, this is weird (sorry for the necropost) but my suggestion is this!! And i posted it before i saw this!
Offline
Lol Well i Support this Idea as it was suggested 4 YEARS AGO! and nothing has happened, so maybe, we can implement it in 2.0?
Offline