T-022: Geschwindigkeit 0,5–3,0× (audio-pitch-correction, Scaletempo) im Player-Select
This commit is contained in:
@ -11,6 +11,7 @@
|
||||
playerSetChapter,
|
||||
playerStop,
|
||||
playerSnapshot,
|
||||
playerSetSpeed,
|
||||
onPlayerState,
|
||||
fmtClock,
|
||||
assetUri,
|
||||
@ -530,6 +531,15 @@
|
||||
<button class="ghost" title="Kapitel vor" onclick={() => playerSetChapter(player.chapter + 1)}><Icon name="nextch" /></button>
|
||||
</div>
|
||||
<span class="mtime muted small">{fmtClock(player.position)} / {fmtClock(player.duration)}</span>
|
||||
<select
|
||||
class="speedsel"
|
||||
title="Wiedergabegeschwindigkeit (Tonhöhe bleibt)"
|
||||
onchange={(e) => playerSetSpeed(Number(e.currentTarget.value))}
|
||||
>
|
||||
{#each [0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0, 2.5, 3.0] as sp}
|
||||
<option value={sp} selected={Math.abs(player.speed - sp) < 0.01}>{sp}×</option>
|
||||
{/each}
|
||||
</select>
|
||||
<input
|
||||
class="seek"
|
||||
type="range"
|
||||
|
||||
Reference in New Issue
Block a user