digitalmars.D - Using D for Soft Synth development
- "Timo =?UTF-8?B?V2VzdGvDpG1wZXIi?= <timo.westkamper gmail.com> (5/5) Mar 24 2012 I am trying to get started with D programming. My target is to
- Norbert Nemec (12/16) Mar 24 2012 I did some initial research in the direction of real-time audio code a
- Andrej Mitrovic (4/6) Mar 24 2012 Yeah. From what I can tell all you have to do is translate the lv2.h
- "Timo =?UTF-8?B?V2VzdGvDpG1wZXIi?= <timo.westkamper gmail.com> (5/5) Mar 25 2012 Thanks for the advices. I used bcd.gen to create the binding
I am trying to get started with D programming. My target is to write LV2 plugins (http://lv2plug.in/trac/) with it, but it seems there aren't any ready made bindings. Do you know of anyone else who would have gone into this direction?
Mar 24 2012
On 24.03.2012 17:18, "Timo Westkämper" <timo.westkamper gmail.com>" wrote:I am trying to get started with D programming. My target is to write LV2 plugins (http://lv2plug.in/trac/) with it, but it seems there aren't any ready made bindings. Do you know of anyone else who would have gone into this direction?I did some initial research in the direction of real-time audio code a little while ago. The most fundamental issue is the hard real-time capability of D. Seems like it should be possible with just a bit of self-discipline in writing the audio code. The essence of this was discussed on this list (thread: "is d-runtime non-gc safe?" in December 2011) Apart from this, it should just be setting up the bindings, pretty much like any other D project using an existing C library. Would be very interested in hearing about your experiences! Greetings, Norbert
Mar 24 2012
On 3/24/12, Norbert Nemec <Norbert nemec-online.de> wrote:Apart from this, it should just be setting up the bindings, pretty much like any other D project using an existing C library.Yeah. From what I can tell all you have to do is translate the lv2.h header to a D file (maybe try HTOD), and port that simple amp example in LV2 to D to see if it works.
Mar 24 2012
Thanks for the advices. I used bcd.gen to create the binding stubs in D. I will make a more lightweight D integration than the lv2-c++-tools. I will post the results on GitHub when simple examples are working.
Mar 25 2012