Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi Play midi file directly from resource (https://www.delphipraxis.net/67892-play-midi-file-directly-resource.html)

alpha1 21. Apr 2006 14:47


Play midi file directly from resource
 
Hello :)
How to play midi file directly from my resource? :?:

igel457 21. Apr 2006 17:33

Re: Play midi file directly from resource
 
I think that you have to write a midiplayer, which can play midi-streams. That is not too difficult. There was an example in the OH of Delphi 3...

EDIT: Sorry, this was wrong... It is difficult. But probably there is another way to solve your problem.

DGL-luke 21. Apr 2006 19:42

Re: Play midi file directly from resource
 
there should be interfaces to hand your midi data over to the sound card. maybe even via the Windows API.
You might want to search the MS Developer Network library: MSDN-Library durchsuchenMIDI playback

EDIT: the very first result seems to provide what you want:
http://msdn.microsoft.com/library/de...idioutopen.asp

You can pick the interesting "midi..." functions from the TOC on the left of the page ;)


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:48 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz