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

#1 2011-07-28 21:57:00

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

Really really big lists...?

Bet you're suprised to see an ST member asking questions, eh? Well, I'll be the first to admit I don't know it all.  smile

So I made a project with some words that I wanted to have change their size based on the loudness of the music I was playing. But I didn't want to trust that people's mics would all be calibrated the same, or that their speakers would even be on while the project played. So I loaded up a list (in turbo mode, with the list display off) with loudness levels from my mic while I played the song through my speakers. I wanted to get as many samples as possible, to get a high-resolution of values to use to change the text size during playback. In turbo mode, I ended up with a list about 50,000 entries long for a song that's 135 seconds long.

However, it takes my Scratch (linux version, although I might've hacked it up a bit a while ago) several minutes to load the project. When I try to upload it, the upload dialog sticks and doesn't really make progress. The file size is only 6.9 megs.

Do other's have a similar experience with super long lists? I'm trying to figure out if the problem is just on my system, or if Scratch 1.4 has trouble with super long lists in all versions.


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

Offline

 

#2 2011-07-28 22:03:35

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: Really really big lists...?

I can't say I've ever made a list that big before.  tongue  Here, let me try it out on my computer and I'll let you know how it goes.

EDIT: It might take awhile-- just generating the list is taking forever...

Last edited by scmb1 (2011-07-28 22:09:11)


http://i48.tinypic.com/2z5pqad.png

Offline

 

#3 2011-07-28 22:20:22

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

Re: Really really big lists...?

scmb1 wrote:

I can't say I've ever made a list that big before.  tongue  Here, let me try it out on my computer and I'll let you know how it goes.

EDIT: It might take awhile-- just generating the list is taking forever...

Thanks!
Oh yeah, it will run kind of slow if you have the list displayed. Uncheck the display checkbox, and be sure to run in turbo mode. Then it *should* run quite a bit faster.


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

Offline

 

#4 2011-07-28 22:39:39

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: Really really big lists...?

Well, I got impatient after 40,000, so I decided to stop, save, and then try to re-open it. Considering it refused to even save after quite a few minutes, I can probably safely say that I have the same (or worse) problem.  hmm  I'm on the Mac version and haven't messed with the source code as far as I remember.


http://i48.tinypic.com/2z5pqad.png

Offline

 

#5 2011-07-28 23:58:31

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Really really big lists...?

My Star Trek game has a list with 15,000 entries in it.  It does take a long time to load, but it works fine.


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#6 2011-07-29 01:20:14

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Really really big lists...?

On my test account I have a project that generates something like 172 800 items onto a list but that uploaded fine (although the list was empty when I uploaded it).

May you could clear the list and put in a script that will generate the script after the projects is run?


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#7 2011-07-29 04:11:26

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Really really big lists...?

got halfway there on windows xp when it crashed i'll try it on linux (hope tux's head dosen't explode!)


http://i.imgur.com/1QqnHxQ.png

Offline

 

#8 2011-07-29 07:54:08

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

Re: Really really big lists...?

Interesting! Thanks for posting all this info, everyone.  I guess I'll have to try using a shorter list.


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

Offline

 

#9 2011-07-29 10:07:50

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Really really big lists...?

hmmm didn't crash this time but wouldn't upload


http://i.imgur.com/1QqnHxQ.png

Offline

 

Board footer