www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Looking for a D DSP library

reply "terchestor" <terchestor gmail.com> writes:
I'm looking for something like a DSP library written in D, if it 
exists.
I'm aware of the GC real-time drawbacks for this application 
domain, but I'm interested in applying all things discovered 
learning D language (thanks to Andrei's TDPL) to a sound 
synthesis software I project to redeploy from a previous C++ 
implementation.
Jan 15 2014
parent reply "ponce" <contact gam3sfrommars.fr> writes:
On Wednesday, 15 January 2014 at 12:25:59 UTC, terchestor wrote:
 I'm looking for something like a DSP library written in D, if 
 it exists.
 I'm aware of the GC real-time drawbacks for this application 
 domain, but I'm interested in applying all things discovered 
 learning D language (thanks to Andrei's TDPL) to a sound 
 synthesis software I project to redeploy from a previous C++ 
 implementation.
FWIW: https://github.com/p0nce/dplug This is very early, I just had a non-crashing VST yesterday. It still doesn't make sound (this is a bug for this evening). No MIDI events yet. dplug:dsp has some algorithms I consider useful for real-time audio processing, but they are certainly not optimized. For offline, you might want to use https://github.com/p0nce/DerelictSndFile to work with WAV, OGG and FLAC files.
Jan 15 2014
parent "terchestor" <terchestor gmail.com> writes:
On Wednesday, 15 January 2014 at 13:44:51 UTC, ponce wrote:
 On Wednesday, 15 January 2014 at 12:25:59 UTC, terchestor wrote:
 I'm looking for something like a DSP library written in D, if 
 it exists.
 I'm aware of the GC real-time drawbacks for this application 
 domain, but I'm interested in applying all things discovered 
 learning D language (thanks to Andrei's TDPL) to a sound 
 synthesis software I project to redeploy from a previous C++ 
 implementation.
FWIW: https://github.com/p0nce/dplug This is very early, I just had a non-crashing VST yesterday. It still doesn't make sound (this is a bug for this evening). No MIDI events yet. dplug:dsp has some algorithms I consider useful for real-time audio processing, but they are certainly not optimized. For offline, you might want to use https://github.com/p0nce/DerelictSndFile to work with WAV, OGG and FLAC files.
Looks a good start, thanks.
Jan 15 2014