I think you just inspired an idea to make _SNDNEW feed to an array handle. I mean essentially we have this with fonts, the ability to load several font libraries and keep them in memory; so this may be possible.
As a side note, did you ever consider cutting down some code by changing your style in SELECT CASE as in...
to...
Hopefully that other 'Sam' will stop by with a definitive answer to your sound query.
Pete
As a side note, did you ever consider cutting down some code by changing your style in SELECT CASE as in...
Code: (Select All)
Select Case Mid$(Music$, cur, 2)
Case Is = "a0": note = 27.50: cur = cur + 2: GoSub LoadNote
Case Is = "A0": note = 29.14: cur = cur + 2: GoSub LoadNote
Case Is = "b0": note = 30.87: cur = cur + 2: GoSub LoadNote
Case Is = "c1": note = 32.70: cur = cur + 2: GoSub LoadNote
Case Is = "C1": note = 34.65: cur = cur + 2: GoSub LoadNote
End Select
to...
Code: (Select All)
act = 1 ' <------------------
Select Case Mid$(Music$, cur, 2)
Case Is = "a0": note = 27.50
Case Is = "A0": note = 29.14
Case Is = "b0": note = 30.87
Case Is = "c1": note = 32.70
Case Is = "C1": note = 34.65
Case Else: act = 0 ' <------------------
End Select
If act Then cur = cur + 2: GoSub LoadNote: act = 0 ' <------------------
Hopefully that other 'Sam' will stop by with a definitive answer to your sound query.
Pete
Shoot first and shoot people who ask questions, later.