diff --git a/src/SoundMaker/Sounds/TrackBaseSound.cs b/src/SoundMaker/Sounds/TrackBaseSound.cs index 68f4060..c371d06 100644 --- a/src/SoundMaker/Sounds/TrackBaseSound.cs +++ b/src/SoundMaker/Sounds/TrackBaseSound.cs @@ -274,8 +274,8 @@ public StereoWave GenerateStereoWave() var pan = (track.Pan + 1) / 2.0f; for (int i = track.StartIndex; i <= track.EndIndex; i++) { - right[i] += trackWave[i - track.StartIndex] * pan; - left[i] += trackWave[i - track.StartIndex] * (1 - pan); + left[i] += trackWave[i - track.StartIndex] * pan; + right[i] += trackWave[i - track.StartIndex] * (1 - pan); } } }