2022-08-13 16:00:08 +02:00
|
|
|
{% extends "base.html.twig" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h2>{{ "Spectrogram" | trans }}</h2>
|
|
|
|
<div>
|
|
|
|
<button id="spectro-button">{{ "Launch Live Spectrogram" | trans }}</button>
|
2022-08-18 05:45:38 +02:00
|
|
|
<audio id="player" controls>
|
|
|
|
<source media="/stream">
|
|
|
|
{{ "No audio sources yet" | trans }}
|
|
|
|
</audio>
|
2022-08-13 16:00:08 +02:00
|
|
|
<canvas id="spectro-canvas"></canvas>
|
|
|
|
</div>
|
2022-08-18 05:45:38 +02:00
|
|
|
|
|
|
|
{{ encore_entry_script_tags('spectro') }}
|
2022-08-13 16:00:08 +02:00
|
|
|
{% endblock %}
|