Skip to content

nfriedly/puck.js-media-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puck.js Media Control

Remote control to pause, resume, and rewind audiobooks playing from my phone.

  • Short press toggles play/pause. Light blinks green.
  • Long press rewinds 30 seconds. Light blinks blue.
    • It actually sends 3x "previous track" commands, but I have my audiobook player configured to interpret each of those as 10-second rewind.

demo

Why?

I have some otherwise great earbuds that have frusturatingly-unreliable touch controls. This gives me a physical button that reliably performs my most common two tasks.

This code is meant to run on a Puck.js via Espruino.

Puck.js

About

Remote control to pause, resume, and rewind audiobooks playing from my phone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published