# Playable Instrument in FMOD

**URL:** https://qa.fmod.com/t/playable-instrument-in-fmod/19310
**Category:** FMOD Studio
**Created:** [September 23, 2022, 3:41pm UTC](https://qa.fmod.com/t/playable-instrument-in-fmod/19310 "2022-09-23T15:41:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Comet123](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@Comet123](https://qa.fmod.com/u/Comet123)
#### Post date: [September 23, 2022, 3:41pm UTC](https://qa.fmod.com/t/playable-instrument-in-fmod/19310/1 "2022-09-23T15:41:30Z")

</div>

Hi! We want to make a mobile flute-playing game where the player can improvise in a certain key range, play very long notes, and pitch bend as much as the key range. I tried to make it happen in FMOD but couldn’t find a way. Could you recommend a source or explain to me the way to succeed in this matter?

---

<div class="post-metadata">

### Author: ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)
#### Post date: [September 27, 2022, 11:50pm UTC](https://qa.fmod.com/t/playable-instrument-in-fmod/19310/2 "2022-09-27T23:50:06Z")

</div>

You could treat FMOD like a sampler, and add a parameter sheet for your notes, with each parameter value triggering a different note sample.  
We have an example of how to achieve this with a piano in our [Unity Feature Demo](https://github.com/fmod/Unity-Feature-Demo), and if you open the FMOD Studio project in that and go to the _Basic Rooms\>Sound Module Room\>Piano_ event you can see how to set that up:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/d/d70dfa385e03564169590462d36dd9f514af275c.png)  
As for the pitch bending, that would just be a matter of adding another parameter to automate the [Pitch](https://fmod.com/docs/2.02/studio/event-macro-controls-reference.html#pitch) of your event.

---

<div class="post-metadata">

### Author: ![Comet123](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@Comet123](https://qa.fmod.com/u/Comet123)
#### Post date: [September 28, 2022, 12:29pm UTC](https://qa.fmod.com/t/playable-instrument-in-fmod/19310/3 "2022-09-28T12:29:23Z")

</div>

It is so nice! Thank you, Jeff. I will check that.

jeff\_fmod via FMOD Forums \<[notifications@fmod.discoursemail.com](mailto:notifications@fmod.discoursemail.com)\>, 28 Eyl 2022 Çar, 03:00 tarihinde şunu yazdı:
