Re: [music-dsp] Hosting playback module for samples

2014-02-27 Thread Danny
If i understand correctly, Juce would be the solution. You say you already have the working c++ code, so you could use that and add an audioprocessor from juce to do your playback. Op 27 feb. 2014 om 06:36 heeft Ross Bencina rossb-li...@audiomulch.com het volgende geschreven: Hello Mark,

Re: [music-dsp] Hosting playback module for samples

2014-02-27 Thread Michael Gogins
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

Re: [music-dsp] Hosting playback module for samples

2014-02-27 Thread Ross Bencina
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,

Re: [music-dsp] Hosting playback module for samples

2014-02-27 Thread Michael Gogins
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

Re: [music-dsp] Hosting playback module for samples

2014-02-27 Thread Ross Bencina
On 28/02/2014 2:06 PM, Michael Gogins wrote: 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. I agree. Maybe I

[music-dsp] Hosting playback module for samples

2014-02-26 Thread Mark Garvin
I realize that this is slightly off the beaten path for this group, but it's a problem that I've been trying to solve for a few years: I had written software for notation-based composition and playback of orchestral scores. That was done via MIDI. I was working on porting the original C++ to C#,

Re: [music-dsp] Hosting playback module for samples

2014-02-26 Thread Douglas Repetto
PortAudio! http://www.portaudio.com best, douglas On Wed, Feb 26, 2014 at 11:56 AM, Mark Garvin mgar...@panix.com wrote: I realize that this is slightly off the beaten path for this group, but it's a problem that I've been trying to solve for a few years: I had written software for

Re: [music-dsp] Hosting playback module for samples

2014-02-26 Thread Thomas Rehaag
Hi Mark, if you just need a simple VST2 Windows host there's enough source code that will give you access tho VSTi. You could use the MiniHost from the VST2 SDK (hope you've got a copy. The download/support is gone since some weeks). And of course you can have a look at Hermann Seib's

Re: [music-dsp] Hosting playback module for samples

2014-02-26 Thread Ross Bencina
Hi Mark, I'm not really sure that I understand the problem. Can you be more specific about the problems that you're facing? Personally I would avoid managed code for anything real-time (ducks). You're need to build a simple audio engine (consider PortAudio or the ASIO SDK). And write some

Re: [music-dsp] Hosting playback module for samples

2014-02-26 Thread Mark Garvin
1. Re: Hosting playback module for samples (Ross Bencina) From: Ross Bencina rossb-li...@audiomulch.com Hi Mark, I'm not really sure that I understand the problem. Can you be more specific about the problems that you're facing? Hi Ross, Specific: (Forgive me if you know all of this):

Re: [music-dsp] Hosting playback module for samples

2014-02-26 Thread Ross Bencina
Hello Mark, On 27/02/2014 3:52 PM, Mark Garvin wrote: Most sample banks these days seem to be in NKI format (Native Instruments). They have the ability to map ranges of a keyboard into different samples so the timbres don't become munchkin-ized or Vader-ized. IOW, natural sound within each