Lots of times it would be way better,..

Moderator: Moderators
Code: Select all
int S = SoundRepeat.Iteration;
switch(Sound[S,0])
{
case 0: Play.Sound = Bass; break;
case 1: Play.Sound = Kick; break;
}
Play.NoteNr = Sound[S,1];
Play.Channel = Sound[S,2];
Code: Select all
void playSound(int Sound, float Note, int Channel)
{
int S = SoundSize;
Sound[S,0] = Sound;
Sound[S,1] = Note;
Sound[S,2] = Channel;
SoundSize++;
}