Autor Beitrag
sisc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38


D3 Prof
BeitragVerfasst: Mi 25.05.05 12:57 
Hi!
Ich wollte eine Wave-Datei plotten(normal, ohne Fouriertransformation), graphisch darstellen. Wie stelle ich das am Besten an? Wie lese ich eine Wave-Datei am Besten ein?
Danke für Eure Hilfe!
Gruss
sisc :roll: :roll:
delfiphan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2684
Erhaltene Danke: 32



BeitragVerfasst: Mi 25.05.05 15:13 
Google hilft dir dabei. Schau mal nach, wie der Header und die einzelnen Chunks definiert sind. Wenn die Wavedaten 16bit, 44KHhz mono sind, dann sind die Daten z.B. einfach ein array of ShortInt. Die zu plotten, sollte dann kein Problem mehr sein (Canvas).
sisc Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38


D3 Prof
BeitragVerfasst: Mi 25.05.05 17:11 
Hi!
Ich weiß wie der Header aufgebaut ist. Ich habe nur Probleme ihn auszulesen. Ich habe das File in ein RichEdit geladen und versuche es so auszulesen. Irgendwie klappt das aber nicht. Könnt ihr mir da helfen?
Danke.
Gruss
sisc :roll: :roll:
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mi 25.05.05 20:15 
Schau Dich mal unter wotsit.org um. Dort gibt's eine Format-Spezifikation für Wave-Dateien (und viele andere Formate).

Das eigentliche Plotten geht genauso, wie bei ner stinktnormal langweiligen Funktion ;-)

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
sisc Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38


D3 Prof
BeitragVerfasst: Sa 09.07.05 16:08 
Danke! :roll: :roll: