<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Article Tag Suite 1.3//EN" "https://jats.nlm.nih.gov/publishing/1.3/JATS-journalpublishing1-3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML"
         xmlns:xlink="http://www.w3.org/1999/xlink"
         article-type="research-article" xml:lang="English" dtd-version="1.3">
  <front>
    <journal-meta>
      <journal-title-group><journal-title>International Journal of Computer Science and Artificial Intelligence</journal-title></journal-title-group>
      
      <publisher><publisher-name>IORO Publications</publisher-name></publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.64823/ijcsa.2601004</article-id>
      <article-id pub-id-type="publisher-id">577979314071</article-id>
      <title-group><article-title>TinyML-Based Speech Emotion Recognition on Microcontrollers Using Quantized CNNs and Mel-Filterbank Energy Features</article-title></title-group>
      <contrib-group>
    <contrib contrib-type="author" corresp="yes">
      <name><surname>Muhammad Abidul Haq Ahnaf</surname><given-names>Mir</given-names></name>
      <aff>Singapore International School Dhaka</aff>
    </contrib>
      </contrib-group>
      <pub-date pub-type="epub"><year>2026</year><month>07</month><day>15</day></pub-date>
      
      <issue>1</issue>
      <fpage>50</fpage>
      <lpage>58</lpage>
      <abstract><p>This paper presents a real-time, resource-efficient Speech Emotion Recognition (SER) system trained on a modified version of the Toronto Emotional Speech Set (TESS) that includes both male and female voice samples for five emotional labels—Angry, Disgust, Fear, Happy, and Neutral—plus a custom Noise class added to improve robustness. The final model was deployed on the M5Stack C Plus, an ESP32-based microcontroller, using TinyML techniques, performing fully offline inference rather than relying on cloud-based processing. Edge Impulse was used to design, train, and optimize a quantized 2D Convolutional Neural Network, leveraging Mel-filterbank energy features extracted from 16 kHz audio captured via a PDM digital microphone interfaced over I²S. The model classifies six emotional states with a validation accuracy of 99.5% and a total inference latency of approximately 571–572 ms, including both DSP and classification phases. The final quantized int8 model occupies less than 2 MB of flash and consumes under 50 KB of RAM. This work demonstrates that accurate, low-latency emotion recognition is feasible on ultra-low-power microcontrollers, making it suitable for privacy-preserving, always-on, embedded human-computer interaction systems.</p></abstract>
      <kwd-group kwd-group-type="author-generated"><kwd>machine learning</kwd><kwd>embedded systems</kwd><kwd>Speech Emotion Recognition (SER)</kwd><kwd>Real-Time Inference</kwd><kwd>Quantized CNN</kwd><kwd>TinyML</kwd></kwd-group>
    </article-meta>
  </front>
  <body>
    <sec>
      <p>Full text available in PDF format.</p>
    </sec>
  </body>
</article>