# Get output audio samples

**URL:** <https://qa.fmod.com/t/get-output-audio-samples/14972>\
**Category:** FMOD Engine\
**Created:** [August 23, 2019, 8:23am UTC](https://qa.fmod.com/t/get-output-audio-samples/14972 "2019-08-23T08:23:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnDoe456](https://avatars.discourse-cdn.com/v4/letter/j/3e96dc/32.png) [@JohnDoe456](https://qa.fmod.com/u/JohnDoe456)\
**Post date:** [August 23, 2019, 8:23am UTC](https://qa.fmod.com/t/get-output-audio-samples/14972/1 "2019-08-23T08:23:46Z")

</div>

I’m not sure if this is something related to FMOD at all.  
I use the API on Raspbian (RPi3/4) to add sounds to my applications. In the meanwhile, other applications might play something as well.

I’m looking for a way to retrieve (in real-time) the audio samples that are sent to the output device, i.e. at the output of the Alsa Mixer.

Is FMOD able to do this?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [August 29, 2019, 5:00am UTC](https://qa.fmod.com/t/get-output-audio-samples/14972/2 "2019-08-29T05:00:42Z")

</div>

By adding a custom DSP to the Master Bus, you would be able to get all the audio sample data as FMOD outputs it to the audio device.

See the dsp\_custom project in our examples, which can be found in the FMOD API downloads.

---

<div class="post-metadata">

**Author:** ![JohnDoe456](https://avatars.discourse-cdn.com/v4/letter/j/3e96dc/32.png) [@JohnDoe456](https://qa.fmod.com/u/JohnDoe456)\
**Post date:** [August 30, 2019, 9:30am UTC](https://qa.fmod.com/t/get-output-audio-samples/14972/3 "2019-08-30T09:30:06Z")

</div>

Thanks for your answer. I’m not sure if I described the scenario correctly. The other applications don’t use FMOD. Would your solution work as well?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [September 2, 2019, 12:44am UTC](https://qa.fmod.com/t/get-output-audio-samples/14972/4 "2019-09-02T00:44:05Z")

</div>

FMOD will only have access to the sound routed through it, you won’t be able to access all the sounds sent to the output device.
