unfortunately not yet. see discussion starting somewhere at the bottom of page 2kartalex wrote: Thu Sep 23, 2021 10:22 pm Can we make MIDI plug-ins with APE? Does it support something like processMIDIEvents?
Audio Programming Environment 0.5.0: C++ DSP directly in your DAW!
-
Music Engineer Music Engineer https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=15959
- KVRAF
- 4378 posts since 8 Mar, 2004 from Berlin, Germany
- KVRAF
- 3425 posts since 28 Jan, 2006 from Phoenix, AZ
Is there a way to see all console errors? Currently, we are limited to what fits on screen as there is no scroll bar. Is there a file created with the rest of the text?
-
- KVRian
- 1194 posts since 28 May, 2010 from Finland
How much overhead is there in APE? I mean, if one wanted to program e.g. a high-quality reverb, then is there too much bottleneck?
-
- KVRian
- Topic Starter
- 585 posts since 1 Jan, 2013 from Denmark
Ahhh! Sorry guys, as usual I don't get notifications for new posts
(it's false by default)
You don't really have access to multithreading (I mean.. unless you're sneaky), which might limit the available throughput though.

I've no clue, is this still a problem? And you don't have issues loading other vst2s in reaper? Testing locally I can see there's an issue with the 64 bit build, I'll have to look into that.gavinray wrote: Tue Sep 14, 2021 4:32 pm For some reason, the VST2 fails to scan in REAPER, though opens perfectly fine in Cakewalk.
Does anyone have a clue why that might be?
Thanks a lot! No I'm currently working on the next version of Signalizer, but I'm swamped at work as well so as usual it's progressing slower than I want to.DrEntropy wrote: Thu Sep 16, 2021 11:18 pm Wow this APE thing is quite incredible indeed! Has Janus Thorborg moved on to other things though? I think this has the potential to become an amazing tool, there is really nothing out there like it. Bluecat audio's thing comes close ( it uses some language called Angelscript).
Not today. I just haven't made the API for it, really, so it should be included in the next version.kartalex wrote: Thu Sep 23, 2021 10:22 pm Can we make MIDI plug-ins with APE? Does it support something like processMIDIEvents?
You can enable this in the config.cfg:Architeuthis wrote: Fri Dec 10, 2021 12:52 am Is there a way to see all console errors? Currently, we are limited to what fits on screen as there is no scroll bar. Is there a file created with the rest of the text?
Code: Select all
application:
{
log_console = true;This is using (at the time of release at least) the newest version of clang/llvm, which is some way ahead of the apple toolchain. Additionally, it compiles directly for your specific CPU. All that to say it should be as fast as your normal C++ experience, and has the chance to outperform normal toolchains.soundmodel wrote: Tue Jan 25, 2022 3:15 pm How much overhead is there in APE? I mean, if one wanted to program e.g. a high-quality reverb, then is there too much bottleneck?
You don't really have access to multithreading (I mean.. unless you're sneaky), which might limit the available throughput though.
I'll take that as a compliment?
-
- KVRian
- 1194 posts since 28 May, 2010 from Finland
Will there be multithreading support someday?Mayae wrote: Sat Feb 05, 2022 3:19 pmThis is using (at the time of release at least) the newest version of clang/llvm, which is some way ahead of the apple toolchain. Additionally, it compiles directly for your specific CPU. All that to say it should be as fast as your normal C++ experience, and has the chance to outperform normal toolchains.soundmodel wrote: Tue Jan 25, 2022 3:15 pm How much overhead is there in APE? I mean, if one wanted to program e.g. a high-quality reverb, then is there too much bottleneck?
You don't really have access to multithreading (I mean.. unless you're sneaky), which might limit the available throughput though.
-
- KVRian
- Topic Starter
- 585 posts since 1 Jan, 2013 from Denmark
Sure, but I guess before that how do we imagine it working? I could just makesoundmodel wrote: Sun Feb 06, 2022 9:53 amWill there be multithreading support someday?Mayae wrote: Sat Feb 05, 2022 3:19 pmThis is using (at the time of release at least) the newest version of clang/llvm, which is some way ahead of the apple toolchain. Additionally, it compiles directly for your specific CPU. All that to say it should be as fast as your normal C++ experience, and has the chance to outperform normal toolchains.soundmodel wrote: Tue Jan 25, 2022 3:15 pm How much overhead is there in APE? I mean, if one wanted to program e.g. a high-quality reverb, then is there too much bottleneck?
You don't really have access to multithreading (I mean.. unless you're sneaky), which might limit the available throughput though.
Code: Select all
#include <thread>More likely what you want is a job system and some sort of parallelization model that lends itself well to partioned convolution or whatever.
Not to mention you might be competing against the DAW resources with multithreading, and there's a lower bound latency with deterministic throughput. But I still think it might make sense for research purposes.
-
Music Engineer Music Engineer https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=15959
- KVRAF
- 4378 posts since 8 Mar, 2004 from Berlin, Germany
hmmm...if you want to go down that route, it would perhaps be good if it would play nicely with clap's upcoming multithreading support:Mayae wrote: Sun Feb 06, 2022 2:19 pm More likely what you want is a job system and some sort of parallelization model that lends itself well to partioned convolution or whatever.
Not to mention you might be competing against the DAW resources with multithreading....
https://github.com/free-audio/clap/blob ... ead-pool.h
...if you are planning to support clap, that is (which i would consider a good thing to do (eventually, not as top priority) because vst2 is now being phased out for real and a replacement will be needed sooner or later)
-
- KVRer
- 4 posts since 21 Feb, 2022
Not sure how I missed this. Just checking in to offer congrats on this achievement...monumental effort.
On the other hand, I may be cursing you soon. Years ago I tried to get into DSP/VST stuff, but the lack of this kind of environment made it a bit too much trouble. I was trying to do some machine learning based stuff, and strangely after several years, it seems no one has yet done much in this area in the independent dev end of things.
Therefore I can see myself diving in again, when frankly I don't have time. The lure is strong. Will I ever learn?
On the other hand, I may be cursing you soon. Years ago I tried to get into DSP/VST stuff, but the lack of this kind of environment made it a bit too much trouble. I was trying to do some machine learning based stuff, and strangely after several years, it seems no one has yet done much in this area in the independent dev end of things.
Therefore I can see myself diving in again, when frankly I don't have time. The lure is strong. Will I ever learn?
- KVRAF
- 2479 posts since 22 Sep, 2016
Hm, seems I'm late to the party ... APE looks very promising.
I skimmed through the source code and the documentation and it looks like MIDIis not supported. Is that true?
Asking because I recently did some experiments with Protoplug in the field of MIDI. Even did an upgrade of protoplug to make it use JUCE 6, added a better LUAJIT dll and added a VST3 build ... (all on my private/not yet released builds)
Anyway: Is there a chance that APE will support MIDI in the near future? Would be really cool!
I skimmed through the source code and the documentation and it looks like MIDIis not supported. Is that true?
Asking because I recently did some experiments with Protoplug in the field of MIDI. Even did an upgrade of protoplug to make it use JUCE 6, added a better LUAJIT dll and added a VST3 build ... (all on my private/not yet released builds)
Anyway: Is there a chance that APE will support MIDI in the near future? Would be really cool!
-
- KVRian
- Topic Starter
- 585 posts since 1 Jan, 2013 from Denmark
Cheers!
Thanks. All I can say is follow your heart and curiousity! I think ML still mostly applies in analysis / interpretation, although some impressive generative things are happening.jamesd256 wrote: Fri Feb 25, 2022 4:51 pm Not sure how I missed this. Just checking in to offer congrats on this achievement...monumental effort.
On the other hand, I may be cursing you soon. Years ago I tried to get into DSP/VST stuff, but the lack of this kind of environment made it a bit too much trouble. I was trying to do some machine learning based stuff, and strangely after several years, it seems no one has yet done much in this area in the independent dev end of things.
Therefore I can see myself diving in again, when frankly I don't have time. The lure is strong. Will I ever learn?
Correct -] Peter:H [ wrote: Sun Jul 10, 2022 9:39 am Hm, seems I'm late to the party ... APE looks very promising.
I skimmed through the source code and the documentation and it looks like MIDIis not supported. Is that true?
...
It's slated for next version, which probably is in the near future. Problem is, near future for me is anywhere between 1 month and a year - it all depends on when I have a break between everything] Peter:H [ wrote: Sun Jul 10, 2022 9:39 amAnyway: Is there a chance that APE will support MIDI in the near future? Would be really cool!
-
- KVRist
- 32 posts since 16 Jun, 2006
This might be a permission issue. The VST folder in Windows may has higher permissions, which could stop APE from reading the files it needs. Try using a different folder( and add the path to DAW ) or lowering the permissions on the VST folder.Dr.No wrote: Sun Jul 17, 2022 10:19 am I have copied the Audio Programming Environment folder to my vst folder and there is no way to load this plugin, Ableton Live 11 on windows 10, can anyone help me?
-
- KVRist
- 32 posts since 16 Jun, 2006
Hi, just wondering—is APE still being updated? I used it a long time ago, and recently moved a lot of my DSP code over to it. It's insanely efficient! No more Max/MSP prototyping! It would be awesome if it could link to external dynamic/static libraries too! But it seems like it's been quiet for a while.
-
- KVRian
- Topic Starter
- 585 posts since 1 Jan, 2013 from Denmark
I cycle between this and Signalizer for updates, currently working on native macos arm builds.mEnZI1 wrote: Sun May 04, 2025 2:05 am Hi, just wondering—is APE still being updated? I used it a long time ago, and recently moved a lot of my DSP code over to it. It's insanely efficient! No more Max/MSP prototyping! It would be awesome if it could link to external dynamic/static libraries too! But it seems like it's been quiet for a while.
Static linkage might be hard since the in memory "build system" doesn't use a linker in the traditional sense (though if I move to out-of-process processing, it might be different), but you could definitely do dynamic linking. Just include some shenanigans with dlopen/LoadLibrary
