Paul Davis
|
bed76798f3
|
manual fixups after rebase against master (general libs edition)
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
afea443419
|
remove API from Temporal:timecnt_t that used superclock_t
Not possible for a compiler to differentiate superclock_t and sample(pos|cnt)_t, which can lead to
subtle but major errors
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
9402548677
|
Temporal: add lots more DEBUG::TemporalMap output to tempo.cc
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
793579cf3f
|
Temporal: expand displayed info for Tempo's operator<<
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
a0b9030e3c
|
Temporal: fix logic during ::get_grid that ignored if rounding did nothing
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
f1bb135013
|
Temporal: fix computation of ::quarters_at()
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
7085dccebc
|
Temporal: make Tempo:: super_note_type_per_second publically accessible
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
c3d325b56a
|
Temporal: clean up API for timepos_t to remove unneeded duplicates and remove ambiguity
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
52ddf91e5b
|
Temporal: explain with timepos_t::_{ticks,beats} are for
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
5887ee524e
|
Temporal: further improvements to a timepos_t::distance() method
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
7c56b9b2fc
|
Temporal: fix insanely incorrect implementation of timepos_t::distance()
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
def35cf043
|
mark BBT_Offset (double) constructor explicit to avoid implicit conversion in timeline expressions.
Also clean up the mess this had caused.
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
b01b6929fb
|
fix potential for overflow when converting larger sample counts to superclock.
int_div_rount<T> was using int (32 bits) which could overflow.
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
15b28b103a
|
NOOP: whitespace changes
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
f8a0ba246c
|
move superclock_ticks_per_second declaration
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
f0008898af
|
add operator<<() for timecnt_t()
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
b876baa757
|
Temporal: various changes to arithmetic/logic methods to avoid assert() on domain mismatches where none is really needed
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
baaa8f36ca
|
fix timepos_t::max and timecnt_t::max to avoid int62_t flag bit
Both should likely just re-use int62_t::max
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
02b98290c5
|
set uninitialized _time_domain member of TempoMap in constructor
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
8bd465fc61
|
Add method to set thread_local _thread_sample_rate complete with debugging output
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
b06b856934
|
tweak test code to check int62_t::min and flag bit
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
5772dcc72b
|
include temporal/range.cc as source module
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
8dbbc1df54
|
library changes to get libtemporal setup at application startup
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
adacaf3837
|
extend TempoMap API to assist with drag-RCU
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
49781e3b80
|
nominally fix up TempoMarkerDrag implementation for new TempoMap
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
cfac6ad254
|
comment code added in previous commit
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
44ff395ec8
|
move tempo map memento binder into .cc and actuall implement the RCU version
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
ed016dd4e6
|
fix TempoMap memento command binder
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
09d877004d
|
add a MementoCommand binder for TempoMap
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
79763893b3
|
remove/hide Session::tempo_map() and use TempoMap::use() instead (thread local shared ptr)
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
60d1c5f722
|
remove tempo map from Session
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
9f866a6bbe
|
consolidate some TempoMap modifier methods
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
dade9994d8
|
collect together modifying TempoMap methods, and make ::apply_with_metrics() more clearly const
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
c434289973
|
remove lock, _dirty and _generation nonsense from TempoMap (pre-RCU management)
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
1098b27b35
|
new tempo map API for almost all of the GUI now
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
f7ff656619
|
add convenience methods to access tempo & meter
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
5150e856b0
|
add to enums list for libtemporal
|
2021-08-13 12:51:29 -06:00 |
|
Paul Davis
|
bf318aacb5
|
add missing file
|
2021-08-13 12:51:29 -06:00 |
|
Paul Davis
|
e7d84a7c47
|
get further at runtime
|
2021-08-13 12:51:29 -06:00 |
|
Paul Davis
|
534c08074d
|
changes to get program to actually run (missing symbols)
Still crashes at startup due to static initialization of initial tempo map.
|
2021-08-13 12:51:29 -06:00 |
|
Paul Davis
|
cdab3a5e8f
|
fix a bunch of missing symbols related to temporal
|
2021-08-13 12:51:29 -06:00 |
|
Paul Davis
|
749a49c278
|
incorporating new tempo map API
|
2021-08-13 12:51:29 -06:00 |
|
Paul Davis
|
f67029bd02
|
random commit to facilitate trivial move of work from laptop back to main system
|
2021-08-13 12:51:29 -06:00 |
|
Paul Davis
|
768ce21d9f
|
Temporal: new files, likely to be removed in the final version
|
2021-08-13 12:51:29 -06:00 |
|
Paul Davis
|
b5c945e211
|
Temporal: another useful static method
|
2021-08-13 12:51:29 -06:00 |
|
Paul Davis
|
8fb70885ec
|
changes needed to get audio_clock.cc to work
|
2021-08-13 12:51:29 -06:00 |
|
Paul Davis
|
169bbf3b08
|
temporal: more API tweaks as conversions continue in libardour
|
2021-08-13 12:51:29 -06:00 |
|
Paul Davis
|
bca8e2e8cc
|
libtemporal: changes derived from converting libardour
|
2021-08-13 12:51:28 -06:00 |
|
Paul Davis
|
e111123b54
|
Temporal: fix test2.cc now that operator int64_t is private
|
2021-08-13 12:51:28 -06:00 |
|
Paul Davis
|
ddac0f7651
|
Temporal: what was that comment about not being able to disambiguate samples and superclocks?
|
2021-08-13 12:51:28 -06:00 |
|