Using the time length of my audio signal as a time axis
2 次查看(过去 30 天)
显示 更早的评论
How can i create a time axis, which is as long as my audio signal? I want to create a 3D-Plot, but i need to know, how to define my time axis.
I can get the length of my time axis, by putting the code line in my command window like this:
[y,fs] = audioread('filename');
TotalTime = length(y)./fs;
TotalTime
(for example) 10.8566*
Sorry if the questions sounds silly, but how can i write this? Doing it in matlab, btw. bold
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!