Coder Social home page Coder Social logo

x-osc-latency-tester's Introduction

x-OSC-Latency-Tester

This repository includes the source files for the tools used to evaluated the closed-loop latency of x-OSC communicating with a host. The closed-loop latency is the delay between a physical change on an input pin and the resulting physical change on an output pin. This delay includes: sampling of x-OSC input pin, WiFi transmission from x-OSC to computer, processing of received data by computer, WiFi transmission from computer to x-OSC, setting x-OSC output pin.

A windows application and simple hardware setup allow the latency to be measured repeatedly and autonomously. In this setup, an x-OSC digital input is connected to a 1 Hz square wave while the Windows application communicating with x-OSC creates the behaviour: output = input. Both the input and output are connected to an XOR gate to generate a pulse width equal to the delay between the input and output pin state changes. This pulse width is measured using a TTi TF930 frequency counter which sends the measurement to the Windows application via USB to be logged to a CSV file.

The repository includes the results of investigations into the closed-lop latency for various scenarios and a MATLAB script for plotting these distributions. Images of the hardware setup and ultimate distribution plots have also been included.

The method for evaluating latency was original presented in a 2013 paper at the Sound and Music Computing conference.

Hardware Setup

Ad hoc latency distribution

x-osc-latency-tester's People

Contributors

xiotechnologies avatar

Watchers

 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.