Permutation Entropy Analysis of Audio Files

2 visualizaciones (últimos 30 días)
Hamza
Hamza el 5 de Dic. de 2023
Respondida: Ayush el 5 de En. de 2024
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

Respuestas (1)

Ayush
Ayush el 5 de En. de 2024
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

Categorías

Más información sobre Audio Plugin Creation and Hosting en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by