summaryrefslogtreecommitdiff
path: root/libs/ardour/test
AgeCommit message (Collapse)Author
2018-03-02Remove interpolation unit-test (fails to compile)Robin Gareus
Ardour vari-speed does no longer use ARDOUR::CubicInterpolation and LinearInterpolation was removed. vari-speed is now using zita-resampler.
2017-09-24convert codebase to use Temporal for various time typesPaul Davis
2017-09-19More s/frame/sample/ - fixes unit-test compilationRobin Gareus
"frame" in #include file-names was replaced, this actually renames the files to follow suit.
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
2017-08-17Fix unit-test data (XML attributes changed)Robin Gareus
2017-07-22Remove redundant beat arg from TempoMap::add_meternick_m
BBT time should be enough to determine the beat.
2017-06-08Remove debugging from TempoTest::qnDistanceTestRamp ()nick_m
2017-05-23Remove old jack_utils.h header that was moved to the JACK backendTim Mayberry
Also remove a related test that has not been part of the unit tests since the move (years).
2017-02-27complete changes to tempo type.nick_m
- this implements in the intention behind the previous commit. a tempo mark is constant until its end has been changed by a shift-drag on the next marker.
2016-12-19add frame parameter for Meter ctor and TempoMap::replace_meter(). allow for ↵nick_m
various failures.
2016-12-04Skip testing example lua scripts which are not bundledRobin Gareus
2016-11-14Pass const references to plugin-listRobin Gareus
2016-11-11remove unused variable and debugging.nick_m
2016-11-11use note_type explicitly when constructing a Tempo in the hope that others ↵nick_m
follow. - should be a no-op
2016-11-11TempoSection::tempo_at methods return a Tempo, document the opposite direction.nick_m
2016-11-11rename Tempo _beats_per_minute to _note_types_per_minute, provide pulse helpers.nick_m
- adds quarter_notes_per_minute(), note_divisions_per_minute (double) pulses_per_minute() and frames_per_quarter_note() - this should be a no-op except for the use of tempo by the vst callback which definitely uses quarter notes per minute. - the XML node for TempoSection named 'beats-per-minute' has been renamed.
2016-11-11fix lock error in empoMap::quarter_note_at_bbt_rt(), expand constant tempo test.nick_m
2016-11-11remove unused TempoMap::tempo_at_beat(). implement unused ↵nick_m
tempo_at_quarter_note().
2016-11-11remove remaining frame api from TempoSection.nick_m
2016-11-11remove public pulse methods from TempoMap.nick_m
- the only object whose musical position is not expressed in quarter notes is MetricSection. there is now no need to expose this.
2016-11-11Refactor tempo api, include quarter-note distance in frames method.nick_m
- moves frame rounding up to TempoMap, which is needed in order to calculate pulse distance without frame rounding. - the time unit for tempo is still minute, but this now also applies to meter sections. (new audio locked meter sections no longer require a frame position). - there is no longer a discontinuity in the pulse for audio-locked meter/tempi. - temporarily add debugging output in Region::set_position() to test for region beat not matching region frame.
2016-10-25expand on existing tempo tests.nick_m
2016-10-13Improve check in tempoAtPulseTestnick_m
2016-10-13Fix ramp test, add tempoAtPulseTest.nick_m
2016-10-11skip Push2 unit-test for now:Robin Gareus
The test segfaults due to missing screen and prevents other libardour unit tests from running.
2016-10-11Unit-tests to check Lua session+DSP scriptsRobin Gareus
2016-10-02Remove unused methods, add tests to ensure meter divisors don't mess with Beats.nick_m
- TempoMap::framepos_minus_beats() was only used by its test, so don't build the test.
2016-09-19Add test to create new Sessions with localized names and reopen themTim Mayberry
This test is successful on Linux but fails on Windows currently because of the incorrect realpath implementation for windows in pbd/path_expand.cc
2016-09-19Copy UTF-8 test strings from libpbd tests into libardour test utilsTim Mayberry
Ideally these would be shared.
2016-08-10BBTTest::addTest() should add a meter rather than replacing the first one.nick_m
2016-08-10Make tempo tests use the api more correctly.nick_m
- TempoMap initially contains a tempo and meter. using add_tempo/meter() using the position of an existing section does the right thing, but prints a warning. Use replace_tempo/meter().
2016-06-25Fix counting thinko in tests.nick_m
- note that the negative framepos in FrameposPlusBeatsTest::singleTempoTest() will not pass. needs some thougt as to whether it is testing the correct thing.
2016-06-22another C++98 fixRobin Gareus
2016-06-08Fix a couple of build errors in the test suite.Colin Fletcher
The parameters to Session::new_audio_track() changed in e0ff70cf, and Playlist::region_list() was renamed to region_list_property() in fce6ac0e. Update calls to these functions in the test suite to match. A couple of tests still fail after these changes.
2016-05-27Tempo ramps - more code consolidation wrt add meter/tempo.nick_m
2016-05-27Tempo ramps - fix ambiguous api, fix flickering tempo curves.nick_m
2016-05-27Tempo ramps - api change, remove some code.nick_m
2016-05-27Tempo ramps - make ramp test more challenging.nick_m
2016-05-27Tempo ramps - tempo related tests pass, add ramp test.nick_m
2016-05-27Tempo ramps - check for impossible locations tempo dialog bbt entry. ↵nick_m
reorganise code.
2016-05-27Tempo ramps - fix crazy compilable namespace thinkonick_m
2016-05-27Tempo ramps - remove the concept of bars from tempo sections.nick_m
- this helps where tempo and meter have a somewhat circular dependency. MetricSection now has a musical position expressed in beats (a double). MeterSection still has a bbt, but it really isn't needed as we have enough information to discover the number of bars at a given beat without it. TempoSection now has a hack to enable loading of legacy sessions, which will ultimately be a lot cleaner than the current code. Removing bars from tempo sections also allows us to place them at arbitrary frames (implemented here).
2016-05-27Tempo ramps - define_one_bar() delivers constant tempo.nick_m
- also some renaming and code review
2016-05-27Tempo ramps - get tests to comile again.nick_m
2015-12-01Fix broken load-session utility and change it to load and save a sessionTim Mayberry
Rename run-session-tests.sh script to load-save-session.sh and make it operate on only a single session and add a separate load-save-session-collection.sh script Add --massif option to load-save-session.sh script Rename some poorly named variables and add some documentation to the load-save-session.sh script
2015-11-04Make duplicate start at position, not position + 1. (libs part)André Nusser
2015-10-06add missing includeRobin Gareus
2015-10-06CPPUNIT workaround for mingw/wine/windowsRobin Gareus
2015-10-05remove unused fstream includesRobin Gareus
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus