Commit Graph

779 Commits

Author SHA1 Message Date
Chris Cannam
5e726e79aa Toward further tests 2022-06-24 18:05:32 +01:00
Chris Cannam
512d855043 An R3 test 2022-06-24 14:01:22 +01:00
Chris Cannam
b9e6ebb6e3 Implement setMaxProcessSize in R3 2022-06-24 14:01:11 +01:00
Chris Cannam
9c04885d27 Read correct sample count out from mixdown buffer, when draining and having read less than one outhop at input 2022-06-24 13:25:36 +01:00
Chris Cannam
2478d54c05 We actually need to fill with the whole size (matching our reported latency) 2022-06-24 11:51:25 +01:00
Chris Cannam
d65755427f In offline mode, create the resampler only if needed (i.e. if the pitch ratio is still 1.0 at the point when process is first called); and use plain 2048-sample fft with unity stretch 2022-06-24 10:51:40 +01:00
Chris Cannam
3b168ca55e Initial simple test 2022-06-23 15:13:48 +01:00
Chris Cannam
539c35c4ee Handful of StretchCalculator tests 2022-06-23 11:53:35 +01:00
Chris Cannam
86fa26205d Merge from branch logger 2022-06-23 09:52:36 +01:00
Chris Cannam
9845e4bb38 Make this a default implementation of Logger rather than a special case in Log 2022-06-23 09:52:23 +01:00
Chris Cannam
b318fb4e8b Wire through debug level changes; tidy 2022-06-22 13:42:58 +01:00
Chris Cannam
5137b19407 Wire up Log throughout 2022-06-22 11:33:36 +01:00
Chris Cannam
e8b63bd10d These can just be overloads for log, which at least avoids us using log2 as a method name here 2022-06-22 09:10:02 +01:00
Chris Cannam
ad5b885deb Further logging updates 2022-06-21 20:26:25 +01:00
Chris Cannam
7434abe664 More on logging 2022-06-21 17:03:24 +01:00
Chris Cannam
35653f3a86 Start reworking log output 2022-06-21 16:06:16 +01:00
Chris Cannam
e546767a6d Rename/rejig so as to have just a single Impl and then R2 and R3 stretcher classes 2022-06-21 10:25:08 +01:00
Chris Cannam
f3f06c55cb Sketch implementation of setKeyFrameMap 2022-06-17 17:52:28 +01:00
Chris Cannam
8c07d06d72 Small simplification 2022-06-17 16:56:09 +01:00
Chris Cannam
b4e921003f Perform polar-to-cartesian conversions only on range that will actually be used 2022-06-17 16:52:55 +01:00
Chris Cannam
6128ba6d36 Add convertToPolar to capture some of the awkward decisions in analyseChannel 2022-06-17 16:32:14 +01:00
Chris Cannam
08f7fce5f2 Added tag v3.0.0-beta2 for changeset ed9acf241b10 2022-06-17 15:20:44 +01:00
Chris Cannam
750dd650cf Beta2 2022-06-17 15:20:39 +01:00
Chris Cannam
c8171e7f9d Added tag v3.0.0-beta2 for changeset acc04c20175e 2022-06-17 15:19:52 +01:00
Chris Cannam
ca0afe3a33 Merge 2022-06-17 15:01:39 +01:00
Chris Cannam
380cad53b4 Attempt to "fade in" phase resets on return to unity, so as to return to an approximate pass-through without too audible a click 2022-06-17 15:01:26 +01:00
Chris Cannam
ea148cb3ca More rt entry points 2022-06-17 08:26:05 +01:00
Chris Cannam
06521f0043 Avoid reusing variable name! 2022-06-16 15:58:59 +01:00
Chris Cannam
bcdd1149df Windows package updates 2022-06-16 08:55:21 +01:00
Chris Cannam
326f9b721d Add RTENTRY macro for STOAT testing 2022-06-15 17:22:32 +01:00
Chris Cannam
3865c780c0 Added tag v3.0.0-beta1 for changeset 590cb5c496f8 2022-06-15 17:22:12 +01:00
Chris Cannam
321544e05d Update version for beta1 2022-06-15 14:28:40 +01:00
Chris Cannam
8b25206e7f Fix some compiler warnings 2022-06-15 11:58:46 +01:00
Chris Cannam
f3dfada888 Provide proper support for R2/R3 choice through command line options in utility 2022-06-15 11:31:35 +01:00
Chris Cannam
55b76c75ef Merge 2022-06-15 10:39:58 +01:00
Chris Cannam
291271d532 Loosen locking gradually as the ratio increases 2022-06-15 10:39:41 +01:00
Chris Cannam
1330c8d4b6 Add tests for p=1 and p=0 2022-06-15 10:17:43 +01:00
Chris Cannam
3db535281b This must round down; otherwise we can end up with the outhop exceeding 256 for some hops when we haven't planned it 2022-06-15 10:00:49 +01:00
Chris Cannam
a61a4f3201 Avoid dropping the 1024-point FFT until at least ratio 1.5 2022-06-15 09:40:09 +01:00
Chris Cannam
136c546955 We need the full range for this FFT now, since we are switching to it of necessity when outhop > 256 2022-06-15 09:39:36 +01:00
Chris Cannam
eb7e171643 Further build updates 2022-06-14 17:56:13 +01:00
Chris Cannam
bbb5db3087 Windows dedicated build updates 2022-06-14 17:03:33 +01:00
Chris Cannam
2c57d0ee30 Fix compiler warnings 2022-06-14 16:52:09 +01:00
Chris Cannam
9ddb6b370a Windows build fix 2022-06-14 16:47:06 +01:00
Chris Cannam
b86a4df152 Update macOS/iOS custom Makefiles 2022-06-14 15:31:21 +01:00
Chris Cannam
b160475b07 Fix some compiler warnings 2022-06-14 15:15:55 +01:00
Chris Cannam
141c314c72 Proper adjustment of outhop for extreme ratios 2022-06-14 15:01:44 +01:00
Chris Cannam
638948269b Remove Silent classification from BinClassifier: not only is it not very useful, it's misaligned with the other classifications because it doesn't account for lag, and so it can make those wrong 2022-06-14 13:59:17 +01:00
Chris Cannam
33a2696b34 Update Linux-specific Makefile 2022-06-14 10:24:08 +01:00
Chris Cannam
fb75aa36f6 Using the instantaneous ratio here seems more proper, but it causes audible interference when using tiny shift ratios such that the hop flips back and forth between two adjacent values. Let's try using the more stable effective ratio, and see if the window smoothing is sufficient 2022-06-14 10:01:11 +01:00