Skip to content

Commit

Permalink
🐛 Forgetting to delete
Browse files Browse the repository at this point in the history
  • Loading branch information
AutumnSky1010 committed Jun 15, 2024
1 parent b82e931 commit 5def405
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/SoundMaker/Sounds/SoundChannels/SquareSoundChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ public override ushort[] GenerateWave()
foreach (var soundComponent in SoundComponents)
{
var wave = soundComponent.GenerateWave(Format, Tempo, new SquareWave(Ratio));
FadeInOut(wave);
result.AddRange(soundComponent.GenerateWave(Format, Tempo, new SquareWave(Ratio)));
result.AddRange(wave);
}
return result.ToArray();
}
Expand Down

0 comments on commit 5def405

Please sign in to comment.