Commit graph

  • bd85a97db3 Handle the volume cc modifiers like the rest Paul Ferrand 2020-03-31 00:33:06 +02:00
  • bc60b19c4b Ported the old envelope tests to the new free functions Paul Ferrand 2020-03-31 00:18:24 +02:00
  • 5412593da9 multiplicativeRamp behaves like linearRamp Paul Ferrand 2020-03-31 00:18:09 +02:00
  • 12cb0b5b43 Adapt the curve computation to the linearRamp changes Paul Ferrand 2020-03-31 00:05:02 +02:00
  • ff94983089 remove debug messages in voices Paul Ferrand 2020-03-31 00:03:47 +02:00
  • 2400a6adcc Remove ADSR tests for now until updates from jpc Paul Ferrand 2020-03-31 00:03:21 +02:00
  • a9d5c7e6b1 Update the base test to match the new linear ramp Paul Ferrand 2020-03-30 23:48:41 +02:00
  • a71b5c3bb5 Change the linear ramp to something more natural Paul Ferrand 2020-03-30 23:48:24 +02:00
  • 8ef598bb7d Remove pitchbend from midiState Paul Ferrand 2020-03-30 22:49:28 +02:00
  • 4de101f42c Add quantized envelopes to voices Paul Ferrand 2020-03-30 22:42:54 +02:00
  • bebb166469 Add quantized envelopes Paul Ferrand 2020-03-30 22:42:43 +02:00
  • 088da9df65 multiplicativeEnvelope free function for pitch Paul Ferrand 2020-03-30 21:51:21 +02:00
  • 9e3f496f9e Add multiplicative envelope Paul Ferrand 2020-03-30 21:32:50 +02:00
  • 1523a14ee8 linearEnvelope is now a free function Paul Ferrand 2020-03-30 21:23:59 +02:00
  • 922cbde6c5 Store pitch bend internally as floats Paul Ferrand 2020-03-30 21:07:33 +02:00
  • bc4d88b55a Clang-tidy 9 errors Paul Ferrand 2020-03-30 20:32:42 +02:00
  • a1cacea8fb Explicit move to null the return pointer Paul Ferrand 2020-03-30 20:32:27 +02:00
  • 629a2ae8a8 Forwarding on SpanHolder Paul Ferrand 2020-03-30 20:16:43 +02:00
  • 1f7786cc74 Be explicit in the filter/EQ processes Paul Ferrand 2020-03-30 20:07:54 +02:00
  • 0da5c43bb5 Remove the helpers in the midi class and be explicit in the process Paul Ferrand 2020-03-30 19:58:32 +02:00
  • eac0c0e804 Refactor the processes in chunks Paul Ferrand 2020-03-30 19:13:35 +02:00
  • a337cf5a15 Require explicit cast to bool Paul Ferrand 2020-03-30 19:11:39 +02:00
  • 9c17201c63 Avoid shared pointers and get a span "pointer" directly from the buffer pool Paul Ferrand 2020-03-30 15:14:33 +02:00
  • f489b88df0
    Merge pull request #140 from jpcima/vst-realtime Paul Ferrand 2020-03-29 23:58:56 +02:00
  • 77acae7992
    Merge pull request #131 from jpcima/new-effects Paul Ferrand 2020-03-29 23:43:26 +02:00
  • e54c27b1f2 Warning on gcc 4.9 for the array initializer Paul Ferrand 2020-03-29 23:35:43 +02:00
  • e13456d41d Try to solve windows builds Paul Ferrand 2020-03-29 23:35:22 +02:00
  • 3ceee27c0a Move the modifiers in the midistate Paul Ferrand 2020-03-29 22:55:14 +02:00
  • 507ddc8e01 Reworking the modifiers separately Paul Ferrand 2020-03-29 20:35:15 +02:00
  • 03b9e19676 Oversample the limiter by 2x Jean Pierre Cimalando 2020-03-29 20:17:49 +02:00
  • 5d499fb563 Update tests Paul Ferrand 2020-03-29 19:34:45 +02:00
  • 9e824df346 Homogeneize the treatment of percentage defaults and values Paul Ferrand 2020-03-29 19:32:27 +02:00
  • ca2ee8dc58 Voice cleanups Paul Ferrand 2020-03-29 19:26:08 +02:00
  • 97234177a1 Use modifiers for panning/width Paul Ferrand 2020-03-29 19:22:19 +02:00
  • d59d29c72b Use the full modifier on amplitude and crossfades Paul Ferrand 2020-03-29 19:08:47 +02:00
  • 394512183a Move crossfades to SfzHelpers Paul Ferrand 2020-03-29 18:50:54 +02:00
  • 16472b4ef9 Reduce the max number of buffers Paul Ferrand 2020-03-29 18:09:48 +02:00
  • 8ed3d16b8c Use the bufferpool in the voices Paul Ferrand 2020-03-29 18:09:39 +02:00
  • c1266e5d70 Added debug introspection about the max number of buffer used Paul Ferrand 2020-03-29 17:54:47 +02:00
  • 1a55b42bd7 Use the bufferpool in the synth Paul Ferrand 2020-03-29 17:37:40 +02:00
  • 5e8cb7de0a Improve the bufferpool Paul Ferrand 2020-03-29 17:37:30 +02:00
  • 7cb92e05d2 Use an intermediate method to set the sample rate and block size for the resources Paul Ferrand 2020-03-29 17:16:29 +02:00
  • 406b7a08d7 Add a bufferpool to the resources Paul Ferrand 2020-03-29 17:12:52 +02:00
  • 0cf7b01d6b update the tests for the normalized modifier Paul Ferrand 2020-03-29 17:12:41 +02:00
  • 4b4dea97e1 Don't zero the modulation span Paul Ferrand 2020-03-29 17:12:25 +02:00
  • af05e0cbde Store the normalized CC modifier Paul Ferrand 2020-03-29 17:11:50 +02:00
  • 42fa89ab5a Tentative replacement of the amplitude envelope Paul Ferrand 2020-03-29 16:25:58 +02:00
  • 612265ebb5 If an event is registered at some delay, shadow the previous value Paul Ferrand 2020-03-29 16:08:55 +02:00
  • 9263488882 Get the event list from the midi state Paul Ferrand 2020-03-29 15:52:21 +02:00
  • 9f8b275712 Don't dispatch on template for the MidiEventComparator Paul Ferrand 2020-03-29 14:01:21 +02:00
  • e2f0ca754e Sorted elements in ccEvents Paul Ferrand 2020-03-29 13:59:48 +02:00
  • 0f4c32b5a8 Corrected a bug in the equalizer reservation method Paul Ferrand 2020-03-29 13:39:43 +02:00
  • 3f5a86e067 Attempt to reserve memory on samplePerBlock change Paul Ferrand 2020-03-29 13:34:26 +02:00
  • 7b6c1c8106 Move advanceTime to the end of the callback Paul Ferrand 2020-03-29 13:29:56 +02:00
  • 1d74968bf0 Clear cc events on advanceTime Paul Ferrand 2020-03-29 13:27:47 +02:00
  • dbe544515f Add a test for resetAllControllers Paul Ferrand 2020-03-29 13:20:41 +02:00
  • fc05ca0af0 Clean up the reset* APIs Paul Ferrand 2020-03-29 13:20:30 +02:00
  • 1215067dcf Use vectors of events in the midi state Paul Ferrand 2020-03-29 13:13:19 +02:00
  • 27ceeb8e1a Track noteoffs Paul Ferrand 2020-03-29 13:08:37 +02:00
  • 5ff31ae181 Add some polyphony tests Paul Ferrand 2020-03-29 12:52:34 +02:00
  • 26a9ab2c70 Handle note_polyphony and note_selfmask Paul Ferrand 2020-03-29 01:12:52 +01:00
  • 5ef9d6e996 the handleGroupOpcode logic was flawed Paul Ferrand 2020-03-29 00:49:55 +01:00
  • 42720109a7 Correct a bug if a region has a group number but no group-level polyphony setting Paul Ferrand 2020-03-29 00:48:47 +01:00
  • 30061bdb4e Add note_polyphony and note_selfmask in the parser Paul Ferrand 2020-03-29 00:48:27 +01:00
  • fbb1cc9efc Add support for group polyphony Paul Ferrand 2020-03-29 00:23:26 +01:00
  • 5c5dd07da1 Store polyphony information in the synth Paul Ferrand 2020-03-29 00:07:44 +01:00
  • 6a66077911 Use advanceTime to compute the note-on time Paul Ferrand 2020-03-28 23:41:15 +01:00
  • 45124cce53
    Merge pull request #137 from paulfd/floating-midi-values Paul Ferrand 2020-03-28 22:48:10 +01:00
  • 2c4d5aaf3e Allow VST to match more build types Jean Pierre Cimalando 2020-03-28 22:15:07 +01:00
  • 16af73ffa0 explicit narrowing conversion Paul Fd 2020-03-26 01:05:07 +01:00
  • 769f3cfdd7 Correct a bug in Voice with the value passed to filters Paul Fd 2020-03-26 00:51:05 +01:00
  • 787fb963f3 Use float velocities in envelopes Paul Fd 2020-03-26 00:46:58 +01:00
  • de0d86fa09 Use float velocity in filters and EQ Paul Fd 2020-03-26 00:46:48 +01:00
  • 4c2e0ab6b9 Refactor the midistate functions Paul Fd 2020-03-26 00:37:25 +01:00
  • a1dba6b60f Remove the uint8 versions from midistate Paul Fd 2020-03-26 00:35:56 +01:00
  • c4db2bba56 Refactor the float versions Paul Fd 2020-03-26 00:34:32 +01:00
  • 7ed7720a54 Remove unnormalized versions from region Paul Fd 2020-03-26 00:32:02 +01:00
  • 1e2a18359e Remove getNoteGain Paul Fd 2020-03-26 00:30:17 +01:00
  • 78851082ea Add some assertions to check Paul Fd 2020-03-26 00:27:28 +01:00
  • cc8944e452 Everyone should now use the normalized versions Paul Fd 2020-03-26 00:25:26 +01:00
  • e7686d233e Use float internally in the voices Paul Fd 2020-03-26 00:12:30 +01:00
  • 601126db0d Normalize CCs internally in Synth and region Paul Fd 2020-03-25 23:48:17 +01:00
  • 0e1e65135e Region and Synth use float velocities internally Paul Fd 2020-03-25 23:25:32 +01:00
  • 2655418406 Add generic ranges for 7 bits and normalized values Paul Fd 2020-03-25 23:24:14 +01:00
  • e89d93cf56 Add literals for normalized 7 bit values Paul Fd 2020-03-25 23:23:40 +01:00
  • b5e578a7b8 Small map test Paul Fd 2020-03-25 22:20:37 +01:00
  • 9373f31945 Remove CCArray, and store floats internally Paul Fd 2020-03-17 00:17:18 +01:00
  • f8801e78e4 Change numCC to uint16_t and increase the max number of ccs Paul Fd 2020-03-16 23:47:54 +01:00
  • bce6258827
    Merge pull request #128 from jpcima/wavetable-file Paul Ferrand 2020-03-28 21:37:46 +01:00
  • 29fc84fb09 const getSilenceWavetable Paul Ferrand 2020-03-28 21:29:38 +01:00
  • 9d8bfa5b82 Change the static silent wavetable into a functionThe previous form tripped the leak detector Paul Ferrand 2020-03-28 21:11:30 +01:00
  • fbf2785211 createFileWave returns a boolean Paul Ferrand 2020-03-28 21:03:03 +01:00
  • f71e0b4f21 Revert passing the sample rate to createHarmonicProfile Paul Ferrand 2020-03-28 20:47:00 +01:00
  • 82999166cb Add some checks when building the oscillator regions from files Paul Ferrand 2020-03-28 20:33:20 +01:00
  • b17f9eaf32 Const all the region getters Paul Ferrand 2020-03-28 20:23:14 +01:00
  • 5e6de480fb Accidental fallthrough on rebase Paul Ferrand 2020-03-28 20:22:36 +01:00
  • dabb7ead9f Use the phase helper Paul Ferrand 2020-03-28 20:11:17 +01:00
  • b223fb5e4f Add a helper to get the normalized phase Paul Ferrand 2020-03-28 20:11:09 +01:00
  • bad1120296 Pass the samplerate to the createHarmonicProfile function Paul Ferrand 2020-03-28 19:46:42 +01:00
  • f5ac778c16 Use the new filepool API Paul Ferrand 2020-03-28 19:46:23 +01:00