title image


Sourcecode - components for Lazarus (and Delphi)


Still some of the components shown on this page do work under both LAZARUS and older Delphi 5 or 6. But I do not work with Delphi anymore. So lots of code will only work under Lazarus in the future. Currently we are at 2.0.10 Lazarus, so maybe some untouched code will not work properly anymore, sorry.

- DLLconnect - access Objects in a DLL .. more .. Download

- TBorderPanel - usable as a LED component .. more .. Download

- TDigitLed - one of the "thousands of LED components .. more .. Download

- TDSMixer - a Audio component based on DirectX 8 .. more .. Download

- THighResTimer - a nonvisual component .. more .. Download

- TLed1 - a component based on TGraphicControl .. more .. Download

- TLSRClock and TLSRColorButton - two components in one package .. more .. Download

- TMidiInput and TMidiOutput - MIDI Low Level Components .. more .. Download

- mpg123 DLL Example - decode MP3 Yourself in Lazarus and Delphi .. more .. Download

- PortAudio + PortMidi Examples - basics about how to use PortAudio + PortMIDI .. more .. Download

- LibsamplerateTest Examples - basics about how to use the Libsamplerate.DLL .. more .. Download

- LibSndFile Examples - basics about how to use the SndFile.DLL .. more .. Download


I didn't create any package file - under Delphi just create a package Yourself:
choose the menu item "component / install Component" and then select Tab "into new package" ..

If You know any improvements or bug fixes, please let me know :


Please also take a look at:
- sourceforge.net/projects/lazarus-ccr/
- wiki.lazarus.freepascal.org/ Components_and_Code_examples
- www.benibela.de/components_en
- www.picsoft.de/compon.htm
Maybe You will find something useful there for You, for example .. :
TDBF - a DBF component for Lazarus
KGrid - a Grid component for Lazarus and Delphi

Please also take a look at:
Freebyte's Guide to free Delphi programming



DLLconnect
is a example application.

It shows how to connect to a DLL which contains LCL components such as TButton

The original Author is Christian Sciberras. The component was slightly changed by me to simplify the creation of Objects.

Please click here to download the DLLconnect.zip archive !


DLLconnect.zip
Back to top


TBorderPanel - verified for Lazarus 1.6
is a component based on TPanel.

TBorderPanel can also be used as a Button or a LED. Unfortunately the button behaves a little bit lazy, doesn't react on fast clicks ...

The original Author is Jürgen Sommer. The component was slightly changed by me to create the LED behaviore I needed.

Please click here to download the TBorderPanel Component ZIP file !


Please click here to download the TBorderPanelDemo.zip !

TBorderPanelDemo.zip
Back to top


TDigitLed
is a component based on TPaintBox

TDigitLed is a LED component.
It displays characters using 7 & 11 leds digits.

The original Author is Martín 'mc²' Cativa Gronda. The component was slightly changed by me to ensure the compatibilty to LAZARUS.

Please click here to download the TDigitLed Component ZIP file !

A Demo App (coded in Delphi) is included.

nix
Back to top


TDSMixer
is a Audio component

The DSMixer component manages playback of audio files enabling per channel control of volume, pan, pitch, fading and also access to each channel's audio data in PCM format while playing.

The archive also contains the required header files for DirectX 8

The original Author is Carlos Barbosa

The component was slightly changed by me to make it compile under LAZARUS. But ATM I don't have the time to thorougly test if it runs correctly under LAZARUS !!!

Please click here to download the TDSMixer Component ZIP file !


Two Demo Apps (coded in Delphi) are included.
nix



TFspLocalizer - a Multi Language Component for both Delphi and Lazarus
is a nonvisual component

TFspLocalizer is based on TInifile.
The original Author is FSProLabs

The component was slightly changed by me to make it run under LAZARUS.

Please click here to download the TFspLocalizer Component !


nix


THighResTimer
is a nonvisual component

THighResTimer is a High Resolution Timer Component.

The original Author is Roman Lauer.
The component was slightly changed by me to make it run under LAZARUS.

Please click here to download the THighResTimer Component !

nix


TLed1
is a component based on TGraphicControl

TLed1 is a shaded LED component.

The original Author is Deaky Bogdan. The component was slightly changed by me to make it run under LAZARUS.

Please click here to download the TLED1 Component ZIP file !


Please click here to download the TLed1Demo.zip !

nix



TLSRClock and TLSRColorButton - verified for Lazarus 1.6
TLSRClock is a nice Clock Component.
TLSRColorButton is a flat or shaded Button.


The original Author is Simon Reinhardt.
The components were slightly changed by me to make them run under LAZARUS.

Please click here to download the TLSRComponents_02.zip !

nix


mpg123 Example code for Lazarus and Delphi V 0.07
mpg123.dll is a fast console MPEG Audio Player and decoder library

The wrapper files for mpg123.dll have been written under Windows XP, with Lazarus 1.6 and Delphi 6. They possibly do not compile under Linux, Mac or Windows 64 bit. If You know any bug fixes, please let me know !

The wrapper files are a direct translation of the original C header file so a "original Author" can not be named here.

There are two wrapper files, one for linking on start time, one for linking manually on runtime. Both files do work under LAZARUS and DELPHI - since V 0.05

Please click here to download the example source code for Lazarus and Delphi !

Back to top
mpg123.dll

PortAudio + PortMidi Examples V 0.16 - compiled with Lazarus 2.0.10
.. contains GUI Example applications for Lazarus 2.0.10, for PortAudio and PortMidi

PortAudio
is a free, cross platform, open-source, audio I/O library.


PortSMF
is a free, cross platform, open-source library for reading, writing, and manipulating standard midi files.



Please click here to download a description of the Portaudo DLL as PDF file !


The original Author of the file Portaudio.pas is the
ULTRASTAR DELUXE project on github.
Lots of background information can be found in this Portaudio.pas file.

Also included are two examples based on code written by the HuMuS project
which also uses the Portaudio.dll but a different set of FPC wrapper files.

Please click here to download the complete source code archive !


Here You can download two example applications to test the portaudio.dll :

Please click here to download the EXE file "PAwireEX.exe" as ZIP archive !

Please click here to download the EXE file "PortaudioTest.exe" as ZIP archive !

Hint: these examples have been developed and compiled under Windows XP and there may occur problems under VISTA and Windows 7 !

Click here to read about a Example Application called "PortaudioPlayer.exe" !

You can create Your own Windows PortAudio.dll if You follow the description on this website: LINK
(See: "How to generate palir-01.dll from source code")


Back to top

testPortAudio_01.png

nix


Libsamplerate Test ( libsamplerate.dll )
.. contains a GUI Example application for Lazarus, for libsamplerate DLL under Windows


Please click here to download the LibsamplerateTest Project !

If You know where to get the actual Windows DLL version, please let me know !

nix

LibSndFile DLL Example V 0.06 - compiled with Lazarus 2.0.10
.. contains a GUI Example application for Lazarus, for LibSndFile DLL under Windows


LibSndFile
is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface.

The original Author of LibSndFile DLL is
Erik de Castro Lopo


Please click here
to download the complete source code archive !



Please click here
to download a Example Application that plays WAV files !


Back to top

nix


PortaudioPlayerDemo loads WAV files, mono, stereo and multichannel.
Loading is currently limited to 16 bit WAV files (any sampling rate).

nix


TSortGrid - verified for Lazarus 1.6
is a Grid Component

This component does work under Delphi,
under Lazarus 1.6 it compiles now (2016-06-10)
but crashes on destroy:

There's some Assembler code left that prevents the component from runnig under Lazarus 1.6
ATM I have no time to fix these bugs .. maybe You know a solution .. ?!

Please click here to download the TSortGrid Component !

* Search and Filter: Easy and fast, fully customable
* Sort: Different sorts, like numbers, date, your own
* Load & Save: Save to file and registry, export to CSV
* MultiSelect: Using Ctrl and Shift keys
* Components: Add button, picklist or checkbox to a cell
* Paint: Draw cells in lot of different ways
* Print: Print the grid, with preview
* Auto size Columns and much more....
nix
zum Anfang Diese Webseite wird gehostet von "dogado Internet GmbH". www.dogado.de