Commit Graph

934 Commits

Author SHA1 Message Date
Chris Cannam
b317d0e81a Fix handling of final block in speex resampler - there is no guarantee a single pad call will return enough data on its own either 2023-01-17 12:34:50 +00:00
Chris Cannam
cc3e265b26 Update copyright dates 2023-01-10 11:10:06 +00:00
Chris Cannam
549906e033 Remove the last occurrences of "using namespace std" 2023-01-10 11:04:50 +00:00
Chris Cannam
e28651acd0 Use "meson setup build", not the shorthand which is now deprecated 2023-01-10 11:04:32 +00:00
Chris Cannam
8edf1723c4 Added tag v3.1.2 for changeset d2aebfc83e21 2022-12-02 16:46:43 +00:00
Chris Cannam
fa8a918d8a Update CHANGELOG for 3.1.2 2022-11-28 11:16:45 +00:00
Chris Cannam
c871f92b2e Merge 2022-11-16 10:13:20 +00:00
Chris Cannam
3960bca0ab Make this exception optional on NO_EXCEPTIONS, as the others are (required for Android) 2022-11-16 10:12:41 +00:00
Chris Cannam
8d4d783155 Correct the list of source files (thanks to jimsimonz) and reorder in the same (alphabetical) order as in the main build file 2022-11-16 10:11:34 +00:00
Chris Cannam
50eb332ec8 Fixes suitable for mingw32 builds 2022-11-08 08:32:05 +00:00
Chris Cannam
3d3cd0454b Another twist to JNI autodetection. Let's *always* make sure the compiler can find jni.h, even if Meson thinks it has found it - following reports of JNI autodetect succeeding on macOS but thinking jni.h is in some absurd location 2022-11-04 10:49:11 +00:00
Chris Cannam
379bb879f1 Update versions again 2022-11-02 15:06:49 +00:00
Chris Cannam
ea081f509d Experiment with Meson's built-in features support for optional targets 2022-10-31 12:03:46 +00:00
Chris Cannam
cbc2453743 Added tag v3.1.1 for changeset b7f4072d02d5 2022-10-21 15:40:02 +01:00
Chris Cannam
bbd8de71da Bump number in Doxyfile 2022-10-21 14:51:10 +01:00
Chris Cannam
f86f31b9f0 Update for 3.1.1 2022-10-21 13:57:21 +01:00
Chris Cannam
1595fcb47e Now that we have the complete Java language module optionally added (where available) we should be able to use Meson's own jar target rather than manually packaging it. Again thanks to Eli Schwartz here 2022-10-13 13:29:18 +01:00
Chris Cannam
16698932d8 Apply JNI lookup logic from Eli Schwartz in https://todo.sr.ht/~breakfastquay/rubberband/25 2022-10-13 13:16:31 +01:00
Chris Cannam
502241ccf5 Ensure lib directory is created 2022-10-13 08:24:06 +01:00
Chris Cannam
64d2989d28 Added tag v3.1.0 for changeset 137ef076894f 2022-09-30 14:53:53 +01:00
Chris Cannam
755ff57fc5 Fix incorrect extension calculation 2022-09-30 13:24:12 +01:00
Chris Cannam
d424616335 Note only in RT mode 2022-09-30 11:49:01 +01:00
Chris Cannam
55c762b726 Update version in docs 2022-09-30 11:47:25 +01:00
Chris Cannam
394a62a655 No longer will it be pre 2022-09-30 11:45:49 +01:00
Chris Cannam
f82daa208c Let's call this a version 2022-09-30 11:45:38 +01:00
Chris Cannam
52fc576500 Remove obsolete file 2022-09-30 10:36:35 +01:00
Chris Cannam
1bd266cdb6 Defend against NaN/Inf and negative ratios 2022-09-30 10:36:29 +01:00
Chris Cannam
50b231ee23 Merge 2022-09-29 16:26:46 +01:00
Chris Cannam
f26771d077 Add mathmisc to dotnet 2022-09-29 16:19:43 +01:00
Chris Cannam
11d5deff62 Reverting these tweaked values to their 3.0 state - this change wasn't an obvious improvement and just meant that the output no longer matched the last round of listening tests, so revert it 2022-09-29 15:57:11 +01:00
Chris Cannam
f194becadf Use number of actually-populated bands, not total number 2022-09-29 15:45:47 +01:00
Chris Cannam
de56cd114a Update the resampler logic to follow that of R2 more - ignore the pitch hq/hs setting in offline mode entirely. The alternative is too tricky to handle elegantly in the command line tool, which I think means too complicated 2022-09-29 11:19:21 +01:00
Chris Cannam
4599b1afd7 Further docs for short window 2022-09-29 08:27:50 +01:00
Chris Cannam
e3c817b8cf Make this terminology a bit more consistent 2022-09-29 08:27:29 +01:00
Chris Cannam
fa92a924f6 Mention command-line utility change 2022-09-27 10:33:00 +01:00
Chris Cannam
80eb4a74f2 Minor clarification 2022-09-27 08:54:07 +01:00
Chris Cannam
6a45cce987 Update CHANGELOG for v3.1 2022-09-27 08:48:09 +01:00
Chris Cannam
cc212f0e4a Avoid naming output "test" - on some dev machines I have a directory called that 2022-09-27 08:47:59 +01:00
Chris Cannam
1dc6abdb96 Remove libresample support. It hasn't been exercised in years and nobody should be using it in preference to the other options 2022-09-27 08:47:33 +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
9e423cdd8c Handle non-ideal sample rates in R3; document sample rate parameter 2022-09-26 16:02:13 +01:00
Chris Cannam
f586fe601a Try to avoid situation in which JNI autodetection crashes out the build because javac is not found 2022-09-26 12:48:44 +01:00
Chris Cannam
e5f756d16d Fix use of variable I had tidied out 2022-09-26 10:20:42 +01:00
Chris Cannam
57d59b4c7a Eliminate the mlock logic entirely. It's caused a couple of issues lately and it turns out it wasn't even used! 2022-09-26 10:11:16 +01:00
Chris Cannam
0eaca1711c Prefer jni as a dependency rather than manually seeking it. This is unlikely to work in Meson < 0.62, and Meson >= 0.62 gives a warning that the feature is new - but it seems to me that older versions should just do a standard dep lookup and fail, so we can fall back on the same logic we were using anyway (i.e. manually supplied include path) 2022-09-26 09:39:10 +01:00
Chris Cannam
020702e7ea Fix include path. Very poor that this wasn't exercised by my build or CI runs 2022-09-26 09:37:55 +01:00
Chris Cannam
56058cc288 Fix plainly dumb error 2022-09-20 10:27:16 +01:00
Chris Cannam
a5e2bfa444 Fix some (benign) shadowing warnings 2022-09-20 09:30:48 +01:00
Chris Cannam
e90f377600 Don't use drand48, it doesn't always exist and since we don't care about the quality of output, it's not worth testing for 2022-09-20 09:30:34 +01:00