Based on what I want to do - should I learn Processing or P5.js?

Look at :

Then if you are confortable with JavaScript, go for p5.

But I think that Processing is more appropriate to use sound libraries like Minim and interacting with Pi.

1 Like