Re: [Faudiostream-devel] createDSPInstance from a real-time context

2019-01-20 Thread Stéphane Letz
> Le 20 janv. 2019 à 12:38, Stefan Kersten a écrit : > > Hi Stéphane, > > On 17/01/2019 11:00, Stéphane Letz wrote: >> You can start to experiment looking at this file : >> https://github.com/grame-cncm/faust/blob/master-dev/tools/benchmark/dynamic-jack-gtk.cpp > > Thanks for the pointer! >

Re: [Faudiostream-devel] createDSPInstance from a real-time context

2019-01-20 Thread Stefan Kersten
Hi Stéphane, On 17/01/2019 11:00, Stéphane Letz wrote: > You can start to experiment looking at this file : > https://github.com/grame-cncm/faust/blob/master-dev/tools/benchmark/dynamic-jack-gtk.cpp Thanks for the pointer! > - note that global memory (like when using the « waveform » primitive

Re: [Faudiostream-devel] createDSPInstance from a real-time context

2019-01-17 Thread Stéphane Letz
You can start to experiment looking at this file : https://github.com/grame-cncm/faust/blob/master-dev/tools/benchmark/dynamic-jack-gtk.cpp - a custom memory manager is defined (malloc_memory_manager) - is is then used with the line factory->setMemoryManager(&manager); - DSP memory with be all

Re: [Faudiostream-devel] createDSPInstance from a real-time context

2019-01-16 Thread Stefan Kersten
Hi Stéphane, Sorry for the late reply, I hadn't seen your response before! Yes, the memory manager interface should work perfectly for my application. Let me know if I can help with the implementation or testing. For now I'll focus on writing a Faust architecture file for my engine; I'd like to g

Re: [Faudiostream-devel] createDSPInstance from a real-time context

2019-01-07 Thread Stéphane Letz
Hi Stefan, Preliminary work was started last year to allow a completely separated memory manager to be used, look at the dsp_memory_manager class in dsp.h header file as well as setMemoryManager/getMemoryManager method in the dsp_factory class (see https://github.com/grame-cncm/faust/blob/mast

[Faudiostream-devel] createDSPInstance from a real-time context

2018-12-27 Thread Stefan Kersten
Hi there! After a long hiatus I'm picking up Faust again and I'd like to integrate libfaust into an audio engine I wrote some time ago [1]. The engine allocates DSP instances in the audio thread (like e.g. SuperCollider) but I noticed that llvm_dsp_factory::createDSPInstance() and llvm_dsp::~llvm