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

#1 2010-08-24 15:16:34

Felinespirit
Scratcher
Registered: 2010-08-23
Posts: 17

Sound problems

Excuse me if this is in the wrong section. I made a picture of a character(it's a surprise who) with a closed mouth and made it sprite1. Then I altered it to have its mouth be open, and saved it as sprite2. I took the default sound "join us" and made the character open its mouth while saying it and then close it after a second. The script looked something like this:
[blocks]
<when[sprite1]clicked>
<play sound[join_us]>
<switch to costume[sprite2]>
<wait(1)secsc>
<switch to costume[sprite1]>
[/blocks]
It changes the costume for 1 second, as I instructed it to do, but it doesn't make any noise. Any ideas what's going on and how to fix it?

Offline

 

#2 2010-08-24 15:27:24

Felinespirit
Scratcher
Registered: 2010-08-23
Posts: 17

Re: Sound problems

Oops. My blocks got messed up. I used the tags, but it didn't work. Here it is, but still kind of weird.
[blocks]
<when[ sprite1 ]clicked>
<play sound[ join_us
<switch to costume[ sprite2
<wait(1 second
<switch to costume[ sprite1
[/blocks]

Offline

 

#3 2010-08-24 15:30:55

Ace-of-Spades
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Sound problems

And other sounds are working on your computer?


11110010100011010100011010101000100011011011001010111100101000110101000110101010001000110110110010101111001010001101010001101010100010001101101100101011110010100011010100011010101000100011011011001010
110101010010001010101010101010101010101010100110101010010101010010101001101011010101010010101010101

Offline

 

#4 2010-08-24 15:41:17

Felinespirit
Scratcher
Registered: 2010-08-23
Posts: 17

Re: Sound problems

Ace-of-Spades wrote:

And other sounds are working on your computer?

Yeah, they are.

Offline

 

#5 2010-08-24 16:29:53

Felinespirit
Scratcher
Registered: 2010-08-23
Posts: 17

Re: Sound problems

Okay, I figured it out. I added "change volume by 100", if you're curious. I have another question now, and since I started this topic already I might as well ask it here instead of making another. I decided that instead of making him do something when I click on him, I will make a button that makes him do what I want instead. But I'm not sure how to connect them so "Sprite2" can make "Sprite1" do something.

Offline

 

#6 2010-08-24 17:05:41

colorfusion
Scratcher
Registered: 2009-10-03
Posts: 500+

Re: Sound problems

Does the sprite running that script have their volume full and actually have the sound in their sound section?

Offline

 

#7 2010-08-24 18:49:36

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

Re: Sound problems

For the button, use this:

Code:

When [button] clicked
broadcast click

And for your original sprite, use this:

Code:

When I receive [click]
play sound join_us
switch to costume 2
wait 1 sec
switch to costume 1

The button will "tell" the other sprite when it is clicked, so it can activate the original script.


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

Offline

 

#8 2010-08-24 18:49:40

Felinespirit
Scratcher
Registered: 2010-08-23
Posts: 17

Re: Sound problems

I already got it. Good advice, but it's already done. I still want to know how to make a button that makes another sprite change.

Offline

 

#9 2010-08-24 18:52:00

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

Re: Sound problems

Felinespirit wrote:

I already got it. Good advice, but it's already done. I still want to know how to make a button that makes another sprite change.

See my above post. Ninja'd.  big_smile


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

Offline

 

#10 2010-08-24 19:13:23

Felinespirit
Scratcher
Registered: 2010-08-23
Posts: 17

Re: Sound problems

Oops, I was slow, thanks Harakou. It works.

Offline

 

#11 2010-08-24 19:24:03

Felinespirit
Scratcher
Registered: 2010-08-23
Posts: 17

Re: Sound problems

Okay,  I have yet another issue, relating to sound again. I wanted to use my voice for something, so I asked my mom for her headset. I kept getting static no matter what. I decided to ask my dad if I could try his, and he let me. I got static yet again,  no matter what I did. Both headsets work fine on their respective computers, but neither work on mine. What should I do?

Offline

 

#12 2010-08-24 19:35:49

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Sound problems

Scratch's mic support (and sound support in general) is very buggy and doesn't work very often. I recommend using Audacity to record your sound and then import it into Scratch. Try exporting it as a WAV format first, and if that doesn't work, try MP3.


Yawn.

Offline

 

#13 2010-08-25 14:25:16

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

Re: Sound problems

I agree with meowmeow55, although you don't have to use a third party program like Audacity if you don't want to download. The sound recorder program that comes with Windows works fine too.


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

Offline

 

Board footer