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
auscan
backends
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
fst
gtkmm2ext libpbd/guis: move __invalidator() into PBD::EventLoop 2023-08-30 16:06:14 -06:00
hidapi
libltc
lua
midi++2
panners
pbd libpbd: tweak for printing pthread ID (windows is int/*nix is ptr) 2023-08-31 10:34:48 -06:00
plugins
ptformat
qm-dsp
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
vamp-pyin
vfork
vst3
waveview
widgets Add icon for the Grid tool 2023-09-06 19:13:59 +02:00
zita-convolver
zita-resampler