|
Description
|
|
|
Code
Snippets is a page where I will occasionally
post useful Delphi sources related to DSP, audio
and VST programming. This is a great resource for anyone working in this field. Whether you're a programmer working during the day on party poker or other game sites, or you're working on a project in your spare time, this is invaluable. I will continue to update this page with the best information and examples of great coding.
|
|
|
|
VST Chunks
|
|
|
If you want to store large data blocks inside the
preset/bank files of your plugin (eg. samples or
tables), you should use the so-called "chunks"
mode. This can be somewhat tricky to handle and
understand, so I wrote a little tutorial about how to
do this in Delphi. I did also include a little VST demo
plugin with full source code that allows you to store
an image and a text as well as other parameters for each
preset of the bank separately.
Download
VST chunks tutorial and demo plugin
|
|
|
|
VST/ASIO host components
|
|
|
IThis download includes 2 interesting Delphi components,
developed together with Christian Budde (www.savioursofsoul.de/Christian/):
-
VSTHost is a component for loading and accessing
a VST plugin from your Delphi programs.
You can open the GUI, access the parameters, load and
save banks and process audio blocks. -
ASIOHost is a component for accessing the ASIO
driver of your system. It is really easy
to configure and allows you fast access to the professional
audio drivers.
Now think of combining those components: a VST plugin
that is itself a host for other VST plugins? A plugin
that streams its audio to the ASIO outputs? An ASIO host
that loads and uses VST plugins? Everything is possible...
Also included in this download is: - a little
ASIO host demo - a demo of the VST host in combination
with my VST template to profile the performance
of a plugin - a unit for accessing the MIDI input
and output ports of the operating system - a unit
for reading and playing back MIDI files. - ASIOConvert:
Christian Budde's excellent unit for converting audio
data from one format to the other. This
does now include extensive 3DNow and SSE optimisations!
Download
VST/ASIO host components
|
|
|
|
StepMatrix
|
|
|
This
is a powerful step-sequencer class for Delphi, allowing
multiple parameters per step, optional interpolation
between the steps and sample-accurate processing! Download
my Stepper and Screamer plugins to see (rather hear)
the class in action!
Download
StepMatrix Delphi class
|
|
|
|
TB303-Clone
|
|
|
This
is a rather simple 303 emulation class that was partly
converted from several old C++ sources from the
net and partly coded by me. Download my Screamer
plugin to hear how it performs!
Download
TB303-Clone Delphi class
|
|
|