Zum Inhalt springen
GET /v1/port-tuning

Bass-reflex port

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/helmholtz-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/helmholtz-api/v1/port-tuning" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/helmholtz-api/v1/port-tuning", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/helmholtz-api/v1/port-tuning");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/helmholtz-api/v1/port-tuning",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Required physical port length = L_eff − 0.732·diameter. If it comes out negative, the port diameter is too large for this box/tuning — use a smaller port.",
        "inputs": {
            "box_volume_l": 20,
            "frequency_hz": 40,
            "port_diameter_cm": 5,
            "speed_of_sound_ms": 343
        },
        "feasible": true,
        "effective_length_cm": 18.285566,
        "required_port_length_cm": 14.625566
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:36.621Z",
        "request_id": "4672bd9e-eb72-4826-991f-5915b14a4938"
    },
    "status": "ok",
    "message": "Bass-reflex port",
    "success": true
}