Page 1 of 1

Wav and MIDI

Posted: Mon Apr 27, 2009 9:57 am
by izidor
How to play wav or midi in qbasic. I have read tutorial on site but they explain how to make wav or midi player not how to play a sound.

Posted: Mon Apr 27, 2009 10:25 am
by izidor
You can place this topic to spam or whatever. Because i found solution. If somebody wants to know how to do it use this commands.

_SNDPLAYFILE (filename$,[sync%],[volume!])
Example:
_SNDPLAYFILE "file.wav",1

I am not sure will this work in other QBasic compiler then QB64.

Posted: Mon Apr 27, 2009 11:59 am
by burger2227
NO, those are functions added to QB64.

QB64.NET

Posted: Mon Apr 27, 2009 12:31 pm
by izidor
Ups my mistake :)