MOSS-TTS-Nano icon indicating copy to clipboard operation
MOSS-TTS-Nano copied to clipboard

how to use custom audio sample?

Open lulzx-feilis opened this issue 5 months ago • 1 comments

Error: {"error":"Unsupported reference audio channel conversion: 3 -> 2","stream_id":"stream-1782994982183-aa394cfa","state":"failed","run_status":"Stream failed: Unsupported reference audio channel conversion: 3 -> 2","prompt_audio_path":"Uploaded: Desktop 2026.07.02 - 19.58.13.01.mp4_20260702_201321.flac","sample_rate":48000,"channels":2,"emitted_audio_seconds":0.0,"lead_seconds":0.0,"current_chunk_index":null,"playback_chunk_index":null,"text_chunks":

lulzx-feilis avatar Jul 02 '26 12:07 lulzx-feilis

Thanks for the report. This is a confirmed preprocessing limitation: the uploaded FLAC has 3 channels, while the codec expects 2, and the current loader only handles mono → stereo (or multichannel → mono), not 3 → 2. As a workaround, convert the reference to a mono 48 kHz WAV before uploading:

ffmpeg -i input.flac -ac 1 -ar 48000 -c:a pcm_s16le reference.wav

alpacaking avatar Jul 29 '26 07:07 alpacaking