Skip to content

Fade out: track silent until the end #2978

Closed

Description

@yoyecros

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

Activity

  1. added theissue type on Oct 27, 2026
  2. updated Priority Medium, Effort Low, Area Player, Platform All / Multiple and Work State Accepted on Oct 29, 2026
  3. added this to the 1.9.0 milestone on Oct 29, 2026
  4. added 2 commits that reference this issue on Oct 29, 2026
    ce2651e
    4957f09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

Medium

Effort

Low

Area

Player

Platform

All / Multiple

Work State

Accepted

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions