Commit graph

1396 commits

Author SHA1 Message Date
Paul Ferrand
3599940283 moveEvent is noexcept 2020-01-19 07:42:52 +01:00
Paul Ferrand
313aed391c The volume envelope was applied twice 2020-01-19 07:27:02 +01:00
Paul Ferrand
ffebe9df9a
Mono process for the crossfade envelope
The right channel should be blank at this point of the process so you only need to apply the envelope to the left channel
2020-01-19 07:16:20 +01:00
Paul Ferrand
5873814272
Typo in the second crossfade check on CC dispatch 2020-01-19 07:14:06 +01:00
Michael Willis
e85c7025fa Support updated crossfading during note playback 2020-01-18 22:56:36 -07:00
Paul Ferrand
a52625044e MSVC warnings/errors for the logger 2020-01-18 16:51:58 +01:00
Paul Ferrand
ed402c92a0 Added a way to activate/deactivate logging 2020-01-17 14:10:28 +01:00
Paul Ferrand
c7ecaaa060 Logger now works as expected 2020-01-14 17:26:08 +01:00
Paul Ferrand
24bd0d8119 Removed cout logging and put the wait time with load times 2020-01-14 17:26:08 +01:00
Paul Ferrand
c3d5a06082 Print statistic on destruction 2020-01-14 17:26:08 +01:00
Paul Ferrand
2588ec2822 Added logging in callbacks and loading threads 2020-01-14 17:26:08 +01:00
Paul Ferrand
93b07dfac9 Added some logging facility for callback and
file loading times
2020-01-14 17:26:08 +01:00
Paul Ferrand
d9dfbaf06f Wrong method called on the queue to check if empty
`size()` is the max size
2020-01-05 12:11:29 +01:00
Paul Ferrand
a30e539127 Removed Moodycamel's queue 2020-01-05 11:53:45 +01:00
Paul Ferrand
3268bcde3a Merge branch 'windows' into develop 2020-01-05 11:41:18 +01:00
Paul Ferrand
0e76a67368 Changed loops to size_t 2020-01-05 10:09:39 +01:00
Paul Ferrand
2c2c31f542 Changed the templates and loops to size_t in
AudioBuffer and AudioSpan
2020-01-05 10:09:25 +01:00
Paul Ferrand
391b2dc2e4 Added include for size_t 2020-01-05 00:58:28 +01:00
Paul Ferrand
78a4a63459 Change all of channel numbers and number of frames
to size_t
2020-01-05 00:20:37 +01:00
Paul Ferrand
7243e7aaa0 Changed the pitch bend normalization to an input float 2020-01-05 00:19:49 +01:00
Paul Ferrand
df7e9feb98 Make some casts explicit and correct literals 2020-01-05 00:19:29 +01:00
Paul Ferrand
d33f5dae51 Cast to long explicitely 2020-01-05 00:17:22 +01:00
Paul Ferrand
df8933bed1 Cast to uint32_t explicitely 2020-01-05 00:17:08 +01:00
Paul Ferrand
a36dc0826b Add Config.h first to silence a warning under msvc 2020-01-05 00:16:19 +01:00
Paul Ferrand
dabd5eb7a4 [API break] Changed the return type of get_num_preloaded_samples
to match the one of the C++ synth
2020-01-05 00:15:31 +01:00
Paul Ferrand
ab6d1c5d02 Explicit casting 2020-01-04 17:38:51 +01:00
Paul Ferrand
ef425d638a Updated cmake for the macros 2020-01-04 17:38:14 +01:00
Paul Ferrand
60a08863c6 Handle the stricter iterators of msvc 2020-01-04 16:37:46 +01:00
redtide
78fedf6daf Added opcode aliases 2020-01-04 16:35:28 +01:00
Paul Ferrand
fc28329822 Silence an MSVC warning about implicit conversion 2020-01-04 16:33:54 +01:00
Paul Ferrand
67fdd6766f Whitespace 2020-01-04 16:32:35 +01:00
Paul Ferrand
5a21c52164 Handle wide chars on windows 2020-01-04 16:32:18 +01:00
Paul Ferrand
a29f07a27f atomic_queue modifications for windows builds 2020-01-04 16:30:48 +01:00
Paul Ferrand
6b713b11c4 Added a NOMINMAX define for windows builds 2020-01-04 16:30:23 +01:00
Paul Ferrand
6f10680349 Slightly better handling of the loop indicesMay still need work 2020-01-03 18:06:36 +01:00
Paul Ferrand
cf0d237ff8 Silenced the debug message for now 2020-01-03 17:44:20 +01:00
Paul Ferrand
96c98055de ARM64 build
Note that the build may fail to run
with "illegal instruction"; to check
2020-01-03 17:42:14 +01:00
Paul Ferrand
ef0685963b Added load time checks 2020-01-03 17:32:40 +01:00
Paul Ferrand
b34cb8fdfb Corrected a possible read into random memory
and added a debug message for underflows
2020-01-03 15:19:39 +01:00
Paul Ferrand
f410bcb072 Changed the queue and added debug messages 2020-01-03 15:19:39 +01:00
Paul Ferrand
1d5a70b252 Added another atomic queue 2020-01-03 15:19:39 +01:00
Paul Ferrand
543931d185 Updated moodycamel's concurrent queue 2020-01-03 09:47:14 +01:00
Paul Ferrand
5cbd21af51 For libraries that do not specify keyswitch ranges
only add regions to the activation list
if it has actual keyswitch opcodes
2019-12-30 00:32:15 +01:00
Paul Ferrand
644b678880 Removed the assertion since it may create issues when
missing notes
2019-12-30 00:30:39 +01:00
Paul Ferrand
0d0cf64405 Changed the legato logic
The midistate now counts the active notes instead of it
being per-region
2019-12-30 00:10:20 +01:00
Paul Ferrand
2dbc870f9a Added a new method to ranges 2019-12-29 23:09:34 +01:00
Paul Ferrand
146253c3b7 Changed the off-group logic
and some cosmetics
2019-12-29 23:00:45 +01:00
Paul Ferrand
126e4674db One more level of dispatch in the synth
This is in order to be able to trigger note-off regions without killing
all notes of the same group
2019-12-29 23:00:20 +01:00
Paul Ferrand
7aff30f58a If multiple loop regions in the file take the 1st 2019-12-29 22:59:19 +01:00
Paul Ferrand
63cc8ef26e Cosmetics 2019-12-29 21:17:57 +01:00