{
  "name": "Tonedetection",
  "description": "Detects spans of monotonic audio within an audio file",
  "app_version": "v2.0",
  "mmif_version": "1.1.0",
  "app_license": "Apache 2.0",
  "identifier": "http://apps.clams.ai/tonedetection/v2.0",
  "url": "https://github.com/clamsproject/app-tonedetection",
  "input": [
    [
      {
        "@type": "http://mmif.clams.ai/vocabulary/AudioDocument/v1",
        "required": true
      },
      {
        "@type": "http://mmif.clams.ai/vocabulary/VideoDocument/v1",
        "required": true
      }
    ]
  ],
  "output": [
    {
      "@type": "http://mmif.clams.ai/vocabulary/TimeFrame/v6",
      "properties": {
        "label": "tone"
      }
    }
  ],
  "parameters": [
    {
      "name": "minToneDuration",
      "description": "minimum length threshold (in ms)",
      "type": "integer",
      "default": 2000,
      "multivalued": false
    },
    {
      "name": "stopAt",
      "description": "stop point for audio processing (in ms). Defaults to the length of the file",
      "type": "integer",
      "default": 3600000,
      "multivalued": false
    },
    {
      "name": "tolerance",
      "description": "threshold value for a \"match\" within audio processing",
      "type": "number",
      "default": 1,
      "multivalued": false
    },
    {
      "name": "pretty",
      "description": "The JSON body of the HTTP response will be re-formatted with 2-space indentation",
      "type": "boolean",
      "default": false,
      "multivalued": false
    },
    {
      "name": "runningTime",
      "description": "The running time of the app will be recorded in the view metadata",
      "type": "boolean",
      "default": false,
      "multivalued": false
    },
    {
      "name": "hwFetch",
      "description": "The hardware information (architecture, GPU and vRAM) will be recorded in the view metadata",
      "type": "boolean",
      "default": false,
      "multivalued": false
    }
  ]
}