Beep音乐:Only My Railgun

Posted maxdyf

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Beep音乐:Only My Railgun相关的知识,希望对你有一定的参考价值。

嗯,这只是一个Beep音乐。

好吧,代码给你们吧。

百度网盘:https://pan.baidu.com/s/1uE8LciC82Hk3zhHA2h3b_w

密码:sdt2

代码:

#include <windows.h>
#define qdo 262 
#define qre 294
#define qmi 330
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define do 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865


int pai=400,ban=200;
int ting=128;
int main()
{
    Beep(do1,ban);
    Beep(si,ban);
    Beep(so,ban);
    
    Sleep(ting);
    
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(so,ban);
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(so,ban);
    
    Sleep(ting);
    
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(la,ban);
    Beep(la,ban);
    Beep(si,ban);
    Beep(do1,ban);
    Beep(re1,ban);
    
    Sleep(ting);
    
    Beep(si,pai);
    Beep(so,pai);
    Beep(fa1,pai);
    Beep(re1,pai);
    
    Sleep(ting);
    
    Beep(re1,ban);
    Beep(re1,ban/4*3);
    Beep(re1,ban);
    Beep(mi1,ban);
    Sleep(ban);
    Beep(do1,ban);
    Beep(si,ban);
    Beep(so,ban);
    
    Sleep(ting);
    
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(so,ban);
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(so,ban);
    
    Sleep(ting);
    
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(la,ban);
    Beep(la,ban);
    Beep(si,ban);
    Beep(do1,ban);
    Beep(re1,ban);
    
    Sleep(ting);
    
    Beep(la,pai*2);
    Beep(la,ban);
    Beep(si,ban);
    Beep(do1,ban);
    Beep(re1,ban);
    
    Sleep(ting);
    
    Beep(si,pai);
    Beep(so,pai);
    Beep(mi,pai);
    Beep(so,pai);
    
    Sleep(ting);
    
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(do1,ban);
    Beep(si,ban);
    Beep(so,ban/2);
    Beep(mi,ban/2);
    Beep(mi,ban);
    Beep(mi,ban);
    Beep(so,ban);
    
    Sleep(ting);
    
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(la,pai*2);
    
    Sleep(ting);
     
    Beep(la,pai*4);
    
    Sleep(pai*4);
    //前奏
    
     
    Beep(la,pai*2);
    Beep(la,ban);
    Beep(so,ban);
    Beep(la,ban);
    Beep(si,ban);
    
    Sleep(ting);
    
    Beep(la,pai*2);
    Beep(la,ban);
    Beep(so,ban);
    Beep(la,ban);
    Beep(si,ban);
    
    Sleep(ting);
    
    Beep(do1,pai*2);
    Beep(do1,ban);
    Beep(re1,ban);
    Beep(do1,ban);
    Beep(si,ban);
    
    Sleep(ting);
    
    Beep(do1,ban);
    Beep(si,ban);
    Beep(la,ban);
    Beep(mi1,ban);
    Beep(do1,pai*2);
    
    Sleep(ting);
    
    Beep(la,pai*2);
    Beep(la,ban);
    Beep(so,ban);
    Beep(la,ban);
    Beep(si,ban);
    
    Sleep(ting);
    
    Beep(la,pai*2);
    Beep(la,ban);
    Beep(so,ban);
    Beep(la,ban);
    Beep(si,ban);
    
    Sleep(ting);
    
    Beep(do1,pai);
    Beep(fa,pai);
    Beep(si,ban);
    Beep(la,ban);
    Beep(so,ban);
    Beep(la,ban);
    
    Sleep(ting);
    
    Beep(so,ban+pai);
    Beep(fa,ban);
    Beep(fa,pai*2);
    
    Sleep(ting);
    
    Beep(do1,ban);
    Beep(do1,ban/2);
    Beep(do1,ban/2);
    Beep(do1,ban/2);
    Beep(do1,ban/2);
    Beep(do1,ban);
    Beep(do1,ban);
    Beep(si,ban);
    Beep(la,ban);
    
    Sleep(ting);
    
    Beep(so,pai);
    Beep(so,ban);
    Beep(mi1,ban/2);
    Beep(mi1,ban/2);
    Beep(mi1,ban+pai);
    Beep(mi1,ban/2);
    Beep(mi1,ban/2);
    
    Sleep(ting);
    
    Beep(mi1,ban);
    Beep(re1,ban);
    Beep(do1,ban);
    Beep(qsi,ban);
    Beep(re1,ban/2);
    Beep(do1,ban/2);
    Beep(do1,ban/2);
    Beep(si,ban/2);
    Beep(si,ban);
    Beep(la,ban);
    
    Sleep(ting);
    
    Beep(so,ban+pai);
    Beep(so,ban/2);
    Beep(so,ban);
    Beep(fa,ban);
    Beep(la,pai*2);
    
    Sleep(ting);
    
    Beep(la,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(la,ban);
    Beep(la,ban);
    Beep(si,ban);
    Beep(si,ban);
    
    Sleep(ting);
    
    Beep(si,pai);
    Beep(si,ban);
    Beep(so,ban/2);
    Beep(so,ban/2);
    Beep(so,pai);
    Sleep(ban);
    Beep(so,ban);
    
    Sleep(ting);
    
    Beep(fa,pai);
    Beep(fa,ban);
    Beep(mi,ban);
    Beep(fa,ban);
    Beep(so,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(la,ban);
    
    Sleep(ting);
    
    Beep(la,ban+pai);
    Beep(so,ban/2);
    Beep(fa,ban/2);
    Beep(so,pai*2);
    
    Sleep(ting);
    
    Beep(mi1,ban);
    Sleep(ban);
    Beep(mi1,ban);
    Sleep(ban);
    Beep(mi1,ban);
    Sleep(ban);
    Beep(si,ban);
    Beep(la,ban);
    Beep(so,ban);
    
    Sleep(ting);
    
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(so,ban);
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(so,ban);
    
    Sleep(ting);
    
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(la,ban);
    Beep(la,ban);
    Beep(si,ban);
    Beep(do1,ban);
    Beep(re1,ban);
    
    Sleep(ting);
    
    Beep(si,pai);
    Beep(so,pai);
    Beep(fa1,pai);
    Beep(re1,pai);
    
    Sleep(ting);
    
    Beep(re1,ban+pai);
    Beep(re1,ban/2);
    Beep(re1,ban);
    Beep(mi1,ban);
    Sleep(ban);
    Beep(do1,ban);
    Beep(si,ban);
    Beep(so,ban);
    
    Sleep(ting);
    
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(so,ban);
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(so,ban);
    
    Sleep(ting);
    
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(la,ban);
    Beep(la,ban);
    Beep(si,ban);
    Beep(do1,ban);
    Beep(re1,ban);

    Sleep(ting);

    Beep(la,pai*2);
    Beep(la,ban);
    Beep(si,ban);
    Beep(do1,ban);
    Beep(re1,ban);
    
    Sleep(ting);
    
    Beep(si,ban+pai);
    Beep(so,ban/2);
    Beep(so,ban);
    Beep(mi,ban);
    Sleep(ban);
    Beep(do1,ban);
    Beep(si,ban);
    Beep(so,ban);
    
    Sleep(ting);
    
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(so,ban);
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(so,ban);
    
    Sleep(ting);
    
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(la,ban);
    Beep(la,ban);
    Beep(si,ban);
    Beep(do1,ban);
    Beep(re1,ban);
    
    Sleep(ting);
        
    Beep(la,pai*2);
    Beep(la,ban);
    Beep(si,ban);
    Beep(do1,ban);
    Beep(re1,ban);
    
    Sleep(ting);
    
    Beep(si,pai);
    Beep(so,pai);
    Beep(mi,pai);
    Beep(so,pai);
    
    Sleep(ting);
    
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,ban);
    Beep(do1,ban);
    Beep(si,ban);
    Beep(so,ban/2);
    Beep(mi,ban/2);
    Beep(mi,ban);
    Beep(so,ban);
    
    Sleep(ting);
    
    Beep(so,ban);
    Beep(la,ban/2);
    Beep(la,ban/2);
    Beep(la,pai*3);
    
    Sleep(ting);
    
    Beep(so,pai*4);
}

以上是关于Beep音乐:Only My Railgun的主要内容,如果未能解决你的问题,请参考以下文章

灌水欣赏音乐

c#中添加报警音

Android Api 27 在 Android 8.0 上出现 Only fullscreen opaque activities can request orientation 的解决情况(代码片

mysqldump: unknown option '--no-beep' 错误解决

如何在(期间)鼠标单击时发出 Console.Beep?

Unity中解决“SetDestination“ can only be called on an active agent that has been placed on a NavMesh(代码片