Commit graph

2567 commits

Author SHA1 Message Date
Paul Ferrand
b78fa39d9e Remove unused variable 2020-10-07 00:51:18 +02:00
Paul Ferrand
a0ad3b9921 Adapt the thread pool to the number of concurrent threads 2020-10-07 00:37:31 +02:00
Paul Ferrand
1e2ae6bce7 Unused variable and a wrong name 2020-10-07 00:37:31 +02:00
Paul Ferrand
d35ff4eb42 Add a volatile on the stop flag in the thread pool 2020-10-07 00:37:31 +02:00
Paul Ferrand
a505b9f037 gcc 4.9 idiosyncrasies 2020-10-07 00:37:31 +02:00
Paul Ferrand
9e0a1dff72 Add constructors to the QueuedFileData
Honestly a stupid queue would be fine at this point
2020-10-07 00:37:31 +02:00
Paul Ferrand
e693e82a39 The dispatcher was not spinning 2020-10-07 00:37:31 +02:00
Paul Ferrand
8ee4105b39 Deep change of the background loadingThe goal was to reduce the number of background threads in big sessions (multiple instances) and avoid loading the same file alot on repeated notes (e.g. drum tracks).- All instances use a common thread pool- Each instance has a dispatching job that starts background loader, and a garbage job that clears data that has been unused for some time- The "FilePromise" object has disappeared. Upon request, Voices get a very thin reference-counting handler to the file data. When the handler is released the reference count is decreased and a "last used" timestamp is added to the file.- The background file loading job checks i) if the file is already loaded, or ii) if some other thread is already loading it. If any case is validated, it exits assuming the background loading is already happening.- The garbage job has to be triggered regularly by e.g. the synth. In the RT thread the triggerGarbageCollection() method will check the list of previously loaded file Ids to see if any has not been used for a while. If so, the memory is set to be discarded by a background thread, otherwise it'll wait for the next ping.Only tested on Linux for now. 2020-10-07 00:37:31 +02:00
JP Cimalando
4e13493ab4
Merge pull request #464 from jpcima/loop-xfade
Loop xfade
2020-10-06 21:31:43 +02:00
Jean Pierre Cimalando
809edfa76c Make local copy of the loop characteristics 2020-10-06 21:06:03 +02:00
Paul Ferrand
24624abef1 Move the crossfade curve config to the config 2020-10-06 19:56:54 +02:00
redtide
b1a067506f Updated README, added Discord badge link 2020-10-06 19:54:13 +02:00
Paul Ferrand
cab43b6641 Move the crossfade spans closer to their actual use 2020-10-06 19:54:09 +02:00
Paul Ferrand
8f3be5ca3c Compute loop information at the start of the voice The check for actual looping is still done in the render method, to see if we do have enough samples 2020-10-06 19:52:24 +02:00
Jean Pierre Cimalando
35bc3f59b3 lv2: remove the duplicate port 2020-10-06 15:32:30 +02:00
Jean Pierre Cimalando
9f698aea4c Remove dead code 2020-10-06 11:54:02 +02:00
JP Cimalando
20a4675a73
Merge pull request #476 from jpcima/bypass-default-cc
Do not connect CC 7 and 10 if used in SFZ file
2020-10-06 11:09:31 +02:00
JP Cimalando
d5f0b4b6ff
Merge pull request #473 from jpcima/jack-client
Jack client improvements
2020-10-06 11:09:18 +02:00
Jean Pierre Cimalando
049739f8f1 Use the correct coeffs for xfIn 2020-10-06 10:49:41 +02:00
Paul Ferrand
0e2eacaa65
Merge pull request #353 from paulfd/runtime-configs
Add runtime configs for loading in ram and voice stealing
2020-10-06 10:24:54 +02:00
Jean Pierre Cimalando
6fc1d470ff Do not connect CC 7 and 10 if used in SFZ file 2020-10-06 04:45:22 +02:00
JP Cimalando
2351f18bfd
Merge pull request #475 from jpcima/fix-cc
Fix CC modulations, having their source depth to 0
2020-10-06 04:34:35 +02:00
Jean Pierre Cimalando
99d40ee31c Normalize stepcc in the source key 2020-10-06 04:24:54 +02:00
Jean Pierre Cimalando
b0e102c77e Fix CC modulations, having their source depth to 0 2020-10-06 03:53:32 +02:00
JP Cimalando
5ffd36393f
Merge pull request #474 from jpcima/more-pitch-range
Increase pitch ranges by 2 octaves
2020-10-06 02:36:44 +02:00
Jean Pierre Cimalando
15c745239f Increase pitch ranges by 2 octaves 2020-10-06 02:25:18 +02:00
Jean Pierre Cimalando
59ffddaad5 jack: correctness of variable access in signal handler 2020-10-06 02:12:59 +02:00
Jean Pierre Cimalando
e7c79a9b5f jack: use sfizz public API only 2020-10-06 02:11:03 +02:00
JP Cimalando
73248e048c
Merge pull request #472 from jpcima/export-ignore
Don't include dotfiles and CI files in release tarball
2020-10-06 01:04:59 +02:00
Jean Pierre Cimalando
92045a9d38 Don't include dotfiles and CI files in release tarball 2020-10-06 01:02:20 +02:00
Jean Pierre Cimalando
9835da1672 Fix the condition for the source tarball task
When building a release tag, the branch is not set to "master",
it is the name of the release tag.
Instead, do a regex match on the tag name to identify that we
are processing a release.
2020-10-06 00:42:28 +02:00
JP Cimalando
e8d052d50c
Merge pull request #459 from redtide/moved-scripts
Move Doxygen scripts
2020-10-06 00:25:37 +02:00
Jean Pierre Cimalando
fd3f79cecd Whitespace cleanup 2020-10-06 00:21:31 +02:00
redtide
545e714fb6 Removed old Doxygen build script 2020-10-06 00:20:21 +02:00
JP Cimalando
8c1f0f5d7c
Merge pull request #471 from jpcima/font
Windows fonts
2020-10-06 00:06:19 +02:00
Jean Pierre Cimalando
0190450563 Copy plugin resources recursively 2020-10-05 23:53:56 +02:00
Jean Pierre Cimalando
8998b4590a InnoSetup version does not support {autofonts} 2020-10-05 23:52:01 +02:00
Jean Pierre Cimalando
8688bc6a82 Add the installer script for Windows 7 system fonts 2020-10-05 23:51:54 +02:00
Jean Pierre Cimalando
9ada1cc210 Modify the UI font generation process, add script 2020-10-05 23:51:48 +02:00
JP Cimalando
5a2c2cc1b1
Merge pull request #470 from jpcima/audio-reader-benchmark
Audio reader benchmark in real conditions
2020-10-05 21:53:20 +02:00
Jean Pierre Cimalando
942f93fc8d Audio reader benchmark in real conditions 2020-10-05 19:04:25 +02:00
JP Cimalando
dc422d07d9
Merge pull request #445 from jpcima/ampeg-mm
Add egN_ampeg
2020-10-05 00:09:56 +02:00
Jean Pierre Cimalando
86d0cf3a49 Update the boolean reader 2020-10-05 00:00:15 +02:00
Paul Ferrand
0142c385dc Enable and disable the power follower depending on the chosen algorithm 2020-10-04 23:13:34 +02:00
Paul Ferrand
49c9e43687 Add runtime configs for loading in ram and voice stealing 2020-10-04 23:12:50 +02:00
Paul Ferrand
5b4e673fe7 Use the new boolean helper and test the ampeg connection 2020-10-04 23:00:52 +02:00
Paul Ferrand
ab3715f7a9 Read 0 or 1 values as valid booleans 2020-10-04 23:00:21 +02:00
Paul Ferrand
4acd1ca8c5
Merge pull request #469 from paulfd/oversampling-offset
Oversampling offset
2020-10-04 20:50:42 +02:00
Paul Ferrand
991873caf3
Merge pull request #467 from paulfd/multiple-globals-polyphony
Don't assume a single <global> for region sets
2020-10-04 17:44:43 +02:00
JP Cimalando
0086760020
Merge pull request #468 from paulfd/larger-amplitude
Put a high amplitude range
2020-10-04 17:38:40 +02:00