Hi, i’m new at generative design/art and i was looking how i could create reactive particles to sound. What i have its the code of daniel shiffman of “particle system” and i want to add a music and see particles appearing and doing new movements when volume increases like this example bellow.
1 Like
You can break that into two ideas:
- when volume goes up, number of particles increases
- when volume goes up, particles move straighter / curvy / faster / slower / etc.
So, using the sound library or minim, create a sketch that displays a value for the volume each frame. You will find example sketches in PDE with either library demonstrating this.
Then use the that volume to control the particle count and/or the particle path.