Commit graph

82 commits

Author SHA1 Message Date
Jean Pierre Cimalando
b92209de74 Support UI in LV2 2020-09-02 01:44:49 +02:00
Jean Pierre Cimalando
57c8b44cfa Support type atom:Blank for older LV2 hosts 2020-08-14 17:53:43 +02:00
Jean Pierre Cimalando
36f5a62f04 Plugin-level support for host time 2020-08-11 16:04:20 +02:00
Jean Pierre Cimalando
aff0fedb38 Readable LV2 active voices with control port 2020-07-26 14:04:30 +02:00
Paul Ferrand
5d9222c771 Add a readable parameter about the number of active voices 2020-07-26 14:04:30 +02:00
Atsushi Eno
6582285f21
lv2/sfizz.c: options terminator must have both key and value as 0
This fixes the problem with such a condition that a host passes a list of 
options where any option with value `0` precedes the block sizes.

From http://lv2plug.in/ns/ext/options#options:

> To implement this feature, hosts MUST pass an LV2_Feature to the appropriate instantiate method with this URI and data pointed to an array of LV2_Options_Option terminated by an element with both key and value set to zero.
2020-07-18 21:35:06 +09:00
Jean Pierre Cimalando
db6c88f4bd lv2: fix the situation when restore proceeds after a failed path mapping 2020-07-06 14:05:46 +02:00
Paul Ferrand
e38af66e0a
Merge pull request #304 from jpcima/default-files
lv2: default files for sfz and scala
2020-07-06 13:25:33 +02:00
Paul Ferrand
8344810ccb Stub for timePosition atoms
Avoid a warning in the LV2 log for the time being
2020-07-05 14:41:33 +02:00
Paul Ferrand
74e53ca70d Set the max bundle path size lower than the max path size
This silences a GCC warning for snprintf
2020-07-05 11:54:31 +02:00
Paul Ferrand
8e4c3dfbb3 Disable modification checks for the default file and upon restoring
Reenabled if the file was properly restored
2020-07-05 11:53:41 +02:00
Jean Pierre Cimalando
a29b04eb86 Update the restore mechanism, keep the path in case of load failure 2020-07-05 06:11:18 +02:00
Paul Ferrand
abf22c3546 Use a string rather than a file 2020-07-04 14:26:44 +02:00
Paul Ferrand
5b298f10ba "Clear" the synth by loading an empty instrument
For instruments saved without the default sine, this should keep them from sounding
2020-07-04 13:55:07 +02:00
Jean Pierre Cimalando
b23071e5ac lv2: default files for sfz and scala 2020-07-04 12:17:25 +02:00
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