Commit graph

1719 commits

Author SHA1 Message Date
Jean Pierre Cimalando
38ada285f0 Change note velocity, CC value, and aftertouch arguments to int 2021-04-15 21:43:57 +02:00
Paul Ferrand
28727ce877
Merge pull request #831 from paulfd/silence-files
Small, all zero files are replaced by *silence
2021-04-15 18:54:22 +02:00
Jean Pierre Cimalando
1bbd88607d Fix switch case without break 2021-04-15 18:11:03 +02:00
Jean Pierre Cimalando
7b6eb953c6 Direct OSC updates into the regions 2021-04-15 17:17:21 +02:00
Jean Pierre Cimalando
dee8934b9e Allow OpcodeSpec to process enums too 2021-04-15 17:02:38 +02:00
Jean Pierre Cimalando
eb6716181f Ability for OpcodeSpec to process number values 2021-04-15 15:49:34 +02:00
Paul Fd
16a790a33d Small, all zero files are replaced by *silence 2021-04-15 11:02:04 +02:00
Paul Ferrand
49ebc8f61c
Up the default sample quality 2021-04-14 18:02:45 +02:00
Paul Fd
2d6b99e1ab Deprecate the internal oversampling factor
- Removed it completely from the library
- Kept the API for future work
2021-04-14 08:21:12 +02:00
Jean Pierre Cimalando
9e15fa5e7c Prevent the indices from overflowing 2021-04-14 01:26:26 +02:00
Jean Pierre Cimalando
8809a9db97 Pitch envelope in cents, bend_smooth linear in pitch 2021-04-13 20:45:06 +02:00
Jean Pierre Cimalando
b76d1682ef Add high-precision API for note, aftertouch and bend 2021-04-12 16:42:39 +02:00
Jean Pierre Cimalando
94be9902c1 Sample quality controls in UI 2021-04-10 20:52:16 +02:00
Paul Fd
b364d19930 Ensure that transition delta is never flushed to 0 2021-04-10 15:49:11 +02:00
Paul Fd
edd0b8f04e Always "fast-off" voices that have no samples left
If anything, it will cut the release time on an ended sample.
2021-04-10 15:48:40 +02:00
Jean Pierre Cimalando
e8f1160988 Remove old NOLINTs [ci skip] 2021-04-10 14:07:01 +02:00
Jean Pierre Cimalando
392dd069a5 Add cutoff_polyaft 2021-04-10 12:40:54 +02:00
Jean Pierre Cimalando
7d58b3d5da Protect frame values against signed/unsigned casts 2021-04-09 21:42:43 +02:00
Jean Pierre Cimalando
0b8f673a38 Add the continue statement in case of failed load 2021-04-09 21:17:15 +02:00
Jean Pierre Cimalando
1bd32a533f Update tunings to e8aab5b 2021-04-06 14:34:50 +02:00
Jean Pierre Cimalando
97597123c6 Update tunings to 0aec52c 2021-04-06 14:22:22 +02:00
Jean Pierre Cimalando
e6e28a6a44 Update tunings to 0ba372f 2021-04-06 14:14:04 +02:00
Jean Pierre Cimalando
939b93107b Update tunings to d9660ef 2021-04-06 14:08:59 +02:00
Jean Pierre Cimalando
c820484e0f Add missing CCs forgotten from the used set 2021-04-05 18:18:27 +02:00
Paul Ferrand
0df5a379a2
Merge pull request #771 from paulfd/ordered-events-2
Out-of-order API update
2021-04-05 14:29:39 +02:00
JP Cimalando
77c403186c
Merge pull request #775 from jpcima/build-side-num-ccs
Make a variable SFIZZ_NUM_CCS available to cmake
2021-04-05 14:20:20 +02:00
Paul Fd
cfb9eae68f Test and API doc update w.r.t. ordering
Updated tests mostly to call on `renderBlock()` before testing things like number of active voices and such, in case we buffer/reorder events in the library later on.
2021-04-05 14:13:34 +02:00
Paul Ferrand
254d00768e
Merge pull request #761 from paulfd/osc-region-change
Updating regions through OSC
2021-04-05 00:15:07 +02:00
Paul Fd
993620252b Support polyphonic aftertouch basics 2021-04-04 23:07:43 +02:00
Paul Fd
0c1687b5fa Voices can also be offed by note-off events
Also add a check to see if a voice is already released in checkOffGroup,
preventing and endless recursion
2021-04-04 22:24:43 +02:00
Paul Fd
f189292a60 CC events can also off notes
Same as note-on events
2021-04-04 21:54:19 +02:00
Paul Fd
7f02c413c1 Correct the sostenuto/sustain logic
Only release if the received CC is one of the above AND if the region is not a one-shot
2021-04-04 21:23:05 +02:00
Paul Fd
b3ff1469ed Correct how sampleEnd is computed
sampleSize_ is (end - offset) and is used to wrap back the sample.
2021-04-04 21:22:22 +02:00
Paul Fd
ac27e060ba Apply velocity-related note gain to a CC-triggered note
if the velocity has been replaced with `sw_vel=previous`
2021-04-04 17:54:08 +02:00
Paul Fd
78e20c68bf Override the velocity in the startVoice method 2021-04-04 17:26:40 +02:00
Paul Fd
65353486a9 Use noteStates to check for the note status in the midi state 2021-04-04 17:22:09 +02:00
Jean Pierre Cimalando
bc872997ff Make a variable SFIZZ_NUM_CCS available to cmake 2021-04-04 15:58:25 +02:00
Jean Pierre Cimalando
bbac05281d Update InstrumentDescription to receive the image name 2021-04-03 23:51:29 +02:00
Jean Pierre Cimalando
53a5e989e5 Pull model for current CC and switch 2021-04-03 23:26:14 +02:00
Jean Pierre Cimalando
d729ba66e6 Consistency in /sw/last/current replies 2021-04-03 23:25:19 +02:00
Jean Pierre Cimalando
d03495d568 Handle message /cc/changed 2021-04-03 23:25:19 +02:00
Jean Pierre Cimalando
9d3e365f2e Instrument description in VST and LV2 2021-04-03 23:25:19 +02:00
Jean Pierre Cimalando
6fc69520c4 Fix an OSC pattern 2021-04-03 23:25:19 +02:00
redtide
49c5be7f57 Support DecentSampler ui bgImage 2021-04-03 21:10:27 +02:00
JP Cimalando
8f33c90ffb
Merge pull request #769 from redtide/image-opcode
image opcode
2021-04-03 20:41:17 +02:00
redtide
0c4f136874 Added image opcode 2021-04-03 19:44:40 +02:00
Paul Fd
2c31855137 Cache ids for faster lookup 2021-04-02 15:08:15 +02:00
Paul Fd
fd8311de7f Add missing chanaft connections to lfos 2021-04-02 14:01:39 +02:00
Paul Fd
78db0b73db Cache the region pitch keycenter at voice start 2021-04-02 13:35:57 +02:00
Jean Pierre Cimalando
68b74cd237 New fixes for clang-tidy 2021-04-01 17:08:26 +02:00