Commit graph

1385 commits

Author SHA1 Message Date
Paul Fd
9373f31945 Remove CCArray, and store floats internally 2020-03-28 22:03:38 +01:00
Paul Fd
f8801e78e4 Change numCC to uint16_t and increase the max number of ccs 2020-03-28 22:02:35 +01:00
Paul Ferrand
bce6258827
Merge pull request #128 from jpcima/wavetable-file
Add oscillator=on and wavetables from file
2020-03-28 21:37:46 +01:00
Paul Ferrand
29fc84fb09 const getSilenceWavetable 2020-03-28 21:29:38 +01:00
Paul Ferrand
9d8bfa5b82 Change the static silent wavetable into a functionThe previous form tripped the leak detector 2020-03-28 21:13:35 +01:00
Paul Ferrand
fbf2785211 createFileWave returns a boolean 2020-03-28 21:03:03 +01:00
Paul Ferrand
f71e0b4f21 Revert passing the sample rate to createHarmonicProfile 2020-03-28 20:47:00 +01:00
Paul Ferrand
82999166cb Add some checks when building the oscillator regions from files 2020-03-28 20:33:20 +01:00
Paul Ferrand
b17f9eaf32 Const all the region getters 2020-03-28 20:23:14 +01:00
Paul Ferrand
5e6de480fb Accidental fallthrough on rebase 2020-03-28 20:22:36 +01:00
Paul Ferrand
dabb7ead9f Use the phase helper 2020-03-28 20:11:17 +01:00
Paul Ferrand
b223fb5e4f Add a helper to get the normalized phase 2020-03-28 20:11:09 +01:00
Paul Ferrand
bad1120296 Pass the samplerate to the createHarmonicProfile function 2020-03-28 19:46:42 +01:00
Paul Ferrand
f5ac778c16 Use the new filepool API 2020-03-28 19:46:23 +01:00
Paul Ferrand
62b68b2af3 Change the FilePool to load files and not only preload 2020-03-28 19:45:34 +01:00
Paul Ferrand
2add056a51 Clear wavetables in the clear() method 2020-03-28 17:37:38 +01:00
Paul Ferrand
0de71d8e1b Add a check that atomic<DataStatus> is lock free 2020-03-28 17:37:02 +01:00
Paul Ferrand
e74ab54793 Remove an unneeded header 2020-03-28 17:37:02 +01:00
Jean Pierre Cimalando
5f564d749a Add oscillator=on and wavetables from file 2020-03-28 17:37:02 +01:00
Paul Ferrand
25ca3eeb0b
Merge pull request #139 from jpcima/vst
Allow VST to reload its files automatically
2020-03-28 16:13:38 +01:00
Paul Ferrand
a17b97a1c8
Merge pull request #130 from jpcima/new-parser
Parser rework
2020-03-28 16:13:25 +01:00
Jean Pierre Cimalando
fa65fd65f7 Allow VST to reload its files automatically 2020-03-28 15:08:54 +01:00
Jean Pierre Cimalando
a15a50b96c Make the parser demo UI a bit more practical 2020-03-28 02:53:50 +01:00
Jean Pierre Cimalando
6ee9dd106e Add proper support of external #define 2020-03-28 02:44:06 +01:00
Jean Pierre Cimalando
3871d9c9b2 Let the parser identify the origin of a failed #include 2020-03-28 02:25:48 +01:00
Jean Pierre Cimalando
ba23ed810a String parsing without originalDirectory setter 2020-03-28 01:55:05 +01:00
Paul Ferrand
99f0833a96
Merge pull request #127 from jpcima/wavetable-phase
Add support of oscillator_phase
2020-03-28 00:55:29 +01:00
Paul Ferrand
25fa15acbe Add an originalDirectory setter and change the logic for parseFile 2020-03-28 00:45:59 +01:00
Paul Ferrand
42234da650 Add tests for the new parser 2020-03-28 00:29:36 +01:00
Paul Ferrand
5a292aca31 End the value when hitting < too 2020-03-28 00:29:36 +01:00
Paul Ferrand
847af7b731 Added a way to parse from a string 2020-03-28 00:29:36 +01:00
Paul Ferrand
51b992617d Add +1 to error lines and put the file name in there 2020-03-28 00:29:36 +01:00
Jean Pierre Cimalando
972dbe06ea Fix the backslash include paths 2020-03-28 00:29:36 +01:00
Jean Pierre Cimalando
c03345e950 Adapt the newer parser to Sfizz 2020-03-28 00:29:36 +01:00
Jean Pierre Cimalando
9019ae3aef Some parser fixes 2020-03-28 00:28:50 +01:00
Jean Pierre Cimalando
30c8d25a59 Initial parser rework 2020-03-28 00:28:50 +01:00
Paul Ferrand
dcd688dbe5 Add oscillator phase tests 2020-03-27 18:17:15 +01:00
Paul Ferrand
3f3cb7def8 Add an assertion 2020-03-27 18:05:40 +01:00
Paul Ferrand
281ee61146 local variable can be const 2020-03-27 18:05:30 +01:00
Paul Fd
fa150e2668 Fixed histogram range for the per-voice figure 2020-03-27 00:35:35 +01:00
Paul Fd
4ad390304c Corrected a bug with the filname extraction 2020-03-27 00:35:18 +01:00
Paul Fd
a6cbb48222 Add the ability to set a log filename (non abi breaking change) 2020-03-26 23:40:42 +01:00
Paul Fd
36cb6db974 Remove the export definitions from the macros 2020-03-26 23:14:33 +01:00
Paul Fd
7513d5a4bd put back the export definitions in the headers 2020-03-26 23:13:45 +01:00
Paul Fd
20dea5ec94 Add back the library name in the CMakeLists 2020-03-26 23:12:41 +01:00
Jean Pierre Cimalando
18382917c6 Adapt tests to the recent width fix 2020-03-18 21:39:42 +01:00
Jean Pierre Cimalando
b551716b08 Apply panning in case of stereo sample 2020-03-18 21:33:18 +01:00
Jean Pierre Cimalando
1faa7f0739 Fix the broken stereo when width is default 2020-03-18 20:56:07 +01:00
Jean Pierre Cimalando
368505357a Fix a link error reported by @redtide 2020-03-17 18:52:56 +01:00
Jean Pierre Cimalando
890d5ddb46 Add support of oscillator_phase 2020-03-16 19:02:21 +01:00