This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-03-11 10:22:52

serge
Scratcher
Registered: 2007-03-11
Posts: 9

A block to control the sounds

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

 

#2 2007-03-11 22:35:52

jay
Scratch Team
Registered: 2007-03-11
Posts: 59

Re: A block to control the sounds

Do you mean that if an action happens for 2 exactly seconds, you'd like a certain sound, which may be, say, 5 seconds, to play for only 2 seconds? If you mean something else, can you clarify?

Offline

 

#3 2007-03-12 05:54:21

serge
Scratcher
Registered: 2007-03-11
Posts: 9

Re: A block to control the sounds

Yes, Jay, it's exactly what I mean.
And you know what ? a Fade in and a Fade out in two check boxes,in the sound area should be a "must".
So you can sychronize a sound with an action, it should more lively.

Offline

 

#4 2007-03-13 09:32:22

jay
Scratch Team
Registered: 2007-03-11
Posts: 59

Re: A block to control the sounds

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

 

#5 2007-03-13 11:08:05

serge
Scratcher
Registered: 2007-03-11
Posts: 9

Re: A block to control the sounds

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

 

#6 2007-03-13 22:33:23

millner
Scratcher
Registered: 2007-03-13
Posts: 25

Re: A block to control the sounds

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

 

#7 2007-03-15 20:06:36

johnm
Scratcher
Registered: 2007-03-08
Posts: 100+

Re: A block to control the sounds

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

 

#8 2007-04-28 06:48:43

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: A block to control the sounds

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

 

#9 2007-06-20 23:22:06

DrJim
Scratcher
Registered: 2007-05-26
Posts: 100+

Re: A block to control the sounds

Any updates on the status of this feature or any suggested work-arounds for sounds generated inside Scratch?

Offline

 

#10 2011-12-29 02:21:56

wolvesstar97
Scratcher
Registered: 2011-08-31
Posts: 1000+

Re: A block to control the sounds

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!


https://dl.dropbox.com/u/33551365/psyko.png

Offline

 

#11 2011-12-29 08:48:07

Tbtemplex97
Scratcher
Registered: 2011-11-12
Posts: 100+

Re: A block to control the sounds

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?


Online Status: http://blocks.scratchr.org/API.php?action=onlineStatus&user=Tbtemplex97
Darkspace Coming Soon!, Try the Singleplayer Demo

Offline

 

#12 2011-12-29 21:56:09

jet_pilot
Scratcher
Registered: 2008-10-02
Posts: 35

Re: A block to control the sounds

I support.


laser314's alt account.

Offline

 

Board footer