Giter VIP home page Giter VIP logo

audio-control's Introduction

audio-control

This project started as a way to control the media like youtube video being played on my laptop using voice commands from my bluetooth headphones mic. As my headphones only provided me buttons for play/pause or next/prev video. I wanted the forward and backward feature we have in youtube(arrow keys). Which is essesntial for me while listening to long form media like podcasts and being away from the laptop.

audio-control's People

Contributors

tusharparimi avatar

Watchers

 avatar

audio-control's Issues

pybluez in windows

pybluez github link: https://github.com/pybluez/pybluez

  • for detecting button presses on bluetooth headphones
  • in windows does not have support for L2CAP protocol which my headphones use for AVRCP(bluetooth profile for Audio/Video Remote Control)
  • RFCOMM is only protocol supported in windows which my bluetooth uses for headset connection service. This was seen to detect some button presses.
  • Another problem is headphones need to make a new connection if they are aready connected to laptop it does not work.

Progress....

Able to listen to speech through mic and recognize it using "speech_recognition":

  • But keeps listening always or can set a pause_threshold which makes one iteration of listening loop continue.
  • This is annoying as if user gives a voice command during this non-listening period it does not work.
  • Possible solution only take command when, wake word(like Hey Alexa...) is detected or a button is pressed on headphones.

Able to switch to a youtube tab in browser using "pygetwindow" and "pyautogui":

  • But only works if only one youtube tab is open.
  • If multiple youtube tabs are open then stops at the first one it lands on.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.