Reorganized Into Folders
This commit is contained in:
9
src/Helper/play_continuous.m
Normal file
9
src/Helper/play_continuous.m
Normal file
@@ -0,0 +1,9 @@
|
||||
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
|
||||
|
Reference in New Issue
Block a user