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

回答(1 个)

Ayush
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

类别

Help CenterFile Exchange 中查找有关 Audio Plugin Creation and Hosting 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by