From bf88d1b67f26cebf6e91d581dfe0fac01a0165cc Mon Sep 17 00:00:00 2001 From: Karel Vesely Date: Thu, 14 Mar 2024 16:27:12 +0100 Subject: [PATCH] build with `kaldi-native-fbank` having dithering --- cmake/kaldi-native-fbank.cmake | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/cmake/kaldi-native-fbank.cmake b/cmake/kaldi-native-fbank.cmake index 040d180a8..f45130c66 100644 --- a/cmake/kaldi-native-fbank.cmake +++ b/cmake/kaldi-native-fbank.cmake @@ -2,9 +2,15 @@ function(download_kaldi_native_fbank) include(FetchContent) # TODO: update is required, so that dithering works... (it was missing) - set(kaldi_native_fbank_URL "https://github.com/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.7.tar.gz") - set(kaldi_native_fbank_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/kaldi-native-fbank-1.18.7.tar.gz") - set(kaldi_native_fbank_HASH "SHA256=e78fd9d481d83d7d6d1be0012752e6531cb614e030558a3491e3c033cb8e0e4e") + #set(kaldi_native_fbank_URL "https://github.com/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.7.tar.gz") + #set(kaldi_native_fbank_URL2 "https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/kaldi-native-fbank-1.18.7.tar.gz") + #set(kaldi_native_fbank_HASH "SHA256=e78fd9d481d83d7d6d1be0012752e6531cb614e030558a3491e3c033cb8e0e4e") + + # TODO: remove temporary values + set(kaldi_native_fbank_URL "https://github.com/KarelVesely84/kaldi-native-fbank/archive/3553db2fde1c7525b3b8a28946a7a003045bbc1a.tar.gz") + https://github.com/csukuangfj/kaldi-native-fbank/archive/refs/tags/v1.18.7.tar.gz") + set(kaldi_native_fbank_URL2) + set(kaldi_native_fbank_HASH) set(KALDI_NATIVE_FBANK_BUILD_TESTS OFF CACHE BOOL "" FORCE) set(KALDI_NATIVE_FBANK_BUILD_PYTHON OFF CACHE BOOL "" FORCE)