马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
新出炉,初试编的,应该没编错吧。
A:
:set f "659,784,659,578,659,578,659,659,578,440,523,659,578,578,523,440,523,578,659,784,578,659,880,784,392,578,523";:set d "500ms,500ms,500ms,500ms,500ms,500ms,1s,750ms,250ms,500ms,500ms,500ms,1500ms,500ms,500ms,500ms,500ms,500ms,500ms,500ms,500ms,500ms,500ms,500ms,500ms,500ms,1500ms";:set i 0 ;:while ($i<27) do={:beep len=[:pick $d $i ($i+1)] freq=([:pick $f $i ($i+1)]);:delay [:pick $d $i ($i+1)];:set i ($i+1)}
B:
:set f "578,523,440,523,578,659,784,578,659,880,784,784,659,578,659,578,523,784,880,659,440,659,578,578,523";:set d "500ms,1500ms,500ms,500ms,500ms,500ms,500ms,500ms,500ms,500ms,500ms,500ms,2s,500ms,500ms,500ms,500ms,750ms,250ms,1s,500ms,500ms,500ms,500ms,1500ms";:set i 0 ;:while ($i<25) do={:beep len=[:pick $d $i ($i+1)] freq=([:pick $f $i ($i+1)]);:delay [:pick $d $i ($i+1)];:set i ($i+1)}
C:
:set f "659,784,1046,784,880,784,880,784,659,659,784,784,659,784,880,1046,1175,1046,784,659,578,784,659,659,659,784,1046,784,880,1046,1175,1046,784,659,784,1046,880,659,578,659,880,1318,1175,1175,1046";:set d "500ms,500ms,500ms,500ms,1500ms,500ms,500ms,500ms,500ms,500ms,500ms,1500ms,500ms,500ms,500ms,500ms,500ms,500ms,500ms,500ms,500ms,1s,500ms,2s,500ms,500ms,500ms,500ms,1500ms,500ms,750ms,250ms,500ms,500ms,500ms,500ms,1500ms,500ms,500ms,500ms,500ms,500ms,1500ms,500ms,3500ms";:set i 0 ;:while ($i<45) do={:beep len=[:pick $d $i ($i+1)] freq=([:pick $f $i ($i+1)]);:delay [:pick $d $i ($i+1)];:set i ($i+1)}
整合整首:
:set f "A,A,B,A,B,C,A,B,C,C,B,C,A,B,C,C,C,C";:set d "16,16,16,16,16,32,16,16,32,32,16,16,16,16,32,32,32,32";:set i 0 ;:while ($i<18) do={/system script run ([:pick $f $i ($i+1)]);:delay ([:pick $d $i ($i+1)]);:set i ($i+1)}
音符频率对应表
mculover 发表于 2005-12-26 9:08:47
音符 频率/HZ 半周期/us 音符 频率/HZ 半周期/us
------------------------------------------
低1DO 262 1908 #4FA# 740 0676
#1DO# 277 1805 中5SO 784 0638
低2RE 294 1700 #5SO# 831 0602
#2RE# 311 1608 中6LA 880 0568
低3M 330 1516 #6LA# 932 0536
低4FA 349 1433 中7SI 988 0506
#4FA# 370 1350 高1DO 1046 0478
低5SO 392 1276 #DO# 1109 0451
#5SO# 415 1205 高2RE 1175 0426
低6LA 440 1136 #2RE# 1245 0402
#6LA# 466 1072 高3M 1318 0372
低7SI 494 1012 高4FA 1397 0358
中1DO 523 0956 #4FA# 1480 0338
#1DO# 554 0903 高5SO 1568 0319
中2RE 578 0842 #5S0# 1661 0292
#2RE# 622 0804 高6LA 1760 0284
中3M 659 0759 #6LA# 1865 0268
中4FA 698 0716 高7SI 1976 0253
[ 本帖最后由 tim97803 于 2008-8-22 10:28 编辑 ] |