Jean Pierre Cimalando
62012f25a9
Relaxed the restrictions on the Buffer class
2020-04-02 15:32:53 +02:00
Jean Pierre Cimalando
bb826e8347
Raise an error if misalignment is detected
2020-04-02 15:21:10 +02:00
Jean Pierre Cimalando
03289c7b80
Remove the initializers to make the classes trivial
2020-04-02 15:05:32 +02:00
Jean Pierre Cimalando
86e3c2232f
Add the benchmark for string resonator
2020-04-02 09:15:54 +02:00
Jean Pierre Cimalando
319554321b
Fix mistake in comment [ci skip]
2020-04-02 02:06:27 +02:00
Jean Pierre Cimalando
3e3ed3c3ac
Fix for MSVC
2020-04-02 01:56:17 +02:00
Jean Pierre Cimalando
843d603f37
Add CPU dispatch for the strings effect
2020-04-02 01:32:09 +02:00
Jean Pierre Cimalando
10fa64b2c8
Add the cpuid library
2020-04-02 01:32:09 +02:00
Jean Pierre Cimalando
026a5aceee
SIMD-accelerated strings effect
2020-04-02 01:32:09 +02:00
Paul Ferrand
3aaf44b636
Merge pull request #136 from jpcima/eg
...
Envelope generator
2020-04-02 01:20:39 +02:00
Paul Fd
5a10af74ed
Set the envelope free-running also when loopmode=one_shot
2020-04-01 10:03:15 +02:00
Paul Ferrand
75c27b0577
Disable the "updated" tests in favor of integration tests
2020-04-01 09:40:26 +02:00
Paul Ferrand
d5451846a0
Future release count as release
2020-04-01 09:40:26 +02:00
Paul Ferrand
ae7f84204c
Let the sustain be slightly above zero so that decay checks converge
2020-04-01 09:40:26 +02:00
Paul Ferrand
4248b136e7
Set virtuallyZero to -60 dB
2020-04-01 09:40:26 +02:00
Jean Pierre Cimalando
a825b3f1d3
Set the EG release default to 0
2020-04-01 09:40:26 +02:00
Jean Pierre Cimalando
96d362308d
Lower limit of EG rate calculation (Cakewalk)
2020-04-01 09:40:26 +02:00
Jean Pierre Cimalando
8012532c51
Eliminate EG recording latency (because of connection loop)
2020-04-01 09:40:26 +02:00
Jean Pierre Cimalando
5f6fa5ac1e
Adequate handling of EG release delay, block version
2020-04-01 09:40:26 +02:00
Jean Pierre Cimalando
1610b047f4
Allow to capture EG as FLAC, to make it compact
2020-04-01 09:40:26 +02:00
Jean Pierre Cimalando
d1333a5ab3
Add tool to capture Dimension EG curves
2020-04-01 09:40:26 +02:00
Jean Pierre Cimalando
5a7aa90a8e
EG rate small adjustment
2020-04-01 09:40:26 +02:00
Jean Pierre Cimalando
fdda018a70
Add block version of the ADSR rework
2020-04-01 09:40:26 +02:00
Jean Pierre Cimalando
77589f4109
Rework the envelope generator
2020-04-01 09:40:26 +02:00
Jean Pierre Cimalando
d6adebf8f4
Allow EG reset to accept other parameters than ampeg
2020-04-01 09:40:26 +02:00
Paul Fd
bf7d90f3d4
Properly clear buffers
2020-04-01 09:28:17 +02:00
Paul Ferrand
2f2de8c677
Merge pull request #142 from paulfd/midi-state-block-processing
...
The midi state now tracks time through block duration; you need to call advanceTime(numSamples) at each callback.
The midi state now stores all CC and pitch events that happened during the block.
Added group polyphony and note_polyphony support, as well as note_selfmask support.
Multiple CCs can modulate pan, amplitude, width, position rather than one.
The voices do not store CC history for the modulation targets and rely on the midi state to provide the events that happened during the last block.
Removed the EventEnvelopes; they're replaced by generic free functions that take as input an EventVector from the midi state; old tests migrated.
Added support for tune_cc and pitch_cc related opcodes.
In all this process, I also removed most of the per-voice temporary buffers and preallocation to replace everything by a BufferPool that distributes buffers around, and can track the maximum buffer usage in debug mode. The number of concurrent buffers are set at compile-time, so it must be adapted to the current processing needs.
2020-03-31 23:22:25 +02:00
Paul Ferrand
5673b3a7bb
Merge pull request #143 from jpcima/strings
...
Strings resonator effect
2020-03-31 23:21:24 +02:00
Jean Pierre Cimalando
c0127fe02f
Strings resonator effect
2020-03-31 20:43:35 +02:00
Paul Fd
5088bed9b0
Formatting step
2020-03-31 10:46:12 +02:00
Paul Fd
7e8cdff407
Modifier loops can be const
2020-03-31 10:40:44 +02:00
Paul Fd
ddeecf41b9
Apply modifier for pitch_cc and tune cc
2020-03-31 10:36:53 +02:00
Paul Fd
bf4bdad656
Handle pitch_cc and tune_cc
2020-03-31 10:36:41 +02:00
Paul Fd
c92e78b3f2
Update the envelope benchmark
2020-03-31 09:53:46 +02:00
Paul Ferrand
767ef7ba38
Remove envelopes from clang-tidy
2020-03-31 00:41:17 +02:00
Paul Ferrand
e24065f7d1
Added volume_oncc tests
2020-03-31 00:37:22 +02:00
Paul Ferrand
16b8cc1cfc
Remove the event envelopes \o/
2020-03-31 00:33:26 +02:00
Paul Ferrand
bd85a97db3
Handle the volume cc modifiers like the rest
2020-03-31 00:33:06 +02:00
Paul Ferrand
bc60b19c4b
Ported the old envelope tests to the new free functions
2020-03-31 00:18:24 +02:00
Paul Ferrand
5412593da9
multiplicativeRamp behaves like linearRamp
2020-03-31 00:18:09 +02:00
Paul Ferrand
12cb0b5b43
Adapt the curve computation to the linearRamp changes
2020-03-31 00:05:02 +02:00
Paul Ferrand
ff94983089
remove debug messages in voices
2020-03-31 00:03:47 +02:00
Paul Ferrand
2400a6adcc
Remove ADSR tests for now until updates from jpc
2020-03-31 00:03:21 +02:00
Paul Ferrand
a9d5c7e6b1
Update the base test to match the new linear ramp
2020-03-30 23:48:41 +02:00
Paul Ferrand
a71b5c3bb5
Change the linear ramp to something more natural
2020-03-30 23:48:24 +02:00
Paul Ferrand
8ef598bb7d
Remove pitchbend from midiState
2020-03-30 22:49:28 +02:00
Paul Ferrand
4de101f42c
Add quantized envelopes to voices
2020-03-30 22:42:54 +02:00
Paul Ferrand
bebb166469
Add quantized envelopes
2020-03-30 22:42:43 +02:00
Paul Ferrand
088da9df65
multiplicativeEnvelope free function for pitch
2020-03-30 21:51:21 +02:00
Paul Ferrand
9e3f496f9e
Add multiplicative envelope
2020-03-30 21:32:50 +02:00