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

#1 2011-07-29 06:33:01

dinger47
Scratcher
Registered: 2011-07-05
Posts: 4

Website Sounds

On one of my games it has the sound gunshot yet on the scratch website it comes out as a piano noise
[blocks]<set instrument to( [/blocks] Gunshot   sad

Offline

 

#2 2011-07-29 16:16:29

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: Website Sounds

That's weird. Can you link to the game, please?


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#3 2011-07-30 02:15:12

Fordark
Scratcher
Registered: 2010-08-02
Posts: 100+

Re: Website Sounds

EDIT: I bet it's this game

I think the sound sets in the online player and the Scratch editor are different. If that is the case just import a gunshot sound effect and have it

<play sound[ gunshot

Last edited by Fordark (2011-07-30 02:18:31)


http://dl.dropbox.com/u/34855482/Fordarksig.png

Offline

 

#4 2011-07-30 17:40:09

JJROCKER
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Website Sounds

or maybe by accident the wrong noise was pressed?


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://img255.imageshack.us/img255/3491/signature1y.jpg&amp;link2=http://img577.imageshack.us/img577/5272/signature1sx.jpg&amp;link3=http://img4.imageshack.us/img4/8514/signature1et.jpg&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://img163.imageshack.us/img163/4640/jjrockerfinal.jpg

Offline

 

#5 2011-07-30 20:48:58

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Website Sounds

dinger47 wrote:

On one of my games it has the sound gunshot yet on the scratch website it comes out as a piano noise
[blocks]<set instrument to( [/blocks] Gunshot   sad

I know what the problem is.... it deals with soundbank issues.

You see, when a project is played offline, it uses the computer's local soundbank. When a project is uploaded online, the online player uses the online soundbank that the Scratch Team has prepared for the website. Basically, the online soundbank doesn't have a shotgun option whereas your computer's soundbank does, so when the online player detects an instrument that it doesn't have (in this case, shotgun), it replaces it with the piano sound.

The only way around this problem is to find a music file of a shotgun sound and have Scratch play that file instead of setting an instrument and a note, like Fordark suggests. Here's a good one from the Scratch Resources website that you can download and usesmile

Last edited by cheddargirl (2011-07-30 20:51:44)


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

Board footer