I have a program which records sound when started from the terminal (Mac).
It works fine in normal terminal or iTerm2, for example.
However, when I start the same python script from within cool-retro-term, no audio input is recognized.
Is there anything I can do to fix this or does anybody have a hint?
The part of the python script is as follows, but my hunch is that it's maybe a permission related issue?
Thanks in advance.
while True:
data = np.frombuffer(stream.read(CHUNK), dtype=np.int16)
if np.abs(data).mean() > THRESHOLD: #check mean amplitude of the chunk
break
I have a program which records sound when started from the terminal (Mac). It works fine in normal terminal or iTerm2, for example.
However, when I start the same python script from within cool-retro-term, no audio input is recognized. Is there anything I can do to fix this or does anybody have a hint?
The part of the python script is as follows, but my hunch is that it's maybe a permission related issue? Thanks in advance.