Skip to content

User JSON AudioIndicator

roosit edited this page Oct 16, 2026 · 1 revision

Audio JSON

Back to list | Indicator page | Русский

Purpose

This page describes the JSON template of the audio indicator for editing .vttp by hand.

Full Template

{
  "name": "com.velitask.plagin.official.audio",
  "data": {
    "maket": { "preset": "auto" },
    "properties": {
      "audioSource": {},
      "windowSeconds": {"value": 10},
      "audioEnabled": {"value": true},
      "volume": {"value": 100}
    }
  }
}

Settings

audioSource

Chooses the audio file for the waveform and playback. Leave it empty in a template: the source is chosen in the project after the template is applied.

{
  "audioSource": {}
}
Field Values What it does
sourceId.value a number, 0 means not selected The number of the (audio) source in the project. The field is not written in a template.

windowSeconds

How many seconds of audio are visible on the waveform at the same time.

{
  "windowSeconds": {"value": 10}
}
Field Values What it does
value 2..60 The window width in seconds. If the window is longer than the file itself, the whole file is shown.

audioEnabled

Turns audio playback on or off.

{
  "audioEnabled": {"value": true}
}
Field Values What it does
value true, false true plays the sound; false means no sound.

volume

The audio volume in percent.

{
  "volume": {"value": 100}
}
Field Values What it does
value 0..100 The volume: 0 is silence, 100 is the original volume.

The volume takes effect only if audioEnabled is true.

Clone this wiki locally