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

#1 2010-08-26 19:33:08

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

Song gets scrambled when I import it

Basically what the title says. I want a song to play when I press a button in my game, and I have an MP3 of said song that plays perfectly in Windows Media Player. So I import it, and I hear weird glitch stuff. What is going on?

Offline

 

#2 2010-08-26 19:42:30

ihaveamac
Scratcher
Registered: 2007-09-22
Posts: 1000+

Re: Song gets scrambled when I import it

Please upload the project so we can hear it. Then put the song somewhere that we can download it seperately from the project.


~ihaveamac - visit ihaveamac.net

Offline

 

#3 2010-08-26 20:01:18

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

Re: Song gets scrambled when I import it

Scratch doesn't handle audio very well. What format is the audio you imported?


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 2010-08-26 20:27:27

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

Re: Song gets scrambled when I import it

I already said, it's an MP3. And I'd prefer I don't upload til I'm finished, but the song is Can You Feel the Sunshine, downloaded from http://www.soahcity.com/musicfiles/1997_sonic_r/index.php

Offline

 

#5 2010-08-26 21:03:09

DistantVisit
Scratcher
Registered: 2010-07-29
Posts: 100+

Re: Song gets scrambled when I import it

Felinespirit wrote:

I already said, it's an MP3. And I'd prefer I don't upload til I'm finished, but the song is Can You Feel the Sunshine, downloaded from http://www.soahcity.com/musicfiles/1997_sonic_r/index.php

Did you try to compress the project?

If you did then that might of been it since .MP3 files are already compressed and they shouldn't be compressed again, unless you don't mind bad sound quality.

If not, then it probably has to due with scratch not being able to accept sound correctly. A fix in that case might mean waiting until the next version of scratch.

You can always try using the "Contact Us" button on the bottom of the scratch website reporting that issue, if it continues to occur.  smile

Offline

 

#6 2010-08-26 22:54:12

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: Song gets scrambled when I import it

That's a known issue. Try to change it into a .wav format before importing.

Offline

 

#7 2012-04-28 20:45:05

happyland440
Scratcher
Registered: 2011-11-19
Posts: 78

Re: Song gets scrambled when I import it

I did a project with music. http://scratch.mit.edu/projects/happyland440/2502534


I am... Online

Offline

 

#8 2012-06-07 08:22:38

happyland440
Scratcher
Registered: 2011-11-19
Posts: 78

Re: Song gets scrambled when I import it

A .wav file will do fine as long as you can switch the old file that you used in the first place.  smile


I am... Online

Offline

 

Board footer