Hi,
Is it possible to start playing an audio signal using 'Snd' and to make Matlab continue to read through the rest of the script while the audio is playing?
I am trying to play an audio signal for ten seconds but the code stops at 'Snd('Play', audio_signal)' and waits for the full ten seconds of audio to play until it will read the next line.
My codes worked perfectly last week but for some reason Matlab stops at 'Snd' and waits until it's finished instead of just starting the audio and continuing to read the code.
thanks,
Alan
Is it possible to start playing an audio signal using 'Snd' and to make Matlab continue to read through the rest of the script while the audio is playing?
I am trying to play an audio signal for ten seconds but the code stops at 'Snd('Play', audio_signal)' and waits for the full ten seconds of audio to play until it will read the next line.
My codes worked perfectly last week but for some reason Matlab stops at 'Snd' and waits until it's finished instead of just starting the audio and continuing to read the code.
thanks,
Alan