6c7aa76b62
Continuous Replay and Filter. Added a test main for people to easily test their filters.
10 lines
286 B
Matlab
10 lines
286 B
Matlab
function play_continuous(wave, fs, time)
|
|
%play_continuous: Darell Continuously Playing
|
|
soundfile = audioplayer(wave,fs);
|
|
countmax = time / (length(wave) / fs);
|
|
for count = 0:1:countmax %change to counts/while play button active
|
|
playblocking(soundfile);
|
|
end
|
|
end
|
|
|