^ What's the point?
^ Requirements
^ Installation
^ Properties
^ Events
^ Functions and procedures
^ Credits
^ Copyright, Disclaimer, and all that other jazz

Download :: Topics on this subject on the Forum :: Top
TSpectrum3D Component

TSpectrum3D for Delphi and Spectrum 3D Library for any developer environment that supports the stdcall calling convention.
The most you get is from the Delphi version, you can access all the underlying stuff, and the least you get is the standalone .dll version.
All of these components are refered to as TSpectrum3D.

TSpectrum3D is a component for use in Win32 (9x/ME/2K/XP/Vista/7) and Win64 software with BASS with a purpose to provide 3D audio FFT spectrum display for audio streams. All on a powerfull and compact DirectX9 3D surface, that you have full access to. This is a component that you put on a form, and have instantly a 3D audio FFT spectrum display for an audio stream.

You should also see the included example program Tutorial's source-code for example of how to use TSpectrum3D in your own programs.


TSpectrum3D in shareware and commercial software?

The component is free for free software. If like it and use it for shareware and commercial software you have to buy a license.

  • Unpack the appropriate BASS package (bassxx.zip). bass.dll and Delphi/bass.pas is needed in the search path.
  • Unpack the ClootieDX9 folder, all the files inside are needed in the search path.
  • In Delphi menu: Component: Install component
  • Unit file name: select "Spectrum3D.pas"
  • Compile and save package.
If everything went smooth, you can access the TSpectrum3D component on 3delite's tab.

Supported audio file formats: MP3, MP2, MP1, OGG, WAV and music modules. Yes, it supports music modules too! :, MO3, IT, XM, S3M, MTM, MOD, UMX If you want your application to handle many more audio file formats, like: Flac, OptimFrog, WavPack, Monkey's Audio, Musepack, TTA, ALAC (Apple Lossless), AC3, Speex, AACH, AAC/MP4 and AC3, etc. (you can also use winamp input plugins trough a BASS plugin) check the great BASS add-ons on the BASS page.

NOTE: To run the EXEs, first you'll have to copy bass.dll and d3dx9ab.dll into the same directory as the EXEs.


.D3DVertexProcessingMode: Older 3D gfx card don't have hardware vertex processing, then select sofware mode.
vpHardware: Hardware Vertex Processing
vpMixed: Mixed Vertex Processing
vpSoftware: Software Vertex Processing


.AfterD3DRender: is called when all the graphics had been drawn on the surface. You can draw on the surface that will be on top of the graphics.

.BeforeD3DRender: is called when the D3D surface is cleared and ready for drawing.
You can draw on the surface with
that will be behind the spectrum graphics.

.OnD3DDestroy: is called before freeing the Direct3D object.

Other available properties

.g_pD3D: The Direct3D Object.

.g_pd3dDevice: The Direct3D device.

.FPS: Current frames per second for the Direct3D display.

Other helper functions available

BGR2RGB(BGRValue: Cardinal): Cardinal;
Convert BGR color value to RGB color value.


  • Ian Luck @ www.un4seen.com - for the great BASS audio library.

    Copyright, Disclaimer, and all that other jazz

    The TSpectrum3D is free for free software. If like it and use it in shareware or commercial software you have to buy a license.
    This software is provided "as is", without warranty of ANY KIND, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The author shall NOT be held liable for ANY damage to you, your computer, or to anyone or anything else, that may result from its use, or misuse. Basically, you use it at YOUR OWN RISK.
    Usage of TSpectrum3D indicates that you agree to the above conditions.
    You may freely distribute the TSpectrum3D package as long as NO FEE is charged and all the files remain INTACT AND UNMODIFIED.
    All trademarks and other registered names contained in the TSpectrum3D package are the property of their respective owners.

    Bug reports, Suggestions, Comments, Enquiries, etc...

    If you have any of the aforementioned please email: 3delite@3delite.hu

  • [Top]