Commit graph

2245 commits

Author SHA1 Message Date
JP Cimalando
68712140d6
Merge pull request #385 from paulfd/offset-ccs
offset_cc were not taken into account
2020-08-21 00:54:03 +02:00
Paul Ferrand
c61ab364af
Merge pull request #380 from paulfd/end-disabling-regions
End disabling regions
2020-08-21 00:25:30 +02:00
Paul Ferrand
d649cec10b offset_cc were not taken into account 2020-08-21 00:24:22 +02:00
Paul Ferrand
f6f1e68f18 Sustain tweaks:
- Separate the sustain value from the sustain threshold after which the envelope goes from decay to sustain
- If the sustain value is set to 0, the envelope is freerunning
2020-08-19 19:13:50 +02:00
Paul Ferrand
f6e0bb8b3f Add special cases for the rate transformation in envelopes
For increasing linear ramps, a 0s ramp is an increment of 1.0
For decaying exponential ramps, a 0s ramp is a multiplicator of 0.0f
2020-08-19 19:12:33 +02:00
Paul Ferrand
66705f54c3
Merge pull request #379 from paulfd/release-loop-mode
Set loop_mode to one_shot for release regions
2020-08-19 13:20:12 +02:00
Paul Ferrand
66bdaafbe7 Only override the loop mode if unset 2020-08-19 12:50:02 +02:00
Paul Ferrand
1cf5e8d571 Set loop_mode to one_shot for release regions 2020-08-19 12:36:07 +02:00
Paul Ferrand
fae0cda971 Correct a compilation woe 2020-08-19 12:12:48 +02:00
Paul Ferrand
17568510ac Disable with sampleEnd == 0 2020-08-19 12:12:48 +02:00
Paul Ferrand
cef44cbdb6 Disabled regions don't need to take up polyphony
The tests were a bit flaky and the did not seem justified by any behavior in e.g. ARIA
The new tests cover a similar situation which is validated in sforzando
2020-08-19 11:08:18 +02:00
Paul Ferrand
5c61298f08 A region is disabled by end=-1 2020-08-19 11:07:12 +02:00
Paul Ferrand
80aee5a9cd Add a helper for playing voices 2020-08-19 11:07:12 +02:00
JP Cimalando
95165ca650
Merge pull request #381 from jpcima/volume-matching
Volume matching
2020-08-19 10:49:59 +02:00
Jean Pierre Cimalando
f217c90619 Update tests 2020-08-19 07:18:36 +02:00
Jean Pierre Cimalando
e5ec42f21b Fix a problem in SIMD helper declarations 2020-08-19 06:42:13 +02:00
Jean Pierre Cimalando
dfc9355bad Match the volumes to ARIA, add CC7 and CC10 2020-08-19 06:42:13 +02:00
JP Cimalando
cc40e7ad3d
Merge pull request #377 from paulfd/sustaincc-fixes
The sustain cc is still a CC and has to be registered in the regions
2020-08-19 03:57:58 +02:00
JP Cimalando
d442812604
Merge pull request #378 from paulfd/loop-start-0
Explicitely signify if a loop if present
2020-08-19 03:44:23 +02:00
Paul Ferrand
42da5ff810
Merge pull request #358 from paulfd/simd-clamp-and-within
Additional SIMD helpers
2020-08-19 01:02:04 +02:00
Paul Ferrand
da75095a9b Explicitely signify if a loop if present
Before we tried to "guess", which causes problems if a loop spans the entire file
2020-08-18 23:09:03 +02:00
Paul Ferrand
05de17e32e The sustain cc is still a CC and has to be registered in the regions 2020-08-18 22:36:00 +02:00
JP Cimalando
be7ff64a17
Merge pull request #376 from jpcima/adsr-rate
Adjust the ADSR exponential rate
2020-08-18 22:16:54 +02:00
Jean Pierre Cimalando
12e2c95f5c Set the threshold of ADSR release to -80 dB 2020-08-18 19:43:36 +02:00
Jean Pierre Cimalando
4c0a7f6dfd Adjust the ADSR exponential rate 2020-08-18 18:15:20 +02:00
JP Cimalando
02e4f0e468
Merge pull request #361 from jpcima/opcodes-light
Move template functions of Opcode.h to implementation side
2020-08-18 00:45:07 +02:00
JP Cimalando
da23ab281a
Merge pull request #371 from jpcima/amp-veltrack
Fix amp_veltrack
2020-08-18 00:44:51 +02:00
Jean Pierre Cimalando
be252361b6 Update existing tests and add new ones 2020-08-17 16:31:57 +02:00
Jean Pierre Cimalando
06d111cbd4 Do not require a curve for the concave case (test helper) 2020-08-17 16:01:58 +02:00
Jean Pierre Cimalando
f5d61fe183 Fix amp_veltrack 2020-08-17 15:31:58 +02:00
JP Cimalando
ebe5339ca3
Merge pull request #363 from jpcima/lv2-blank
Support type atom:Blank for older LV2 hosts
2020-08-14 17:57:29 +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
aba8d966ab Include <cmath> in FileMetadata 2020-08-13 22:50:20 +02:00
Jean Pierre Cimalando
ad2dda3595 Round audio file detune to the exact cent 2020-08-13 22:48:05 +02:00
Jean Pierre Cimalando
0d6195a42e No lint for bugprone-macro-parentheses 2020-08-13 19:00:29 +02:00
Jean Pierre Cimalando
6cc160b9ff Move template functions of Opcode.h to implementation side 2020-08-13 18:38:13 +02:00
JP Cimalando
09341723c3
Merge pull request #338 from jpcima/mm+lfo
LFO
2020-08-13 13:40:07 +02:00
Paul Ferrand
73b1ed961d Add LFO regression tests
The reference files have been visually validated

Tweaks for the LFO regression test
2020-08-13 06:49:38 +02:00
Jean Pierre Cimalando
d47bca6f4e Allow the LFO tool to set options and output FLAC 2020-08-13 04:10:22 +02:00
Jean Pierre Cimalando
b46076ba3b Command-line arguments for sfizz_plot_lfo 2020-08-13 03:34:03 +02:00
Paul Ferrand
b71a2fb94b Explicitely compute the step out of the loop 2020-08-13 02:48:31 +02:00
Jean Pierre Cimalando
3b1ce0e164 Implement the correct LFO fade in 2020-08-13 02:48:31 +02:00
JP Cimalando
d91ca3ddb6
Merge pull request #359 from jpcima/vst-info
Add VST info panel
2020-08-12 20:28:25 +02:00
Paul Ferrand
c629f6803b Some more tests 2020-08-12 19:40:33 +02:00
Jean Pierre Cimalando
9d8ebaf718 Add VST info panel 2020-08-12 19:23:50 +02:00
Paul Ferrand
c034fd3e30 Add an allWithin SIMD helper 2020-08-12 17:05:08 +02:00
Paul Ferrand
ff8ac64d61 Add clamping SIMD helper 2020-08-12 17:05:08 +02:00
Jean Pierre Cimalando
f94e868155 Elimination of some warnings 2020-08-12 07:46:54 +02:00
JP Cimalando
b914e19491
Merge pull request #347 from jpcima/hq-wavetables
Higher quality wavetable mipmaps
2020-08-12 01:16:05 +02:00
Paul Ferrand
88ea89c5fb Initialize the LFOs in sfizz_plot_lfo 2020-08-11 23:46:08 +02:00