Netytar

Netytar

Netytar is a software Accessible Digital Musical Instrument controlled by gaze pointing and breath. I developed it as part of my master thesis project in Università degli Studi di Pavia, then continued its development during my PhD at Università degli Studi di Milano.

It is suitable for musicians having a quadriplegic disability, since it can be played without using their hands.

It’s a monophonic instrument (i.e. able to play only one note at each time).

Mapping

Gaze pointing controls note selection. It is detected through an eye tracker, a sensor which detects eye features through infrared cameras.

Breath controls note dynamics through a low pressure sensor. Netytar can somewhat be compared to a digital flute in this sense.

Sensors

Netytar is compatible with Tobii Eye Trackers such as Tobii Eye Tracker 5 (which have a cost of around 220€) or old, out of production Tobii 4C and Tobii EyeX.

Netytar’s breath pressure sensor can be easily built DIY for under 30€. A guide to build it can be found on my website following the link: guide to sensors building.

Download it and play!

Netytar is FOSS (Free Open-Source Software)! Download it and try it from Netytar’s GitHub Repository. Right now, it is only compatible with Windows 10 operative system, although in the future we’d like to make portings to other systems. Just download the latest Release and run “Netytar.exe”. In order to run it correctly and enjoy it fully, you may need:

Virtual keyboard layout

The keyboard layout of the instrument was created ad-hoc for gaze interaction, and is therefore different from the keyboard of any traditional musical instrument. There is a fixed geometrical rule which determines the intervals between each key.

Geometrical rule in Netytar

Numbers indicate the interval in semitones between a specific key and the central key. This rule is true for any key on the keyboard. Given this, the layout is isomorphic. This means that transposing a musical piece means simply repeating the same geometrical shape elsewhere.

By maintaining breath pressure and shifting the key with gaze movement you can obtain a legato effect, i.e. an immediate note change without pauses. Netytar’s layout is such that the most common musical intervals can be performed without having to cross “intermediate keys” with your gaze (which would mostly be detected by the eye tracker, even if your eyes are fast!).

The following figure shows all positive musical intervals (in semitones) and their relative key positions. It may be noted that some are simpler than others to perform.

Intervals in Netytar

We’re still working to implement a way to make an octave jump (12 semitones) without having to cross intermediate keys. However, all the intervals requiring intermediate key crossing are already feasible without the “legato” functionality: the musician should just interrupt the breath flow during the transition.

Colors

Key colors indicate the note’s degree in the current scale. Degrees are colored as follows: Red (1st), Orange (2nd), Yellow (3rd), Green (4th), Blue (5th), Purple (6th), Pink (7th).

A line connects the note from the given scale. A Red line denotes a major scale, while a Blue line denotes a minor scale.

You can change the highlighted scale by using the scale selector or by blinking (see below both).

Autoscrolling

Netytar implements an Autoscrolling functionality. This means that the interface will scroll automatically and smoothly following your gaze, to put the gaze point at the center of the screen. This functionality ensures that the area of the virtual keyboard can be bigger than the actual computer screen, having potentially an unlimited extension and an unlimited number of keys drawn.

Commands and functionalities

Let’s see first all the keybindings, which are very important to know and understand before playing:

Let’s now see how the Settings interface works:

Start and Exit buttons

Before playing and being able to interact with any element in Netytar you must before press Start to init the instrument. Exit closes the program, since there are no application window borders nor “X” button.

Scale selector and intensity indicator

The list on the left can be used to change the selected musical scale, which results in Netytar highlighting with colors a different musical scale on the virtual keyboard. The indicator on the left indicates dynamic intensity of the played note (e.g. breath pressure).

Dynamic control mode

These selectors change the way notes dynamics are controlled. Keyboard allow you to play notes using your PC keyboard (spacebar), while Breath allow you to use Netytar’s breath sensor.

Breath sensor port selector

This selector is used to tell your computer which USB port is the breath sensor connected to. You must do it before playing with the breath sensor. “COM” is the standard prefix for USB ports. When the breath sensor is detected in a COM port, the indicator becomes green.

MIDI port selector

This is instead used to specify which MIDI port is Netytar communicating to. Netytar will output MIDI messages to that port.

Current note indicators

These indicators show informations on the currently note/key.

"Mod" and "BSwitch" switches

These switches are used to control two specific performance parameters.

Other performance switches

Keys distance slider

This slider allow you to change the distance between keys on the virtual keyboard. Lower distances mean less eye movement, higher distances mean increased precision.

Neutral zone

I’ve included this button to click it before playing with in Keyboard dynamics mode (explained above). This is due to the fact that the spacebar key could otherwise activate interface elements unwantedly.

Want to be a virtuoso? Hmm…

Of course you can become a big player! But with regards to speed while playing Netytar, as with most of gaze based musical interfaces, the maximum execution speed (the maximum number of different notes you can play in a given time span) is bound to 3-4 notes per second. This is due to our physiology, since it has been measured that we as humans aren’t able to make more than 3-4 saccadic movements (i.e. flashy eye movements) per second.

Note repetition speed instead is less bounded, since it depends on how fast you can blink both eyes or stop your breath and blow again.

Scientific papers about Netytar

We talked about Netytar in the following papers, where you can find additional informations on the instrument: