Re: [music-dsp] Functional Programming C code generation

2013-05-30 Thread Tom Schouten
Here's a little illustration: http://zwizwa.be/rai/rai.html ( Racket's documentation facility is really nice. ) On 05/14/2013 12:11 PM, Tom Schouten wrote: Is there anyone here interested in Functional Programming and C code generation for DSP code? I'm working on a system for DSP code

Re: [music-dsp] Functional Programming C code generation

2013-05-15 Thread Theo Verelst
For those interested, a short list of theoretical and general considerations, as of course some of you know I'm hardly fresh to all this, and recognize some of my PhD level considerations from long ago, which were about parallelizing (why does my spell check complain on this word ?! :) )

Re: [music-dsp] Functional Programming C code generation

2013-05-15 Thread Tom Schouten
On 05/15/2013 04:54 AM, Jamie Bullock wrote: On 15 May 2013, at 00:42, Tom Schoutent...@zwizwa.be wrote: Faust is amazing. it can compile to many different end targets and even has it's own IDE in FaustWorks. Also, Albert Graf has embedded it (of sorts) into Pd already (via Pure). very

Re: [music-dsp] Functional Programming C code generation

2013-05-15 Thread Tom Schouten
On 05/14/2013 11:12 PM, Alan Wolfe wrote: fwiw, i have a DAW I work on, and on my todo list is the ability to export your creations to C++. what DAW is that? One option would do generic C++ so you could drop it into whatever program you wanted (like, an fmod callback, or custom code etc).

[music-dsp] Functional Programming C code generation

2013-05-14 Thread Tom Schouten
Is there anyone here interested in Functional Programming and C code generation for DSP code? I'm working on a system for DSP code development based on the principle of Abstract Interpretation http://en.wikipedia.org/wiki/Abstract_interpretation Basically, it will allow several

Re: [music-dsp] Functional Programming C code generation

2013-05-14 Thread Rohit Agarwal
Good choice of project. A generatively programmed codebase get's more powerful for the programmer over time. The beginning is the slower and more difficult part. This approach to programming holds great promise. On 14-May-2013, at 9:41 PM, Tom Schouten t...@zwizwa.be wrote: Is there anyone

Re: [music-dsp] Functional Programming C code generation

2013-05-14 Thread Jeremy Shaw
Interested -- yes. Time to do anything -- no. But, I have long thought it would be interesting to implement a virtual modular synth that was compiled on the fly. The UI would be written in high-level Haskell, and would allow you to manipulate the synth, patching cables, tweaking knobs, etc. When

Re: [music-dsp] Functional Programming C code generation

2013-05-14 Thread Tom Schouten
On 05/14/2013 12:17 PM, Rohit Agarwal wrote: Good choice of project. A generatively programmed codebase get's more powerful for the programmer over time. The beginning is the slower and more difficult part. This approach to programming holds great promise. Indeed. Moreover, there is a lot to

Re: [music-dsp] Functional Programming C code generation

2013-05-14 Thread Tom Schouten
On 05/14/2013 12:44 PM, Jeremy Shaw wrote: Interested -- yes. Time to do anything -- no. But, I have long thought it would be interesting to implement a virtual modular synth that was compiled on the fly. The UI would be written in high-level Haskell, and would allow you to manipulate the

Re: [music-dsp] Functional Programming C code generation

2013-05-14 Thread pdowling
i'm presuming everyone in this thread knows Grame's FAUST and Cycling 74's GEN ? or maybe i'm missing something about what you want to do? if so apologies. i'm actually just very interested in this subject myself. surely the first step would be to appraise two of the excellent solutions already

Re: [music-dsp] Functional Programming C code generation

2013-05-14 Thread Theo Verelst
pdowling wrote: i'm presuming everyone in this thread knows Grame's FAUST and Cycling 74's GEN ? or maybe i'm missing something about what you want to do? if so apologies. i'm actually just very interested in this subject myself. surely the first step would be to appraise two of the excellent

Re: [music-dsp] Functional Programming C code generation

2013-05-14 Thread Tom Schouten
On 05/14/2013 04:30 PM, pdowling wrote: i'm presuming everyone in this thread knows Grame's FAUST and Cycling 74's GEN ? or maybe i'm missing something about what you want to do? if so apologies. i'm actually just very interested in this subject myself. surely the first step would be to

Re: [music-dsp] Functional Programming C code generation

2013-05-14 Thread Alan Wolfe
fwiw, i have a DAW I work on, and on my todo list is the ability to export your creations to C++. One option would do generic C++ so you could drop it into whatever program you wanted (like, an fmod callback, or custom code etc). The other option to be generating code for a VST plugin. Just