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.
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.
Offline
I can't say I've ever made a list that big before. 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)
Offline
scmb1 wrote:
I can't say I've ever made a list that big before. 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.
Offline
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. I'm on the Mac version and haven't messed with the source code as far as I remember.
Offline
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?
Offline