Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It looks like in FT2, panning is made using an exponential scale, based on sqrt. This PR allows to match panning performed by MilkyTracker and OpenMPT. MilkyTracker: https://github.com/milkytracker/MilkyTracker/blob/be016986168a4d03b8d160303fa61296070a6e2c/src/milkyplay/ChannelMixer.cpp#L583 FT2-clone: https://github.com/8bitbubsy/ft2-clone/blob/8af2e42736b61a36a0d54bede93a47a1bab35f5d/src/ft2_audio.c#L192 The attached test makes it easy to reproduce the issue. Co-developed with @bryc who also prepared the test.
- Loading branch information