# Particles reactive to sound

**URL:** https://discourse.processing.org/t/particles-reactive-to-sound/15798
**Category:** Project Guidance
**Created:** [November 25, 2019, 1:55pm UTC](https://discourse.processing.org/t/particles-reactive-to-sound/15798 "2019-11-25T13:55:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![marcoo](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@marcoo](https://discourse.processing.org/u/marcoo)
#### Post date: [November 25, 2019, 1:55pm UTC](https://discourse.processing.org/t/particles-reactive-to-sound/15798/1 "2019-11-25T13:55:05Z")

</div>

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.

[https://www.youtube.com/watch?v=0IDvLaTFa6U](https://www.youtube.com/watch?v=0IDvLaTFa6U)

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [December 7, 2019, 5:06am UTC](https://discourse.processing.org/t/particles-reactive-to-sound/15798/2 "2019-12-07T05:06:49Z")

</div>

> [@marcoo](#):
>
> see particles appearing and doing new movements when volume increases

You can break that into two ideas:

1. when volume goes up, number of particles increases
2. 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.
