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

#1 2011-03-13 22:37:28

Ghostboy96
Scratcher
Registered: 2010-05-30
Posts: 14

Scratch Crashes When Importing Music

The past few times I've tried to import music into any of my sprites, I'll get the same pop-up saying the VM has crashed (I saved recently, at least!). Has anybody else had problems with this, and if so, do you know how to fix it? This would be a ton of help. Thanks.

(Note: When Scratch doesn't crash, it'll add the song I selected to the "Sounds" tab, but it won't play and will list the size as 0 KB. Anybody know what's going on here?)

EDIT: I can now get wave files to import correctly, but still can't get mp3s to import.

Last edited by Ghostboy96 (2011-03-14 13:40:49)


http://scratch.mit.edu/static/icons/buddy/527757_med.png?t=2011-03-14+22%3A45%3A38
Think with portals.

Offline

 

#2 2011-03-13 22:56:20

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

Re: Scratch Crashes When Importing Music

How big is the file, and what format is it?


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

 

#3 2011-03-13 22:58:33

Ghostboy96
Scratcher
Registered: 2010-05-30
Posts: 14

Re: Scratch Crashes When Importing Music

The format is just a normal mp3, and the song is 5.24 MB. I've imported larger files with no problem.


http://scratch.mit.edu/static/icons/buddy/527757_med.png?t=2011-03-14+22%3A45%3A38
Think with portals.

Offline

 

#4 2011-03-13 23:06:30

Ghostboy96
Scratcher
Registered: 2010-05-30
Posts: 14

Re: Scratch Crashes When Importing Music

I remember there was a java update pretty recently, which could be causing the problem. Anybody else having this problem?


http://scratch.mit.edu/static/icons/buddy/527757_med.png?t=2011-03-14+22%3A45%3A38
Think with portals.

Offline

 

#5 2011-03-13 23:20:52

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

Re: Scratch Crashes When Importing Music

Java wouldn't have anything to do with this, since the offline Scratch application doesn't use Java in any way. Have you had this problem many times over many days, or just say, today?


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

 

#6 2011-03-13 23:34:17

Ghostboy96
Scratcher
Registered: 2010-05-30
Posts: 14

Re: Scratch Crashes When Importing Music

Harakou wrote:

Java wouldn't have anything to do with this, since the offline Scratch application doesn't use Java in any way. Have you had this problem many times over many days, or just say, today?

I just noticed it today, and it happens with any sound file I try to import. But more often instead of crashing I get the "0 KB" bug.


http://scratch.mit.edu/static/icons/buddy/527757_med.png?t=2011-03-14+22%3A45%3A38
Think with portals.

Offline

 

#7 2011-03-13 23:37:53

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

Re: Scratch Crashes When Importing Music

Ghostboy96 wrote:

Harakou wrote:

Java wouldn't have anything to do with this, since the offline Scratch application doesn't use Java in any way. Have you had this problem many times over many days, or just say, today?

I just noticed it today, and it happens with any sound file I try to import. But more often instead of crashing I get the "0 KB" bug.

Pardon the default answer, but have you tried rebooting the computer?  hmm


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

 

#8 2011-03-14 13:35:23

Ghostboy96
Scratcher
Registered: 2010-05-30
Posts: 14

Re: Scratch Crashes When Importing Music

I haven't rebooted the computer, but converting the song I wanted into a .wav format seemed to work. The file size is now showing correctly, and I can play it just as long as it isn't an mp3.


http://scratch.mit.edu/static/icons/buddy/527757_med.png?t=2011-03-14+22%3A45%3A38
Think with portals.

Offline

 

#9 2011-03-14 14:36:43

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

Re: Scratch Crashes When Importing Music

Ghostboy96 wrote:

I haven't rebooted the computer, but converting the song I wanted into a .wav format seemed to work. The file size is now showing correctly, and I can play it just as long as it isn't an mp3.

Yeah, Scratch doesn't seem to like MP3's...


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

 

#10 2011-03-14 15:39:34

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Scratch Crashes When Importing Music

Hmm... Scratch can have trouble when asked to import mp3s that are encoded at higher than normal bitrates. This might be the cause. Converting to .wav format first is a good way to work around this pesky glitch.


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

Board footer