반응형
방탄소년단 DNA 멜로디를 아두이노 우노, NodeMcu, ESP32에서 피에조 부저를 이용하여 부저음 멜로디를 연주하는 예제 스케치 입니다.
// ---------------------------------------------------------------------- bts DNA 멜로디
uint8_t Tempo = 120;
float tempoRatio = float(Tempo)/60.0;
uint8_t KeySign = 0;
uint8_t octaveTemp = 4;
//float beatTime = 4/4;
const note_t Mnote[] PROGMEM= {
NOTE_MAX,NOTE_MAX,NOTE_A,NOTE_G,NOTE_A,NOTE_A,NOTE_MAX,NOTE_E,NOTE_F,NOTE_G,NOTE_F,NOTE_E,NOTE_MAX,NOTE_MAX,NOTE_A,NOTE_G,NOTE_A,NOTE_MAX,NOTE_MAX,NOTE_E,NOTE_F,NOTE_G,NOTE_F,NOTE_E,
NOTE_MAX,NOTE_MAX,NOTE_A,NOTE_G,NOTE_A,NOTE_A,NOTE_MAX,NOTE_E,NOTE_F,NOTE_G,NOTE_F,NOTE_E,NOTE_MAX,NOTE_MAX,NOTE_A,NOTE_G,NOTE_A,NOTE_A,NOTE_MAX,NOTE_E,NOTE_F,NOTE_G,NOTE_F,NOTE_E,
NOTE_MAX,NOTE_MAX,NOTE_G,NOTE_A,NOTE_A,NOTE_A,NOTE_A,NOTE_C,NOTE_C,NOTE_D,NOTE_C,NOTE_E,NOTE_A,NOTE_MAX,NOTE_MAX,NOTE_G,NOTE_F,NOTE_E,NOTE_F,NOTE_E,NOTE_MAX,NOTE_D,NOTE_D,NOTE_C,
NOTE_MAX,NOTE_A,NOTE_MAX,NOTE_MAX,NOTE_A,NOTE_A,NOTE_A,NOTE_A,NOTE_C,NOTE_C,NOTE_D,NOTE_C,NOTE_E,NOTE_A,NOTE_MAX,NOTE_MAX,NOTE_G,NOTE_F,NOTE_E,NOTE_F,NOTE_E,NOTE_MAX,NOTE_D,NOTE_D,NOTE_C,
NOTE_MAX,NOTE_A,NOTE_MAX,NOTE_MAX,NOTE_A,NOTE_A,NOTE_A,NOTE_C,NOTE_MAX,NOTE_A,NOTE_A,NO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,1,2,2,3,1,2,2,
2,6,2,2,2,2,4,2,2,2,2,2,2,8,2,2,2,2,3,1,2,2,3,1,2,2,
2,6,2,2,2,2,8,2,1,1,2,2,6,2,2,2,4,8,2,2,2,2,
3,1,2,2,3,1,2,2,2,2,4,2,2,2,2,6,2,2,4,2,2,2,4,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,3,1,2,2,2,6,2,2,2,2,6,2,2,4,2,
2,6,2,2,2,2,3,1,2,2,3,1,2,2,2,6,2,2,2,2,6,2,2,4,2,
2,6,2,2,2,2,3,1,2,2,3,1,2,2,2,6,2,2,2,2,4,2,2,2,2,4,
4,2,2,2,2,4,3,1,2,2,3,1,2,2,2,6,2,2,2,2,4,2,2,2,2,4,
4,2,2,2,2,4,3,1,2,2,3,1,2,2,2,6,2,2,2,2,16,
};
// ----------------------------------------------------------------------
2023년 2월 7일 업데이트 코드
piezo_Uno_bts_dna_update.zip
piezo_nodeMcu_bts_dna_update.zip
esp32_melody_bts_dna_update.zip
'Arduino > Piezo Buzzer' 카테고리의 다른 글
피에조 부저 멜로디 - 바둑이 방울 (0) | 2020.10.24 |
---|---|
피에조 부저 멜로디 - 둥근해가 떴습니다 (0) | 2020.10.24 |
피에조 부저 멜로디 - 동요 동네 한 바퀴 (0) | 2020.10.24 |
피에조 부저 멜로디 - 동요 귀여운 꼬마 (0) | 2020.10.24 |
피에조 부저 멜로디 - 동요 겨울밤 (0) | 2020.10.24 |
아두이노 - 피에조 부저 멜로디 BTS Dynamite (0) | 2020.10.23 |
아두이노 - 피에조 부저 멜로디 Hwasa Maria (0) | 2020.10.23 |
아두이노/ESP32 - 피에조 부저, 악보를 보고 동요 멜로디 코딩하기(동요 겨울밤, 다람쥐, 옹달샘, 작은별) (0) | 2020.08.01 |