Chris Cannam
|
0b8b0742c1
|
A few signal-bits tests
|
2022-06-08 10:35: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
|
07b339df13
|
Try a peak p-factor of 1 for the previous peaks
|
2022-06-07 12:12:06 +01:00 |
|
Chris Cannam
|
b8b650cd5c
|
Show fps as int (avoiding scientific notation)
|
2022-06-07 11:19:29 +01:00 |
|
Chris Cannam
|
0bc0d7deb0
|
Avoid compiler warning
|
2022-06-07 11:12:39 +01:00 |
|
Chris Cannam
|
8ed709d274
|
Don't run median filters for higher frequencies than we're going to use anyway
|
2022-06-07 11:05:50 +01:00 |
|
Chris Cannam
|
1bfd02c6f3
|
Simplify by using MovingMedianStack to implement MovingMedian
|
2022-06-07 10:06:30 +01:00 |
|
Chris Cannam
|
0cd622d0da
|
Create a MovingMedianStack to contain a stack of filters with contiguous addressing - does not appear to be notably beneficial, though I quite like the api
|
2022-06-07 09:50:33 +01:00 |
|
Chris Cannam
|
c31839ef93
|
Use fixed (faster) resampler settings in offline mode
|
2022-06-07 09:06:52 +01:00 |
|
Chris Cannam
|
a564a7c812
|
Minor tidy
|
2022-06-07 09:06:37 +01:00 |
|
Chris Cannam
|
459be9fbad
|
Tiny simplification
|
2022-06-07 09:02:00 +01:00 |
|
Chris Cannam
|
b8c7289c45
|
Further small improvement to moving median
|
2022-06-07 08:53:42 +01:00 |
|
Chris Cannam
|
d7163b36f6
|
Quicker moving median (max one call to lower_bound, we're copying the elements between the two values anyway so we might as well compare against them too) - this checks out
|
2022-06-07 08:50:25 +01:00 |
|
Chris Cannam
|
7519ef47cc
|
Toward minimising MovingMedian a bit
|
2022-06-06 21:53:54 +01:00 |
|
Chris Cannam
|
ef2d39b3af
|
Or is this the right thing? I'm having trouble deciding
|
2022-06-06 17:50:22 +01:00 |
|
Chris Cannam
|
48174ded20
|
Ensure we have full magnitude range available in classify scale even when ratio has changed and the readahead isn't valid - necessary to avoid noise on ratio change when formant shifting
|
2022-06-06 17:44:22 +01:00 |
|
Chris Cannam
|
6ef77ef7aa
|
Tidy
|
2022-06-06 17:10:12 +01:00 |
|
Chris Cannam
|
100a7c0ba6
|
Go back to running formants only within the necessary range
|
2022-06-06 17:06:52 +01:00 |
|
Chris Cannam
|
4fb7b0ad47
|
And per-channel formants
|
2022-06-06 16:51:02 +01:00 |
|
Chris Cannam
|
ec7a2b1b51
|
Experiment with formant shifting before the peaks/phase work
|
2022-06-06 16:37:44 +01:00 |
|
Chris Cannam
|
9a7a977fa0
|
Tidy
|
2022-06-06 14:49:01 +01:00 |
|
Chris Cannam
|
c728a650e9
|
Remove unused array
|
2022-06-06 14:17:17 +01:00 |
|
Chris Cannam
|
0ceca73636
|
Settle on these values for the moment
|
2022-06-06 14:00:09 +01:00 |
|
Chris Cannam
|
f8abd07438
|
Tidy, and try without a high formant limit
|
2022-06-06 13:09:29 +01:00 |
|
Chris Cannam
|
baab6ae66e
|
Further formant experiments
|
2022-06-06 12:08:52 +01:00 |
|
Chris Cannam
|
c33582a8c4
|
Fix failure to initialise options
|
2022-06-05 18:50:52 +01:00 |
|
Chris Cannam
|
2673983220
|
I think this check was only necessary because of our wrong handling of pitch scale
|
2022-05-27 15:29:28 +01:00 |
|
Chris Cannam
|
ce64122ffe
|
Wire up formant option; some tidying
|
2022-05-27 15:16:10 +01:00 |
|
Chris Cannam
|
7febc09dbc
|
Fix accidental time stretch coming along with pitch shift
|
2022-05-27 15:03:40 +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
|
9379908982
|
Avoid excessive outhop when pitch shifting a long way
|
2022-05-27 11:34:35 +01:00 |
|
Chris Cannam
|
9ecc601a2c
|
Implement reset
|
2022-05-27 11:17:20 +01:00 |
|
Chris Cannam
|
580d28afd2
|
Correct the use of in/out hop vs prev in/out hop
|
2022-05-27 10:06:31 +01:00 |
|
Chris Cannam
|
08eeb17a98
|
Merge
|
2022-05-26 17:46:23 +01:00 |
|
Chris Cannam
|
84cd061e9d
|
Avoid duplicate bin in the different scales
|
2022-05-26 17:46:13 +01:00 |
|
Chris Cannam
|
a278acc5d2
|
Print note, and use finer mode
|
2022-05-26 17:42:53 +01:00 |
|
Chris Cannam
|
2c23d52c94
|
Clarify
|
2022-05-26 17:42:45 +01:00 |
|
Chris Cannam
|
dd8d328ffb
|
Merge
|
2022-05-26 15:09:40 +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
|
b07f74e5b9
|
Add faster/finer option
|
2022-05-26 15:07:43 +01:00 |
|
Chris Cannam
|
fa004562f7
|
Tidy, and format comments
|
2022-05-25 16:25:03 +01:00 |
|
Chris Cannam
|
4c878340df
|
This is a little faster, and I can't tell the difference at first listen, nor think of a good reason why it should be worse. To be tested.
|
2022-05-25 16:24:51 +01:00 |
|
Chris Cannam
|
c3309f56c1
|
Remove debug output
|
2022-05-25 14:43:31 +01:00 |
|
Chris Cannam
|
a04b6adb10
|
Niemitalo window
|
2022-05-25 14:43:05 +01:00 |
|
Chris Cannam
|
630a790ef8
|
Use atomics for inhop and ratio, and read inhop once at start of consume in case it changes within
|
2022-05-25 14:10:41 +01:00 |
|
Chris Cannam
|
7d91fdb1b6
|
Logging to cerr from a potentially RT context is bad even as a gross default just because it's so slow. I know we do it from R2 but I don't like it
|
2022-05-25 13:54:11 +01:00 |
|
Chris Cannam
|
eb017476ca
|
Avoid resetting m_prevOuthop on every set-ratio call (client may call this very repeatedly)
|
2022-05-25 13:51:23 +01:00 |
|
Chris Cannam
|
54515122b2
|
Implement resampling
|
2022-05-25 13:47:40 +01:00 |
|