Sorry for the misunderstanding. I think the VSTHost code could be adapted. It is possible to mix managed C++/CLI and unmanaged standard C++ code in a single binary. I think this could be used to provide a .NET wrapper for the VSTHost classes that C# could use.
Regards, Mike ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Thu, Feb 27, 2014 at 7:02 PM, Ross Bencina <rossb-li...@audiomulch.com>wrote: > On 28/02/2014 12:16 AM, Michael Gogins wrote: > >> For straight sample playback, the C library FluidSynth, you can use it via >> PInvoke. FluidSynth plays SoundFonts, which are widely available, and >> there >> are tools for making your own SoundFonts from sample recordings. >> >> For more sophisticated synthesis, the C library Csound, you can use it via >> PInvoke. Csound is basically as powerful as it gets in sound synthesis. >> Csound can use FluidSynth. Csound also has its own basic toolkit for >> simple >> sample plaback, or you can build your own more complex samplers using >> Csound's orchestra language. >> > > If I understand correctly the OP wants a way to host Kontakt and other > commercial sample players within a C# application, not to code his own > sample player or use something open source. > > The question is the quickest path to hosting pre-existing VSTis in C# and > sending them MIDI events. > > Ross. > > -- > dupswapdrop -- the music-dsp mailing list and website: > subscription info, FAQ, source code archive, list archive, book reviews, > dsp links > http://music.columbia.edu/cmc/music-dsp > http://music.columbia.edu/mailman/listinfo/music-dsp > -- dupswapdrop -- the music-dsp mailing list and website: subscription info, FAQ, source code archive, list archive, book reviews, dsp links http://music.columbia.edu/cmc/music-dsp http://music.columbia.edu/mailman/listinfo/music-dsp