Chris Cannam
|
59d0ff6abe
|
Rework output resampler handling to deal with case where fewer samples are consumed than available
|
2024-03-15 16:59:22 +00:00 |
|
Chris Cannam
|
cbb8329057
|
Exploratory work
|
2024-03-15 16:44:38 +00:00 |
|
Chris Cannam
|
7d1294098a
|
Merge from default branch
|
2024-03-07 15:20:48 +00:00 |
|
Chris Cannam
|
6915476164
|
Update dates
|
2024-03-07 15:19:37 +00:00 |
|
Chris Cannam
|
c2fbd6f215
|
Some work on resampler delay
|
2024-02-23 13:21:28 +00:00 |
|
Chris Cannam
|
0d100127f6
|
Merge from default branch
|
2024-01-31 17:32:07 +00:00 |
|
Chris Cannam
|
91db97f8f5
|
Fix some compiler warnings, and suppress a few others for MSVC
|
2023-12-15 20:32:57 +00:00 |
|
Chris Cannam
|
888eed2faa
|
Merge from default branch
|
2023-10-26 15:09:36 +01:00 |
|
Chris Cannam
|
c69c3b7473
|
Add getProcessSizeLimit
|
2023-07-25 13:11:21 +01:00 |
|
Chris Cannam
|
d2d8e48c91
|
Some docs
|
2023-06-30 16:43:59 +01:00 |
|
Chris Cannam
|
5935d17ee0
|
Introduce first cut of live shifter
|
2023-06-29 16:49:30 +01:00 |
|
Chris Cannam
|
73f7f7bb0a
|
Fix handling of oversized process buffers in mid-side mode
|
2023-06-07 17:01:47 +01:00 |
|
Chris Cannam
|
b1cd0913e2
|
Significant further work on internal buffer sizes
|
2023-06-01 14:09:39 +01:00 |
|
Chris Cannam
|
af6759f74b
|
Work on proper sizing of internal buffers
|
2023-06-01 10:51:20 +01:00 |
|
Chris Cannam
|
529634134e
|
Attempt a test for libatomic requirement
|
2023-04-25 17:03:49 +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
|
963752951d
|
Fix erroneous limits calculations
|
2023-03-23 17:26:28 +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
|
4b4c50b479
|
Tests for handling of final flag
|
2023-02-21 10:28:57 +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
|
cc3e265b26
|
Update copyright dates
|
2023-01-10 11:10:06 +00: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
|
9e423cdd8c
|
Handle non-ideal sample rates in R3; document sample rate parameter
|
2022-09-26 16:02:13 +01:00 |
|
Chris Cannam
|
a5e2bfa444
|
Fix some (benign) shadowing warnings
|
2022-09-20 09:30:48 +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 |
|
Chris Cannam
|
4336d47a02
|
With longer process sizes we can end up with insufficient space in the inbuf, but enough in the outbuf following the previous retrieve call for a consume to be possible before writing to the inbuf
|
2022-09-01 10:41:25 +01:00 |
|
Chris Cannam
|
e58c6018c5
|
This appears benign and should be slightly quicker
|
2022-08-18 15:24:24 +01:00 |
|
Chris Cannam
|
c9565266f2
|
Adjust the limits, with performance in mind - to be auditioned
|
2022-08-18 14:27:57 +01:00 |
|
Chris Cannam
|
6ecc973d41
|
Keep a structure with recommended limits for inhop/outhop in current configuration; skip readahead entirely when inhop is greater than a certain limit - allowing us to reduce start delay further in short-window mode
|
2022-08-05 14:58:12 +01:00 |
|
Chris Cannam
|
3eae190a85
|
This is not actually usually a serious problem, unlike the <1 case which can be genuinely troublesome
|
2022-08-04 16:31:23 +01:00 |
|
Chris Cannam
|
7833e1bff1
|
Avoid kick analysis in single-window mode; comment update
|
2022-08-04 12:08:15 +01:00 |
|
Chris Cannam
|
5b26e90a58
|
Fix to windowing offsets
|
2022-08-04 11:19:13 +01:00 |
|
Chris Cannam
|
fe9e86bc3c
|
Per-channel window source buffer, & connect it up
|
2022-08-04 10:31:36 +01:00 |
|
Chris Cannam
|
d1386b0a0c
|
Provide a separate window source buffer to simplify single/multi window logic
|
2022-08-04 10:02:09 +01:00 |
|
Chris Cannam
|
2fa0e1162e
|
Toward properly expressing the window sizes in Guide when in single-window mode, so as to separate the time-domain frame length from the longest FFT within R3Stretcher and allow us to use a shorter time-domain frame. Not working correctly in single-window mode yet.
|
2022-08-03 14:16:17 +01:00 |
|
Chris Cannam
|
9fff2836c6
|
Avoid RatioMostlyFixed in RealTime mode, it can lead to unpleasant surprises
|
2022-08-02 16:22:24 +01:00 |
|
Chris Cannam
|
d0cca91e30
|
Impose a limit here
|
2022-07-14 13:52:04 +01:00 |
|