You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 27, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 27, 2026. It is now read-only.
Playing WAVE '/tmp/tmplGOau7.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
I want to disable that for easier debugging from console, when there is less stuff in the console it's easier to read. It would help if it didn't output anything else than what it's suppose to do: output sound from text that is given to it.
Or at least have option for disabling it. If there is one I haven't found it or it's not mentioned in the docs or anywhere is it?
I think it can be made quieter by adding a --quiet to this line: https://github.com/grigi/talkey/blob/master/talkey/base.py#L259
e.g. `cmd = ['aplay', '--quiet', str(filename)]
And you are right, this should probably only ever show if debug logging is turned on.
I think it can be made quieter by adding a --quiet to this line: https://github.com/grigi/talkey/blob/master/talkey/base.py#L259
e.g. `cmd = ['aplay', '--quiet', str(filename)]
And you are right, this should probably only ever show if debug logging is turned on.
Doesn't work for systems where that is not manually edited.
Hacky way to fix this by globally defaulting the subprocess.Popen not to output to stdout/stderr:
Activity
grigi commentedon Jan 30, 2017
I think it can be made quieter by adding a
--quietto this line:https://github.com/grigi/talkey/blob/master/talkey/base.py#L259
e.g. `cmd = ['aplay', '--quiet', str(filename)]
And you are right, this should probably only ever show if debug logging is turned on.
deepy commentedon May 19, 2017
Is there any intention to fix this issue?
b10011 commentedon Jul 12, 2019
Doesn't work for systems where that is not manually edited.
Hacky way to fix this by globally defaulting the subprocess.Popen not to output to stdout/stderr:
Another hacky way with automatic "unmuting" after the end of the SubprocessSilencer -block: