Jump to content

bbence84

Members
  • Posts

    2
  • Joined

  • Last visited

  1. I am getting a quite loud audio spike / noise sound at the end of an audio play in python when using the following script: https://gist.github.com/bbence84/04d1935a92a4b4ab3d44bf182ea4bcc1 Wav to be played, but it does it with any other wav or mp3 file: https://easyupload.io/vbat12 It uses the speech_recognition package and the preferredsoundplayer package, but also the VLC python package shows the same when playing the audio. When changing the audio play to be non-blocking for the python script, the issue goes away... Very strange. This is driviging me nuts. I'm on Armbian 22.11.1 Jammy / 22.04.1 LTS, kernel 5.15.80-sunxi. Orange Pi Zero LTS. Thanks for any ideas! Bence
  2. I'm on Armbian 22.11.1 Jammy / 22.04.1 LTS, kernel 5.15.80-sunxi. Orange Pi Zero LTS. I have the issue that using all available audio players, the first half a second or so of mp3s are cut off randomly. Meaning that sometimes the beginning plays correctly, sometimes part of the beginning is cut off. Repeadetly running the player sometimes works sometimes cuts off the audio. I have tried play, ffplay, both have this issue. The speaker is a small amlfier module, the LINEOUTL output is connected to it, but the right is the same. Any ideas where to look? This is driving me insane. Thanks! I have attached a test mp3, which is hungarian, sorry. The output is from the Google Cloud Text to Speech python package, saved as a file: with open(file_name, "wb") as out: out.write(response.audio_content) tts_output.mp3
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines