Commit graph

653 commits

Author SHA1 Message Date
Paul Ferrand
bc4d88b55a Clang-tidy 9 errors 2020-03-30 20:32:42 +02:00
Paul Ferrand
a1cacea8fb Explicit move to null the return pointer 2020-03-30 20:32:27 +02:00
Paul Ferrand
629a2ae8a8 Forwarding on SpanHolder 2020-03-30 20:16:43 +02:00
Paul Ferrand
1f7786cc74 Be explicit in the filter/EQ processes 2020-03-30 20:07:54 +02:00
Paul Ferrand
0da5c43bb5 Remove the helpers in the midi class and be explicit in the process 2020-03-30 19:58:32 +02:00
Paul Ferrand
eac0c0e804 Refactor the processes in chunks 2020-03-30 19:13:35 +02:00
Paul Ferrand
a337cf5a15 Require explicit cast to bool 2020-03-30 19:11:39 +02:00
Paul Ferrand
9c17201c63 Avoid shared pointers and get a span "pointer" directly from the buffer pool 2020-03-30 15:14:33 +02:00
Paul Ferrand
e54c27b1f2 Warning on gcc 4.9 for the array initializer 2020-03-29 23:35:43 +02:00
Paul Ferrand
e13456d41d Try to solve windows builds 2020-03-29 23:35:22 +02:00
Paul Ferrand
3ceee27c0a Move the modifiers in the midistate 2020-03-29 22:55:14 +02:00
Paul Ferrand
507ddc8e01 Reworking the modifiers separately 2020-03-29 20:35:15 +02:00
Paul Ferrand
9e824df346 Homogeneize the treatment of percentage defaults and values 2020-03-29 19:32:27 +02:00
Paul Ferrand
ca2ee8dc58 Voice cleanups 2020-03-29 19:26:08 +02:00
Paul Ferrand
97234177a1 Use modifiers for panning/width 2020-03-29 19:22:19 +02:00
Paul Ferrand
d59d29c72b Use the full modifier on amplitude and crossfades 2020-03-29 19:08:47 +02:00
Paul Ferrand
394512183a Move crossfades to SfzHelpers 2020-03-29 18:50:54 +02:00
Paul Ferrand
16472b4ef9 Reduce the max number of buffers 2020-03-29 18:09:48 +02:00
Paul Ferrand
8ed3d16b8c Use the bufferpool in the voices 2020-03-29 18:09:39 +02:00
Paul Ferrand
c1266e5d70 Added debug introspection about the max number of buffer used 2020-03-29 17:54:47 +02:00
Paul Ferrand
1a55b42bd7 Use the bufferpool in the synth 2020-03-29 17:37:40 +02:00
Paul Ferrand
5e8cb7de0a Improve the bufferpool 2020-03-29 17:37:30 +02:00
Paul Ferrand
7cb92e05d2 Use an intermediate method to set the sample rate and block size for the resources 2020-03-29 17:16:29 +02:00
Paul Ferrand
406b7a08d7 Add a bufferpool to the resources 2020-03-29 17:12:52 +02:00
Paul Ferrand
4b4dea97e1 Don't zero the modulation span 2020-03-29 17:12:25 +02:00
Paul Ferrand
af05e0cbde Store the normalized CC modifier 2020-03-29 17:11:50 +02:00
Paul Ferrand
42fa89ab5a Tentative replacement of the amplitude envelope 2020-03-29 16:29:12 +02:00
Paul Ferrand
612265ebb5 If an event is registered at some delay, shadow the previous value 2020-03-29 16:08:55 +02:00
Paul Ferrand
9263488882 Get the event list from the midi state 2020-03-29 15:52:21 +02:00
Paul Ferrand
9f8b275712 Don't dispatch on template for the MidiEventComparator 2020-03-29 14:01:21 +02:00
Paul Ferrand
e2f0ca754e Sorted elements in ccEvents 2020-03-29 13:59:48 +02:00
Paul Ferrand
0f4c32b5a8 Corrected a bug in the equalizer reservation method 2020-03-29 13:39:43 +02:00
Paul Ferrand
3f5a86e067 Attempt to reserve memory on samplePerBlock change 2020-03-29 13:34:26 +02:00
Paul Ferrand
7b6c1c8106 Move advanceTime to the end of the callback 2020-03-29 13:30:20 +02:00
Paul Ferrand
1d74968bf0 Clear cc events on advanceTime 2020-03-29 13:27:47 +02:00
Paul Ferrand
fc05ca0af0 Clean up the reset* APIs 2020-03-29 13:20:30 +02:00
Paul Ferrand
1215067dcf Use vectors of events in the midi state 2020-03-29 13:13:19 +02:00
Paul Ferrand
27ceeb8e1a Track noteoffs 2020-03-29 13:08:37 +02:00
Paul Ferrand
26a9ab2c70 Handle note_polyphony and note_selfmask 2020-03-29 01:12:52 +01:00
Paul Ferrand
5ef9d6e996 the handleGroupOpcode logic was flawed 2020-03-29 00:49:55 +01:00
Paul Ferrand
42720109a7 Correct a bug if a region has a group number but no group-level polyphony setting 2020-03-29 00:48:47 +01:00
Paul Ferrand
30061bdb4e Add note_polyphony and note_selfmask in the parser 2020-03-29 00:48:27 +01:00
Paul Ferrand
fbb1cc9efc Add support for group polyphony 2020-03-29 00:23:26 +01:00
Paul Ferrand
5c5dd07da1 Store polyphony information in the synth 2020-03-29 00:08:40 +01:00
Paul Ferrand
6a66077911 Use advanceTime to compute the note-on time 2020-03-28 23:41:15 +01:00
Paul Fd
16af73ffa0 explicit narrowing conversion 2020-03-28 22:10:18 +01:00
Paul Fd
769f3cfdd7 Correct a bug in Voice with the value passed to filters 2020-03-28 22:10:18 +01:00
Paul Fd
787fb963f3 Use float velocities in envelopes 2020-03-28 22:10:18 +01:00
Paul Fd
de0d86fa09 Use float velocity in filters and EQ 2020-03-28 22:10:18 +01:00
Paul Fd
4c2e0ab6b9 Refactor the midistate functions 2020-03-28 22:10:18 +01:00