# TCP interface   Starter

The TCP interface allows you to start and stop tracks as well as dynamically adjust their intensity. To use is, keep Hapticlabs Studio running as it will handle the hardware communication.

The TCP port runs by default on localhost , port 64209.

# Command syntax

# Start a track

startTrack("trackName" amplitudeScale);

Plays a track from your currently opened project. Replace the trackName with the name of the track you want to playback. Optionally, you can pass a value to scale the intensity (amplitude) of the track to be played back, for example doubling the intensity.

Start a track
//Play the track called 'Short Pulses':
startTrack("Short Pulses");

//Play the track 'Short Pulses' at twice the intensity:
startTrack("Short Pulses" 2);

# Stop playback


With this command, you can terminate any currently active playback.

# Scaling intensity   Pro


This command allows you to vary the intensity (amplitude) of the satellite output during the playback. The default value is 1.0.

Scaling Intensity
// Decrease the intensity value

// Incerasing the intensity value

// Reset the intensity value