f4exb / dsdcc

Digital Speech Decoder (DSD) rewritten as a C++ library
286 stars 60 forks source link

DSDCC doesn't redirect the output to "play". #62

Closed radiusmk closed 7 months ago

radiusmk commented 9 months ago

I tried to decode somes samples and redirect to "play", but I can't hear any. I think that the problem is related with the redirection to the play command.

Does someone have idea what I need to check? I tested the "play" command to play a wav file and also redirecting the "sax" output straight to it, and both worked fine

──╼ $sox -t s16 -r 48k -c 1 dmr_it_8.dis -t s16 -r 48k -c 1 - | dsdccx -T3 -fa -i - -o - | play -q -t s16 -r 8k -c 1 -
DSDDstar::reset_header_strings DSDDecoder::resetFrameSync: symbol 0 (0) Digital Speech Decoder DSDcc DSDDecoder::resetFrameSync: symbol 0 (0) Enabling auto frame decoding. DSDDecoder::resetFrameSync: symbol 0 (0) Opened - for input. Opened - for output. Sync: +DMRd DSDDecoder::run: good sync found: 10 symbol 298 (12851) DSDDecoder::run: before processFrameInit: symbol 299 (1717) inlvl: 90% DSDDecoder::resetFrameSync: symbol 352 (3106) Sync: +DMRd DSDDecoder::run: good sync found: 10 symbol 586 (12809) DSDDecoder::run: before processFrameInit: symbol 587 (1737) inlvl: 101% DSDDecoder::resetFrameSync: symbol 640 (3183) Sync: +DMRd DSDDecoder::run: good sync found: 10 symbol 874 (12496) DSDDecoder::run: before processFrameInit: symbol 875 (1637) inlvl: 100% DSDDecoder::resetFrameSync: symbol 928 (2896) Sync: +DMRv DSDDecoder::run: good sync found: 12 symbol 1018 (-13723) DSDDecoder::run: before processFrameInit: symbol 1019 (-2860) inlvl: 95% play WARN alsa: can't encode 0-bit Unknown or not applicable DSDDecoder::resetFrameSync: symbol 2512 (11625) Sync: +DMRd DSDDecoder::run: good sync found: 10 symbol 2602 (13447) DSDDecoder::run: before processFrameInit: symbol 2603 (1391) inlvl: 102% DSDDecoder::resetFrameSync: symbol 2656 (2357) Sync: +DMRv DSDDecoder::run: good sync found: 12 symbol 2746 (-13902) DSDDecoder::run: before processFrameInit: symbol 2747 (4646) inlvl: 98% DSDDecoder::resetFrameSync: symbol 4240 (-12099) Sync: +DMRd DSDDecoder::run: good sync found: 10 symbol 4330 (13211) DSDDecoder::run: before processFrameInit: symbol 4331 (3036) inlvl: 101% DSDDecoder::resetFrameSync: symbol 4384 (3163) Sync: +DMRv DSDDecoder::run: good sync found: 12 symbol 4474 (-12529) DSDDecoder::run: before processFrameInit: symbol 4475 (-12943) inlvl: 102% DSDDecoder::resetFrameSync: symbol 5968 (13037) ...

Tks.

github-actions[bot] commented 7 months ago

This issue is going to be closed due to inactivity