Netjack - Remote music collaboration with electronic sequencers

Similar documents
IETF 84 RTCWEB. Mandatory To Implement Audio Codec Selection

VoIP Technologies Lecturer : Dr. Ala Khalifeh Lecture 4 : Voice codecs (Cont.)

VoIP Bandwidth Calculation

ALCATEL CRC Antwerpen Fr. Wellesplein 1 B-2018 Antwerpen +32/3/ ; Suresh.Leroy@alcatel.be +32/3/ ; Guy.Reyniers@alcatel.

DAB + The additional audio codec in DAB

Challenges and Solutions in VoIP

Voice Over IP Per Call Bandwidth Consumption

Digital Audio and Video Data

Basic principles of Voice over IP

How To Understand The Differences Between A Fax And A Fax On A G3 Network

Optimizing Converged Cisco Networks (ONT)

Broadband Networks. Prof. Dr. Abhay Karandikar. Electrical Engineering Department. Indian Institute of Technology, Bombay. Lecture - 29.

Cisco Networks (ONT) 2006 Cisco Systems, Inc. All rights reserved.

VoIP Shim for RTP Payload Formats

Introduction VOIP in an Network VOIP 3

FRAUNHOFER INSTITUTE FOR INTEGRATED CIRCUITS IIS AUDIO COMMUNICATION ENGINE RAISING THE BAR IN COMMUNICATION QUALITY

Introduction and Comparison of Common Videoconferencing Audio Protocols I. Digital Audio Principles

Communication Protocol

How To Recognize Voice Over Ip On Pc Or Mac Or Ip On A Pc Or Ip (Ip) On A Microsoft Computer Or Ip Computer On A Mac Or Mac (Ip Or Ip) On An Ip Computer Or Mac Computer On An Mp3

VoIP Bandwidth Considerations - design decisions

TECHNICAL PAPER. Fraunhofer Institute for Integrated Circuits IIS

Encapsulating Voice in IP Packets

Calculating Bandwidth Requirements

Operating Systems and Networks Sample Solution 1

VoIP network planning guide

TCP and Wireless Networks Classical Approaches Optimizations TCP for 2.5G/3G Systems. Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme

How To Understand How Bandwidth Is Used In A Network With A Realtime Connection

4. H.323 Components. VOIP, Version 1.6e T.O.P. BusinessInteractive GmbH Page 1 of 19

Clearing the Way for VoIP

Evaluating Data Networks for Voice Readiness

COMPARISONS OF FEC AND CODEC ROBUSTNESS ON VOIP QUALITY AND BANDWIDTH EFFICIENCY

RFC 2544 Testing of Ethernet Services in Telecom Networks

Goal We want to know. Introduction. What is VoIP? Carrier Grade VoIP. What is Meant by Carrier-Grade? What is Meant by VoIP? Why VoIP?

Network administrators must be aware that delay exists, and then design their network to bring end-to-end delay within acceptable limits.

Requirements of Voice in an IP Internetwork

Mobile Communications Chapter 9: Mobile Transport Layer

Narrow Bandwidth Streaming Video Codec

Configuration Guide. T.38 Protocol in AOS L1-29.1D September 2011

Protocols. Packets. What's in an IP packet

The Problem with Faxing over VoIP Channels

technology standards and protocol for ip telephony solutions

CSE 3461 / 5461: Computer Networking & Internet Technologies

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

DVoIP: DYNAMIC VOICE-OVER-IP TRANSFORMATIONS FOR QUALITY OF SERVICE IN BANDWIDTH CONSTRAINED ENVIRONMENTS

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

QoS Issues for Multiplayer Gaming

ARIB STD-T V Codec for Enhanced Voice Services (EVS); Voice Activity Detection (VAD) (Release 12)

Low-Latency Audio over IP on Embedded Systems

LOLA (Low Latency) Project

Voice-Over-IP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

LOW COST AUTOMOTIVE NETWORKS. Local Interconnect Network (LIN)

Network Working Group. Category: Best Current Practice S. Bradner Harvard University M. Patton Consultant July 1997

Voice over IP (VoIP) Overview. Introduction. David Feiner ACN Introduction VoIP & QoS H.323 SIP Comparison of H.323 and SIP Examples

RTP Performance Enhancing Proxy

TECHNICAL CHALLENGES OF VoIP BYPASS

Combining Voice over IP with Policy-Based Quality of Service

SIP Forum Fax Over IP Task Group Problem Statement

networks Live & On-Demand Video Delivery without Interruption Wireless optimization the unsolved mystery WHITE PAPER

Comparison of Voice over IP with circuit switching techniques

Case Study: Real-Time Video Quality Monitoring Explored

Audio networking. François Déchelle Patrice Tisserand Simon Schampijer

Multiple Choice Questions

Converged Telephony Solution. Technical White Paper

Internet Protocols. Addressing & Services. Updated:

Understanding Latency in IP Telephony

4511 MODBUS RTU. Configuration Manual. HART transparent driver. No. 9107MCM100(1328)

Receiving the IP packets Decoding of the packets Digital-to-analog conversion which reproduces the original voice stream

Product Information D23m Digital I/O System

Priority Based Dynamic Rate Control for VoIP Traffic

A NOVEL RESOURCE EFFICIENT DMMS APPROACH

Streaming Networks with VLC. Jean-Paul Saman

Studer Call Management System

Mobile Communications Exercise: Satellite Systems and Wireless LANs. Georg von Zengen, IBR, TU Braunschweig,

Spot me if you can: Uncovering spoken phrases in encrypted VoIP conversations

High-Level Data Link Control

- An Essential Building Block for Stable and Reliable Compute Clusters

Chapter 2 - The TCP/IP and OSI Networking Models

internet technologies and standards

Overview of Network Hardware and Software. CS158a Chris Pollett Jan 29, 2007.

Performance Evaluation of AODV, OLSR Routing Protocol in VOIP Over Ad Hoc

Audio Over IP. Building Pro AolP Systems. with Livewire. Skip Pizzi. Steve Church. Focal. Press ELSEVIER AMSTERDAM BOSTON HEIDELBERG LONDON

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

DATA COMMUNICATIONS AND NETWORKING. Solved Examples

8B/10B Coding 64B/66B Coding

Network Simulation Traffic, Paths and Impairment

Design and Implementation of a Storage Repository Using Commonality Factoring. IEEE/NASA MSST2003 April 7-10, 2003 Eric W. Olsen

1000Mbps Ethernet Performance Test Report

APTA TransiTech Conference Communications: Vendor Perspective (TT) Phoenix, Arizona, Tuesday, VoIP Solution (101)

NComputing L-Series LAN Deployment

Sources: Chapter 6 from. Computer Networking: A Top-Down Approach Featuring the Internet, by Kurose and Ross

IHM VoIP Products. Document history:

PA168X SIP Phone Http Setup Guide

Voice over IP Manual

Transcription:

Netjack - Remote music collaboration with electronic sequencers by Alexander Carôt and Torben Hohn

1.) Introduction 2.) Theory of remote musical interaction 3.) Alternative approaches 4.) Remote music collaboration with electronic sequencers (Netjack)

1.) Introduction

The current state : -In the old days: analogue signal processing -PC has revolutionized the domain of audio engine -HD recording / editing / mastering -prof. software e.g.: Ardour, Cubase, ProTools etc. Old Studer Tape Machine 1) Introduction -MP3, Ogg Vorbis Files sharing / exchange Real musical interplay?

2) Theory of remote musical interaction

Bass in Guitar out Guitar in Bass out Room 1 Room 2 Cognitive Science: Integration Processes Ira J. Hirsh : Threshold for order identification = 20 ms Slightly higher for interactive music : Schuett/Chafe EPT = 30 ms 2) Theory

2) Theory

EDAL (Ensemble Delay Acceptance Threshold) 2) Theory

45 ms 35 ms 25 ms Delay Delay Delay 20 ms Delay 15 ms Delay 5 ms Delay 2) Theory

Realistic Interaction Approach (RIA) 2) Theory

Speed of sound : 343 m/s 2) Theory

~ 8,5 m 2) Theory

speed of light : 300.000 km/s (factor ~ 900.000!) 2) Theory

~7500 km 2) Theory

2) Theory

2) Theory

2) Theory

3.) Alternative Approaches

Strings Apart Pedro Rebelo, Mark Applebaum SARC / CCRMA (8141 km / ~ 100 ms) Latency Accepting Approach (LAA) 3) Alternative Approaches

Bass-Master-Groove Master-Side-Sound Slave-Side-Sound Master/Slave Approach (MSA) 3) Alternative Approaches

Alexander Carôt / Nicolas Durand Lübeck / Paris (~ 751 km / 35 ms ) Laid-Back Approach (LBA) 3) Alternative Approaches

Single delayed feedback (SDF) Alexander Carôt / Michael Stahl Lübeck-DSL / Erlangen (~520 km / 40 ms) Dual delayed feedback (DDF Delayed Feedback Approach (DFA) 3) Alternative Approaches

EDAL = 0 ms (!) Approach: Application of SDF (single delayed feedback) 4) Netjack

4.) Interconnection of remote electronic sequencers (Netjack)

History of Netjack1 Implemented as a patch to jack in 2005. Committed to jack-svn 2008-03-06 In November 2009 I got aware of CELT and added support for that. Then started making netjack more robust against packet loss. Reimplemented the algorithm used in alsa_io

Synchronise jack-transport No vari-speed in jack. Only possibility is synchronising sample-clock Thats the idea behind netjack. Jack-driver which syncs one instance of jackd to another one.

4) Netjack

Codecs Mainly 2 types of codecs. High delay (mp3, vorbis, aac) Need >100ms of audio to emit a compressed byte. Suitable for music. Speech Codecs Speex, gsm... Low latency Not suitable for music. Need low-latency music codec

CELT Closes gap between vorbis and speex. xiph.org (BSD style) Nice music quality. Support for Packet Loss Concealment Many different latencies, and bitrates supported.

Low-latency Codec comparison

Bit rate reduced, go internet? With the reduced required bitrate it is theoretically possible, to create a netjack link over internet. OHNOES. where iz packet? A packet may either be late or get lost on the internet. Netjack was ignoring this fact, because it doesnt happen on LAN.

How to decide if packet is lost? Easy on the master. It expects a packet with a specific sequence number in process_callback(). On the slave i am using a deadline, which is constantly calibrated. So that a reply to lost packet is still reaching the master in time.

so... netjack1 scales now. Zero latency mode. 1-3 periods of Roundtrip on LAN Arbitrary latency for an internet link.

Why not Netjack2? Jack1 is dead, stop hacking it. sampo_v2 Netjack2 was written while i was pretty inactive. No backport to jack1 was done. Its more comfortable, but purely targeted at LAN. (broadcast) Adding CELT support to netjack1 took 1 hour. It was my code. The packet assembly code needed only small mod, to become a jitter-buffer.

Both protocols waste bandwidth Netjack1 has a huge packet header 48 bytes per packet. (most of it has redundant data) Netjack2 uses a second sync packet. Also a lot of overhead when encapsulated. so... i think, we want netjack3.

Conclusion We can use netjack over Internet. Needs a nice frontend to setup connections. We have a big mess with 2 implementations of jack and 2 implementations of netjack. It looks like the mess will get bigger (netjack1 for jack2 is in the pipe) Hopefully netjack3 will not make it even worse.