# Muting p5 sound, while still receiving data

**URL:** <https://discourse.processing.org/t/muting-p5-sound-while-still-receiving-data/3475>\
**Category:** Libraries\
**Created:** [September 11, 2018, 10:13pm UTC](https://discourse.processing.org/t/muting-p5-sound-while-still-receiving-data/3475 "2018-09-11T22:13:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elginskye](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/elginskye/32/31_2.png) [@elginskye](https://discourse.processing.org/u/elginskye)\
**Post date:** [September 11, 2018, 10:13pm UTC](https://discourse.processing.org/t/muting-p5-sound-while-still-receiving-data/3475/1 "2018-09-11T22:13:04Z")

</div>

Hi,

I’m wondering if it’s possible using the p5 sound library to get data from an mp3 file, using  
fft.analyze();, but then prevent the actual audio file from being output through the computer speakers.

**The reason:**  
I have a sketch that uses audio input to change the size of an ellipse, and I wish to overlay it on top of an HTML video. If there is sound coming from both the sketch and the video, it will be too noisy / weird. When I reduce the volume of the audio, the fft.analyze is also reduced.

Alternatively, I would also be happy to use the sound from the html video to control the sketch, but I can’t wrap my head around whether this could possibly work somehow.

If anyone has any tips or suggestions I would love to hear them.

Thanks

---

<div class="post-metadata">

**Author:** ![narduin](https://avatars.discourse-cdn.com/v4/letter/n/4af34b/32.png) [@narduin](https://discourse.processing.org/u/narduin)\
**Post date:** [January 17, 2019, 3:13pm UTC](https://discourse.processing.org/t/muting-p5-sound-while-still-receiving-data/3475/2 "2019-01-17T15:13:35Z")

</div>

I would also like to do something similar.  
Getting the fft data from an oscillator but not its sound.

Can’t figure out how to yet!
