Autor Beitrag
Apollo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 125

Windows 7
Delphi 3 Prof., Delphi 2005
BeitragVerfasst: Mi 09.07.08 07:06 
Hallo Delphianer,

ich proge (immernoch) an meinem Mediaplayer mit TMediaplayer. Nun möchte ich noch Internet Radio einbauen. Hab aber keinen Schimmer wo ich anfangen soll und wie es geht (falls es überhaubt geht)
Danke im voraus.

mfg Apollo


Moderiert von user profile iconGausi: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Mi 09.07.2008 um 08:14
Moderiert von user profile iconNarses: überflüssige Leerzeilen entfernt

_________________
Im Zweifelsfall immer das Richtige tun
GericasS
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 540

Windows Vista Home Premium
D2010, VisualStudio2008
BeitragVerfasst: Mi 09.07.08 07:13 
Ich hab das hier gefunden vll. hilft es dir ja weiter
www.delphipraxis.net/topic108478.html

LG

GericasS

_________________
Alexander N.
Neue Bewaffnung Amilo xi2428 T9300
Apollo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 125

Windows 7
Delphi 3 Prof., Delphi 2005
BeitragVerfasst: Mi 09.07.08 08:01 
Leider nicht.
Im Beispiel ist von Bass.dll die Rede, ich verwnnde aber TMediaplayer.

Moderiert von user profile iconNarses: überflüssige Leerzeilen entfernt

_________________
Im Zweifelsfall immer das Richtige tun
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mi 09.07.08 08:22 
Der TMediaplayer bietet nur sehr begrenzte Möglichkeiten. Man kann damit Musik- und Filmdateien abspielen, und das wars dann auch schon. Sobald man mehr haben will (Visualisierung, Equalizer, oder jetzt Radio) muss man sich entweder ein paar Monate intensiv mit den Grundlagen beschäftigen, wie Windows so Musik macht, oder man benutzt fertige Dinge wie bass oder fmod.

Wenn es was vernünftiges werden soll, bleibt dir früher oder später nichts anderes übrig, als sowas zu benutzen, oder ein vergleichbares System selbst zu implementieren.

_________________
We are, we were and will not be.
Apollo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 125

Windows 7
Delphi 3 Prof., Delphi 2005
BeitragVerfasst: Mi 09.07.08 09:33 
Zitat:
wie Windows so Musik macht


Dann müsste doch Equalizer, Visualisirung, Radio usw. in Der Windows api stehen, oder.

_________________
Im Zweifelsfall immer das Richtige tun
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mi 09.07.08 10:20 
Zum Equalizer gibts grade einen Thread in der Delphi-Praxis. Dafür muss man "nur" die Wavedaten abfangen und diverse Filter drauf anwenden. Das ist ein "bissel Mathematik" - eine Vorlesung über Signalverarbeitung ist da hilfreich. Für Visualisierungen braucht man z.B. Fourier-Transformation. Das wird evtl. in der Schule mal angesprochen, ansonsten in jeder Analysis-Vorlesung im Mathe-Grundstudium.

Für Internetradio müsste man die Daten decodieren und dann über die MCI API (? Oder so. Zumindest hat das was damit zu tun. ;-) ) an die Soundkarte senden. Eine direkte Api-Funktion PlayURL gibt es meines Wissens nach nicht. Dafür gibt es Dinge wie bass und fmod - ach, das willst du ja eh nicht hören. :mrgreen:

_________________
We are, we were and will not be.
Apollo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 125

Windows 7
Delphi 3 Prof., Delphi 2005
BeitragVerfasst: Mi 09.07.08 10:42 
Hey Gausi,
ich kenne den Post aus der DP. Er ist von Poseidon, nicht wahr.
DF = Apollo
DP = Poseidon

Ich bin Poseidon (Apollo leider schon vergeben :cry: )

Rede ruhig weiter...
Ich habe mir eine Komponente runtergeladen die futzt
wie TMediaplayer mit den vorzügen von Bass.dll.
(TBassDllPlayer)
Werd sie gleich mal installieren...

_________________
Im Zweifelsfall immer das Richtige tun
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mi 09.07.08 10:48 
Ja, den BassdllPlayer kann man natürlich benutzen. Der kapselt soweit ich weiß einige Funktionen der bass.dll, um die Anwendung etwas einfacher zu gestalten. :D

_________________
We are, we were and will not be.
Apollo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 125

Windows 7
Delphi 3 Prof., Delphi 2005
BeitragVerfasst: Mi 09.07.08 11:08 
Und alle funktionen die ich sowieso schon suche:
Equalizer, Visualisirung, URLstream (Internetradio) etc.
Und ist einfach zu benutzen, so wie TMediaplayer :wink:

_________________
Im Zweifelsfall immer das Richtige tun