Quote Originally Posted by joaquim View Post
but the variable put all sound at once. imagine if just put some part of sound, then the cpu needs less time to put it in memory and then play it
That's because it goes through a loop loading all the sound files first. Change the loop to load just what you want

Code:
 For i = 32 To 126
   Set KeyboardCharacterSound(i) = New AudioSounds
   KeyboardCharacterSound(i).getAudioSoundFile App.Path & "\sounds\" & i & ".wav"
 Next i
Don't use this loop; just do one or two at a time