# Audio analysis in sonic pi

**URL:** <https://in-thread.sonic-pi.net/t/audio-analysis-in-sonic-pi/2409>\
**Category:** Support, Help & Resources\
**Created:** [May 21, 2019, 11:52pm UTC](https://in-thread.sonic-pi.net/t/audio-analysis-in-sonic-pi/2409 "2019-05-21T23:52:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdsd19](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@sdsd19](https://in-thread.sonic-pi.net/u/sdsd19)\
**Post date:** [May 21, 2019, 11:52pm UTC](https://in-thread.sonic-pi.net/t/audio-analysis-in-sonic-pi/2409/1 "2019-05-21T23:52:19Z")

</div>

Hello everyone! I am working on a track in sonic pi and for part of it I want something to happen when the amplitude of the total sound output of Sonic Pi sound passes a certain threshold. I was wondering if there was any way to do this. In addition, I was wondering what other types of sound analysis can be done in Sonic Pi? For example, is there a way to perform a spectral analysis on a sound?
