Giter VIP home page Giter VIP logo

p4sync's Introduction

*WARNING*: this is a *very old* project. Don't expect much.

p4sync
http://snarfed.org/synchronizing_mp3_playback
License: This project is placed in the public domain.

p4sync syncs mp3 players on multiple computers so that they are playing the same song at the same time. p4sync will be distributed as a plugin for many popular mp3 and media players - we initially plan to support Winamp and XMMS.

A few older projects have attempted to sync mp3 players on multiple computers, but they all fell victim to the same problem: network latency. These projects were effectively designed to yell "GO!" across the network to all connected hosts. This often results in unacceptable sync quality, because the human ear can detect sources that are out-of-sync as little as tens of milliseconds.

We plan to use a superior sync mechanism. Each host will use NTP to sync their system clocks. The p4sync server will record the time it started playing the current song. When a client connects to the server, the server will report the time at which it started playing the song, and the client will calculate the current offset into the song. We already have a running prototype, and it is capable of syncing such that humans cannot detect that there is more than one music source.

p4sync has a few high-level goals. They are, loosely in order of priority:
1) Flawless sync quality
2) Cross-platform and supports multiple mp3 players
3) Best practices (i.e. unit tests, logging, aspect-oriented programming)
4) Easy to install and run
5) Desirable features such as playlist and file propagation

p4sync's People

Contributors

snarfed avatar

Watchers

James Cloos avatar

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.