How can i use audioplayer function to play many wav files?
The current example show me how to play a wav file. how can i make this function play 22 wav files one by one?
%load c.mat file where 22 wav files is found in the workspace
load c;%set player as audioplayer function that play '1'
player = audioplayer (1, fs);%play sound named in player
play (player, [1 (get (player, 'SampleRate') *3)]);
I need to play 2,3,4,5… 22. That I have loaded in the workspace. Thank you.
Best Answer