MP3 Info & Convert, Version 1.0a

Zurück zur Übersicht

Datei: README.txt

MP3InfoConv

"Flocke's MP3 Info & Convert" is a tool to display information about MP3
audio files. To do so, just drag a file from the explorer and drop it on the
text control.

Additionally, correct MP3 files can be converted to WAVE files using the MP3
audio codec by prefixing them with the according RIFF WAVE header. This
process is fast and lossless (no re-encoding) and creates a file of the same
name but with the extension WAV in the same folder as the original file. To
do so, just click the button "convert to wave / res" in the lower right
corner of the window.

Alternatively, the result of this operation can be directly embedded in a
RES resource file. This can also be done by clicking that button.

After conversion, these files can be embedded into projects as resources and
be played directly (without extraction) using the API "PlaySound" function.
To hear what that means, check the box "background sound" in the lower left
corner of the window (and turn your sound on).

Version 1.0a - Always find the most current version at
http://flocke.vssd.de/prog/apps/pascal/mp3conv/

Copyright (C) 2005, 2006 Volker Siebert <flocke@vssd.de>
All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

---------------------------------------------------------------------------

Example:

Drop an MP3 file on the program, press the button "Convert to wave / res"
and activate "Convert to RES file". Enter "SOUND" as the name and save your
resource as "sound.res" in your project directory.

Add the resource to your delphi project by adding the following line in the
implementation part of any unit (you may also place it in the main project
source):
+-------------------------------------------------------------------------
| {$R sound.res}
+-------------------------------------------------------------------------

Now you can play the file using:
+-------------------------------------------------------------------------
| PlaySound('SOUND', hInstance, SND_RESOURCE or SND_ASYNC);
+-------------------------------------------------------------------------

and you can stop it by calling:
+-------------------------------------------------------------------------
| PlaySound(nil, hInstance, 0);
+-------------------------------------------------------------------------

---------------------------------------------------------------------------

Delphi versions: 5, 6, 7, and 2005

Sourcecode is not completely finished (work in progress) but works fine.

To compile it you need my component DropFilesTarget - you can get it here:
http://flocke.vssd.de/prog/code/pascal/dft/. You don't need to install it,
just copy the file "DropFilesTarget.pas" into the project directory.
Flocke's Garage
Valid HTML 4.01 Transitional Valid CSS!
(C) 2005-2018 Volker Siebert.
Creative Commons-LizenzvertragDer gesamte Inhalt dieser Webseite steht unter einer Creative Commons-Lizenz (sofern nicht anders angegeben).