mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-21 23:05:46 +00:00
feat(playback): global speed with three strategies (#852)
* feat(playback): global speed with three strategies Add Settings → Audio and player-bar controls for global playback speed (speed with auto pitch correction as default, varispeed, manual pitch shift). Time-stretch runs on a background worker; Orbit sessions force 1.0× passthrough. * fix(playback): align seekbar, seek, and progress on content timeline Unify UI timebase across varispeed and preserve strategies: full-track duration, speed-scaled progress for DSP paths, and content-timeline seeks without varispeed scaling. Reset the sample counter after seek so clicks land correctly; restart playback on strategy/enable changes instead of fragile hot-switching. * fix(ui): anchor playback speed popover like volume controls Replace the centered EQ-style modal with a player-bar popover (outside click, Escape, reposition on scroll). Show compact controls in the bar and overflow menu; keep strategy hints and labels in Settings only. * docs(release): CHANGELOG and credits for playback speed (PR #852) * docs(changelog): add playback speed entry for PR #852 * fix(clippy): simplify raw_counter_samples branch for CI Collapse duplicate if branches flagged by clippy::if-same-then-else. * fix(ui): wheel on pitch slider adjusts pitch in speed popover In compact player-bar controls, scroll over the pitch row changes pitch; elsewhere in the panel changes speed. Stop propagation so overflow menu wheel does not tweak volume. * fix(playback): address PR #852 review and drop ineffective dynamic imports Translate playback-rate strings for de/fr/es/zh/nb/nl/ro; restamp sample counter on live preserve-path speed changes; use neutral rate atomics for radio progress; static-import playerStore in playListenSession (move preview volume sync to previewPlayerVolumeSync side-effect module). * fix(i18n): translate playback-rate strategy labels in all locales Replace leftover English Varispeed/Pitch strings in ru and other non-en settings blocks so popover strategy buttons and hints read natively. * fix(i18n): refine German varispeed label to "Tonhöhe folgt dem Tempo" --------- Co-authored-by: Psychotoxical <171614930+Psychotoxical@users.noreply.github.com>
This commit is contained in:
@@ -322,8 +322,24 @@ export const settings = {
|
||||
playerBarStarRating: '星级评分',
|
||||
playerBarFavorite: '收藏(心形)',
|
||||
playerBarLastfmLove: 'Last.fm 喜欢',
|
||||
playerBarPlaybackRate: '播放速度',
|
||||
playerBarEqualizer: '均衡器',
|
||||
playerBarMiniPlayer: '迷你播放器',
|
||||
playbackRateTitle: '播放速度',
|
||||
playbackRateEnabled: '启用播放速度',
|
||||
playbackRateEnabledDesc: '全局调整所有曲目的播放速度。不适用于电台和预览。',
|
||||
playbackRateStrategy: '策略',
|
||||
playbackRateStrategySpeed: '速度',
|
||||
playbackRateStrategyVarispeed: '随速变调',
|
||||
playbackRateStrategyPreserve: '音高',
|
||||
playbackRateSpeed: '速度',
|
||||
playbackRatePitch: '音高',
|
||||
playbackRateDerivedPitch: '速度引起的音高偏移:{{value}}',
|
||||
playbackRateAutoPitch: '音高会自动校正。',
|
||||
playbackRateHint: '「速度」保持音高不变。「随速变调」会随速度改变音高。「音高」可手动偏移。比「随速变调」占用更多 CPU。不适用于电台、预览或 Orbit。',
|
||||
playbackRateNeutral: '在 1.0× 且无音高偏移时,播放为正常速度。',
|
||||
playbackRateOrbitPaused: 'Orbit 会话期间不生效 — 播放保持 1.0× 以同步。',
|
||||
playbackRateOrbitPausedShort: 'Orbit:1.0× 同步。',
|
||||
advancedMode: '高级',
|
||||
advancedModeTooltip: '在所有设置选项卡中显示高级选项。由社区贡献,未必体现 Psysonic 维护者的设计理念。',
|
||||
advancedBadge: '高级',
|
||||
|
||||
Reference in New Issue
Block a user