echogarden 2.10.1 → 2.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alignment/DTWMfccSequenceAlignment.d.ts +1 -0
- package/dist/alignment/DTWMfccSequenceAlignment.d.ts.map +1 -0
- package/dist/alignment/DTWSequenceAlignment.d.ts +1 -0
- package/dist/alignment/DTWSequenceAlignment.d.ts.map +1 -0
- package/dist/alignment/DTWSequenceAlignmentWindowed.d.ts +1 -0
- package/dist/alignment/DTWSequenceAlignmentWindowed.d.ts.map +1 -0
- package/dist/alignment/LevenshteinSequenceAlignment.d.ts +1 -0
- package/dist/alignment/LevenshteinSequenceAlignment.d.ts.map +1 -0
- package/dist/alignment/SemanticTextAlignment.d.ts +1 -0
- package/dist/alignment/SemanticTextAlignment.d.ts.map +1 -0
- package/dist/alignment/SpeechAlignment.d.ts +1 -0
- package/dist/alignment/SpeechAlignment.d.ts.map +1 -0
- package/dist/api/API.d.ts +1 -0
- package/dist/api/API.d.ts.map +1 -0
- package/dist/api/APIOptions.d.ts +1 -0
- package/dist/api/APIOptions.d.ts.map +1 -0
- package/dist/api/Alignment.d.ts +1 -0
- package/dist/api/Alignment.d.ts.map +1 -0
- package/dist/api/Common.d.ts +1 -0
- package/dist/api/Common.d.ts.map +1 -0
- package/dist/api/Denoising.d.ts +1 -0
- package/dist/api/Denoising.d.ts.map +1 -0
- package/dist/api/GlobalOptions.d.ts +1 -0
- package/dist/api/GlobalOptions.d.ts.map +1 -0
- package/dist/api/LanguageDetectionCommon.d.ts +1 -0
- package/dist/api/LanguageDetectionCommon.d.ts.map +1 -0
- package/dist/api/Recognition.d.ts +1 -0
- package/dist/api/Recognition.d.ts.map +1 -0
- package/dist/api/SourceSeparation.d.ts +1 -0
- package/dist/api/SourceSeparation.d.ts.map +1 -0
- package/dist/api/SpeechLanguageDetection.d.ts +1 -0
- package/dist/api/SpeechLanguageDetection.d.ts.map +1 -0
- package/dist/api/SpeechSearch.d.ts +1 -0
- package/dist/api/SpeechSearch.d.ts.map +1 -0
- package/dist/api/SpeechTranslation.d.ts +1 -0
- package/dist/api/SpeechTranslation.d.ts.map +1 -0
- package/dist/api/Synthesis.d.ts +1 -0
- package/dist/api/Synthesis.d.ts.map +1 -0
- package/dist/api/TextLanguageDetection.d.ts +1 -0
- package/dist/api/TextLanguageDetection.d.ts.map +1 -0
- package/dist/api/TextTranslation.d.ts +1 -0
- package/dist/api/TextTranslation.d.ts.map +1 -0
- package/dist/api/TimelineTranslationAlignment.d.ts +1 -0
- package/dist/api/TimelineTranslationAlignment.d.ts.map +1 -0
- package/dist/api/TranscriptAndTranslationAlignment.d.ts +1 -0
- package/dist/api/TranscriptAndTranslationAlignment.d.ts.map +1 -0
- package/dist/api/TranslationAlignment.d.ts +1 -0
- package/dist/api/TranslationAlignment.d.ts.map +1 -0
- package/dist/api/VoiceActivityDetection.d.ts +1 -0
- package/dist/api/VoiceActivityDetection.d.ts.map +1 -0
- package/dist/audio/AudioBufferConversion.d.ts +1 -0
- package/dist/audio/AudioBufferConversion.d.ts.map +1 -0
- package/dist/audio/AudioPlayer.d.ts +1 -0
- package/dist/audio/AudioPlayer.d.ts.map +1 -0
- package/dist/audio/AudioRecorder.d.ts +1 -0
- package/dist/audio/AudioRecorder.d.ts.map +1 -0
- package/dist/audio/AudioUtilities.d.ts +1 -0
- package/dist/audio/AudioUtilities.d.ts.map +1 -0
- package/dist/audio/SoxPath.d.ts +1 -0
- package/dist/audio/SoxPath.d.ts.map +1 -0
- package/dist/build-tools/MakeTarballsForInstalledPackages.d.ts +1 -0
- package/dist/build-tools/MakeTarballsForInstalledPackages.d.ts.map +1 -0
- package/dist/cli/CLI.d.ts +1 -0
- package/dist/cli/CLI.d.ts.map +1 -0
- package/dist/cli/CLIConfigFile.d.ts +1 -0
- package/dist/cli/CLIConfigFile.d.ts.map +1 -0
- package/dist/cli/CLILauncher.d.ts +1 -0
- package/dist/cli/CLILauncher.d.ts.map +1 -0
- package/dist/cli/CLIOptions.d.ts +1 -0
- package/dist/cli/CLIOptions.d.ts.map +1 -0
- package/dist/cli/CLIOptionsSchema.d.ts +1 -0
- package/dist/cli/CLIOptionsSchema.d.ts.map +1 -0
- package/dist/cli/CLIParser.d.ts +1 -0
- package/dist/cli/CLIParser.d.ts.map +1 -0
- package/dist/cli/CLIStarter.d.ts +1 -0
- package/dist/cli/CLIStarter.d.ts.map +1 -0
- package/dist/codecs/FFMpegTranscoder.d.ts +1 -0
- package/dist/codecs/FFMpegTranscoder.d.ts.map +1 -0
- package/dist/codecs/TIMITCodec.d.ts +1 -0
- package/dist/codecs/TIMITCodec.d.ts.map +1 -0
- package/dist/data-structures/DynamicTypedArray.d.ts +1 -0
- package/dist/data-structures/DynamicTypedArray.d.ts.map +1 -0
- package/dist/data-structures/Queue.d.ts +1 -0
- package/dist/data-structures/Queue.d.ts.map +1 -0
- package/dist/data-structures/WindowedList.d.ts +1 -0
- package/dist/data-structures/WindowedList.d.ts.map +1 -0
- package/dist/denoising/NSNet2.d.ts +1 -0
- package/dist/denoising/NSNet2.d.ts.map +1 -0
- package/dist/denoising/RNNoise.d.ts +1 -0
- package/dist/denoising/RNNoise.d.ts.map +1 -0
- package/dist/dsp/BiquadFilter.d.ts +1 -0
- package/dist/dsp/BiquadFilter.d.ts.map +1 -0
- package/dist/dsp/DecayingPeakEstimator.d.ts +1 -0
- package/dist/dsp/DecayingPeakEstimator.d.ts.map +1 -0
- package/dist/dsp/FFT.d.ts +1 -0
- package/dist/dsp/FFT.d.ts.map +1 -0
- package/dist/dsp/KWeightingFilter.d.ts +1 -0
- package/dist/dsp/KWeightingFilter.d.ts.map +1 -0
- package/dist/dsp/LoudnessEstimator.d.ts +1 -0
- package/dist/dsp/LoudnessEstimator.d.ts.map +1 -0
- package/dist/dsp/MFCC.d.ts +1 -0
- package/dist/dsp/MFCC.d.ts.map +1 -0
- package/dist/dsp/MelSpectrogram.d.ts +1 -0
- package/dist/dsp/MelSpectrogram.d.ts.map +1 -0
- package/dist/dsp/Rubberband.d.ts +1 -0
- package/dist/dsp/Rubberband.d.ts.map +1 -0
- package/dist/dsp/Sonic.d.ts +1 -0
- package/dist/dsp/Sonic.d.ts.map +1 -0
- package/dist/dsp/SpeexResampler.d.ts +1 -0
- package/dist/dsp/SpeexResampler.d.ts.map +1 -0
- package/dist/encodings/Ascii.d.ts +1 -0
- package/dist/encodings/Ascii.d.ts.map +1 -0
- package/dist/encodings/Base64.d.ts +1 -0
- package/dist/encodings/Base64.d.ts.map +1 -0
- package/dist/encodings/Hex.d.ts +1 -0
- package/dist/encodings/Hex.d.ts.map +1 -0
- package/dist/encodings/HtmlEscape.d.ts +1 -0
- package/dist/encodings/HtmlEscape.d.ts.map +1 -0
- package/dist/encodings/LEB128.d.ts +1 -0
- package/dist/encodings/LEB128.d.ts.map +1 -0
- package/dist/encodings/TextEncodingsCommon.d.ts +1 -0
- package/dist/encodings/TextEncodingsCommon.d.ts.map +1 -0
- package/dist/encodings/Utf16.d.ts +1 -0
- package/dist/encodings/Utf16.d.ts.map +1 -0
- package/dist/encodings/Utf32.d.ts +1 -0
- package/dist/encodings/Utf32.d.ts.map +1 -0
- package/dist/encodings/Utf8.d.ts +1 -0
- package/dist/encodings/Utf8.d.ts.map +1 -0
- package/dist/math/MedianFilter.d.ts +1 -0
- package/dist/math/MedianFilter.d.ts.map +1 -0
- package/dist/math/VectorMath.d.ts +1 -0
- package/dist/math/VectorMath.d.ts.map +1 -0
- package/dist/nlp/ChineseSegmentation.d.ts +1 -0
- package/dist/nlp/ChineseSegmentation.d.ts.map +1 -0
- package/dist/nlp/EspeakPhonemizer.d.ts +1 -0
- package/dist/nlp/EspeakPhonemizer.d.ts.map +1 -0
- package/dist/nlp/IPA.d.ts +1 -0
- package/dist/nlp/IPA.d.ts.map +1 -0
- package/dist/nlp/JapaneseSegmentation.d.ts +1 -0
- package/dist/nlp/JapaneseSegmentation.d.ts.map +1 -0
- package/dist/nlp/Lexicon.d.ts +1 -0
- package/dist/nlp/Lexicon.d.ts.map +1 -0
- package/dist/nlp/PhoneConversion.d.ts +1 -0
- package/dist/nlp/PhoneConversion.d.ts.map +1 -0
- package/dist/nlp/Segmentation.d.ts +1 -0
- package/dist/nlp/Segmentation.d.ts.map +1 -0
- package/dist/nlp/TextNormalizer.d.ts +1 -0
- package/dist/nlp/TextNormalizer.d.ts.map +1 -0
- package/dist/recognition/AmazonTranscribeSTT.d.ts +1 -0
- package/dist/recognition/AmazonTranscribeSTT.d.ts.map +1 -0
- package/dist/recognition/AzureCognitiveServicesSTT.d.ts +1 -0
- package/dist/recognition/AzureCognitiveServicesSTT.d.ts.map +1 -0
- package/dist/recognition/DeepgramSTT.d.ts +1 -0
- package/dist/recognition/DeepgramSTT.d.ts.map +1 -0
- package/dist/recognition/GoogleCloudSTT.d.ts +1 -0
- package/dist/recognition/GoogleCloudSTT.d.ts.map +1 -0
- package/dist/recognition/OpenAICloudSTT.d.ts +1 -0
- package/dist/recognition/OpenAICloudSTT.d.ts.map +1 -0
- package/dist/recognition/SileroSTT.d.ts +1 -0
- package/dist/recognition/SileroSTT.d.ts.map +1 -0
- package/dist/recognition/VoskSTT.d.ts +1 -0
- package/dist/recognition/VoskSTT.d.ts.map +1 -0
- package/dist/recognition/WhisperCppSTT.d.ts +1 -0
- package/dist/recognition/WhisperCppSTT.d.ts.map +1 -0
- package/dist/recognition/WhisperSTT.d.ts +1 -0
- package/dist/recognition/WhisperSTT.d.ts.map +1 -0
- package/dist/server/Client.d.ts +1 -0
- package/dist/server/Client.d.ts.map +1 -0
- package/dist/server/Server.d.ts +1 -0
- package/dist/server/Server.d.ts.map +1 -0
- package/dist/server/ServerStarter.d.ts +1 -0
- package/dist/server/ServerStarter.d.ts.map +1 -0
- package/dist/server/Worker.d.ts +1 -0
- package/dist/server/Worker.d.ts.map +1 -0
- package/dist/server/WorkerStarter.d.ts +1 -0
- package/dist/server/WorkerStarter.d.ts.map +1 -0
- package/dist/source-separation/MDXNetSourceSeparation.d.ts +1 -0
- package/dist/source-separation/MDXNetSourceSeparation.d.ts.map +1 -0
- package/dist/speech-embeddings/WavToVec2BertFeatureEmbeddings.d.ts +1 -0
- package/dist/speech-embeddings/WavToVec2BertFeatureEmbeddings.d.ts.map +1 -0
- package/dist/speech-language-detection/SileroLanguageDetection.d.ts +1 -0
- package/dist/speech-language-detection/SileroLanguageDetection.d.ts.map +1 -0
- package/dist/speech-search/DTWSpeechSearch.d.ts +1 -0
- package/dist/speech-search/DTWSpeechSearch.d.ts.map +1 -0
- package/dist/subtitles/Subtitles.d.ts +1 -0
- package/dist/subtitles/Subtitles.d.ts.map +1 -0
- package/dist/synthesis/AwsPollyTTS.d.ts +1 -0
- package/dist/synthesis/AwsPollyTTS.d.ts.map +1 -0
- package/dist/synthesis/AzureCognitiveServicesTTS.d.ts +1 -0
- package/dist/synthesis/AzureCognitiveServicesTTS.d.ts.map +1 -0
- package/dist/synthesis/CoquiServerTTS.d.ts +1 -0
- package/dist/synthesis/CoquiServerTTS.d.ts.map +1 -0
- package/dist/synthesis/DeepgramTTS.d.ts +1 -0
- package/dist/synthesis/DeepgramTTS.d.ts.map +1 -0
- package/dist/synthesis/ElevenLabsTTS.d.ts +1 -0
- package/dist/synthesis/ElevenLabsTTS.d.ts.map +1 -0
- package/dist/synthesis/EspeakTTS.d.ts +1 -0
- package/dist/synthesis/EspeakTTS.d.ts.map +1 -0
- package/dist/synthesis/FliteTTS.d.ts +1 -0
- package/dist/synthesis/FliteTTS.d.ts.map +1 -0
- package/dist/synthesis/GnuSpeechTTS.d.ts +1 -0
- package/dist/synthesis/GnuSpeechTTS.d.ts.map +1 -0
- package/dist/synthesis/GoogleCloudTTS.d.ts +1 -0
- package/dist/synthesis/GoogleCloudTTS.d.ts.map +1 -0
- package/dist/synthesis/GoogleTranslateTTS.d.ts +1 -0
- package/dist/synthesis/GoogleTranslateTTS.d.ts.map +1 -0
- package/dist/synthesis/KokoroTTS.d.ts +1 -0
- package/dist/synthesis/KokoroTTS.d.ts.map +1 -0
- package/dist/synthesis/MicrosoftEdgeTTS.d.ts +1 -0
- package/dist/synthesis/MicrosoftEdgeTTS.d.ts.map +1 -0
- package/dist/synthesis/OpenAICloudTTS.d.ts +1 -0
- package/dist/synthesis/OpenAICloudTTS.d.ts.map +1 -0
- package/dist/synthesis/SamTTS.d.ts +1 -0
- package/dist/synthesis/SamTTS.d.ts.map +1 -0
- package/dist/synthesis/SapiTTS.d.ts +1 -0
- package/dist/synthesis/SapiTTS.d.ts.map +1 -0
- package/dist/synthesis/StreamlabsPollyTTS.d.ts +1 -0
- package/dist/synthesis/StreamlabsPollyTTS.d.ts.map +1 -0
- package/dist/synthesis/SvoxPicoTTS.d.ts +1 -0
- package/dist/synthesis/SvoxPicoTTS.d.ts.map +1 -0
- package/dist/synthesis/VitsTTS.d.ts +1 -0
- package/dist/synthesis/VitsTTS.d.ts.map +1 -0
- package/dist/tests/Test.d.ts +1 -0
- package/dist/tests/Test.d.ts.map +1 -0
- package/dist/text-language-detection/FastTextLanguageDetection.d.ts +1 -0
- package/dist/text-language-detection/FastTextLanguageDetection.d.ts.map +1 -0
- package/dist/text-language-detection/TinyLDLanguageDetection.d.ts +1 -0
- package/dist/text-language-detection/TinyLDLanguageDetection.d.ts.map +1 -0
- package/dist/text-translation/DeepLTextTranslation.d.ts +1 -0
- package/dist/text-translation/DeepLTextTranslation.d.ts.map +1 -0
- package/dist/text-translation/GoogleTranslateTextTranslation.d.ts +1 -0
- package/dist/text-translation/GoogleTranslateTextTranslation.d.ts.map +1 -0
- package/dist/text-translation/NLLBTextTranslation.d.ts +1 -0
- package/dist/text-translation/NLLBTextTranslation.d.ts.map +1 -0
- package/dist/typings/TypedArray.d.ts +1 -0
- package/dist/typings/TypedArray.d.ts.map +1 -0
- package/dist/utilities/BinaryUtilities.d.ts +1 -0
- package/dist/utilities/BinaryUtilities.d.ts.map +1 -0
- package/dist/utilities/BrowserRequestHeaders.d.ts +1 -0
- package/dist/utilities/BrowserRequestHeaders.d.ts.map +1 -0
- package/dist/utilities/Compression.d.ts +1 -0
- package/dist/utilities/Compression.d.ts.map +1 -0
- package/dist/utilities/FileDownloader.d.ts +1 -0
- package/dist/utilities/FileDownloader.d.ts.map +1 -0
- package/dist/utilities/FileReader.d.ts +1 -0
- package/dist/utilities/FileReader.d.ts.map +1 -0
- package/dist/utilities/FileSystem.d.ts +1 -0
- package/dist/utilities/FileSystem.d.ts.map +1 -0
- package/dist/utilities/FileWriter.d.ts +1 -0
- package/dist/utilities/FileWriter.d.ts.map +1 -0
- package/dist/utilities/Hashing.d.ts +1 -0
- package/dist/utilities/Hashing.d.ts.map +1 -0
- package/dist/utilities/Locale.d.ts +1 -0
- package/dist/utilities/Locale.d.ts.map +1 -0
- package/dist/utilities/Logger.d.ts +1 -0
- package/dist/utilities/Logger.d.ts.map +1 -0
- package/dist/utilities/NpmUtilities.d.ts +1 -0
- package/dist/utilities/NpmUtilities.d.ts.map +1 -0
- package/dist/utilities/ObjectUtilities.d.ts +1 -0
- package/dist/utilities/ObjectUtilities.d.ts.map +1 -0
- package/dist/utilities/OnnxUtilities.d.ts +1 -0
- package/dist/utilities/OnnxUtilities.d.ts.map +1 -0
- package/dist/utilities/OpenPromise.d.ts +1 -0
- package/dist/utilities/OpenPromise.d.ts.map +1 -0
- package/dist/utilities/PackageManager.d.ts +1 -0
- package/dist/utilities/PackageManager.d.ts.map +1 -0
- package/dist/utilities/PathUtilities.d.ts +1 -0
- package/dist/utilities/PathUtilities.d.ts.map +1 -0
- package/dist/utilities/RandomGenerator.d.ts +1 -0
- package/dist/utilities/RandomGenerator.d.ts.map +1 -0
- package/dist/utilities/SignalChannel.d.ts +1 -0
- package/dist/utilities/SignalChannel.d.ts.map +1 -0
- package/dist/utilities/SmoothEstimator.d.ts +1 -0
- package/dist/utilities/SmoothEstimator.d.ts.map +1 -0
- package/dist/utilities/StringBuilder.d.ts +1 -0
- package/dist/utilities/StringBuilder.d.ts.map +1 -0
- package/dist/utilities/StringUtilities.d.ts +1 -0
- package/dist/utilities/StringUtilities.d.ts.map +1 -0
- package/dist/utilities/TarballMaker.d.ts +1 -0
- package/dist/utilities/TarballMaker.d.ts.map +1 -0
- package/dist/utilities/Timeline.d.ts +1 -0
- package/dist/utilities/Timeline.d.ts.map +1 -0
- package/dist/utilities/Timer.d.ts +1 -0
- package/dist/utilities/Timer.d.ts.map +1 -0
- package/dist/utilities/Utilities.d.ts +1 -0
- package/dist/utilities/Utilities.d.ts.map +1 -0
- package/dist/utilities/Utilities.js +4 -2
- package/dist/utilities/Utilities.js.map +1 -1
- package/dist/utilities/VirtualFileReadStream.d.ts +1 -0
- package/dist/utilities/VirtualFileReadStream.d.ts.map +1 -0
- package/dist/utilities/WebReader.d.ts +1 -0
- package/dist/utilities/WebReader.d.ts.map +1 -0
- package/dist/utilities/WikipediaReader.d.ts +1 -0
- package/dist/utilities/WikipediaReader.d.ts.map +1 -0
- package/dist/voice-activity-detection/AdaptiveGateVAD.d.ts +1 -0
- package/dist/voice-activity-detection/AdaptiveGateVAD.d.ts.map +1 -0
- package/dist/voice-activity-detection/SileroVAD.d.ts +1 -0
- package/dist/voice-activity-detection/SileroVAD.d.ts.map +1 -0
- package/dist/voice-activity-detection/WebRtcVAD.d.ts +1 -0
- package/dist/voice-activity-detection/WebRtcVAD.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/utilities/Utilities.ts +4 -2
- package/tsconfig.json +52 -92
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdaptiveGateVAD.d.ts","sourceRoot":"","sources":["../../src/voice-activity-detection/AdaptiveGateVAD.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,YAAY,EAA6C,MAAM,wBAAwB,CAAC;AACjG,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAKpD,wBAAsB,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,sBAAsB,qBAsG5F;AAED,qBAAa,eAAe;aAUV,UAAU,EAAE,MAAM;aAClB,YAAY,EAAE,MAAM;aACpB,OAAO,EAAE,sBAAsB;IAXhD,sBAAsB,EAAE,YAAY,EAAE,CAAA;IACtC,qBAAqB,EAAE,YAAY,EAAE,CAAA;IAErC,iBAAiB,EAAE,iBAAiB,CAAA;IAEpC,wBAAwB,EAAE,qBAAqB,CAAA;IAC/C,wBAAwB,EAAE,qBAAqB,CAAA;gBAG9B,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,sBAAsB;IAmChD,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM;CAc5C;AAED,MAAM,WAAW,sBAAsB;IACtC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED,eAAO,MAAM,0BAA0B,EAAE,sBAWxC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SileroVAD.d.ts","sourceRoot":"","sources":["../../src/voice-activity-detection/SileroVAD.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,IAAI,MAAM,kBAAkB,CAAA;AAG7C,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AACrD,OAAO,EAAE,qBAAqB,EAAyB,MAAM,+BAA+B,CAAA;AAE5F,wBAAsB,mBAAmB,CACxC,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAC3B,kBAAkB,EAAE,qBAAqB,EAAE,qBA2B3C;AAED,qBAAa,SAAS;aAQJ,SAAS,EAAE,MAAM;aACjB,kBAAkB,EAAE,qBAAqB,EAAE;IAR5D,OAAO,CAAC,EAAE,IAAI,CAAC,gBAAgB,CAAA;IAE/B,WAAW,CAAC,EAAE,IAAI,CAAC,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,IAAI,CAAC,MAAM,CAAA;IACzB,eAAe,CAAC,EAAE,IAAI,CAAC,MAAM,CAAA;gBAGZ,SAAS,EAAE,MAAM,EACjB,kBAAkB,EAAE,qBAAqB,EAAE;IAGtD,iBAAiB,CAAC,KAAK,EAAE,YAAY;YAmB7B,kBAAkB;CAmBhC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { RawAudio } from '../audio/AudioUtilities.js';
|
|
2
2
|
export declare function detectVoiceActivity(rawAudio: RawAudio, frameDuration?: 10 | 20 | 30, mode?: 0 | 1 | 2 | 3): Promise<(0 | 1)[]>;
|
|
3
3
|
export declare function fvad(samples: Int16Array, sampleRate: number, frameDuration: 10 | 20 | 30, mode: 0 | 1 | 2 | 3): Promise<any[]>;
|
|
4
|
+
//# sourceMappingURL=WebRtcVAD.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebRtcVAD.d.ts","sourceRoot":"","sources":["../../src/voice-activity-detection/WebRtcVAD.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAIrD,wBAAsB,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,EAAE,aAAa,GAAE,EAAE,GAAG,EAAE,GAAG,EAAO,EAAE,IAAI,GAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAK,sBAQtH;AAED,wBAAsB,IAAI,CAAC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,kBAkDnH"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "echogarden",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.2",
|
|
4
4
|
"description": "An easy-to-use speech toolset. Includes tools for synthesis, recognition, alignment, speech translation, language detection, source separation and more.",
|
|
5
5
|
"author": "Rotem Dan",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -158,7 +158,8 @@ export function printMatrix(matrix: Float32Array[]) {
|
|
|
158
158
|
|
|
159
159
|
export async function parseJson(jsonText: string, useJson5 = false) {
|
|
160
160
|
if (useJson5) {
|
|
161
|
-
const
|
|
161
|
+
const json5Module = await import('json5')
|
|
162
|
+
const JSON5 = json5Module.default ?? json5Module
|
|
162
163
|
|
|
163
164
|
return JSON5.parse(jsonText)
|
|
164
165
|
} else {
|
|
@@ -170,7 +171,8 @@ export async function stringifyAndFormatJson(obj: any, useJson5 = false) {
|
|
|
170
171
|
let textContent: string
|
|
171
172
|
|
|
172
173
|
if (useJson5) {
|
|
173
|
-
const
|
|
174
|
+
const json5Module = await import('json5')
|
|
175
|
+
const JSON5 = json5Module.default ?? json5Module
|
|
174
176
|
|
|
175
177
|
textContent = JSON5.stringify(obj, undefined, 4)
|
|
176
178
|
} else {
|
package/tsconfig.json
CHANGED
|
@@ -1,96 +1,56 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
2
|
+
// Visit https://aka.ms/tsconfig to read more about this file
|
|
3
|
+
|
|
3
4
|
"compilerOptions": {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
// "lib": ["
|
|
15
|
-
// "
|
|
16
|
-
//
|
|
17
|
-
|
|
18
|
-
//
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
//
|
|
24
|
-
// "
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
//
|
|
28
|
-
"
|
|
29
|
-
// "
|
|
30
|
-
// "
|
|
31
|
-
// "
|
|
32
|
-
// "
|
|
33
|
-
// "
|
|
34
|
-
|
|
35
|
-
//
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
//
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
// "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
|
|
55
|
-
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
|
|
56
|
-
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
|
|
57
|
-
// "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
|
|
58
|
-
"emitBOM": false, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
|
|
59
|
-
"newLine": "lf", /* Set the newline character for emitting files. */
|
|
60
|
-
// "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
|
|
61
|
-
// "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
|
|
62
|
-
// "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
|
|
63
|
-
// "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
|
|
64
|
-
// "declarationDir": "./", /* Specify the output directory for generated declaration files. */
|
|
65
|
-
// "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
|
|
66
|
-
/* Interop Constraints */
|
|
67
|
-
"isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
|
|
68
|
-
// "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
|
69
|
-
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
|
|
70
|
-
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
|
71
|
-
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
|
72
|
-
/* Type Checking */
|
|
73
|
-
"strict": true, /* Enable all strict type-checking options. */
|
|
74
|
-
// "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
|
75
|
-
// "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
|
|
76
|
-
// "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
|
77
|
-
// "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
|
|
78
|
-
"strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
|
|
79
|
-
"noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
|
|
80
|
-
// "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
|
|
81
|
-
// "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
|
|
82
|
-
// "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
|
|
83
|
-
// "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
|
|
84
|
-
// "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
|
|
85
|
-
"noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
|
|
86
|
-
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
|
|
87
|
-
// "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
|
|
88
|
-
// "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
|
|
89
|
-
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
|
|
90
|
-
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
|
|
91
|
-
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
|
|
92
|
-
/* Completeness */
|
|
93
|
-
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
|
94
|
-
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
|
5
|
+
// File Layout
|
|
6
|
+
"rootDir": "./src",
|
|
7
|
+
"outDir": "./dist",
|
|
8
|
+
|
|
9
|
+
// Environment Settings
|
|
10
|
+
// See also https://aka.ms/tsconfig/module
|
|
11
|
+
"module": "nodenext",
|
|
12
|
+
"target": "esnext",
|
|
13
|
+
"types": ["node"],
|
|
14
|
+
// For nodejs:
|
|
15
|
+
// "lib": ["esnext"],
|
|
16
|
+
// "types": ["node"],
|
|
17
|
+
// and npm install -D @types/node
|
|
18
|
+
|
|
19
|
+
// Other Outputs
|
|
20
|
+
"sourceMap": true,
|
|
21
|
+
"declaration": true,
|
|
22
|
+
"declarationMap": true,
|
|
23
|
+
|
|
24
|
+
// Stricter Typechecking Options
|
|
25
|
+
// "noUncheckedIndexedAccess": true,
|
|
26
|
+
// "exactOptionalPropertyTypes": true,
|
|
27
|
+
|
|
28
|
+
// Style Options
|
|
29
|
+
"noImplicitReturns": true,
|
|
30
|
+
// "noImplicitOverride": true,
|
|
31
|
+
// "noUnusedLocals": true,
|
|
32
|
+
// "noUnusedParameters": true,
|
|
33
|
+
// "noFallthroughCasesInSwitch": true,
|
|
34
|
+
// "noPropertyAccessFromIndexSignature": true,
|
|
35
|
+
|
|
36
|
+
// Recommended Options
|
|
37
|
+
"strict": true,
|
|
38
|
+
"jsx": "react-jsx",
|
|
39
|
+
// "verbatimModuleSyntax": true,
|
|
40
|
+
"isolatedModules": true,
|
|
41
|
+
"noUncheckedSideEffectImports": true,
|
|
42
|
+
"moduleDetection": "force",
|
|
43
|
+
"skipLibCheck": true,
|
|
44
|
+
|
|
45
|
+
// Extended options not in generated tsconfig.json
|
|
46
|
+
"newLine": "lf",
|
|
47
|
+
"forceConsistentCasingInFileNames": true,
|
|
48
|
+
"alwaysStrict": true,
|
|
49
|
+
|
|
50
|
+
"noImplicitThis": true,
|
|
51
|
+
"strictBindCallApply": true,
|
|
52
|
+
"strictFunctionTypes": true,
|
|
53
|
+
|
|
54
|
+
"noErrorTruncation": true,
|
|
95
55
|
}
|
|
96
56
|
}
|