AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Multimedia Delphi Play midi file directly from resource
Thema durchsuchen
Ansicht
Themen-Optionen

Play midi file directly from resource

Ein Thema von alpha1 · begonnen am 21. Apr 2006 · letzter Beitrag vom 21. Apr 2006
Antwort Antwort
alpha1

Registriert seit: 19. Nov 2005
40 Beiträge
 
#1

Play midi file directly from resource

  Alt 21. Apr 2006, 14:47
Hello
How to play midi file directly from my resource?
  Mit Zitat antworten Zitat
Benutzerbild von igel457
igel457

Registriert seit: 31. Aug 2005
1.622 Beiträge
 
FreePascal / Lazarus
 
#2

Re: Play midi file directly from resource

  Alt 21. Apr 2006, 17:33
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.
Andreas
"Sollen sich auch alle schämen, die gedankenlos sich der Wunder der Wissenschaft und Technik bedienen, und nicht mehr davon geistig erfasst haben als die Kuh von der Botanik der Pflanzen, die sie mit Wohlbehagen frisst." - Albert Einstein
  Mit Zitat antworten Zitat
Benutzerbild von DGL-luke
DGL-luke

Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
 
Delphi 2006 Professional
 
#3

Re: Play midi file directly from resource

  Alt 21. Apr 2006, 19:42
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
Lukas Erlacher
Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:18 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