Retrieve N number of discrete samples from a continuous audio sample
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm attempting to extract N number of linearly spaced samples of data (i.e. the x and y coordinates) from a continuous graph I made using the audioread function. Here is my code as follows:
[N,fs] = audioread('Piano Middle C.wav');
t=linspace(0,length(N)/fs,length(N));
plot(t,N)
1 Kommentar
Geoff Hayes
am 14 Mai 2020
Abbass - what exactly is your question? There are N samples in your wav file so what do you want to retrieve?
Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio and Video Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!