nstilt1 / mofo-repo

Repo for the Mofo Mojo
0 stars 0 forks source link

Parallelizing Envelope Computations #5

Open nstilt1 opened 6 months ago

nstilt1 commented 6 months ago

Fixes #4 This simd code is for parallelizing curveConvert and the envelope computations.

There would need to be the following changes for this to be used:

1) export some functions for the C++ code to use, or port it to C++ 2) possibly add another function that computes a "compound envelope," that is, computing an envelope that depends on another envelope, such as the "Speed" parameter in the plugin. Having a SIMD version of that could make it more simple to add another parameter like that in the future.

Other problems with this SIMD code: 1) slightly messy 2) It is only faster on aarch64, and on x86_64 when a compatible CPU is targeted