# How to create gameplay that relies on audio input?

**URL:** <https://qa.fmod.com/t/how-to-create-gameplay-that-relies-on-audio-input/19812>\
**Category:** Unity\
**Created:** [February 1, 2023, 1:47am UTC](https://qa.fmod.com/t/how-to-create-gameplay-that-relies-on-audio-input/19812 "2023-02-01T01:47:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MurlyCel](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@MurlyCel](https://qa.fmod.com/u/MurlyCel)\
**Post date:** [February 1, 2023, 1:47am UTC](https://qa.fmod.com/t/how-to-create-gameplay-that-relies-on-audio-input/19812/1 "2023-02-01T01:47:23Z")

</div>

I’m trying to make a simple 2D platformer where the louder players yell at the mic the higher the player character jumps. Is this possible via FMOD?

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [February 2, 2023, 12:29am UTC](https://qa.fmod.com/t/how-to-create-gameplay-that-relies-on-audio-input/19812/2 "2023-02-02T00:29:18Z")

</div>

Hi,

Yes, you can! It will require two things.  
Firstly, a script used to record mic input here: [General advice on user-friendly process for players to upload audio assets then pipe them through FMOD-powered Unity? - #6 by Connor\_FMOD](https://qa.fmod.com/t/general-advice-on-user-friendly-process-for-players-to-upload-audio-assets-then-pipe-them-through-fmod-powered-unity/19005/6).  
Secondly, one of our [FMOD Unity Integration | Scripting Examples](https://fmod.com/docs/2.02/unity/examples-dsp-capture.html), outlines creating and capturing a DSP which draws the sound waveform but can be changed for your functionality.

Keep in mind, you will want to add the new `DSP` to the `sounds channel` which is part of the `micRecordSystem` not onto the `master channel group`. So any reference of

```auto
FMODUnity.RuntimeManage.CoreSystem

```

Should be replaced with

```auto
micRecordSystem

```

Any reference to the `Master Channel Group` replaced with the `sounds channel`.

If you need any more help setting this up let me know!
