Chris Cannam
|
173c7212f1
|
Ensure tests actually exercise large input buffers
|
2023-06-01 10:51:09 +01:00 |
|
Chris Cannam
|
f0b9061028
|
Use longer time ratio, otherwise we are retrieving fewer samples than we intended to
|
2023-05-31 14:06:15 +01:00 |
|
Chris Cannam
|
ffaef18a9d
|
Use parameters more similar to the other tests, as the internal test checking code expects these (otherwise we have spurious failures with some resamplers)
|
2023-05-31 09:35:27 +01:00 |
|
Chris Cannam
|
488de631a0
|
Add test with longer blocksize in realtime mode
|
2023-05-31 09:10:52 +01:00 |
|
Chris Cannam
|
529634134e
|
Attempt a test for libatomic requirement
|
2023-04-25 17:03:49 +01:00 |
|
Chris Cannam
|
9e8ef1eeaf
|
Further slackening necessary for 32-bit builds
|
2023-04-06 11:04:45 +01:00 |
|
Chris Cannam
|
ab9c0de723
|
Slacken a test slightly for kissfft builds
|
2023-04-05 12:00:00 +01:00 |
|
Chris Cannam
|
dfef60c486
|
Slacken some test expectations appropriately for non-builtin resampler, after reviewing the output
|
2023-04-05 11:51:26 +01:00 |
|
Chris Cannam
|
b9f2b58e1f
|
Fix use of final flag more than once at end of processing (causing a test failure with libsamplerate)
|
2023-04-05 11:14:04 +01:00 |
|
Chris Cannam
|
ba9fe26dcd
|
Never phase reset on silence in side channel, now that such resets are carried across
|
2023-03-24 17:51:44 +00:00 |
|
Chris Cannam
|
fbb4979f87
|
Further reset tests
|
2023-03-23 17:26:36 +00:00 |
|
Chris Cannam
|
963752951d
|
Fix erroneous limits calculations
|
2023-03-23 17:26:28 +00:00 |
|
Chris Cannam
|
adfe1ff2cf
|
Further resets
|
2023-03-23 17:26:11 +00:00 |
|
Chris Cannam
|
d063f851b4
|
Further test
|
2023-03-23 13:01:19 +00:00 |
|
Chris Cannam
|
47f8845486
|
Remove duplicate tests
|
2023-03-23 10:26:57 +00:00 |
|
Chris Cannam
|
99d2d4a080
|
Further adjustments to reset, and ensure initial prev in/out hops are set the same way if ratios set after construction as they are if ratios set on construction. Plus tests
|
2023-03-23 10:25:18 +00:00 |
|
Chris Cannam
|
6c71159593
|
More reset tests, tighten up reset logic
|
2023-03-22 13:26:15 +00:00 |
|
Chris Cannam
|
5f93a90902
|
Merge from branch midside3
|
2023-03-20 10:08:20 +00:00 |
|
Chris Cannam
|
2dcb27d3dd
|
Toward properly testing reset
|
2023-03-20 10:08:01 +00:00 |
|
Chris Cannam
|
e2611485d8
|
Use mid-side processing in channels-together mode in R3; for a more stable stereo image, ensure transient bins are reset in mid whenever they are in side
|
2023-03-17 13:19:18 +00:00 |
|
Chris Cannam
|
d3830870c0
|
Experiments with mid-side in R3 - in this code always used when channels=2
|
2023-03-15 18:01:21 +00:00 |
|
Chris Cannam
|
4d5460c3e8
|
Reporting fix
|
2023-03-08 14:44:52 +00:00 |
|
Chris Cannam
|
a4299b0ec6
|
Expand tests
|
2023-02-21 11:30:04 +00:00 |
|
Chris Cannam
|
4b4c50b479
|
Tests for handling of final flag
|
2023-02-21 10:28:57 +00:00 |
|
Chris Cannam
|
d5dd0e573a
|
Further timing tests
|
2023-02-20 17:46:10 +00:00 |
|
Chris Cannam
|
1368ba87ee
|
Fix latency calculations in resample-before modes. This affects realtime use in the non-recommended realtime pitch modes (i.e. those other than HighConsistency)
|
2023-02-20 15:26:12 +00:00 |
|
Chris Cannam
|
afd1b1f86c
|
Ensure we consume when called with final=true and no samples - this was the default behaviour in R2 and also initially in R3 but changed when resample-before modes were added
|
2023-02-20 15:25:27 +00:00 |
|
Chris Cannam
|
0fb8b19ab5
|
Working on further tests
|
2023-02-20 09:53:20 +00:00 |
|
Chris Cannam
|
b317d0e81a
|
Fix handling of final block in speex resampler - there is no guarantee a single pad call will return enough data on its own either
|
2023-01-17 12:34:50 +00:00 |
|
Chris Cannam
|
cc3e265b26
|
Update copyright dates
|
2023-01-10 11:10:06 +00:00 |
|
Chris Cannam
|
549906e033
|
Remove the last occurrences of "using namespace std"
|
2023-01-10 11:04:50 +00:00 |
|
Chris Cannam
|
c871f92b2e
|
Merge
|
2022-11-16 10:13:20 +00:00 |
|
Chris Cannam
|
3960bca0ab
|
Make this exception optional on NO_EXCEPTIONS, as the others are (required for Android)
|
2022-11-16 10:12:41 +00:00 |
|
Chris Cannam
|
50eb332ec8
|
Fixes suitable for mingw32 builds
|
2022-11-08 08:32:05 +00:00 |
|
Chris Cannam
|
52fc576500
|
Remove obsolete file
|
2022-09-30 10:36:35 +01:00 |
|
Chris Cannam
|
1bd266cdb6
|
Defend against NaN/Inf and negative ratios
|
2022-09-30 10:36:29 +01:00 |
|
Chris Cannam
|
50b231ee23
|
Merge
|
2022-09-29 16:26:46 +01:00 |
|
Chris Cannam
|
11d5deff62
|
Reverting these tweaked values to their 3.0 state - this change wasn't an obvious improvement and just meant that the output no longer matched the last round of listening tests, so revert it
|
2022-09-29 15:57:11 +01:00 |
|
Chris Cannam
|
f194becadf
|
Use number of actually-populated bands, not total number
|
2022-09-29 15:45:47 +01:00 |
|
Chris Cannam
|
de56cd114a
|
Update the resampler logic to follow that of R2 more - ignore the pitch hq/hs setting in offline mode entirely. The alternative is too tricky to handle elegantly in the command line tool, which I think means too complicated
|
2022-09-29 11:19:21 +01:00 |
|
Chris Cannam
|
1dc6abdb96
|
Remove libresample support. It hasn't been exercised in years and nobody should be using it in preference to the other options
|
2022-09-27 08:47:33 +01:00 |
|
Chris Cannam
|
9e423cdd8c
|
Handle non-ideal sample rates in R3; document sample rate parameter
|
2022-09-26 16:02:13 +01:00 |
|
Chris Cannam
|
57d59b4c7a
|
Eliminate the mlock logic entirely. It's caused a couple of issues lately and it turns out it wasn't even used!
|
2022-09-26 10:11:16 +01:00 |
|
Chris Cannam
|
020702e7ea
|
Fix include path. Very poor that this wasn't exercised by my build or CI runs
|
2022-09-26 09:37:55 +01:00 |
|
Chris Cannam
|
56058cc288
|
Fix plainly dumb error
|
2022-09-20 10:27:16 +01:00 |
|
Chris Cannam
|
a5e2bfa444
|
Fix some (benign) shadowing warnings
|
2022-09-20 09:30:48 +01:00 |
|
Chris Cannam
|
e90f377600
|
Don't use drand48, it doesn't always exist and since we don't care about the quality of output, it's not worth testing for
|
2022-09-20 09:30:34 +01:00 |
|
Chris Cannam
|
2eb9a20052
|
There's no longer any good reason to do this; remove it
|
2022-09-09 11:22:53 +01:00 |
|
Chris Cannam
|
92362bdba0
|
Resample in chunks as well, to avoid overrunning resample buffer
|
2022-09-02 15:08:29 +01:00 |
|
Chris Cannam
|
021de9d51c
|
Add resample-before mode
|
2022-09-02 14:49:34 +01:00 |
|