title: Playing .wav files on DOSBox's Sound Blaster device
body: <p>I want to make a program in assembly/8086/masm/dosbox that turns the keyboard into various musical instruments so i need to be able to play some .wav files to produce the required sounds.I am aware of beep char and producing sound via sending frequencies to pc speaker (ports 41h,42h and 61h) but both ways are clearly not going to get me there.</p>
  
  <p>I searched around and found that I need to use <code>int 21h</code> for opening files, knowledge of .wav format and knowledge of sound programming using <a href="https://en.wikipedia.org/wiki/Sound_Blaster" rel="nofollow noreferrer">Sound Blaster</a>.</p>
  
  <p>Unfortunately I couldn't find any helpful documentation on how to use the Sound Blaster in Dosbox (or in general) so kindly if you can help me with my problem of how to play .wav files on dosbox or if you have any workarounds I am all ears ( more accurate eyes).</p>