Commit graph

1788 commits

Author SHA1 Message Date
Paul Fd
4bd32d1b52 Use the normalized CC for modulation 2020-02-20 23:36:04 +01:00
Paul Fd
c71a7388c3 Removed a bad behaving assert (some instruments have cc > 256... 2020-02-20 19:10:49 +01:00
Paul Ferrand
d94456fd1c
Merge pull request #70 from jpcima/filters-smooth
Add method to set up initial filter coeffs
2020-02-20 15:28:34 +01:00
Paul Ferrand
8ece037935 Regenerated the filters with faust 2.20.2 2020-02-20 15:24:49 +01:00
Paul Fd
d283392692 Updated the filters 2020-02-19 15:11:13 +01:00
Paul Ferrand
4e9e286213 Removed the now unused release state in Voice 2020-02-19 14:04:59 +01:00
Paul Ferrand
87c3cfaced The voice state matches its envelope release state 2020-02-19 14:04:59 +01:00
Paul Ferrand
f86d93c670 Corrected #63
- The envelope does not sustain if the region has `trigger=release`
- Change the envelope setup to pass the region rather than
individual envelope parameters
2020-02-19 14:04:59 +01:00
Paul Fd
0173aa1e96 Use the pepare() function to initialize filters 2020-02-19 13:57:38 +01:00
Paul Fd
2d94810af2 Added a helper function to modulate using CC values 2020-02-19 13:57:38 +01:00
Jean Pierre Cimalando
21269e9f27 Add method to set up initial filter coeffs 2020-02-19 08:33:21 +01:00
Paul Fd
8d44b85466 Removed the example from the filters modulable
section
2020-02-18 15:12:18 +01:00
Paul Ferrand
3073a5db98 Apply a shorter smoothing on filters 2020-02-18 15:12:18 +01:00
Paul Ferrand
8941f0a800
Sorted the proper array
The wrong array was sorted when trying to find a voice to steal
2020-02-18 11:55:31 +01:00
Paul Ferrand
4d516768fa Log CC event even when we can't enter the callback 2020-02-17 09:18:03 +01:00
Paul Ferrand
cf940980b4
Merge pull request #60 from jpcima/fp-helpers
Add floating point helpers, and the fast ilog2
2020-02-14 12:06:24 +01:00
Jean Pierre Cimalando
dc2e587fb0 Faster PRNG 2020-02-14 07:17:28 +01:00
Jean Pierre Cimalando
db321e6a00 Add floating point helpers, and the fast ilog2 2020-02-13 07:37:06 +01:00
Paul Ferrand
d887f61723 Push the whole file path in included files 2020-02-12 09:11:25 +01:00
alexmitchell
c6cc205425 Stop sfizz from crashing host (ardour) if no SFZ file is loaded and project is reloaded 2020-02-12 08:57:04 +01:00
Paul Ferrand
a338fdaa7b Cleaned up a miscomputed debug message 2020-02-12 00:37:14 +01:00
Paul Ferrand
b12e4d372c enableLogging() had no effect 2020-02-11 21:51:06 +01:00
Paul Ferrand
498eee2dfc Just copy if gain is null 2020-02-11 14:31:52 +01:00
Paul Ferrand
3a9fd31a0f The modulated gain is added to the base one 2020-02-11 09:33:16 +01:00
Paul Ferrand
d353ec1463 Removed cassert 2020-02-11 09:30:36 +01:00
Paul Ferrand
00c3af6881
Merge pull request #56 from paulfd/width-position
Add pan width and position using the new helpers
2020-02-11 08:14:56 +01:00
Paul Fd
9da95b5092 Add the SSE version (to test but it's not faster) 2020-02-10 22:25:17 +01:00
Paul Fd
186c4f6b53 Changed the width/position process again 2020-02-10 21:28:31 +01:00
Paul Fd
754a7f8be7 Changed the width helpers ; need SIMD version still 2020-02-10 21:23:30 +01:00
Paul Ferrand
d74777280a Changed the signature of the pan/width/position snippets 2020-02-10 19:36:24 +01:00
Jean Pierre Cimalando
e14f85df0e Optimize clamp 2020-02-10 15:30:28 +01:00
Paul Ferrand
33cc4a6518 Changes to the mono and stereo processes
- Corrected possible issues in the computation
- Removed an unnecessary copy in the mono process
- Trying to make the processes clearer
2020-02-10 14:16:55 +01:00
Paul Ferrand
35d62280a7
Merge branch 'develop' into width-position 2020-02-10 13:23:41 +01:00
Paul Ferrand
d26acd023f
Merge pull request #53 from paulfd/initial-filter-processing
Initial filter processing
2020-02-10 12:53:26 +01:00
Paul Ferrand
56e0212cba Adapt the processing to mono/stereo 2020-02-10 11:12:46 +01:00
JP Cimalando
8f05fe222e Merge pull request #52 from jpcima/detect
Detect SIMD availability from compiler
2020-02-10 00:58:55 +01:00
Paul Ferrand
67e549b14b Removed an unused span 2020-02-10 00:51:31 +01:00
Paul Ferrand
25068e51bf Missed a normalization 2020-02-10 00:50:09 +01:00
Jean Pierre Cimalando
55477486fe Rename SfizzSIMDSourceFilesCheck 2020-02-10 00:49:02 +01:00
Paul Ferrand
c55e578c15 Use the helper with a multiplication 2020-02-10 00:18:36 +01:00
Paul Ferrand
ccbcf4a4c7 Remove a helper; no clamping for normalizePercent 2020-02-10 00:18:11 +01:00
Paul Fd
04779965b8 Remove unused spans 2020-02-09 23:52:30 +01:00
Paul Fd
3c14e15a16 Use the CC switch on the initial width and position with proper scaling 2020-02-09 23:51:23 +01:00
Paul Fd
58a5e87df5 Position and width correctly map their own cc modulation 2020-02-09 23:46:00 +01:00
Paul Fd
06de588308 Changed the M/S processing to use the pan/width helpers 2020-02-09 23:39:33 +01:00
Paul Fd
9783e393da Added a width snippet that uses the pan LUT 2020-02-09 23:38:50 +01:00
Paul Fd
992d20782f Changed the way the pan CC is computed 2020-02-09 23:05:02 +01:00
Paul Fd
e8b6692d77 Changed to the pan helper 2020-02-09 23:02:19 +01:00
Paul Fd
7e665f28a1 Disable the SIMD accelerator on pan 2020-02-09 22:54:53 +01:00
Paul Fd
3e58a36b61 Multiply pan on the channels 2020-02-09 22:52:52 +01:00