Commit Graph

504 Commits

Author SHA1 Message Date
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
Chris Cannam
f5b381e086 Pull out per-channel analysis and resynthesis functions 2022-05-25 11:26:16 +01:00
Chris Cannam
47476b9088 Tidy 2022-05-25 11:16:06 +01:00
Chris Cannam
973a334f75 Add readahead for segmenters 2022-05-25 11:14:19 +01:00
Chris Cannam
680393c5c6 Comments 2022-05-25 09:43:08 +01:00
Chris Cannam
eb79336e93 Introduce a resampler (not used yet) 2022-05-24 17:49:50 +01:00
Chris Cannam
9ed4be5144 Fix some non-realtime-safe operations reported by Stoat 2022-05-24 17:35:23 +01:00
Chris Cannam
a9a0b4851a Fix single-file build 2022-05-24 17:35:14 +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
cd0ee3e4f6 Tidy, and avoid warnings from over-reading from ring buffer 2022-05-23 20:55:56 +01:00
Chris Cannam
89c8683aaf Calculate actual ratios and hops 2022-05-23 17:59:40 +01:00
Chris Cannam
9d82d58c36 Scaling fixes 2022-05-23 17:36:26 +01:00
Chris Cannam
fb9edfb20d Fix the consume logic so that it actually completes (though wrongly still, at this point) 2022-05-23 16:45:41 +01:00
Chris Cannam
5cc4833820 Flesh out the implementation a bit 2022-05-23 15:04:34 +01:00
Chris Cannam
af97c70e69 Construct channel data 2022-05-20 16:48:44 +01:00
Chris Cannam
9d646b9708 Introduce phase advance 2022-05-20 15:29:52 +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
Chris Cannam
5584ccc059 Make comparator configurable (for troughs) 2022-05-19 15:25:33 +01:00
Chris Cannam
e9ad04e2b4 Reorganise into faster (R2) and finer (R3) 2022-05-19 13:34:51 +01:00
Chris Cannam
e9264ae909 Add peak finder 2022-05-19 13:13:47 +01:00
Chris Cannam
4241c0f6a4 Add bin segmenter 2022-05-19 09:16:13 +01:00
Chris Cannam
d6aa3a59c2 Begin some R3 work 2022-05-18 17:51:20 +01:00
Chris Cannam
80473f8735 Remove elastic/loose processing support 2022-05-18 14:12:57 +01:00
Chris Cannam
4cff174166 Avoid a compiler warning 2022-05-04 18:02:55 +01:00
Chris Cannam
95371b882b Fix amazingly long-standing error in description of command-line arg 2022-04-01 22:05:41 +01:00
Chris Cannam
ce3f17acb1 Clarify again 2022-02-22 10:43:20 +00:00
Chris Cannam
c7f63a4a25 Expand documentation for getLatency 2022-02-22 10:29:13 +00:00
Chris Cannam
30e63d33ac If input file is not seekable, reopen instead of seeking back to start on clipping 2022-02-09 10:37:04 +00:00
Chris Cannam
c7eefe9e8d Added tag v2.0.2 for changeset 4e2177c66756 2022-01-26 10:07:17 +00:00
Chris Cannam
c5f99d5ff2 This will be 2.0.2 2022-01-26 09:36:01 +00:00
Chris Cannam
55c6ed21f9 Add header for TARGET_OS_* 2022-01-25 13:52:27 +00:00
Chris Cannam
347fc3e00d Ensure we don't overrun the mid-side preprocessing buffer 2022-01-25 13:29:23 +00:00
Chris Cannam
c7cfc2a1b9 Added tag v2.0.1 for changeset 190ba65557c0 2022-01-20 10:50:40 +00:00
Chris Cannam
445f20fa4c Update CHANGELOG for 2.0.1 2022-01-20 10:28:07 +00:00
Chris Cannam
80230be35a Check that CHANGELOG has been updated 2022-01-20 10:27:59 +00:00
Chris Cannam
5c2727ccf0 Minor wording tweaks 2022-01-20 08:31:54 +00:00
Chris Cannam
5c71a78ebe Actually, enforce the ranges etc only for the new plugin 2022-01-20 08:31:44 +00:00
Chris Cannam
41ba70fbb9 Enforce range and integer hints on ratio controls, for predictability 2022-01-13 08:42:56 +00:00
Chris Cannam
1460f39ad4 Next version to be 2.0.1 2022-01-12 15:22:18 +00:00
Chris Cannam
5a94067a50 Minor formatting & wording 2022-01-12 10:26:10 +00:00
Chris Cannam
8faf25c479 Default to built-in resampler, now it's had a little more testing 2022-01-12 10:10:34 +00:00
Chris Cannam
4bbec50511 Rename Latency port to latency, since some hosts (e.g. muse4) don't seem to recognise it from the designation alone; also explicitly indicate its units 2022-01-12 10:10:13 +00:00
Chris Cannam
39115829c8 Add LV2_SYMBOL_EXPORT for the descriptor function - this does the same thing as our existing linker scripts I believe, but it seems to be the recommended way for LV2 2022-01-07 14:55:07 +00:00