Autor Beitrag
Spatz
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 57

WIN 2k
D7E
BeitragVerfasst: Di 10.05.05 17:12 
hat schon jemand Erfahrung gemacht, wie man eine Wav (besser mp3) Audiodatei wie hier darstellen kann? (resp. kennt jemand eine Komponente dafür?)

Besten Dank

Moderiert von user profile iconChristian S.: Bild als Anhang eingefügt
Moderiert von user profile iconUGrohne: Topic aus Sonstiges verschoben am Di 10.05.2005 um 18:29
Einloggen, um Attachments anzusehen!
_________________
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Di 10.05.05 17:28 
wolke
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 240



BeitragVerfasst: Di 10.05.05 17:28 
www.delphi-forum.de/...alysieren_36456.html

Das Multimedia-Forum wäre generell eher das passende.
delfiphan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2684
Erhaltene Danke: 32



BeitragVerfasst: Di 10.05.05 18:15 
Gut, für die Darstellung wie im Bild oben braucht man keine DFT (Fouriertransformation). Das Abtasttheorem von Shannon bringt dich auch nicht weiter. Das Signal ist ja bereits abgetastet und liegt als wav-Datei vor.
Das Bild zeigt lediglich ein 1:1 Plot der Wav-Daten. MoveTo und LineTo sollten dafür ausreichen. Die Koordinaten sind ja quasi direkt die Wav-Daten (im Falle von 16-bit mono kannst du die Wave-Datei als File of SmallInt interpretieren (abzüglich Header)).
Wie man mp3s in wav umwandelt ist aber ein anderes Thema. Dafür gibt es API Befehle (ACM) bzw. verschiedene DLLs.