reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2 years ago
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]]
2 years ago
hogliux
87d519759e
Synthesiser: Ensured that the voice stealing algorithm does not allocate
2 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
ed
b9542ccc4c
Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
3 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
73d62a7f8a
MidiBufferIterator: Add some missing iterator increments
5 years ago
reuk
eae9a10944
MidiBuffer: Add iterator compatible with C++11 range-for
5 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
jules
cdb55f70c2
Changes to avoid some clang warnings
6 years ago
jules
49aa9c9db4
Added flag JUCE_STRICT_REFCOUNTEDPOINTER which is recommended to avoid accidental leaks when using ref-counted pointers. Enabled this flag in the demo projects, and used it to help tidy up some dubious smart-pointer use
6 years ago
jules
38295f332b
Converted some old typedefs to using declarations
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
Tom Poole
a2a3f32d8f
Fixed some issues with IO channel counts in the StandaloneFilterWindow
7 years ago
jules
b51d43d824
Converted a couple of lambdas to functors due to FUD about compilers generating heap allocations
7 years ago
jules
d4a7afa73f
Replaced some old juce-style sort operations with std::sort and lambdas
7 years ago
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
7 years ago
jules
baa5907668
Added some setter methods to SynthesiserVoice
7 years ago
jules
3265de83bd
Added a method SynthesiserVoice::setKeyDown
7 years ago
jules
aed0e13745
Workaround for an edge-case involving sustain + sostenuto pedal parsing in the Synthesiser class. Also gave that class a quick spring-clean internally
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
hogliux
2da1bc5f41
Replace include guards with "#pragma once"
8 years ago
tpoole
2e84129479
Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license
8 years ago
ed
9a130f2810
Set avoidReallocating argument of AudioBuffer::makeCopyOf() to true in some audio class methods to avoid unnecessary reallocations in double-float buffer conversion
8 years ago
hogliux
4fa0516f40
Revised multibus API and added support for multibus hosting
8 years ago
Timur Doumler
9100d1c89e
Synthesiser and MPESynthesiser: added an additional parameter to setMinimumRenderingSubdivisionSize to allow for both the legacy behaviour (setting the strict minimum on subdivision size) and the current behaviour (first sample will always be sample-accurate, but then the first subdivision may be < minimum).
8 years ago
jules
b9aaa880c4
Fix for Synthesiser rendering 0 length blocks
9 years ago
jules
46a090bfdc
Tweaked the login in the Synthesiser and MPESynthesiserBase classes to avoid losing timing accuracy on the first event in a buffer
9 years ago
jules
4583fa3fbf
Used the ignoreUnused() function to tidy up some old code
9 years ago
Timur Doumler
08a0bada12
Fixed a few small bugs and added some comments in Synthesiser, MPESynthesiser, and MPETest demo app.
9 years ago
jules
c562cfc3cc
Converted AudioSampleBuffer into a templated class that can use either float or double types. Used this to implement 64-bit audio plugin support in VST and AU
9 years ago
jules
69b571e36e
Made a Synthesiser method protected.
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
Timur Doumler
170602f7d0
fixed bug in Synthesiser demo: voice->isVoiceActive() check was at wrong position and failing whenever there was more than one possible type of voice.
10 years ago
jules
bac0687f95
Added a sustain pedal flag to the SynthesiserVoice, and improved the voice-stealing algorithm (again!)
10 years ago
jules
c1df93cf67
Improvement to the Synthesiser voice-stealing algorithm
10 years ago
jules
12f8940de5
Added MIDI channel pressure support to the Synthesiser class.
10 years ago
jules
2c3c5c793b
More refinements to the Synthesiser class voice-stealing algorithm.
10 years ago
jules
3825467af7
Added method Synthesiser::setMinimumRenderingSubdivisionSize() to allow control over the resolution of block size that the synthesiser class uses.
10 years ago
jules
2044141216
Added a Synthesiser::handleProgramChange method
10 years ago
jules
15a154851e
Stopped the Synthesiser class allowing midi events to steal notes from other midi channels.
10 years ago
jules
f7e36108f8
Fix for the Synthesiser voice-stealing algorithm
10 years ago
jules
7fe33baa20
Updated the Synthesiser classes to store the current midi channel in the voice.
10 years ago
jules
783c5ed7f8
Made SynthesiserVoice::isPlayingChannel virtual.
10 years ago
jules
cc61f88a37
Added a method SynthesiserVoice::isVoiceActive()
10 years ago
jules
743f04dc01
Refactored the Systhesiser class's voice-stealing methods and gave it a better default voice-stealing algorithm.
10 years ago
jules
08a49cb6d4
Removed some unnecessary consts from the parameters for SynthesiserSound::appliesToNote and appliesToChannel
10 years ago
jules
a13eb80e6e
Fixed a missing change to synthesiser
10 years ago