Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Record audio from the browser
#1
For test automation of our project I need to check if a player works correctly (regardless the media it plays). Therefore I started learning Python in January. My plan was to record an audio sample of x seconds and analyse it to determine if it's above a certain threshold to know there's audio.

After a little searching I found the PyAudio library, but it seems to only be able to record the microphone channel. Later I also found the Sounddevice library, but same story.

Since the test needs to be independent of OS and browser and the likes, I prefer a Python only solution.
Reply
#2
Here's a large list of packages that record audio.
You'll have to research them to see if they can do what you need.
https://pypi.org/search/?q=%22record+audio%22
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  webdriver.remote to connect back existing browser without open new browser? gahhon 6 6,648 Feb-26-2019, 03:53 PM
Last Post: gahhon
  SQLAlchemy, log only one record from failed insert Master_Sergius 0 2,105 Dec-21-2018, 02:04 PM
Last Post: Master_Sergius

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020