Skip to content

Vamp feature types

Mateusz Korzeniowski edited this page Apr 12, 2018 · 2 revisions

VAMP plugins support two basic feature types:

  • Variable step features, structured as list of dictionaries, where timestamp and values are required and label is optional parameter:
[
    {
      "timestamp": 0.0,
      "values": [
        1.0
      ],
      "label": "A"
    },
    {
      "timestamp": 11.4,
      "values": [
        2.0
      ],
      "label": "B"
    }
]
  • Constant step feature, structured as dict with value matrix, where each value is separated by time_step (seconds) from the next:
{
  "matrix": [
    12021.5791015625,
    12070.3076171875,
    8229.103515625,
    5818.91943359375,
    12029.525390625
  ],
  "time_step": 0.010666666
}

CSV file containing feature types, shapes and respective sizes is available on my GDrive

Toolbox:

Clone this wiki locally