13
0
livetrax/libs
Asahi Lina d1cc71150f Adjust interpretation of swing amount
Previously,

0 -> no swing (1:1, 50%)
50 -> triplet swing (2:1, 66%)
75 -> hard swing (3:1, 75%)
100 -> sextuplet swing (5:1, 83%) (default!)
150 -> absolute maximum (inf:1, 100%)

This is rather confusing...

One common interpretation uses percentages of the beat, where triplet
swing is 66%. However, that causes precision issues since it's really
66.666...

Since we already default to 100 and take "no swing" as zero, let's make
that reference point triplet swing. Then the scale becomes:

0 -> no swing (1:1)
100 -> triplet swing (2:1)
150 -> hard swing (3:1)
200 -> sextuplet swing (5:1)
300 -> absolute maximum (inf:1)

300 doesn't make any sense, so let's change the range to -250 .. 250
which covers all useful values.

Also remove the division through 100 and back, to avoid rounding issues.

Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-09-09 20:06:37 +09:00
..
appleutility
ardour Adjust interpretation of swing amount 2023-09-09 20:06:37 +09:00
ardouralsautil ALSA: disambiguate multiple soundcards with the same name 2023-07-02 00:17:58 +02:00
audiographer Fix shaped dither (#9342) 2023-05-22 04:50:19 +02:00
auscan
backends Amend d899441df1, fix duplicate device map entries 2023-07-03 19:57:55 +02:00
canvas Fix canvas rectangle bounding box 2023-09-07 02:45:26 +02:00
clearlooks-newer
ctrl-interface push2: remove debug output 2023-09-08 14:57:07 -06:00
evoral domain swaps for MIDI CC and other controls 2023-08-16 09:06:10 -06:00
fluidsynth Fix invalid use of Doxygen "@param" command 2022-10-30 20:44:28 -04:00
fst Fix cross-compile linking (libusb - see also 5794d21a76) 2023-05-04 21:31:13 +02:00
gtkmm2ext libpbd/guis: move __invalidator() into PBD::EventLoop 2023-08-30 16:06:14 -06:00
hidapi
libltc
lua Lua: allow to reserve STL vector size 2023-07-12 18:23:51 +02:00
midi++2 Fix various MMC commands, set request-source 2023-06-04 01:15:02 +02:00
panners switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr 2023-03-24 14:19:15 -06:00
pbd libpbd: tweak for printing pthread ID (windows is int/*nix is ptr) 2023-08-31 10:34:48 -06:00
plugins Fix another lv2core header include 2023-05-07 01:41:01 +02:00
ptformat
qm-dsp Address some Wmissing-prototypes in qm-dsp 2022-11-26 16:23:52 +01:00
surfaces push2: add velocity sensitivity 2023-09-08 14:57:28 -06:00
temporal temporal: fix crash caused by unsafe use of tempo map iterators 2023-09-06 14:46:24 -06:00
vamp-plugins Fix EBU-R128 loudness analysis for mono signals 2023-02-02 17:58:46 +01:00
vamp-pyin
vfork Fix vfork wrapper for macOS 2023-03-25 07:46:47 +01:00
vst3 Ignore Steinberg's non-virtual-d'tor 2023-02-08 02:03:54 +01:00
waveview switch from glib atomic to std::atomic (libs edition) 2023-03-24 14:19:15 -06:00
widgets Add icon for the Grid tool 2023-09-06 19:13:59 +02:00
zita-convolver
zita-resampler