Commit graph

224 commits

Author SHA1 Message Date
redtide
682849f1ad Added QtCreator CMake project files to .gitignore. 2019-09-21 10:33:29 +02:00
redtide
d500c43541 Added Travis CI configuration. 2019-09-21 10:33:29 +02:00
paulfd
4fe0cbab7f added the cmake switch 2019-09-21 10:29:16 +02:00
paulfd
914d60bfc1 Yet some more tooling updates 2019-09-21 01:43:04 +02:00
paulfd
1700068d1e Tooling updates; requires a higher cmake version in abseil and co... 2019-09-21 01:33:03 +02:00
paulfd
27efcd029d Corrected a bug where the Voice would try to read beyond the preloaded data when the background loading thread fails to run in time. This whole logic could probably use an overhaul. 2019-09-20 09:48:57 +02:00
paulfd
d6d7eb73df Corrected a bug where the loading thread would quit on creation due to the order of class member initialization 2019-09-20 09:47:34 +02:00
paulfd
4d70ed5b73 Trying to correct a segfault, some shenanigans with vectors of shared pointers? 2019-09-18 09:14:03 +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
cec6b3f3ba Sanitize a bit the submodules and make 3 of them in-tree; abseil and google benchmark left 2019-09-18 00:14:08 +02:00
paulfd
1e7d744460 Clear the remaining files when clearing up the filepool 2019-09-17 22:30:48 +02:00
paulfd
6c70269fcc Added a garbage collection to the file pool. Apparently something in the kernel or in libsndfile is memory-mapping the files, so that the memory usage stays quite high and there are no disk read. But since ASan does not complain, it seems okay... 2019-09-17 20:09:26 +02:00
paulfd
b6678113fc Added support for ampersand in sample file names (issue #3) 2019-09-17 18:02:21 +02:00
paulfd
84893a57f9 Revert part of the sustain changes, as it made really no sense :) 2019-09-17 17:57:19 +02:00
paulfd
90f61b24fb Some cleanup of the sustain logic 2019-09-17 14:52:47 +02:00
paulfd
de757e0964 Implicit construction in the jack client 2019-09-17 14:52:27 +02:00
paulfd
8fd0924244 Merged PR #1 from falkTX:master 2019-09-16 19:05:04 +02:00
paulfd
8d3e8299dd Merge branch 'master' of https://github.com/falkTX/sfizz into falkTX-master 2019-09-16 19:01:09 +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
6b21ca4151 Added a reldeb helper script 2019-09-16 16:05:55 +02:00
paulfd
84ff52d0e6 Updated Gitignore 2019-09-16 16:05:55 +02:00
paulfd
a37e0fd71c Cleaned up the voice source fetching 2019-09-16 16:05:55 +02:00
paulfd
49bf4c229f Garbage collection disabled in the jack client (there is a race condition as we have 2 threads and only one atomic protecting the file data, so the garbage collector could clean up the file data before the boolean is set) 2019-09-16 16:05:55 +02:00
paulfd
455075ec64 Corrected a bug when "expanding" an existing preloaded file: the unique_ptr was not released properly 2019-09-16 15:12:15 +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
5b17f727d8 More clang errors 2019-09-16 15:09:55 +02:00
paulfd
f0782bc8a6 Added garbage collection in jack 2019-09-16 14:51:17 +02:00
paulfd
95c0ac9aa7 Updated gitignore 2019-09-16 14:51:02 +02:00
paulfd
54a6a3fe28 Fix a compilation error in clang 2019-09-16 14:50:21 +02:00
paulfd
057f31752d Added a tracking comment 2019-09-16 14:26:36 +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
2714c0a0e5 Added tests for the subtract helper 2019-09-15 23:04:01 +02:00
paulfd
e6ffec5885 Better handling of the source position. The integer part and the floating point part are separated, the solution before lost precision in the interpolation for longer samples. 2019-09-15 23:03:40 +02:00
paulfd
86b59b1b59 Corrected a bug in the SSE version of the diff helper 2019-09-15 23:01:40 +02:00
paulfd
a900580a66 Added another subtract SIMD helper 2019-09-15 22:47:24 +02:00
paulfd
563e7624d9 Added an overload for subspan without an end in the AudioSpan class 2019-09-15 22:46:56 +02:00
paulfd
9afa1918a0 Added a "diff" SIMD helper, and some more benchmarking... 2019-09-15 21:14:02 +02:00
paulfd
a114b1e144 Wrong definition for the SIMD cumsum 2019-09-15 20:32:46 +02:00
paulfd
ced4178643 Added a SIMD helper for the "floating index to sample index + interpolation coefficients" 2019-09-15 20:17:52 +02:00
paulfd
9324d137bc Added a "scalar add" SIMD helper 2019-09-15 20:16:42 +02:00
paulfd
2aa086d971 Cosmetics 2019-09-14 09:42:31 +02:00
paulfd
74c49c2c8c Removed the integer source position for now... 2019-09-14 09:17:34 +02:00
paulfd
617e2375b3 Added a cumsum helper 2019-09-14 09:17:02 +02:00
paulfd
ee9ce94ea8 corrected a bug on the offset calculation 2019-09-14 08:37:54 +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
c4f681c371 Added a mean (reduce) SIMD/scalar helper 2019-09-13 21:17:52 +02:00
paulfd
ebd2b1906a Added sustain_sw; sostenuto_sw is parsed but not treated in code 2019-09-13 20:46:35 +02:00