Anthony Nicholls
158220ddfa
Formatting: Use nested namespace definitions
2023-10-09 14:49:18 +01:00
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2023-04-04 19:55:11 +01:00
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
2022-05-16 17:55:48 +01:00
Tom Poole
dea3fe60e4
Update copyright banners
2022-04-04 12:36:32 +01:00
reuk
68d30f9c8d
Convolution: Compensate for volume changes when resampling IRs
...
When normalisation is disabled, the Convolution will now adjust the gain
of the IR using the ratio of the source and destination sampling rates.
This should keep the output level constant when the Convolution's
sampling rate is changed.
2021-03-11 15:19:31 +00:00
reuk
cd41e31cb5
DSP: Ensure that IRs are loaded immediately when Convolution is prepared
...
Previously, if `loadImpulseResponse` was called before `prepareToPlay`,
the IR wasn't guaranteed to have loaded before the first call to
`processSamples`.
Now, we flush the queue of pending IR-load commands during
`prepareToPlay`, which should ensure that the most recently-loaded IR is
ready to use immediately.
2020-12-15 13:07:18 +00:00
reuk
58652ce490
DLL: Fix warnings in Windows DLL build
2020-08-24 17:11:32 +01:00
reuk
5ab6042c04
Convolution: Fix issue where old convolution engines were sometimes used after calling prepare
...
The startThread/stopThread calls were moved to prevent a thread
sanitizer warning about a race on the vtable of Impl.
2020-07-10 20:04:48 +01:00
ed
d8a119e542
Fixed some GCC 5 compatibility issues
2020-07-01 19:11:56 +01:00
ed
009d685179
Updated all license headers
2020-06-29 08:30:22 +01:00
reuk
ae35ebd5bc
DSP: Allow Convolution instances to share a single background thread
2020-06-08 18:17:30 +01:00
reuk
fca3429e6e
DSP: Update convolution
2020-05-15 18:06:03 +01:00
Ivan Cohen
c138bf91b4
DSP: Revamp DSP module
2020-04-24 14:37:09 +01:00
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +01:00
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
2020-04-09 15:22:56 +01:00
reuk
5af01b9b16
Demos: Convey proper ownership semantics
2020-03-12 18:30:45 +00:00
ed
59a058fdc6
Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough
2020-03-09 17:39:28 +00:00
Tom Poole
41055ad782
DSP: Refactored AudioBlock
2019-08-15 12:49:47 +01:00
Tom Poole
a4bd6cbc66
Fixed some more Linux compiler warnings
2019-06-06 10:25:19 +01:00
reuk
827055c2c1
DSP: Allowed AudioBlocks of const elements
2019-03-26 16:32:28 +00:00
Tom Poole
4751e9d41a
Added a new templated SmoothedValue class
2019-02-19 09:38:04 +00:00
Ivan COHEN
36d71a0c75
DSP: Improved the smoothing of IR changes in the Convolution class
2019-02-15 15:10:51 +00:00
reuk
b8278cec0e
LinearSmoothedValue: Added some helpful member functions and deprecated setValue
2019-02-13 19:00:21 +00:00
Ivan COHEN
b8bee51651
DSP: Fixed some FIFO and memory allocation issues in convolutions
2019-02-13 12:00:46 +00:00
Tom Poole
77feb173b0
DSP: Improved some variable names and documentation
2019-02-13 10:26:06 +00:00
Tom Poole
56022b6680
DSP: Fixed an uninitialised memory issue in the Convolution class
2018-09-10 09:47:23 +01:00
hogliux
544e35655a
DSP: Solved an issue with dsp::Convolution algorithm initialisation
2018-06-29 10:02:33 +01:00
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
2018-04-19 20:27:47 +01:00
Tom Poole
4229dc0a4f
Made a lot of ScopedPointer usage conform to the std::unique_ptr interface
2018-04-10 18:34:20 +01:00
hogliux
f73fc41af1
DSP: Various improvements to the convolution engine (see commit message for more info)
...
* The stereo option now works like in most guitar amplifier simulations : whatever the number of channels in the process function, or defined in the prepare function, the parameter "wantsStereo" allows the class to do all the time mono or stereo processing
* Fixed a few issues when the user tries to change the normalization or trimming option without changing the impulse response itself
* Reduced memory consumption in various places
* Various improvements to the documentation
2018-02-08 10:07:40 +00:00
jules
48a5fbd333
Another batch of ScopedPointer cleanups
2018-01-10 14:49:57 +00:00
jules
f9313c8338
Deprecated some old functions roundDoubleToInt and roundFloatToInt - these can both be trivially replaced by roundToInt, and should have been deprecated long ago!
2018-01-09 16:28:14 +00:00
jules
326aa13023
Fix for the dsp::Convolution class
2017-11-30 09:51:01 +00:00
hogliux
7c6d25681e
Convolution: Added a flag to disable normalisation of loaded impulse responses and fixed a potential crash
2017-10-27 13:00:37 +01:00
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
2017-09-08 08:59:55 +01:00
hogliux
7a34790388
DSP: Made trimming of the convolution impulse response optional
2017-09-06 10:04:12 +01:00
hogliux
87de30bcc5
Fixed an issue with the bypass logic of the convolution engine
2017-07-27 15:58:57 +01:00
hogliux
244a944857
Added the JUCE DSP module
2017-07-27 12:39:07 +01:00