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

#1 2012-11-17 18:04:00

fischmanja
New Scratcher
Registered: 2012-11-16
Posts: 4

Music?

I have recorded a short clip of someone saying "you win", but in my project the thing sounds like a broken record and keeps just saying y y y y y y . . . How can I stop this? [scratchblocks]
when i recieve player win
repeat [1]
play sound [you win] until done

Offline

 

#2 2012-11-17 18:12:39

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Music?

fischmanja wrote:

I have recorded a short clip of someone saying "you win", but in my project the thing sounds like a broken record and keeps just saying y y y y y y . . . How can I stop this?

when i receive [player win v]
repeat (1)
play sound [you win v] until done
end

Fixed.

Anyhow, I think that the problem is coming from your broadcast, so maybe instead of using [broadcast [player win v]], you could use [broadcast [player win v]and wait].

I hope that this helps!

Last edited by ErnieParke (2012-11-17 21:16:58)


http://i46.tinypic.com/35ismmc.png

Offline

 

#3 2012-11-17 21:03:13

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Music?

ErnieParke wrote:

fischmanja wrote:

I have recorded a short clip of someone saying "you win", but in my project the thing sounds like a broken record and keeps just saying y y y y y y . . . How can I stop this?

when i receive [player win v]
repeat (1)
play sound [you win v] until done
end

Fixed.

Anyhow, I think that the problem is coming from your broadcast, so maybe instead of using [broadcast player win], you could use [broadcast player win until done].

I hope that this helps!

Do you mean the [broadcast () and wait] block? If so, then I agree; that would probably solve the problem.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#4 2012-11-17 21:18:54

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Music?

Harakou wrote:

ErnieParke wrote:

fischmanja wrote:

I have recorded a short clip of someone saying "you win", but in my project the thing sounds like a broken record and keeps just saying y y y y y y . . . How can I stop this?

when i receive [player win v]
repeat (1)
play sound [you win v] until done
end

Fixed.

Anyhow, I think that the problem is coming from your broadcast, so maybe instead of using [broadcast player win], you could use [broadcast player win until done].

I hope that this helps!

Do you mean the [broadcast () and wait] block? If so, then I agree; that would probably solve the problem.

Yes, I meant that. I just happened to be thinking of something else at the moment I typed this, so thanks for catching my mistake!


http://i46.tinypic.com/35ismmc.png

Offline

 

Board footer