Foufou
Member level 5

matlab audioplayer
Hi,
I am using audioplayer command under matlab in order to Design a matlab Guide for play, stop and pause of an audio file using the options of the above command.
My problem is when I try to use this command using push button (in matlab guide, callback) the sound is stoped. But using the m file all thing are alright
Can any one help me to solve this problem
The programme:
player=audioplayer(y,Fe,24);
play(player)
where y and Fe are a known variables
Hi,
I am using audioplayer command under matlab in order to Design a matlab Guide for play, stop and pause of an audio file using the options of the above command.
My problem is when I try to use this command using push button (in matlab guide, callback) the sound is stoped. But using the m file all thing are alright
Can any one help me to solve this problem
The programme:
player=audioplayer(y,Fe,24);
play(player)
where y and Fe are a known variables