Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Getting sound but no picture?

$
0
0
You have never defined the value of passedTime, so that variable is null (unless this was intended), and the program can't compare null to a number. Null could be anything!

You also forgot to add .read(), which reads a a new frame every time.

Putting the background in draw would just stop the rain from leaving permanent streaks on the sketch.

I haven't tinkered with the code too much, but for me, after having settled all the minor issues, I started to get major problems. Fix those, then move on.

- MenteCode.

Viewing all articles
Browse latest Browse all 1768

Trending Articles