you can probably just use a map and set it manually I guess.
I am writing psuedo code
map = { 0: stream1, 1: stream2: ... }
var player = get_node("audiostreamsampleplayer")
def switch_sample(num):
player.set_stream( map[num] )
I wonder something like this works.
Note I am using the wrong sytax for gdscript