Quiz with sounds and navigation bar (loading sounds)

Hi! So I have this Quiz about a solar cell I need to program. I have a few minor problems, but what really stresses me out right now, is that my code does not work when I import too many sounds… What can I do?

These are all the sounds I want to import:
intro = new SoundFile(this, “Intro.wav”);
S1 = new SoundFile(this, “S1.wav”);
S2 = new SoundFile(this, “S2.wav”);
S3 = new SoundFile(this, “S3.wav”);
S4 = new SoundFile(this, “S4.wav”);
S5 = new SoundFile(this, “S5.wav”);
S6 = new SoundFile(this, “S6.wav”);
S7 = new SoundFile(this, “S7.wav”);
S8Ende = new SoundFile(this, “S8Ende.wav”);

Is that too much?

1 Like

Hi @iinnessic,

Seems not too much, at least if that are only sound effects and not huge sound files…

What exactly happens (ie error message) ?

Cheers
— mnse

2 Likes

Where do you do this? Before setup or in setup or in draw?

In preferences you can increase the memory size