Commit graph

1428 commits

Author SHA1 Message Date
Paul Ferrand
0cf7b01d6b update the tests for the normalized modifier 2020-03-29 17:12:41 +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
dbe544515f Add a test for resetAllControllers 2020-03-29 13:20:41 +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
5ff31ae181 Add some polyphony tests 2020-03-29 12:52:34 +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 Ferrand
45124cce53
Merge pull request #137 from paulfd/floating-midi-values
Floating midi values
2020-03-28 22:48:10 +01:00
Jean Pierre Cimalando
2c4d5aaf3e Allow VST to match more build types 2020-03-28 22:15:07 +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
Paul Fd
a1dba6b60f Remove the uint8 versions from midistate 2020-03-28 22:10:18 +01:00
Paul Fd
c4db2bba56 Refactor the float versions 2020-03-28 22:10:18 +01:00
Paul Fd
7ed7720a54 Remove unnormalized versions from region 2020-03-28 22:08:33 +01:00
Paul Fd
1e2a18359e Remove getNoteGain 2020-03-28 22:07:32 +01:00
Paul Fd
78851082ea Add some assertions to check 2020-03-28 22:07:32 +01:00
Paul Fd
cc8944e452 Everyone should now use the normalized versions 2020-03-28 22:07:32 +01:00
Paul Fd
e7686d233e Use float internally in the voices 2020-03-28 22:07:32 +01:00
Paul Fd
601126db0d Normalize CCs internally in Synth and region 2020-03-28 22:07:03 +01:00
Paul Fd
0e1e65135e Region and Synth use float velocities internally 2020-03-28 22:07:03 +01:00
Paul Fd
2655418406 Add generic ranges for 7 bits and normalized values 2020-03-28 22:04:12 +01:00
Paul Fd
e89d93cf56 Add literals for normalized 7 bit values 2020-03-28 22:03:38 +01:00
Paul Fd
b5e578a7b8 Small map test 2020-03-28 22:03:38 +01:00
Paul Fd
9373f31945 Remove CCArray, and store floats internally 2020-03-28 22:03:38 +01:00
Paul Fd
f8801e78e4 Change numCC to uint16_t and increase the max number of ccs 2020-03-28 22:02:35 +01:00
Paul Ferrand
bce6258827
Merge pull request #128 from jpcima/wavetable-file
Add oscillator=on and wavetables from file
2020-03-28 21:37:46 +01:00
Paul Ferrand
29fc84fb09 const getSilenceWavetable 2020-03-28 21:29:38 +01:00
Paul Ferrand
9d8bfa5b82 Change the static silent wavetable into a functionThe previous form tripped the leak detector 2020-03-28 21:13:35 +01:00
Paul Ferrand
fbf2785211 createFileWave returns a boolean 2020-03-28 21:03:03 +01:00
Paul Ferrand
f71e0b4f21 Revert passing the sample rate to createHarmonicProfile 2020-03-28 20:47:00 +01:00