Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

DunesAudioComponents

Dunes Audio Components for Delphi lets you play, rip, encode, convert, and decode audio. Supports WAV, MP3, WMA, OGG, FLAC, and more. Compatible with Delphi 2006–XE3 (32/64-bit). Includes player, converter, and codec suite for easy use by any developer.

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Dunes Audio Components for Delphi

Dunes Audio Components is a suite of Delphi components for audio playback, ripping, encoding, conversion, and decoding.

Dunes Audio Components

Compatible with Delphi 2006, 2007, 2009, 2010, XE, XE2, XE3 (32/64-bit).
Supports popular formats: WAV, MP3, WMA, OGG, FLAC and more.

See our product page on Dunes Audio Components. Dunes Audio Components is a product of Ontwerpbureau Dunes


Features

  • Audio Player
    Play audio directly from codecs with full control: play, pause, seek, volume.
  • Audio Converter
    Convert audio between formats with minimal code.
  • Codec Suite
    Unified codec class for encoding/decoding multiple audio formats.

Folder Structure

  • Source/
    Full source of all components and additional code.
  • Demo/
    Complete demo application showcasing most features.
  • Help/
    Help files for all components.

Supported Formats

  • Encode: WAV, MP3, WMA, OGG, FLAC
  • Decode: WAV, MP3, WMA, OGG, FLAC, AC3, VOC, M4U, AAC, AIFF, MP4, RA

External DLLs

This library relies on external DLLs for codec functionality.
These DLLs are NOT included in this repository.
Download them from official sources:

DLL Source
FFmpeg DLLs (avcodec-52.dll, avdevice-52.dll, avfilter-0.dll, avformat-52.dll, avutil-49.dll, swscale-0.dll) FFmpeg.org or Gyan.dev builds
lame_enc.dll LAME Official or Trusted binaries
Vorbis.dll Xiph.org Vorbis
CDRip3.dll CDex
DiscId.dll Bundled with CDex
wnaspi32.dll From Adaptec (check EULA)

Quick Start

Play an MP3

delphi
uses AudioPlayer, AudioCodec;

var
  Player: TAudioPlayer;
  Codec: TAudioCodec;
begin
  Codec := TAudioCodec.Create('song.mp3');
  Player := TAudioPlayer.Create;
  Player.AttachCodec(Codec);
  Player.Play;
end;