반응형

센과 치히로의 행방불명 ost - 언제나 몇번이라도 

 

이 음악을 코딩하여 만들어 보았습니다.

 

  

 

Music.exe

 

실행파일입니다.

 

Music.cpp

 

소스코드입니다.

 

 

 

기타 노래 악보 코드

 

 

 

// July - My soul 화음 //

 

int note1[10000] = {0,0,-1,6,15,0,1,1,0,0,      -6,1,10,0,3,-2,3,6,  

                    -1,6,15,0,1,8,0,0,          3,-2,3,6,6,0,3,0,     

  

                    211,-1,6,15,0,1,8,0,0,      6,13,17,0,3,15,18,0,  

                    -1,11,15,0,1,13,17,0,       3,10,15,0,  

  

                    0,0,0,0,1,8,17,0,-11,3,0,0,  -4,3,12,0,-7,-1,5,8,  

                   1,8,17,0,3,10,0,0,           -7,-1,5,8,0,0,-7,0,  

  

                    201,-10,8,17,0,3,12,0,0,    -4,3,8,0,-7,5,8,0,  

                    -11,1,5,0,-9,3,6,0,            -7,-1,5,0,8,10,12,0,  

  

                    100  

};  

 

// July - My soul 악보 //

 

int note2[10000] = {  

                          

                      

                    0,18,30,29,0,27,220,27,25,13,20,         320,3322,0,0,420,422,18,0,0,18,  

                    30,29,0,27,220,27,25,13,20,              20,22,0,0,18,20,22,25,  

  

                    30,29,0,27,220,27,25,13,20,              320,3322,0,0,420,422,18,0,15,18,  

                    20,0,22,0,15,18,20,22,                   20,0,0,18,   

  

                    0,0,0,8,20,19,0,17,210,17,15,3,10,       310,3312,0,0,410,412,8,0,0,8,  

                    20,19,0,17,210,17,15,3,10,10,            310,12,0,0,8,10,12,15,  

                      

                    20,19,0,17,210,17,15,3,10,               310,3312,0,0,410,412,8,0,5,8,  

                    201,10,0,12,0,5,8,10,12,                    203,10,0,0,8,0,0,0,8,  

                    100  

};  

 

 

// 학교종 화음 //

 

    int note1[10000] = {1,8,5,8,'\0'};  

 

// 학교종 악보 //    

 

int note2[10000] = {8,8,10,10,8,8,5,100,8,8,5,5,3,100,100,100,8,8,10,10,8,8,5,100,8,5,3,5,1,100,'\0'};  

반응형

'Programing Etc. > 자작 프로그램' 카테고리의 다른 글

Mouse Macro  (0) 2014.03.09
대진표 프로그램  (1) 2014.02.16
Minigame in console - Keyboard version  (0) 2014.02.16
그림판 프로그램  (0) 2014.02.16
Minigame in console - Mouse version  (0) 2014.02.16