piper icon indicating copy to clipboard operation
piper copied to clipboard

Output the audio size in bytes when logging

Open kovidgoyal opened this issue 1 year ago • 0 comments

Currently, piper logs something like

Real-time factor: 0.24298105233065118 (infer=2.355538764 sec, audio=9.694331065759638 sec)

In addition to this I would like it to log

bytes=XYZ

this eases integration with other software that is sending multiple sentences and reading the output data while keep track of where one sentence ends and the next begins.

Thanks.

kovidgoyal avatar Sep 02 '24 03:09 kovidgoyal