I'm currently working on a profanity filter for movies, youtube etc and am not sure how to use the audio from the computer as the input into the program. I am somewhat familiar with using the microphone to input, but do not know of any libraries nor know how to go about using the audio from the computer as input.
Any assistance is appreciated ๐
#๐ Computer Audio as Input
8 messages ยท Page 1 of 1 (latest)
@fleet hemlock
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Closes after a period of inactivity, or when you send !close.
Not related, but wouldn't of the profanity already played for your program to recongise?
I was going to use speech recognition to analyze the input. Eventually I'd use a variety of audio recordings of the words but that'll take a long time.
Either way though, it can't recognize it without any input
This isnt really related to Python however i think you may find this useful and just putting it out there. There is a well-known (free) software called VoiceMeeter it allows you to reroute different audio inputs/outputs. For example i can easily hotswap my desktop audio to come out of my mic or have both my main mic and desktop audio come out of my mic as 1 input. I want to note that VoiceMeeter is quite finicky to set up but once setup it can be really useful in a number of situations.
References:
https://vb-audio.com/Voicemeeter/
https://voicemeeter.com/see-what-voicemeeter-can-do-overview/
https://www.reddit.com/r/Twitch/comments/9szkku/a_concise_guide_to_voicemeeter_bring_your_stream/
https://www.youtube.com/watch?v=j_fk5SqktJg
https://www.youtube.com/watch?v=pEd7jw0uNE4
I urge you to do your own research on if this is a viable solution for you and if using VoiceMeeter is worth it for you.
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.