Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Artefact2 committed Apr 13, 2021
1 parent 91a8759 commit 4fe3150
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ finetune.xm | PASS | MilkyTracker | Left
ghosts.xm | FAIL | MilkyTracker | Left and right channels should sound identical.
note-delay-ghost.xm | PASS | MilkyTracker, FT2 | Should sound identical.
note-delay-retrig.xm | PASS | MilkyTracker | Should sound identical.
panning-law.xm | PASS | MilkyTracker, FT2clone | Should sound identical.
pattern-loop-quirk.xm | PASS | MilkyTracker | Should play the same notes at the same time.
ramping.xm | PASS | MilkyTracker | If XM_RAMPING is ON, no loud clicks should be heard.
ramping2.xm | PASS | MilkyTracker | If XM_RAMPING is ON, no loud clicks should be heard.
Expand Down
2 changes: 2 additions & 0 deletions src/play.c
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,8 @@ static void xm_tick(xm_context_t* ctx) {
}

#if XM_RAMPING
/* See https://modarchive.org/forums/index.php?topic=3517.0
* and https://github.com/Artefact2/libxm/pull/16 */
ch->target_volume[0] = volume * sqrt(1.f - panning);
ch->target_volume[1] = volume * sqrt(panning);
#else
Expand Down

0 comments on commit 4fe3150

Please sign in to comment.