Commit graph

67 commits

Author SHA1 Message Date
Jean Pierre Cimalando
a293ccdc09 lv2: implement use of the freePath feature 2020-07-04 10:49:13 +02:00
Jean Pierre Cimalando
d019bb1a93 lv2: add state path mapping 2020-07-04 10:10:49 +02:00
Jean Pierre Cimalando
9d49794704 Set a better sfz file default 2020-06-20 16:29:50 +02:00
Jean Pierre Cimalando
846dd6d23f Load a default SFZ if path empty 2020-06-20 13:13:40 +02:00
Jean Pierre Cimalando
90f60397a2 carla LV2 workaround: rename the scala file URI 2020-06-20 00:28:33 +02:00
Paul Ferrand
c7fff6b27a Change back the default number of voices to 64 2020-06-15 02:06:55 +02:00
Jean Pierre Cimalando
ba0716e7e1 Make notify_frame local to run() 2020-06-12 21:52:45 +02:00
Jean Pierre Cimalando
f15ed45035 Construct work atoms using a forge 2020-06-12 21:41:50 +02:00
Jean Pierre Cimalando
ff34bb5ccb Fix LV2 problems with the atom sequence
- pop the frame when finished writing
- add safety checks in case write space is short
2020-06-12 21:41:50 +02:00
Jean Pierre Cimalando
2895a2bfee Implement stretch tuning in LV2 2020-06-11 22:37:08 +02:00
Paul Ferrand
9cd10a3dac 2 changes:Store the scala file path in the structure in all possible codepathsReactivate the periodic file checking after loading a scala file 2020-05-29 16:43:13 +02:00
Jean Pierre Cimalando
dfd10a0977 Add the tuning control 2020-05-29 12:33:48 +02:00
Paul Ferrand
893a9b312d Simplify the checks 2020-05-13 23:28:21 +02:00
Paul Ferrand
ff5a218f87 Use int on oversampling to match the current api 2020-05-13 22:13:30 +02:00
Paul Ferrand
2c5cc017cd use C struct init 2020-05-13 21:56:22 +02:00
Paul Ferrand
7d98349e16 Internally check that a change is needed or not 2020-05-13 20:34:22 +02:00
Paul Ferrand
cced103479 Convert the oversampling to next power of 2 2020-05-13 20:34:22 +02:00
Paul Ferrand
a970fc0698 Changes to the worker messages
Checking for file changes or loading disables future file change checks
The worker only responds to reactivate the file change checks
Upon parameter change, the new value is stored immediately so only one message is sent to the worker
Removed the changing_state bool and let the sfizz internal lock protect the state
2020-05-12 23:21:03 +02:00
Paul Ferrand
725bda2af8 Corrected a false error message when changing the number of voices 2020-05-07 13:26:05 +02:00
Paul Ferrand
1601ff6afe Do not change parameters unnecessarily 2020-05-07 13:25:47 +02:00
Paul Ferrand
646b71cb43 Set a default polyphony of 256 2020-05-05 23:18:08 +02:00
Paul Ferrand
5ee3e92848 Handle 0-vel noteons as noteoffs 2020-05-05 22:35:37 +02:00
Paul Fd
e068ec77e5 Add the panic to the LV2 for good measure 2020-03-16 09:44:48 +01:00
Jean Pierre Cimalando
30b579feb4 Add stdatomic.h compatibility for MSVC 2020-02-25 15:37:49 +01:00
Jean Pierre Cimalando
5c509dfd46 Add the basic MIDNAM support for LV2 2020-02-25 15:12:23 +01:00
Paul Ferrand
9eddd5f649 Corrected a bug where files wouldn't auto-reload
The changing_state check is probably redundant if there
is a single worker thread, but just in case...
2020-02-12 00:37:14 +01:00
Paul Ferrand
7377bb62a8 Added a configure switch and license information
for the distribution of the LV2 plugin
2020-01-30 10:08:38 +01:00
Paul Ferrand
56be9c8b7c Updated licenses and copyright date 2020-01-25 10:13:33 +01:00
Paul Ferrand
89ebdb9da2 Added eols 2020-01-05 11:47:01 +01:00
Paul Ferrand
feb1a629c9 Explicit cast of the string length 2020-01-05 00:15:47 +01:00
Paul Ferrand
2c754baf4e Removed unused headers and a useless VLA 2020-01-04 16:34:13 +01:00
Paul Ferrand
7e8baaf411 Removed the logging which is a bit too verbose 2020-01-03 15:19:39 +01:00
Paul Ferrand
b4857e2e1b Added a check that we're not already loading
The whole "Changing state thing" could use atomic flags
2020-01-03 14:54:06 +01:00
Paul Ferrand
f02f96cad5 Moved the file modification checks in the library
This allows to transparently check the included files
2019-12-27 18:41:26 +01:00
Paul Ferrand
8806ec2215 Added a periodic check for changes in the sfz file 2019-12-27 17:30:26 +01:00
Paul Ferrand
6e37cdda6d Put the file loading cleanup in a function 2019-12-27 17:30:26 +01:00
Paul Ferrand
19289e1fc4 Added a cached file modification time 2019-12-27 17:30:26 +01:00
Paul Ferrand
c0f7b4f8b3 Enable manual reloading of an sfz file 2019-12-27 17:30:26 +01:00
Paul Ferrand
316fed3c37 Create the plugin instance at the correct place
Patch by @falkTX
2019-12-26 23:41:07 +01:00
Paul Ferrand
8e39ffc18e Remove the channels from the inner engine 2019-12-23 01:25:20 +01:00
Paul Ferrand
2073c9abdc Wrap the boolean function in parens 2019-12-17 18:48:19 +01:00
Paul Ferrand
aba9c15e50 Parse but ignore the sample rate changes from options 2019-12-15 22:05:00 +01:00
Paul Ferrand
a6fb656209 Added a response to the options parsed 2019-12-15 21:54:13 +01:00
Paul Ferrand
f4595d278c Corrected the LV2_DEBUG macro in release mode 2019-12-15 21:11:25 +01:00
Paul Ferrand
da6865d615 Bug when loading a bad file
The plugin was left in "changing_state" forever
2019-12-15 02:29:59 +01:00
Paul Ferrand
f13778e279 Added a todo item 2019-12-15 00:43:52 +01:00
Paul Ferrand
539f8d16bf Make the freewheeling check into its own method 2019-12-15 00:39:16 +01:00
Paul Ferrand
f473539fb6 Corrected a bug introducted in f012d45a48 and cleaned up the sample rate option handling.
jalv version 1.6.0 as present in ubuntu repositories sent an integer value sample rate in a float atom; this does not happen in the latest jalv release
2019-12-15 00:07:08 +01:00
Paul Ferrand
8d48c73b48 Added logging on the background threads rather than the audio thread; added changing_state flag to the file switch
Added a check for changing state in the file uri atom handle
2019-12-14 00:42:06 +01:00
Paul Ferrand
55e938642d Recomment the verbose bend message 2019-12-13 13:55:55 +01:00