Commit graph

33 commits

Author SHA1 Message Date
Paul Ferrand
3e65c2ff9a Voices did not get created by default 2019-11-20 23:45:44 +01:00
Paul Ferrand
2b9737bcfb Added a dynamic number of voices 2019-11-20 22:35:51 +01:00
Paul Ferrand
12baccb0d8 Added a global volume to the synth 2019-11-20 22:13:56 +01:00
Paul Ferrand
7d1d88c9f0 Commented debugs 2019-11-17 21:46:37 +01:00
Paul Ferrand
d25328f482 Added dummy functions for pitchwheel, aftertouch and tempo 2019-11-17 20:29:39 +01:00
Paul Ferrand
ed474de713 Corrected a bug with getNumActiveVoices() 2019-11-17 00:41:24 +01:00
paulfd
d8e75c662b Protect the clear() function of the synth 2019-09-28 18:56:57 +02:00
paulfd
c15def27cf Clean up the activation lists on clearing the synth 2019-09-28 15:57:03 +02:00
paulfd
b2c8800b84 Added the atomic guards on other critical synth functions 2019-09-28 14:06:27 +02:00
paulfd
105c459a4a cleanups 2019-09-21 13:01:50 +02:00
paulfd
41010019e3 Cleanups 2019-09-21 11:16:23 +02:00
paulfd
a6c5e1af5d Merge remote-tracking branch 'origin/cpp14' into cpp14 2019-09-21 10:58:39 +02:00
paulfd
849ee0e4a1 String view and filesystem are not happy neighbors 2019-09-21 10:34:59 +02:00
redtide
377e35e88f Fixing files. 2019-09-21 10:34:37 +02:00
redtide
828440651f WIP fixes: replace optional, string_view, nullopt with abseil versions, temporary clamp alternative. 2019-09-21 10:34:37 +02:00
paulfd
d4a1178233 ccState and the midiState globals become a single private member of the Synth object; read-only references are loaded on creation into the regions and voice. 2019-09-21 01:07:53 +02:00
paulfd
a913556389 String view and filesystem are not happy neighbors 2019-09-20 23:24:39 +02:00
redtide
7193bba693 Fixing files. 2019-09-19 02:29:43 +02:00
redtide
024ac4d832 WIP fixes: replace optional, string_view, nullopt with abseil versions, temporary clamp alternative. 2019-09-18 20:33:08 +02:00
paulfd
234105c34c Fixed my assumptions about note-off velocity; they are now always replaced with the previous note-ons 2019-09-18 09:13:41 +02:00
paulfd
dec1664c2f Added a double atomic guard when changing the sfz file; could be used to change the number of voices too 2019-09-16 18:17:45 +02:00
paulfd
e028fdced9 Corrected a bug when reloading files, where the string views used for the FilePool hash table where pointing towards freed memory. 2019-09-16 15:11:15 +02:00
paulfd
8e02171cb2 Corrected a bug when preloading data for regions with large offsets 2019-09-16 14:25:47 +02:00
paulfd
f41c36d241 Velocity tracking and replacements in note ons and offs are now done at the synth/global level. Velocity is always replaced and checked, since some libraries use "release" along with velocity ranges 2019-09-16 13:17:18 +02:00
paulfd
61d1f1963c Added support for the rt_decay opcode 2019-09-16 11:48:51 +02:00
paulfd
05cef4286d Region dispatching on construction for note and cc events 2019-09-14 08:37:10 +02:00
paulfd
a0433a0816 Added an historical tracking of the mean squared voice power 2019-09-13 23:20:57 +02:00
paulfd
965321166c Gracefully handle non-conforming floating point values for integer opcodes 2019-09-13 19:29:10 +02:00
paulfd
3da8109170 Added some opcodes aliases for the control header (with capital letters) 2019-09-11 12:46:32 +02:00
paulfd
0615fcab9c Some instruments have more than 1 global header per file.. 2019-09-10 23:04:57 +02:00
paulfd
32efd60ec9 Added a ticket system so that if the background loader fails to provide the file in time it gets discarded. 2019-09-07 17:23:13 +02:00
paulfd
c1d2384e09 Added an AudioSpan and AudioBuffer, to better handle the memory for mono/stereo samples 2019-09-07 01:12:20 +02:00
paulfd
1df16518c1 CMake changes... 2019-08-30 15:28:30 +02:00
Renamed from sources/Synth.cpp (Browse further)