Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Fade out: track silent until the end

已關閉
#2,978 0 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 1 天內回覆

@Danielku15 已經在處理了。

開始於 2026年10月27日。

  • #2995 來自 @Danielku15 —— 已合併

評估

這個 Issue 還沒有評估資料。

描述

Is there an existing issue for this?
  • I have searched the existing issues
I have read the contribution rules
AI authorship

AI-assisted (disclosure block included as described in AGENTS.md)

Current Behavior
  • beat with fade out (or volume swell)
  • after it: track silent until the end of the song
  • changeTrackVolume(): no effect (volume × 0 = 0)
Expected Behavior
  • fade out = only its beat
  • next notes: normal track volume (like Guitar Pro)
Steps To Reproduce
  1. Track with: fade in on a beat, fade out on a later beat, more notes after
  2. Load the file
  3. Play the track (solo)
  4. Notes after the fade out: no sound
Link to jsFiddle, CodePen, Project

No response

Version and Environment
[AlphaTab][VersionInfo] alphaTab 1.8.4
[AlphaTab][VersionInfo] commit: 022a45c8e42370f9e12e68949d11eada370da83d
[AlphaTab][VersionInfo] build date: 2026-07-05T14:46:18.224Z
[AlphaTab][VersionInfo] High DPI: 1
[AlphaTab][VersionInfo] Platform: BrowserModule
[AlphaTab][VersionInfo] WebPack: false
[AlphaTab][VersionInfo] Vite: false
[AlphaTab][VersionInfo] Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/156.0.8078.4 Safari/537.36
[AlphaTab][VersionInfo] Window Size: 1400x1000
[AlphaTab][VersionInfo] Screen Size: 1400x1000
Also on: Chrome Android (same result) and Firefox Android (same result)
Same code in: 1.9.0-alpha.1963
Platform

Web

Anything else?

Cause:

  • MidiFileGenerator._generateFade
  • fade out → VolumeCoarse down to 0 (primary + secondary channel)
  • no reset after

Fix idea:

  • fade out + volume swell: add VolumeCoarse = track volume at beatStart + beatDuration
  • track volume = playbackInfo.volume, or current volume automation if any
主要語言
TypeScript
星號
1.9k
分支
297
平均合併
3 小時 55 分鐘
30 天內合併 PR
53

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CoderLine/alphaTab 的其他 Issue

查看 CoderLine/alphaTab 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。