Commit Graph

39 Commits

Author SHA1 Message Date
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
e018458736 Make this fully single-windowed rather than just short-windowed 2022-07-14 13:44:22 +01:00
Chris Cannam
279c44477e Fix unity handling in short-window mode 2022-07-14 12:07:43 +01:00
Chris Cannam
02928a3c86 Experimentally (re-)introduce short window mode 2022-07-14 11:55:21 +01:00
Chris Cannam
dc74c993cf Add profile points; switch to microseconds 2022-07-14 10:02:39 +01:00
Chris Cannam
567e8636cd Enable PROCESS_SAMPLE_TYPE for R3 as well, switching from double to process_t throughout 2022-07-06 10:40:10 +01:00
Chris Cannam
687e3958a7 Connect up the ChannelsTogether option in R3 as well, to extend the channel lock range upward 2022-07-04 10:52:50 +01:00
Chris Cannam
d2126c8a2e Fix array overrun 2022-06-30 09:32:39 +01:00
Chris Cannam
0452145ff3 Avoid compiler warning 2022-06-28 11:18:58 +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
b318fb4e8b Wire through debug level changes; tidy 2022-06-22 13:42:58 +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
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
8b25206e7f Fix some compiler warnings 2022-06-15 11:58:46 +01:00
Chris Cannam
291271d532 Loosen locking gradually as the ratio increases 2022-06-15 10:39:41 +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
141c314c72 Proper adjustment of outhop for extreme ratios 2022-06-14 15:01:44 +01:00
Chris Cannam
182e2b0e3b Put binForFrequency/frequencyForBin in a common place 2022-06-13 10:08:05 +01:00
Chris Cannam
05fb611544 Experimental preKick to slightly reduce frame just before kick and boost kick accordingly 2022-06-13 09:40:26 +01:00
Chris Cannam
78b491fb4c Perform phase resets when squashing as well as stretching 2022-06-09 17:23:26 +01:00
Chris Cannam
bc764c62ea Restrict range a little more 2022-06-09 16:25:11 +01:00
Chris Cannam
a7353d7161 Tidy 2022-06-09 15:39:06 +01:00
Chris Cannam
4a9574b7ee Backed out changeset b1275ea1b6c8
This makes very little perceptible difference, possibly for the worse, and it is more complicated
2022-06-09 15:26:16 +01:00
Chris Cannam
41e726b510 Remove debug out 2022-06-09 15:07:47 +01:00
Chris Cannam
4457247749 Synchronise frequency channel cutoffs across channels. Not the most elegant way to do this I think 2022-06-09 14:56:20 +01:00
Chris Cannam
ab284f0047 Rather than using trough picker, make the division frequencies drift downhill 2022-06-09 14:29:51 +01:00
Chris Cannam
95a1d6df25 Start to bring in unit tests 2022-06-08 09:57:12 +01:00
Chris Cannam
36f993b9a6 Reduce p level for trough picker. The behaviour here is not what I'd hoped 2022-06-07 14:13:24 +01:00
Chris Cannam
f13d96a474 First cut at formant preservation 2022-05-27 14:58:42 +01:00
Chris Cannam
4d4bc7b4c3 Short-circuit slightly (in output, not so much in efficiency) when ratio is 1 2022-05-27 11:45:28 +01:00
Chris Cannam
83f2b7607b An attempt to do the right thing when the hop changes - but this is not enough 2022-05-26 15:08:07 +01:00
Chris Cannam
d45831fcc5 Add the overlooked fftshift (that explains it!); carry out polar/cartesian conversion only for bins of interest 2022-05-24 16:54:05 +01:00
Chris Cannam
c4a78b4b55 Use doubles throughout (simpler, faster) 2022-05-24 15:39:28 +01:00
Chris Cannam
49ac04ceab Some work on phase updates 2022-05-24 15:21:13 +01:00
Chris Cannam
2b401e5cbe Overlap/add fixes. Some phase problems still here 2022-05-24 12:00:54 +01:00
Chris Cannam
af97c70e69 Construct channel data 2022-05-20 16:48:44 +01:00
Chris Cannam
42826e6a76 Obtain Guide configuration 2022-05-19 17:28:38 +01:00
Chris Cannam
cf602218f5 Add Guide 2022-05-19 16:31:21 +01:00