# Audio (amplitude) analysis

**URL:** <https://discourse.processing.org/t/audio-amplitude-analysis/5320>\
**Category:** Libraries\
**Created:** [November 7, 2018, 3:06pm UTC](https://discourse.processing.org/t/audio-amplitude-analysis/5320 "2018-11-07T15:06:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IdoPlumes](https://avatars.discourse-cdn.com/v4/letter/i/d2c977/32.png) [@IdoPlumes](https://discourse.processing.org/u/IdoPlumes)\
**Post date:** [November 7, 2018, 3:06pm UTC](https://discourse.processing.org/t/audio-amplitude-analysis/5320/1 "2018-11-07T15:06:55Z")

</div>

Hi everyone 🙂

So i am currently at the stage of having audio load and play when i run the code in my sketch, although i would like to then use the amplitude data to manipulate the graphics.

However all the stuff (dan shiffman’s youtube video on amplitude analysis) i have seen online has involved java script and i want to keep everything offline and not use a browser so this isnt really that helpful! (sorry dan)

is there a way round this?

---

<div class="post-metadata">

**Author:** ![IdoPlumes](https://avatars.discourse-cdn.com/v4/letter/i/d2c977/32.png) [@IdoPlumes](https://discourse.processing.org/u/IdoPlumes)\
**Post date:** [November 7, 2018, 3:38pm UTC](https://discourse.processing.org/t/audio-amplitude-analysis/5320/2 "2018-11-07T15:38:15Z")

</div>

I have no added this -

![44](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/b/b9b12c60e9afb25e9ff809903e48df5796d23fa4.png)

which results i am printing into the console and can see it is working, but then how do i use these figures within the drawing section of the sketch…

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [November 8, 2018, 11:14am UTC](https://discourse.processing.org/t/audio-amplitude-analysis/5320/3 "2018-11-08T11:14:21Z")

</div>

hi @IdoPlumes  
you posted in the section Processing / Libraries correctly  
but not stated what lib you used,  
i guess its  
[https://processing.org/reference/libraries/sound/Amplitude.html](https://processing.org/reference/libraries/sound/Amplitude.html)

i would recommend you play with  
examples / Minim / Analysis / FFT / SoundSpectrum  
examples / Minim / Basics / DrawWaveformAndLevel  
after you got that library via the  
Processing 3.4  
tools/ add tools / libraries / Minim ( rev 2.2.2 )
