Permutation Entropy Analysis of Audio Files
2 次查看(过去 30 天)
显示 更早的评论
Hello everyone, has anyone performed permutation entropy analysis on an audio file using this function?https://www.mathworks.com/matlabcentral/fileexchange/44161-permutation-entropy-fast-algorithm?s_tid=srchtitle_site_search_1_permutation%20entropy%20%201D
0 个评论
回答(1 个)
Ayush
2024-1-5
Hi Hamza,
I understand that you want to perform permutation entropy analysis on an audio file using the functions linked in the following MATLAB Central File Exchange:
This function is designed to perform entropy analysis on 1-D time series data. To apply this function to an audio file, you would first need to read it as a time series and then utilize the capabilities of this function. Here is high-level overview of the steps that can be followed to perform permutation entropy analysis:
1. Read the Audio File: You can use “audioread” function to read the audio file as a time series. Please refer to the below documentation to know more about the “audioread” function:
2. Prepare the signal: This step could be necessary if some preprocessing is required to the signal be it normalizing, filtering, or converting the time series to a one-dimensional signal.
3. Permutation Entropy Analysis: Use the “PE” function to perform the permutation entropy analysis and analyse the audio signal. Here is a code snippet for you reference explaining the input parameters of the function:
outdata = PE( indata, delay, order, windowSize )
% INPUT
% - indata - considered time series
% - delay - delay between points in ordinal patterns (delay = 1 means successive points)
% - order - order of the ordinal patterns (order+1 - number of points in ordinal patterns)
% - windowSize - size of sliding window
% OUTPUT
% - outdata - values of normalised permutation entropy as defined in [2]
4. Interpretation of results: A lower value of the output from the function indicates a more ordered or regular signal while a higher value can indicate a more chaotic or complex audio signal.
Hope it helps,
Regards,
Ayush Misra
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio Plugin Creation and Hosting 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!