Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
update repo
嘉渊36bc2a61053c
diff --git a/egs/wenetspeech/conformer/local/process_opus.py b/egs/wenetspeech/conformer/local/process_opus.pyindex 044d183b9..d22223d41 100755--- a/egs/wenetspeech/conformer/local/process_opus.py+++ b/egs/wenetspeech/conformer/local/process_opus.py@@ -19,7 +19,7 @@import osimport sys-from pydub import AudioSegment+import torchaudio.backend.sox_io_backend as soxdef read_file(wav_scp, segments):@@ -60,7 +60,7 @@ def output(output_wav_scp, utt_list, seg_path_list, start_time_list, end_time_lios.makedirs(output_dir, exist_ok=True)if current_wav_path != previous_wav_path:- source_wav = AudioSegment.from_file(current_wav_path)+ source_wav, sampling_rate = sox.load(current_wav_path, normalize=False)previous_wav_path = current_wav_pathstart = int(start_time_list[i] * 1000)