How to display audio file length in Matlab GUI
Show older comments
Hello everyone,
I have created an audio file player on Matlab, with Upload file and Play/Stop buttons.
Interested to code a display timer to show how long is the audio file while being played.
Can I use disp.AudioFileReader to count its length?
Need to count seconds in every loop.
Any suggestions appreciated.
2 Comments
Jan
on 10 Apr 2022
What does "in every loop" mean? audioinfo tells you the length of a sound file.
Nikos Korobos
on 10 Apr 2022
Edited: Nikos Korobos
on 10 Apr 2022
Accepted Answer
More Answers (0)
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!

