Commit Graph

16 Commits

Author SHA1 Message Date
Mike Oliphant fbf05b4472 Do 5Hz high pass filter to clean up any DC offset created by the model 2023-07-28 09:20:52 -07:00
Mike Oliphant dbf00f0ed3 Formatting 2023-07-04 14:53:39 -07:00
falkTX 739f43b151 state changed is no longer needed
Signed-off-by: falkTX <falktx@falktx.com>
2023-06-15 19:13:55 +02:00
falkTX eb35260789 Pre-run model to ensure all needed buffers are allocated in advance
Signed-off-by: falkTX <falktx@falktx.com>
2023-06-15 17:06:32 +02:00
falkTX 4e9b7d6b49 rework worker implementation, dont rely on class variables
previous implementation was racy and bound to issues when more
than 1 file change request happened before worker was triggered.

using C++ move assignment is nice, but LV2 worker is a C API
that does not fit non-POD types very well, leading to awkward
implementations alike before with current + staged + deleted models.

let us "downgrade" to raw pointers, which are C compatible.
since LV2 worker rules are well defined, any crashes or racy
behaviour can be considered host-side bugs.

Signed-off-by: falkTX <falktx@falktx.com>
2023-06-15 17:00:02 +02:00
falkTX 0d7954cf2a General cleanup, no functional changes
Signed-off-by: falkTX <falktx@falktx.com>
2023-06-15 16:42:45 +02:00
Mike Oliphant 41a45ace93 Float interface with NAM core. Workaround for Reaper crash. Use "nam" for model path fle type 2023-05-31 09:26:12 -07:00
Mike Oliphant 10059d327c parameter smoothing 2023-05-11 11:26:37 -07:00
Robin Davies 3aaebfb25e Fix notification port output. 2023-04-19 05:42:06 -04:00
Jon Anderson 1c41097285 Added support to save/restore model file with presets/state 2023-04-02 15:24:32 -05:00
Mike Oliphant 52942dc16b Delete local NAM code 2023-03-23 12:09:33 -07:00
Mike Oliphant 15642132ba remove "rate" from constructor 2023-03-21 09:45:02 -07:00
Mike Oliphant cbf1ad7ccf input and output level control ports 2023-03-13 13:16:10 -07:00
Mike Oliphant 73975aeef6 Load models using LV2 work scheduler 2023-03-13 12:48:35 -07:00
Mike Oliphant 99c709d70d plugin cleanup 2023-03-13 09:52:15 -07:00
Mike Oliphant 819d0a3d2e catch error if NAM model fails to load 2023-03-13 08:51:42 -07:00