Commit Graph

267 Commits

Author SHA1 Message Date
Mike Oliphant 207fb2281e Fixed some warnings 2023-07-04 14:55:17 -07:00
Mike Oliphant dbf00f0ed3 Formatting 2023-07-04 14:53:39 -07:00
Mike Oliphant 33a0c08327 Set currentModelPath in restore() - even if it is null or empty.
Set it to empty and clear the current model if a model fails to load.
2023-07-04 13:03:46 -07:00
Mike Oliphant cde3df4e84 Update to latest NAM Core 2023-06-23 08:07:43 -07:00
Mike Oliphant 0aad7c32b6 Add CMake option for denormal disabling 0.1.0 2023-06-19 10:58:05 -07:00
Mike Oliphant 4d9b5be76f Bump version 2023-06-15 11:45:46 -07:00
Mike Oliphant 4dbe4513fa Merge pull request #34 from moddevices/mod-cleanup
Rework worker and cleanup
2023-06-15 11:39: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 27ac59f9b4 Fix typo
Signed-off-by: falkTX <falktx@falktx.com>
2023-06-15 19:00:56 +02:00
falkTX 9c9b795579 Add doap:Project as type, making ttl validators happy
Signed-off-by: falkTX <falktx@falktx.com>
2023-06-15 17:06:44 +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 f2cecf5491 Merge branch 'main' of https://github.com/mikeoliphant/neural-amp-modeler-lv2 2023-06-11 17:46:27 -07:00
Mike Oliphant 29e0cd2343 Just omit the state section, since it seems to just be for setting defaults and we don't have one 2023-06-11 17:44:56 -07:00
Mike Oliphant fcfd909049 Merge pull request #30 from runiq/fix-build
Fix install target
2023-06-10 08:10:58 -07:00
runiq 6140bceb75 Fix install target
The new `DIRECTORY` line makes installation work with any build directory, not just `build`.

Using a relative `DESTINATION` path honors `CMAKE_INSTALL_PREFIX` instead of hardcoding it to `/usr`.
2023-06-09 22:25:21 +02:00
Mike Oliphant 8ea9157743 Merge branch 'main' of https://github.com/mikeoliphant/neural-amp-modeler-lv2 2023-06-09 08:58:06 -07:00
Mike Oliphant f11b51f510 Set mod:fileTypes to "nam,nammodel" so it works properly in both MOD and Reaper 2023-06-09 08:57:57 -07:00
Mike Oliphant f1077aca82 Update README.md 2023-06-08 11:03:43 -07:00
Mike Oliphant 47f75ccca0 Merge branch 'main' of https://github.com/mikeoliphant/neural-amp-modeler-lv2 2023-06-08 09:30:40 -07:00
Mike Oliphant 8aff7658e8 Use empty string for default model in ttl 2023-06-08 09:30:28 -07:00
Mike Oliphant a34215c669 Update README.md 2023-06-07 16:53:34 -07:00
Mike Oliphant 3a1d771d00 Add files via upload 2023-06-07 16:50:35 -07:00
Mike Oliphant 17baa0a224 Create README.md 2023-06-07 16:48:47 -07:00
Mike Oliphant 75106654c5 Update build.yml 2023-05-31 10:19:33 -07: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 73b6640db7 Update NAM core 2023-05-28 18:15:19 -07:00
Mike Oliphant a3a6520ea5 Update to latest NeuralAmpModelerCore 2023-05-17 09:46:16 -07:00
Mike Oliphant d940642b65 Update README.md 2023-05-13 17:40:09 -07:00
Mike Oliphant 2469ac69af Force link with stdc++fs 2023-05-12 07:45:47 -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
Mike Oliphant 0de36a5d8a ttl updates 2023-05-11 11:08:12 -07:00
Mike Oliphant fa5ba95f75 remove stray bracket 2023-05-10 12:54:17 -07:00
Mike Oliphant 634dd6296f try to fix cmake install dir 2023-05-10 12:47:39 -07:00
Mike Oliphant 937a9f1abd add cpack 2023-05-10 12:40:15 -07:00
Mike Oliphant 54bad8318e fix install 2023-05-10 12:37:53 -07:00
Mike Oliphant b5a6e59d6a add install/pack 2023-05-10 12:36:01 -07:00
Mike Oliphant c92f5e5564 Merge pull request #20 from micahvdm/main
Add file handling for Mod
2023-05-08 18:26:46 -07:00
DivideCo c5451faba1 change to Neural Model
As per @falkTX suggestion
2023-05-08 19:33:52 +02:00
DivideCo a12a9b1253 Add file handling for Mod
This will also require an update to mod-ui and browsepy
2023-05-08 17:31:33 +02:00
Mike Oliphant 239c269ef9 Merge pull request #17 from rerdavies/Output-fixes.-patch_get/state_changed
Output fixes. patch get/state changed
2023-04-23 17:05:53 -07:00
Robin Davies 3aaebfb25e Fix notification port output. 2023-04-19 05:42:06 -04:00
Mike Oliphant 9460178d58 Merge pull request #16 from mikeoliphant/mikeoliphant-patch-1
Update build.yml
2023-04-18 17:56:01 -07:00
Mike Oliphant 7610b197bc Update build.yml 2023-04-18 17:54:52 -07:00
Robin Davies dd7fa42184 Merge pull request #1 from mikeoliphant/main
Sync
2023-04-18 11:56:19 -04:00