audiowrite.m needs a long time to save
3 views (last 30 days)
Show older comments
Hi!
I think this is a bug report but probably for Windows10 and a dirty fix.
When I try to write a lot of *.wav in short succession, at one point audiowrite needs a long time to save the files.
I narrowed the error down to the subfunction 'filepath.Writeable' in audiowrite.m . So if you desperate (like me) you can comment out the line
% if ~filepath.Writeable
% error(message('MATLAB:audiovideo:audiowrite:fileNotWritable', filename));
% end
(Matlab 2020) and hope for the best.
Greetings,
Ewald
3 Comments
Gaurav Garg
on 28 Jan 2021
Hi Ewald,
There is a question I have:
for i=1:100
....
signalfolder=strcat('C:\Users\....);
mkdir(signalfolder);
.....
end
What is the need to make directory 'C:\Users\...'? Can't you directly write audio to the needed file, which I think is 'RandSignal.wav' in your case?
Answers (0)
See Also
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!