Commit Graph

33 Commits

Author SHA1 Message Date
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
falkTX 3710dda839 Move fast tanh enable call to static plugin init
Signed-off-by: falkTX <falktx@falktx.com>
2023-06-15 16:36:31 +02:00
Mike Oliphant 420cd4596d Fix logger initialization to ensure correct operation if logging is not supported 2023-05-31 09:45:10 -07: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 207777ec3f only do smoothing if we need to, and keep db conversion out of the sampe loop 2023-05-11 11:52:06 -07:00
Mike Oliphant d8193de9eb do smoothing per-sample 2023-05-11 11:29:30 -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
Mike Oliphant 6a1b7bfd2d Additional checks for LV2 mapPath and freePath supprt 2023-04-11 08:26:40 -07:00
Mike Oliphant 362b4b530d Use lv2 freePath to free path data 2023-04-10 11:21:45 -07:00
Mike Oliphant 6b21e67f88 Fixed incorrect model path size. 2023-04-10 10:41:28 -07:00
Mike Oliphant b12aec0876 Enable model loudness normalization. Update NeuralAmpModelerCore. 2023-04-10 10:26:01 -07:00
Mike Oliphant 3a6abca1e6 lv2 error on failed model load 2023-04-10 10:17:19 -07:00
Mike Oliphant 51f49b5fc1 Add back path free calls on linux only 2023-04-08 10:54:35 -07:00
Mike Oliphant 022888bc6e Merge branch 'main' of https://github.com/mikeoliphant/neural-amp-modeler-lv2 2023-04-03 15:10:48 -07:00
Mike Oliphant 43f12ad73b Re-enable fast tanh approximation 2023-04-03 15:10:33 -07:00
Mike Oliphant a7a90f1e6a Remove path free() calls. 2023-04-03 10:03:02 -07:00
Jon Anderson 1c41097285 Added support to save/restore model file with presets/state 2023-04-02 15:24:32 -05:00
Mike Oliphant 95ca0ad631 Add floating point denormal code 2023-03-24 11:00:51 -07: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
Mike Oliphant fe577ea342 Using atom:Path to get model to load from DAW 2023-03-11 13:23:35 -08:00
Mike Oliphant 100d344e3d Trying to get atom:Path to work for model laoding 2023-03-11 10:53:05 -08:00
Mike Oliphant 3cc92ace6a remove denorm code 2023-03-09 09:27:11 -08:00
Mike Oliphant 2eff99c3ff mono i/o 2023-03-09 09:10:13 -08:00
Mike Oliphant 6f2f7921cc Initial commit 2023-03-08 17:19:08 -08:00