button can access audio files from computer device and display the audio graphic plot

조회 수: 1(최근 30일)
Winda Mariana
Winda Mariana 2021년 2월 16일
댓글: Winda Mariana 2021년 3월 2일
hello everyone, I want to build an audio watermarking application. I want to ask how do I make the button "Browse" can access audio files from my computer and then display the audio graphic plot? Thank you

채택된 답변

Geoff Hayes
Geoff Hayes 2021년 3월 2일
Winda - in the push button callback, use uigetfile to allow the user to choose the audio file to load into the app. Once you have determined the file, then use audioread to read the sampels (and sample rate) of the chosen audio file. You can then use plot to plot the sample data to the GUI axes.

추가 답변(0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by