GithubHelp home page GithubHelp logo

lpcontrol's Introduction

lpControl - Bringing that warm analog feel back to your computer

lpControl allows you to use an analog record player and timecode record as a computer input device. A server program reads audio input from the record player and sends relative velocity information to listening clients over UDP.

Requirements

Usage

Run the server program with python server.py. Now any program can listen for UDP packets on localhost:6666. Try one of the example programs.

Examples

Spotify

python spotify.py

Control Spotify as if it were pressed onto vinyl. Drop the needle on the record and Spotify begins playing. Scratch backwards to go to the previous track. Scratch forwards for the next track. Lift the needle and marvel as Spotify pauses.

Rotary Phone

python dialer.py

Dial a rotary phone by rotation of the record. Rotation of the record is mapped to 1:1 with the virtual phone. Requires PyGame and twilio-python.

Extending

Broadcasting velocity information over UDP makes it incredibly easy to build out new applications on top of this. Try using a bit of AppleScript (as in spotifycontrol.py) to control almost anything on your Mac.

skeleton.py is a good starting point for building new apps. It demonstrates listening for velocity data, and using that to run a state machine detecting qualitative record movement (ie. fast-forward, forward, stopped, reverse).

Please let me know ([email protected]) if you build something cool!

lpcontrol's People

Contributors

zwass avatar

Stargazers

haveboard avatar  avatar  avatar yuta nakayama (didny) avatar  avatar Daniel Ge avatar Andrew Gerst avatar Yefim Vedernikoff avatar  avatar Adi Dahiya avatar Abe Stanway avatar

Watchers

haveboard avatar  avatar John P Mayer, Jr avatar  avatar

Forkers

todun

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.