Hearing

Get the hearing panel

GET/api/hearing
Open. Open to everyone who can reach Tempolight.

The platform, the recommended way to hear music, the checklist, server capture and the sound output.

Responses

200OKapplication/json
platformstring
methodstring
problemany | null
recommendedstring
One of "computer" "mic" "pi"
computerobject
piobject
captureobject

Server capture.

outputany

The sound output playing now.

Request
curl 'http://localhost:8080/api/hearing'
Response
{
  "platform": "string",
  "method": "string",
  "problem": null,
  "recommended": "computer",
  "computer": {
    "kind": "string",
    "source": "string",
    "why": "string",
    "on": true,
    "running": true,
    "steps": [
      {
        "id": "string",
        "label": "string",
        "state": "ok"
      }
    ]
  },
  "pi": {
    "available": true,
    "source": "string",
    "label": "string",
    "on": true
  },
  "capture": {},
  "output": null
}
Edit on GitHub