透過您的圖書館登入
IP:3.147.48.212
  • 學位論文

以微控制器(MCU)實現基於小波轉換之伴奏系統

Implementation of an accompaniment system based on DWT via microcontroller unit (MCU)

指導教授 : 廖裕評
本文將於2026/01/11開放下載。若您希望在開放下載時收到通知,可將文章加入收藏

摘要


在音樂演奏中,節拍(BPM,beats per minute)是最基礎也最重要的元素,節拍不穩定就會嚴重的影響歌曲的呈現,使音樂雜亂無章,然而,大多數的伴奏系統或節拍器都是以事先設定好的固定節拍設計,無法根據演奏者的節拍自動調整並跟隨,因此,本研究提出了以微控制器(MCU)實現基於小波轉換之伴奏系統,分析吉他彈奏的節拍速度,使用離散小波轉換分析吉他訊號的時域與頻域特徵,計算節拍BPM數值,並在爵士鼓上架設自動打擊系統,跟隨吉他手進行伴奏,設計踏板開關讓吉他手根據演奏需求,自行切換打擊節奏組合,並透過手機APP即時顯示BPM數值,幫助使用者掌握彈奏的節拍狀況;在本研究中,選用低階與高階兩種不同的微控器進行實驗,低階是選用HT32F52352,高階則是STM32F746ZGT6,對數位訊號處理當中的取樣頻率與小波轉換進行實驗與比較,找出在不同取樣頻率下,何種多貝西小波函數(dbN)與分解階層數更適合本系統分析吉他節拍,最後實驗結果驗證256Hz的取樣頻率、db5多貝西小波函數與3階分解階層的分析效果最好。

並列摘要


In music performance, the beat (BPM, beats per minute) is the most basic and important element, and unstable rhythm will seriously affect the presentation of the song, making the music chaotic, so when learning a musical instrument, it is often used to train the stability of the beat. However, most accompaniment systems or metronomes are designed with a predetermined fixed beat and cannot automatically adjust to the player's beat and follow it. Therefore, this research proposes an accompaniment system based on DWT via microcontroller unit (MCU) ,that Analyze the tempo of guitar playing, use discrete wavelet transform to analyze the time domain and frequency domain characteristics of the guitar signal, calculate the beat BPM value, and set up an automatic percussion system on the jazz drum to follow the guitarist to accompaniment, design a pedal switch to allow the guitarist to switch the percussion rhythm combination according to the performance needs, and display the BPM value in real time through the mobile APP to help users grasp the rhythm of the playing; In this research, two different microcontrollers, low-level and high- level, are used for experiments. The low- level is HT32F52352, and the high-end is STM32F746ZGT6. The sampling frequency and wavelet transform in digital signal processing are tested and compared to find out the differences. Which Daubechies wavelet function (dbN) and decomposition level are more suitable for analyzing guitar rhythm and audio at the sampling frequency. The experimental result verifies that the sampling frequency of 256Hz, the db5 wavelet function and the 3level order decomposition level are the most effective signal processing methods. An additional pressure sensor was placed on the drums to monitor the percussion status, while the microphone radio signal was monitored to prove that the accompaniment system was able to keep up with the guitarist's tempo.

參考文獻


[1] 熱門樂器官方部落格Blog, Y. (2021). "鼓手必備!那些可能被遺忘,但非常重要的爵士鼓周邊小物實用教學爵士鼓電子鼓." Retrieved 2022/11/22, from https://www.yamahablog.tw/2021/12/23/facts_about_drummer_practice_stage/.
[2] wiki (2020). "節拍 - NiceChord Wiki." Retrieved 11/22, 2022, from https://wiki.nicechord.com/index.php/%E7%AF%80%E6%8B%8D.
[3] 詹智能, 鄭景文, & 湯文慈. (2012). "優秀高爾夫選手推桿節拍與節奏之特徵分析." 臺灣體育論壇(4): 21-28.
[4] 陳靜慧, & 豐東洋 (2015). "音樂在不同運動階段之效益." 大專體育(132): 44-51.
[5] 余沛珊 (2019). 節奏聽覺刺激對於慢性腦中風個案伸手及物表現與動作功能的影響. 物理治療學系, 中山醫學大學: 1-52.

延伸閱讀