Simon Schuler

Results 6 comments of Simon Schuler

This is also a problem with Type Checking done by pylint: ![grafik](https://github.com/larsimmisch/pyalsaaudio/assets/36367814/75790f82-12ea-4fa5-a837-b713016c6434) ![grafik](https://github.com/larsimmisch/pyalsaaudio/assets/36367814/70a5f7d5-9c57-4520-9c97-2a250e7df72c) To reproduce, enable "strict" for Type Checking (assuming Visual Studio Code and pylint). ```python def setup_alsa_output_stream(self): """uses...

The solution from @pmarks-net worked for me with ubuntu22.04 and its supported python version python3.10.

I have the same problem with wikipedia.summary. This happend with lang 'de'. ```python import wikipedia wikipedia.set_lang("de") try: summary: str = wikipedia.summary("Schlacht von Pjöngjang") except wikipedia.exceptions.DisambiguationError as e: new_query = e.options[-1:][0]...

I have the same issue with speech-to-text-v2. I'll try to provide a bit more context: I have multiple IoT-Devices at different places. Some work, some don't. I have no Idea...

The Documentation [here](https://cloud.google.com/speech-to-text/v2/docs/streaming-recognize?hl=de#perform_streaming_speech_recognition_on_a_local_file) states, that 25 KB is the maximum. I attempted a fix: ```python # yield result bytes_chunk = b"".join(data) for chunk in [bytes_chunk[x:x+25600] for x in range(0, len(bytes_chunk),...