flat assembler
Message board for the users of flat assembler.

Index > Windows > how to play midi file and how to put the file to executable

Author
Thread Post new topic Reply to topic
sina



Joined: 18 Aug 2003
Posts: 132
Location: istanbul turkey
sina 29 Sep 2003, 07:49
how can i play a midi file using api calls and how can i put the midi file into the exe file i have coded
Post 29 Sep 2003, 07:49
View user's profile Send private message ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 29 Sep 2003, 08:24
About playing I don't know. Sad
About storing: You can embed it in the code two ways:
1. As binary resource
2. As static data - use "file" directive of FASM
Post 29 Sep 2003, 08:24
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
wanderer



Joined: 18 Jun 2003
Posts: 44
Location: Moldova, Kishinev
wanderer 30 Sep 2003, 20:44
VeSCeRa wrote:
how can i play a midi file using api calls and how can i put the midi file into the exe file i have coded


I know two ways of doing it: using MCI API and DirectMusic.

For MCI API see http://board.flatassembler.net/files/postcard_173.zip . If you're not satisfied with this solution, I can post info about DirectMusic.

_________________
Best regards,
Antoch Victor
Post 30 Sep 2003, 20:44
View user's profile Send private message Yahoo Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.