# Waveform Data from EventInstance

**URL:** <https://qa.fmod.com/t/waveform-data-from-eventinstance/12205>\
**Category:** Unity\
**Created:** [December 17, 2015, 3:04am UTC](https://qa.fmod.com/t/waveform-data-from-eventinstance/12205 "2015-12-17T03:04:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nstevens](https://avatars.discourse-cdn.com/v4/letter/n/9e8a1a/32.png) [@nstevens](https://qa.fmod.com/u/nstevens)\
**Post date:** [December 17, 2015, 3:04am UTC](https://qa.fmod.com/t/waveform-data-from-eventinstance/12205/1 "2015-12-17T03:04:38Z")

</div>

I’m struggling to find the best way to access the waveform data being played by a specific EventInstance. It seems like there’s an obvious callback I’m missing somewhere.

---

<div class="post-metadata">

**Author:** ![brett](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/brett/32/261_2.png) [@brett](https://qa.fmod.com/u/brett)\
**Post date:** [December 17, 2015, 11:14am UTC](https://qa.fmod.com/t/waveform-data-from-eventinstance/12205/2 "2015-12-17T11:14:55Z")

</div>

An eventinstance can access its low level channelgroup with EventInstance::getChannelGroup.

From there you can either use the metering functions in the low level API, or if you want to capture the wavedata , you have to add a custom DSP with a read callback, that lets you get access to the pcm, and add it with ChannelGroup::addDSP
