The Thai Classical Music Pitch Recognition Algorithm Based on The Polynomial regression Method

Authors

  • Teerawut Hongfon Department of Digital Technology Innovation, Faculty of Science, Maejo University
  • Part Pramokchon Department of Digital Technology Innovation, Faculty of Science, Maejo University
  • Kittikorn Hantrakul Department of Digital Technology Innovation, Faculty of Science, Maejo University
  • Paween Khoenkaw Department of Digital Technology Innovation, Faculty of Science, Maejo University

Keywords:

Thai Classical Music, Fast Fourier Transform, Regression Method

Abstract

Thai Classical Music has its own standards for pitch frequency and frequency range that differ from Western music. Therefore, applying Western note identification algorithms to Thai Classical Music results in inaccurate note identification, especially when used for creating musical signatures for retrieval or similarity comparison. Furthermore, the pitch frequencies of Thai Classical Music vary across different standards. This research proposes a new algorithm for identifying notes in Thai Classical Music based on a regression method. Using a dataset compiled from textbooks and musical pieces from various sources, the researchers derived an equation to identify the pitch frequencies of Thai musical notes. This equation was then used to generate a new frequency table, referencing the sequence of notes on a piano. The signature creation process for retrieval begins by segmenting the audio data into smaller parts, then applying the Fast Fourier Transform (FFT) to convert each segment into frequency data. The peak frequency is extracted from the one-sideband frequency data is analyzed to identify peak frequencies, which are then matched with a proposed frequency table to determine the corresponding musical notes. These notes are then concatenated into a character string, forming the signature of the piece. Experimental results from developing a music retrieval system show that the proposed method outperforms the traditional Western-based method, achieving an accuracy of 72.53 percent.

Downloads

Published

2025-12-23

How to Cite

1.
The Thai Classical Music Pitch Recognition Algorithm Based on The Polynomial regression Method. MITIJ [Internet]. 2025 Dec. 23 [cited 2026 Aug. 20];11(3):167-82. Available from: https://ojs.mju.ac.th/ojs-system/article/view/440

Most read articles by the same author(s)

  • Sujittra Pankaragat, Suthichanon Poonkrankay, Part Pramokchon, Alongkot Gongmanee, Somnuek Sinthupuan, Software Maintenance Contract Renewal Notifications using Multi-phase Reminders , Maejo Information Technology and Innovation Journal (MITIJ): Vol. 11 No. 3 (2025): Maejo Information Technology and Innovation Journal, Volume 11, Number 3, September– December 2025
  • Setthapong Inthasang, Rattikorn Jinakas, Part Pramokchon, Alongkot Gongmanee, Somnuek Sinthupuan, Abstract:, The objectives of this research are 1) to develop an hourly leave system for, companies with limited staff, 2) to compare the results between full-day, hourly, leave systems, 3) to enhance project efficiency. The system was developed using, Visual Studio Code for programming, Firebase for database management, incorporating essential functions such as hourly leave request submission, manager, approval processes for hourly leave, real-time leave status tracking. The study, specifically targeted 12 full-time employees involved in six core projects (totaling 50, personnel, with some employees assigned to multiple projects) in direct information, technology development roles. The research findings revealed that 1) the developed, hourly leave system reduced absenteeism rates from 34% (, out of 50 employees), to just 12, % (equivalent to 6, lost workdays) while maintaining employee, flexibility, improving workforce availability; 2) when comparing full-day, hourly, leave systems, hourly leave reduced productivity loss by 62, % compared to the, full-day system, with Project 4 (previously experiencing 100% absenteeism under the, old system) showing clear benefits from the new approach, though Project 2 still had, a 31, % absenteeism rate, indicating room for further improvement;, 3) in terms, of project efficiency enhancement, the system helped address staffing gaps in teams, with high leave rates (Projects 1, The Development of an Hourly Leave Information System for a Company with a Limited Number of Employees , Maejo Information Technology and Innovation Journal (MITIJ): Vol. 11 No. 3 (2025): Maejo Information Technology and Innovation Journal, Volume 11, Number 3, September– December 2025
  • Attawit Changkamanon, Montharop Chaophongphang, Ilada Saengpirom, Kongkarn Dullayachai, Somnuek Sinthupuan, Kittikorn Hantrakul, บทคัดย่อ, งานวิจัยนี้มีวัตถุประสงค์เพื่อพัฒนาระบบแจ้งเตือนการชำระเงินผ่านแอปพลิเคชันไลน์ โดย, มุ่งเน้นการเพิ่มประสิทธิภาพในการติดตามรายได้และตรวจสอบสถานะการชำระเงินให้มีความถูกต้อง, และเป็นปัจจุบัน ระบบถูกพัฒนาขึ้นในรูปแบบเว็บแอปพลิเคชัน โดยประยุกต์ใช้ภาษาโกสำหรับการ, ประมวลผลฝั่งเซิร์ฟเวอร์ ร่วมกับสเวลต์เฟรมเวิร์กในการพัฒนาส่วนติดต่อผู้ใช้งาน และบริหารจัดการ, ฐานข้อมูลด้วยดีบีเวอร์ ขอบเขตการทำงานแบ่งออกเป็น 2 ส่วน ได้แก่ 1) ส่วนผู้ใช้งาน รองรับการ, แจ้งเตือนสถานะการชำระเงินและแสดงผลสรุปยอดคำสั่งซื้อ, 2) ส่วนผู้ดูแลระบบ สำหรับบริหาร, จัดการข้อมูลและตรวจสอบหลักฐานการโอนเงิน การศึกษานี้ดำเนินการประเมินประสิทธิภาพระบบ, ผ่านการทดสอบการทำงาน การวัดระยะเวลาการตอบสนอง และการตรวจสอบความถูกต้องของ, ข้อมูล ผลการวิจัยพบว่า ระบบสามารถส่งข้อความแจ้งเตือนการชำระเงินได้แบบเรียลไทม์ โดยมี, ค่าเฉลี่ยระยะเวลาการตอบสนองอยู่ที่ 2, วินาที มีความถูกต้องของข้อมูลในการแจ้งเตือนร้อยละ, 100 และสามารถประมวลผลรายงานยอดขายในรูปแบบกราฟเปรียบเทียบรายวันและรายเดือนได้, อย่างถูกต้องตามเงื่ อนไขที่กำหนด ซึ่งแสดงให้เห็นว่าระบบที่ พัฒ นาขึ้นช่ว ยลดระยะเวลา, ข้อผิดพลาดในการตรวจสอบข้อมูลทางการเงินเมื่อเทียบกับวิธีการแบบเดิม และช่วยสนับสนุนการ, วิเคราะห์ข้อมูลยอดขายของผู้ประกอบการได้อย่างมีประสิทธิภาพ, คาสำคัญ: แอปพลิเคชันไลน์; การแจ้งเตือนการชำระเงิน; การติดตามธุรกรรม, Development of a Payment Notification System via LINE Application , Maejo Information Technology and Innovation Journal (MITIJ): Vol. 11 No. 3 (2025): Maejo Information Technology and Innovation Journal, Volume 11, Number 3, September– December 2025
  • Panuwat Mekha, Phoatipong Musikong, Nuttapas Palakong, Part Pramokchon, Payungsak Kasemsumran, Performance Comparison of Image Classification Models for Corn Leaf Disease , Maejo Information Technology and Innovation Journal (MITIJ): Vol. 9 No. 2 (2023): Maejo Information Technology and Innovation Journal, Volume 9, Number 2, July - December 2023
<< < 1 2