Hi @Afnan Welcome to the MySensors community. While this is an interesting question, I don't think youl'll find many audio analysis experts in this forum. We're mainly focused on home automation. What results did you get when you tried in Matlab with the lower sample rate and shorter duration? Will the mcu be able to perform the required calculations quick enough? How much ram will the calculations require? Will the required libraries fit in the flash on the mcu? Linking to your question on Stack Overflow so people don't waste time answering here if there already has been posted an answer there: https://stackoverflow.com/questions/44609083/processing-audio-signals-in-matlab-vs-sensor