Commit graph

571 commits

Author SHA1 Message Date
Paul Ferrand
5dfeb7d6dc Refactor the name for the root directory to act more as a default path 2019-12-15 16:18:36 +01:00
Paul Ferrand
a6e9666f92 Disable the <control> unicity check 2019-12-15 02:43:08 +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
a70316c24c Translate the channel for noteOn at the right place 2019-12-15 02:20:58 +01:00
Paul Ferrand
1fe8932851 Move the methods of MidiState to their own file 2019-12-15 02:20:46 +01:00
Paul Ferrand
17bfcf2567 Added a more verbose assertion trap 2019-12-15 02:13:10 +01:00
Paul Ferrand
965ab85f6f Corrected the assert in pitchBendEvent 2019-12-15 02:12:19 +01:00
Paul Ferrand
b492e05b17 Added midi state tests 2019-12-15 02:05:53 +01:00
Paul Ferrand
dd14d7a9ae Big refactor of midi state to integrate channels 2019-12-15 02:05:43 +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
2bbde74cac HistoricalBuffer now uses a Buffer backend for accountability 2019-12-14 00:43:22 +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
f5c095ebda Trying to pinpoint the segfault in JALV but it seems it's not in sfizz 2019-12-14 00:00:55 +01:00
Paul Ferrand
722073b670 Don't bother if the voice is not playing 2019-12-13 17:08:34 +01:00
Paul Ferrand
743b116f24 Added tests for d60a851fc0 2019-12-13 14:21:27 +01:00
Paul Ferrand
dcc1128114 Removed debug messages 2019-12-13 14:16:19 +01:00
Paul Ferrand
e04bf7e9b8 Use rounding instead of truncating for a more natural behavior of the quantization at the edges of the relevant range 2019-12-13 14:13:46 +01:00
Paul Ferrand
d60a851fc0 Corrected a bug where the value of the last event was not properly quantized after a call to getQuantizedBlock 2019-12-13 14:00:25 +01:00
Paul Ferrand
c763e819bb Add a bend step factor in the voice 2019-12-13 13:59:49 +01:00
Paul Ferrand
5d94521af9 Clamp the bend range to have a symmetry with respect to 0 2019-12-13 13:56:19 +01:00
Paul Ferrand
55e938642d Recomment the verbose bend message 2019-12-13 13:55:55 +01:00
Paul Ferrand
bfb9b80724 Corrected a bug where the pitch shift due to the note displacement with respect to the key center was applied twice 2019-12-13 13:23:03 +01:00
Paul Ferrand
87ee6e1d74 Corrected a bug from the pitch bend normalization which led to only bending "up" 2019-12-13 13:10:33 +01:00
Paul Ferrand
e1be03f0e7 Removed a warning from GCC 2019-12-13 13:10:11 +01:00
Paul Ferrand
8461d1b4f3 Corrected a stupid assertion... 2019-12-13 13:09:51 +01:00
Paul Ferrand
90d267c895 Dispatching pitch bend messages in the LV2 code 2019-12-13 13:09:38 +01:00
Paul Ferrand
f012d45a48 Corrected a bug where the sample rate would be incorrectly set 2019-12-13 13:09:20 +01:00
Paul Ferrand
862dfca73e Added the pitch envelope on data generators 2019-12-13 11:10:50 +01:00
Paul Ferrand
cc04f21a05 Dispatch and record pitch bends in the Voice 2019-12-13 10:20:31 +01:00
Paul Ferrand
b9bee27ef3 Added a precision in the API documentation 2019-12-13 10:19:25 +01:00
Paul Ferrand
5e1419ffe4 Dispatch the pitch bends to the midi state for memory 2019-12-13 10:16:07 +01:00
Paul Ferrand
32d53a1b0a Benchmarking the envelopes 2019-12-13 09:34:36 +01:00
Paul Ferrand
4e26852713 Added a multiplicative envelope and associated tests 2019-12-13 01:55:24 +01:00
Paul Ferrand
72f141aecb Consolidate the envelopes 2019-12-12 19:24:09 +01:00
Paul Ferrand
055f233d88 Added a new quantized envelope 2019-12-12 18:27:18 +01:00
Paul Ferrand
75cf7dee96 Cleaned up the log messages 2019-12-11 12:07:12 +01:00
Paul Ferrand
2cb11c8be7 Corrected a bug where buffers were not properly counted when copy constructed 2019-12-10 08:20:55 +01:00
Paul Ferrand
7a70fac564 Missing semicolon 2019-12-10 08:20:29 +01:00
Paul Ferrand
ab07b548fe Added a way to get an envelope with quantized jumps 2019-12-10 00:01:15 +01:00
Paul Ferrand
e150c644f1 Dispatch bend messages to the voices 2019-12-09 23:41:06 +01:00
Paul Ferrand
db3b85e941 Added a helper to normalize bend ranges 2019-12-09 23:24:25 +01:00
Paul Ferrand
a1282ff193 Added support for parsing bend ranges 2019-12-09 23:24:14 +01:00
Paul Ferrand
8fecef27ca Added a benchmark for SIMD divide 2019-12-09 19:27:31 +01:00
Paul Ferrand
3a320914a5 Added a divide SIMD helper 2019-12-09 19:22:50 +01:00
Paul Ferrand
19c3eabb6c Moving code around 2019-12-09 18:50:29 +01:00
Paul Ferrand
fc72cd884e Cosmetics 2019-12-09 18:37:45 +01:00
Paul Ferrand
66e916db19 Added a feedback for unknown opcodes in the C wrapper and the LV2 synth 2019-12-08 21:43:15 +01:00
Paul Ferrand
c6a9ba88da API BREAK: MIDI channels are now 0-based 2019-12-08 21:11:54 +01:00