Commit Graph

59 Commits

Author SHA1 Message Date
Chris Cannam
4ec2dad6e3 Fix hang toward end of processing, when faced with a file (e.g. some mp3s) for which libsndfile reports more frames from the header than are actually retrieved 2023-03-08 14:45:47 +00:00
Chris Cannam
cc3e265b26 Update copyright dates 2023-01-10 11:10:06 +00:00
Chris Cannam
755ff57fc5 Fix incorrect extension calculation 2022-09-30 13:24:12 +01:00
Chris Cannam
4599b1afd7 Further docs for short window 2022-09-29 08:27:50 +01:00
Chris Cannam
163ac1e485 Ah, I was forgetting the existence of sf_command. Use that to identify file type where possible 2022-09-26 18:12:04 +01:00
Chris Cannam
f8d94082e0 If the output file extension differs from the input file extension and is one of the readily identified strings wav, w64, or ogg, then open the output file with that format; otherwise use the same format as the input (as we previously did always). See https://todo.sr.ht/~breakfastquay/rubberband/20 2022-09-26 17:56:29 +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
e018458736 Make this fully single-windowed rather than just short-windowed 2022-07-14 13:44:22 +01:00
Chris Cannam
263e0cbf70 Ensure output accumulator is properly drained at finish. We rely on the calculated output count (in offline mode) to truncate properly. 2022-07-07 10:35:01 +01:00
Chris Cannam
6e941fa2d3 Update the OptionPitch* options so that they do the expected thing for the R3 engine as well - this speeds up realtime mode when not dynamically pitch-shifting 2022-07-06 10:22:50 +01:00
Chris Cannam
72654b04ea Introduce getPreferredStartPad(), deprecate getLatency() and replace with getStartDelay(); document and test both 2022-07-05 17:53:36 +01:00
Chris Cannam
fb8f021a1a Excessive clipping can happen with perfectly normal input - make the warning less scary 2022-06-29 14:43:59 +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
f3dfada888 Provide proper support for R2/R3 choice through command line options in utility 2022-06-15 11:31:35 +01:00
Chris Cannam
9ddb6b370a Windows build fix 2022-06-14 16:47:06 +01:00
Chris Cannam
b8b650cd5c Show fps as int (avoiding scientific notation) 2022-06-07 11:19:29 +01:00
Chris Cannam
a278acc5d2 Print note, and use finer mode 2022-05-26 17:42:53 +01:00
Chris Cannam
e9ad04e2b4 Reorganise into faster (R2) and finer (R3) 2022-05-19 13:34:51 +01:00
Chris Cannam
80473f8735 Remove elastic/loose processing support 2022-05-18 14:12:57 +01: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
bad529f81e Copyright date 2022-01-04 17:50:15 +00:00
Chris Cannam
937eefd501 Tiniest layout tweak 2021-10-20 13:34:47 +01:00
Chris Cannam
05db791db3 Add pre-pad for realtime mode (equivalent to the padding RB does internally in offline mode already) 2021-10-14 13:28:29 +01:00
Chris Cannam
674f44dcba Minor tidy 2021-10-14 10:03:37 +01:00
Chris Cannam
205f050081 Use relative paths here too 2021-10-04 12:24:50 +01:00
Chris Cannam
61f7b5f8e6 Update includes so they don't require include path to be set 2021-10-04 12:21:39 +01:00
Chris Cannam
3bcb2de31b Wording tweak 2021-05-14 16:05:58 +01:00
Chris Cannam
d06b4efc16 Toward more accurate timing in the face of varying pitch ratio 2021-05-13 18:04:43 +01:00
Chris Cannam
9d627ceaa8 Merge from branch bqresample 2021-05-11 08:21:17 +01:00
Chris Cannam
7705c6409e Fix some nominal memory leaks 2021-03-10 18:10:10 +00:00
Chris Cannam
a75e6fd678 Re-apply freqmap, since the merge from default lost it as the commit that removed it was after we branched! 2021-03-08 13:14:49 +00:00
Chris Cannam
120edca223 Build updates for Windows 2021-03-05 10:31:00 +00:00
Chris Cannam
955a32fc7e Copyright dates 2021-01-08 17:13:52 +00:00
Chris Cannam
a14d32a680 Remove freqmap, it has its own branch now 2021-01-08 17:11:18 +00:00
Chris Cannam
9afba06787 Round these values to integers, otherwise we start getting scientific notation now our computers are all so fast 2021-01-08 15:33:42 +00:00
Chris Cannam
16487324fc Replace __MSVC__ define (which needs to be defined manually in the build) with _MSC_VER (which the compiler defines itself) throughout 2020-12-10 09:25:28 +00:00
Chris Cannam
fddcfadd64 Clarify text about overall stretch factor 2020-09-22 10:32:00 +01:00
Chris Cannam
334f1b891d ... but don't do so ad infinitum, if some processing problem is causing implausibly high output values 2020-09-15 13:43:31 +01:00
Chris Cannam
1992688155 Detect out-of-range samples on output and restart with lower gain 2020-09-15 11:43:57 +01:00
Chris Cannam
732d0ed980 More informative output 2020-09-11 17:11:03 +01:00
Chris Cannam
dab3e9f69b Force high-consistency pitch-shift mode when using a freq or pitch map 2020-09-11 10:51:03 +01:00
Chris Cannam
2f1ee7327c Wording 2020-09-10 17:10:34 +01:00
Chris Cannam
50328a8fd5 Latency-adjusted 2020-09-10 16:23:56 +01:00
Chris Cannam
5f897656f5 First cut at freq/pitch map 2020-09-10 16:10:30 +01:00
Chris Cannam
fa5ad0384f Add docs (only) for freq/pitch map 2020-09-10 15:31:27 +01:00
Chris Cannam
948e9a25fb Error handling: don't continue with zero or negative ratio; don't continue if input file lacks sample rate. Both cases will be caught by subsequent calls anyway (e.g. in sf_open) but only with more confusing error reporting 2020-02-04 13:24:37 +00:00
Chris Cannam
bfb69779af Dates 2020-01-16 10:20:23 +00:00
Chris Cannam
bbf45fa887 Copyright dates 2018-03-07 13:10:19 +00:00
Chris Cannam
24560ba3ec Copyright dates 2015-07-09 15:26:08 +01:00