# Playing a single midi note with DLS \[C#\]

**URL:** <https://qa.fmod.com/t/playing-a-single-midi-note-with-dls-c/11930>\
**Category:** FMOD Engine\
**Created:** [May 20, 2015, 11:47am UTC](https://qa.fmod.com/t/playing-a-single-midi-note-with-dls-c/11930 "2015-05-20T11:47:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![grabofus](https://avatars.discourse-cdn.com/v4/letter/g/848f3c/32.png) [@grabofus](https://qa.fmod.com/u/grabofus)\
**Post date:** [May 20, 2015, 11:47am UTC](https://qa.fmod.com/t/playing-a-single-midi-note-with-dls-c/11930/1 "2015-05-20T11:47:02Z")

</div>

Hey guys,

I’m working on a small program and I’d like to play midi notes. Right now I’m using NAudio to read in the MIDI file and get every note but I couldn’t find a way how to play the notes while using DLS.

After hours of googling I found that the solution to my problem would be using DirectMusic, but the only problem with that is there’s no C# version available for that.

Then I found FMOD a couple days ago but I could only find a single article about “c# DLS” and I couldn’t really get how to do it.

I’d appretiate if someone could give a short example like on something like:  
Read DLS  
MidiOut(msg, dls?)

Thank you for the help!

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [May 25, 2015, 9:59pm UTC](https://qa.fmod.com/t/playing-a-single-midi-note-with-dls-c/11930/2 "2015-05-25T21:59:00Z")

</div>

FMOD will allow you to play a .mid file using either the OS default or a user provided DLS. However there is no lower level access than that, you cannot feed MIDI notes to FMOD and have them rendered.
