Jamulus Workshop 28 th August 2020 Dr Patrick Early - - PowerPoint PPT Presentation

jamulus workshop 28 th august 2020
SMART_READER_LITE
LIVE PREVIEW

Jamulus Workshop 28 th August 2020 Dr Patrick Early - - PowerPoint PPT Presentation

Jamulus Workshop 28 th August 2020 Dr Patrick Early https://youtu.be/ymwBwhvEeS8 Jamulus Sound travels at 1,125 ft per second in 20C Jamulus If Sound travels at 1,125 ft per second in 20C Then a 30ms Delay would equate to being about


slide-1
SLIDE 1

Jamulus Workshop 28th August 2020

Dr Patrick Early

https://youtu.be/ymwBwhvEeS8

slide-2
SLIDE 2

Jamulus

slide-3
SLIDE 3

Sound travels at 1,125 ft per second in 20°C

slide-4
SLIDE 4

Jamulus

slide-5
SLIDE 5

If Sound travels at 1,125 ft per second in 20°C

slide-6
SLIDE 6

Then a 30ms Delay would equate to being about 33ft from the person you are playing music with

slide-7
SLIDE 7

This picture was taken about 30 feet away from the

  • players. From hear you hear

the sound 30ms after it is

  • made. The 30ms echo was

mingled with longer echo's as the sound came back from the walls of nearby buildings.

Abby Road rooftop recording session 1969 the Beatles

slide-8
SLIDE 8

Latency over the internet produces exactly the same echoed sound as was heard from buildings that are further away and can become a distracting influence when playing online. We are trying to minimise this effect therefor at every stage of the process – the equivalent to being as close to the player as is acoustically possible.

slide-9
SLIDE 9

Ironically effects pedals try to deliberately create the ‘Rooftop’ or outdoor effect.

slide-10
SLIDE 10

30 ms Demo https://youtu.be/-3jTSw0grXg

30ms as an effect

slide-11
SLIDE 11

A delay over 5Oms becomes problematic A delay over 100ms becomes unworkable for string players, as the meter becomes ambiguous without the help of accurate visual direction- the conductor

slide-12
SLIDE 12

Case Study: Performing Band Rehearsals on the Internet With Jamulus

Volker Fischer Abstract

The author of this paper is a member of a rock cover band performing weekly rehearsals on the internet

  • ver a period of three years.

During that time a lot of practical experience with real time jamming was gained. In this paper the author shares these experiences and gives an overview of the Jamulus software which was used to jam online discussing the most important facts for a successful setup.

1 Introduction

Since the quality and speed of internet connec- tions have improved tremendously in the past years, performing distant online jamming in real

slide-13
SLIDE 13

‘For the concept of online jamming with various different musicians it is indispensable that the servers are crowded. Therefore Jamulus must be intended for end users and it has to be user

  • friendly. With a straightforward GUI design and

an auto detection of the jitter buffer size, Jamulus tries hard to get to this goal’. Fischer (2015)

slide-14
SLIDE 14

Unfortunately for the software to work correctly, a lot of other things have to be setup correctly. It starts with the analog audio setup, i.e. an instrument and/or a microphone has to be mixed and connected to the sound card of the

  • PC. The PC hardware must be prepared for real time processing, i.e. no CPU
  • r network demanding software may be run in parallel to Jamulus and things

like energy saving techniques of lap- top processors have to be turned off. Correct audio drivers must be installed and the parameters like the buffer period size must be set to a small value to get the lowest latency possible. The internet connection must provide not less than the minimum required bandwidth and, at least equally important, must have a low ping time to the

  • server. If even one of these requirements are not fulfilled, the performance is

bad or Jamulus does not work at all’. Fischer (2015)

slide-15
SLIDE 15

Remote%20Live%20Help%20C4%20Site.webarchive

slide-16
SLIDE 16

Remote%20Live%20Help%20C4%20Site.webarchive

slide-17
SLIDE 17
slide-18
SLIDE 18

https://jimamsden.wordpress.com/2020/04/04/remote- jamming-with-helix-and-jamulus/

slide-19
SLIDE 19

Typical Jamulus Window

slide-20
SLIDE 20

Typical Connection Options

slide-21
SLIDE 21

A Minimalist Control Setup

slide-22
SLIDE 22

Minimalist Settings Window

slide-23
SLIDE 23
slide-24
SLIDE 24

How to change internal microphone volume in Windows 10 https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=w eb&cd=&cad=rja&uact=8&ved=2ahUKEwjFudSi1_fpAhUHSxUIH TrgBYAQwqsBMAB6BAgKEAQ&url=https%3A%2F%2Fwww.yout ube.com%2Fwatch%3Fv%3DmmunTzfs5gY&usg=AOvVaw1dJUD EAlJ9dpWhAQIl6jdS

slide-25
SLIDE 25

A server is set up in the vicinity of the players to handle all of the signal processing. Failing this, all participants should connect to the nearest (lowest latency) server.

slide-26
SLIDE 26

These are mandatory Requirements for all participants without exception, to reduce overall latency to a tolerable level for everyone in the rehearsal

Jamulus software downloaded and installed. Ethernet connection direct to your computer A good internet connection A set of regular headphones. A quality instrument microphone An audio interface

slide-27
SLIDE 27

Requirements Jamulus software downloaded and installed. Ethernet connection direct to your computer A good internet connection A set of regular headphones. A quality instrument microphone An audio interface

slide-28
SLIDE 28
slide-29
SLIDE 29

Requirements Jamulus software downloaded and installed. Ethernet connection direct to your computer A good internet connection A set of regular headphones. A quality instrument microphone An audio interface Wi Fi is unacceptable

slide-30
SLIDE 30
slide-31
SLIDE 31
slide-32
SLIDE 32

Use a dongle if there is no Ethernet connection on your computer

slide-33
SLIDE 33

Requirements Jamulus software downloaded and installed. Ethernet connection direct to your computer A good internet connection A set of regular headphones. A quality instrument microphone An audio interface

slide-34
SLIDE 34
slide-35
SLIDE 35
slide-36
SLIDE 36

A relatively small speed requirement is specified in kbps by Sourceforge

slide-37
SLIDE 37

Given the low kb speed requirement, a more accurate way of measuring the quality of your internet connection for the purposes

  • f using Jamulus therefor is to assess if there are points along its

path to and from the server, where delay variation is taking place - jitter Packets of data which carry the audio information get interrupted by variation. This has the effect for the listener that you would experience if buildings were popping up out of nowhere during an

  • utdoor performance, producing random distracting echo’s of your

playing (altering your perception of distance from the other players as it were). Traceroute helps to identify the existence of these blocks by registering variation in round trip times for ‘pings’ in ms

slide-38
SLIDE 38
slide-39
SLIDE 39
slide-40
SLIDE 40
slide-41
SLIDE 41
slide-42
SLIDE 42

Wider ping time variation indicates a less satisfactory internet service and is the main cause of the audio flow being compromised

slide-43
SLIDE 43
slide-44
SLIDE 44

Requirements Jamulus software downloaded and installed. Ethernet connection direct to your computer A good internet connection A set of regular headphones. A quality instrument microphone An audio interface Blue tooth and wi-fi will increase the overall delay Use headphones with a cable and single stereo jack

slide-45
SLIDE 45
slide-46
SLIDE 46

Requirements Jamulus software downloaded and installed. Ethernet connection direct to your computer A good internet connection A set of regular headphones. A quality instrument microphone An audio interface

slide-47
SLIDE 47

You have to tailor your investment to your circumstances

slide-48
SLIDE 48

Requirements Jamulus software downloaded and installed. Ethernet connection direct to your computer A good internet connection A set of regular headphones. A quality instrument microphone An audio interface

slide-49
SLIDE 49
slide-50
SLIDE 50
slide-51
SLIDE 51
slide-52
SLIDE 52
slide-53
SLIDE 53

Ji Jitter er is the variation in the time between data

packets arriving, caused by network congestion, or route changes. The longer data packets take to transmit, the more jit

jitter affects audio quality.

Standard jit

jitter measurement is in ms

slide-54
SLIDE 54

A jit

jitter buffer is a temporary storage buf buffer used

to capture incoming data packets. It is used in packet-based networks to ensure the continuity of audio streams by smoothing out packet arrival times during periods of network congestion.

slide-55
SLIDE 55

‘Cr

Crackl kling’ is due to lost packets. What we've

done in choir to reduce this is to switch the auto-buffer off and manually increase it a bit from the auto-set setting. O’Reilly (2020)

slide-56
SLIDE 56

You can try to optimize the latency vs. audio dropouts yourself by turning Jitter Buffer Auto off and following this simple algorithm:

  • 1. While not playing, set the local jitter buffer for the client to balance latency with

dropouts of the mixed signal you’re hearing coming from the server.

  • 2. Then play and set the server jitter buffer to balance latency and dropouts of your
  • wn signal sent to the server. Do this after you have set the local jitter buffer as

these two are cumulative.

  • 3. Reduce the jitter buffer size (reducing latency) until dropouts become unacceptable,

then increase the buffer size a little to account for network timing variation. This algorithm attempts to achieve a balance between delay and audio dropouts.’ Amsden (2020)

slide-57
SLIDE 57

On Muting the Return Sound ‘To play synchronized with the others, one must only listen to the audio mix coming back from the server.’ Fischer (2015) ‘It makes sense to mute yourself during the session, but when preparing, leave yourself unmuted.’ Mountford (2020) ‘The word in the jamuls circles and from the developer is to not mute your return signal and "train" yourself to play to the slight delay. The reasoning behind this is, everyone else is hearing the return signal at the same time’ O’Reilly (2020)

slide-58
SLIDE 58

Accommodating Latecomers

slide-59
SLIDE 59

Windows

Audio Stream Input/Output (AS ASIO) is a computer sound card driver protocol for digital audio providing a low-latency and high fidelity interface between a software application and a computer's sound card

  • needed to get Jamulus to work on Windows

ASIOFORALL https://www.sweetwater.com/sweetcare/articles/installing-and-using- asio4all-for-windows/

slide-60
SLIDE 60

How to setup a Jamu mulus Server

What is the server for?

This is the service that will allow you and your musician friends to participate in your own Jamulus session.

Where does the server run?

It runs on an Amazon machine , so you don’t’ have to be concerned with its maintenance. It can be running all the time so you or anyone from your group can setup a session at any time. I am suggesting the Amazon service simply because it is inexpensive and there is a an excellent guide available on Facebook for you to follow.

How do I set it up?

Here is the link for the guide:

https://www.facebook.com/notes/jamulus-online-musicianssingers-jamming/howto-idiots- guide-to-installing-jamulus-server-on-amazon-aws-lightsail-ubuntu-i/507719749802976/

Note that each step must be followed exactly as is in the guide. The guide has screenshots at each

slide-61
SLIDE 61

Checklist

Everyone joining the rehearsal must adhere to criteria and test their settings beforehand,

  • therwise it doesn't work for the other participants also.

1. Jamulus software downloaded and installed. 2. Ethernet connection plugged directly to your computer 3. A good internet connection - (>500kb upload/download speed) (<40ms ping average round trip) 4. A set of regular headphones with cable. 5. A quality instrument microphone ideally attached to the instrument 6. An audio interface

slide-62
SLIDE 62

Switch off other applications on your computer Connect to a public server with lowest ms latency at the top of your connect options Run the test beforehand by listening to and tweaking your own return sound. Large variations in ping time predict a poor quality sound experience more than your internet speed Exclusive use of internet during rehearsal to avoid demands on data flow and processing power Power saving options on the computer should be disabled Keep your overall delay to less than 50 ms Tweak jitter buffer settings to obtain best sound quality Set new client level in settings to 0 to minimise latecomer distractions Obtain private server address from session organisers for rehearsal

Things to observe when running the test

slide-63
SLIDE 63

Jamulus Choral Festival https://youtu.be/m811fZiPyaQ?t=572

slide-64
SLIDE 64

Questions and Discussion