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

#1 2012-04-07 17:48:22

ftf841
Scratcher
Registered: 2012-02-19
Posts: 1000+

stop a soundtrack and start a new one

how do you stop a soundtrack and start a new one when I try to start a new one the soundtracks overlap


http://mag.racked.eu/cimage/i9002/Achievement++get%21/Hi+there./mca.png
http://mag.racked.eu/mcimage/i354/Achievement++get%21/CAKE%21%21%21%21%21/mca.png

Offline

 

#2 2012-04-07 17:54:45

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: stop a soundtrack and start a new one

ftf841 wrote:

how do you stop a soundtrack and start a new one when I try to start a new one the soundtracks overlap

use the

Stop all sounds
before you start the new sound.

Last edited by AtomicBawm3 (2012-04-07 17:56:13)


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#3 2012-04-07 18:00:35

ftf841
Scratcher
Registered: 2012-02-19
Posts: 1000+

Re: stop a soundtrack and start a new one

AtomicBawm3 wrote:

ftf841 wrote:

how do you stop a soundtrack and start a new one when I try to start a new one the soundtracks overlap

use the

Stop all sounds
before you start the new sound.

didn't work
here is the part that I think is the problem

forever if <somthing>
play sound [sound v] until done// this is the part i think that is causing trouble

Last edited by ftf841 (2012-04-07 18:07:08)


http://mag.racked.eu/cimage/i9002/Achievement++get%21/Hi+there./mca.png
http://mag.racked.eu/mcimage/i354/Achievement++get%21/CAKE%21%21%21%21%21/mca.png

Offline

 

#4 2012-04-07 18:16:14

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: stop a soundtrack and start a new one

go like this

when gf clicked
forever
play sound [sound v] 
wait until <<(timer1) = [length of sound]>or<not<something>>>

play sound [sound1 v]
set [timer1 v] to [0]
wait until <<(timer1) = [length of sound]>or<not<something>>>
when gf clicked
set [timer1 v] to [0]
forever
wait [1] secs
change [timer v] by [1]

Offline

 

Board footer