Suche mal nach AudioWerkzeugeBibliothek von Gausi.
Da gibt es die WavFiles.pas dort dürfte eigentlich alles übergeben werden.
Delphi-Quellcode:
Twavfile = class(TBaseAudioFile)
private
procedure fResetData;
protected
function fGetFileSize : Int64; override;
function fGetDuration : Integer; override;
function fGetBitrate : Integer; override;
function fGetSamplerate : Integer; override;
function fGetChannels : Integer; override;
function fGetValid : Boolean; override;
procedure fSetTitle (aValue: UnicodeString); override;
procedure fSetArtist (aValue: UnicodeString); override;
procedure fSetAlbum (aValue: UnicodeString); override;
procedure fSetYear (aValue: UnicodeString); override;
procedure fSetTrack (aValue: UnicodeString); override;
procedure fSetGenre (aValue: UnicodeString); override;
function fGetTitle : UnicodeString; override;
function fGetArtist : UnicodeString; override;
function fGetAlbum : UnicodeString; override;
function fGetYear : UnicodeString; override;
function fGetTrack : UnicodeString; override;
function fGetGenre : UnicodeString; override;
public
{ Public declarations }
constructor Create;
function ReadFromFile(aFilename: UnicodeString): TAudioError; override;
function WriteToFile(aFilename: UnicodeString): TAudioError; override;
function RemoveFromFile(aFilename: UnicodeString): TAudioError; override;
end;