Skip to content

Commit

Permalink
build with kaldi-native-fbank having dithering
Browse files Browse the repository at this point in the history
  • Loading branch information
KarelVesely84 committed Mar 14, 2024
1 parent 4f04fb8 commit bf88d1b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions cmake/kaldi-native-fbank.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bf88d1b

Please sign in to comment.