Godot Version
v4.3.stable.mono.official [77dcf97d8]
Question
trying to make a sequencer. notes are played with AudioStreamPlaybackPolyphonic because i figured that creating and destroying dozens of AudioSteamPlayer nodes would be silly.
i immediately ran into a problem where the audio would crackle and my computer would audibly struggle when playing too many streams.
every stream is the same sound, only varying in pitch and volume. strangely, the severity varies with the amount of unique pitches. with 1 unique pitch, crackling starts at 66 streams, whereas with 6 unique pitches, it starts at <24 streams, and is much more severe.
there is very little code running at the same time as the streams playing, and the max polyphony of the AudioStreamPlayer is set to 128, so these are probably not related to the problem.
i believe this many active streams is necessary for what i’m trying to make, so reducing their amount is not a viable solution.