You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

335 lines
10 KiB

  1. /system script
  2. add name="Music: Super Mario Bros" owner=admin policy=read source=":beep frequency=660 length=100ms;\
  3. \n:delay 150ms;\
  4. \n:beep frequency=660 length=100ms;\
  5. \n:delay 300ms;\
  6. \n:beep frequency=660 length=100ms;\
  7. \n:delay 300ms;\
  8. \n:beep frequency=510 length=100ms;\
  9. \n:delay 100ms;\
  10. \n:beep frequency=660 length=100ms;\
  11. \n:delay 300ms;\
  12. \n:beep frequency=770 length=100ms;\
  13. \n:delay 550ms;\
  14. \n:beep frequency=380 length=100ms;"
  15. add name="Music: Thunderstruck" owner=admin policy=read source=":local n11 63,66;\
  16. \n:local n12 64,67;\
  17. \n:local n21 71,69,68,69,68,66,68,64,66,63;\
  18. \n:local n22 64,63;\
  19. \n\
  20. \n:local n11 (\$n11,\$n11);\
  21. \n:local n12 (\$n12,\$n12);\
  22. \n:local n1 (\$n11,\$n11,\$n12,\$n12);\
  23. \n:local n2 (\$n21,\$n22,\$n22,\$n22);\
  24. \n:local notes (\$n1,\$n1,\$n2,\$n2);\
  25. \n \
  26. \n:local ticks 2;\
  27. \n:local speed 55ms;\
  28. \n:local stacc 5ms;\
  29. \n# Transposition\
  30. \n:local transpose -48;\
  31. \n# ==============================\
  32. \n# Don't change this:\
  33. \n:local frqtab 8372,8869,9397,9956,10548,11175,11839,12543,13288,14080,14916,15804;\
  34. \n:local n0; :local n;\
  35. \n:local d0; :local d;\
  36. \n:local l;\
  37. \n:local midi;\
  38. \n:local i;\
  39. \n:local octa;\
  40. \n:local frq;\
  41. \n:for i from=0 to= ([:len \$notes]-1) do={\
  42. \n:set midi [:pick \$notes \$i];\
  43. \n:set midi (\$midi + \$transpose);\
  44. \n:set octa 0;\
  45. \n:while ( \$midi < 60) do={:set midi (\$midi + 12); :set octa (\$octa + 1 ); };\
  46. \n:set midi (\$midi - (12 * (\$midi /12)));\
  47. \n:set frq [:tonum [:pick \$frqtab \$midi]];\
  48. \n:set frq (\$frq>>(\$octa));\
  49. \n:set d0 \$ticks;\
  50. \n:set d (\$d0 * \$speed );\
  51. \n:set l (\$d0 * (\$speed - \$stacc));\
  52. \n:beep fr=\$frq le=\$l;\
  53. \n:delay \$d;\
  54. \n:set midi 59;\
  55. \n:set midi (\$midi + \$transpose);\
  56. \n:set octa 0;\
  57. \n:while ( \$midi < 60) do={:set midi (\$midi + 12); :set octa (\$octa + 1 ); };\
  58. \n:set midi (\$midi - (12 * (\$midi /12)));\
  59. \n:set frq [:tonum [:pick \$frqtab \$midi]];\
  60. \n:set frq (\$frq>>(\$octa));\
  61. \n:set d0 \$ticks;\
  62. \n:set d (\$d0 * \$speed );\
  63. \n:set l (\$d0 * (\$speed - \$stacc));\
  64. \n:beep fr=\$frq le=\$l;\
  65. \n:delay \$d;\
  66. \n}"
  67. add name="Music: Imperial March (Star Wars)" owner=admin policy=read source=":beep frequency=500 length=500ms;\
  68. \n:delay 500ms;\
  69. \n:beep frequency=500 length=500ms;\
  70. \n:delay 500ms;\
  71. \n:beep frequency=500 length=500ms;\
  72. \n:delay 500ms;\
  73. \n:beep frequency=400 length=500ms;\
  74. \n:delay 400ms;\
  75. \n:beep frequency=600 length=200ms;\
  76. \n:delay 100ms;\
  77. \n:beep frequency=500 length=500ms;\
  78. \n:delay 500ms;\
  79. \n:beep frequency=400 length=500ms;\
  80. \n:delay 400ms;\
  81. \n:beep frequency=600 length=200ms;\
  82. \n:delay 100ms;\
  83. \n:beep frequency=500 length=500ms;\
  84. \n:delay 1000ms;\
  85. \n:beep frequency=750 length=500ms;\
  86. \n:delay 500ms;\
  87. \n:beep frequency=750 length=500ms;\
  88. \n:delay 500ms;\
  89. \n:beep frequency=750 length=500ms;\
  90. \n:delay 500ms;\
  91. \n:beep frequency=810 length=500ms;\
  92. \n:delay 400ms;\
  93. \n:beep frequency=600 length=200ms;\
  94. \n:delay 100ms;\
  95. \n:beep frequency=470 length=500ms;\
  96. \n:delay 500ms;\
  97. \n:beep frequency=400 length=500ms;\
  98. \n:delay 400ms;\
  99. \n:beep frequency=600 length=200ms;\
  100. \n:delay 100ms;\
  101. \n:beep frequency=500 length=500ms;\
  102. \n:delay 1000ms;"
  103. add name="Music: Jurassic Park" owner=admin policy=read source=":beep frequency=466 length=275ms;\
  104. \n:delay 300ms;\
  105. \n:beep frequency=440 length=275ms;\
  106. \n:delay 300ms;\
  107. \n:beep frequency=466 length=1775ms;\
  108. \n:delay 1800ms;\
  109. \n:beep frequency=466 length=275ms;\
  110. \n:delay 300ms;\
  111. \n:beep frequency=440 length=275ms;\
  112. \n:delay 300ms;\
  113. \n:beep frequency=466 length=1775ms;\
  114. \n:delay 1800ms;\
  115. \n:beep frequency=466 length=275ms;\
  116. \n:delay 300ms;\
  117. \n:beep frequency=440 length=275ms;\
  118. \n:delay 300ms;\
  119. \n:beep frequency=466 length=875ms;\
  120. \n:delay 900ms;\
  121. \n:beep frequency=523 length=275ms;\
  122. \n:delay 300ms;\
  123. \n:beep frequency=523 length=875ms;\
  124. \n:delay 900ms;\
  125. \n:beep frequency=622 length=275ms;\
  126. \n:delay 300ms;\
  127. \n:beep frequency=622 length=1775ms;\
  128. \n:delay 1800ms;\
  129. \n:beep frequency=587 length=275ms;\
  130. \n:delay 300ms;\
  131. \n:beep frequency=466 length=275ms;\
  132. \n:delay 300ms;\
  133. \n:beep frequency=523 length=875ms;\
  134. \n:delay 900ms;\
  135. \n:beep frequency=440 length=275ms;\
  136. \n:delay 300ms;\
  137. \n:beep frequency=349 length=575ms;\
  138. \n:delay 600ms;\
  139. \n:beep frequency=587 length=275ms;\
  140. \n:delay 300ms;\
  141. \n:beep frequency=466 length=275ms;\
  142. \n:delay 300ms;\
  143. \n:beep frequency=523 length=1775ms;\
  144. \n:delay 1800ms;\
  145. \n:beep frequency=698 length=275ms;\
  146. \n:delay 300ms;\
  147. \n:beep frequency=466 length=275ms;\
  148. \n:delay 300ms;\
  149. \n:beep frequency=622 length=875ms;\
  150. \n:delay 900ms;\
  151. \n:beep frequency=587 length=275ms;\
  152. \n:delay 300ms;\
  153. \n:beep frequency=587 length=875ms;\
  154. \n:delay 900ms;\
  155. \n:beep frequency=523 length=275ms;\
  156. \n:delay 300ms;\
  157. \n:beep frequency=523 length=3575ms;\
  158. \n:delay 3600ms;\
  159. \n:delay 600ms;\
  160. \n:beep frequency=466 length=275ms;\
  161. \n:delay 300ms;\
  162. \n:beep frequency=440 length=275ms;\
  163. \n:delay 300ms;\
  164. \n:beep frequency=466 length=575ms;\
  165. \n:delay 600ms;\
  166. \n:beep frequency=349 length=575ms;\
  167. \n:delay 600ms;\
  168. \n:beep frequency=311 length=575ms;\
  169. \n:delay 600ms;\
  170. \n:beep frequency=466 length=275ms;\
  171. \n:delay 300ms;\
  172. \n:beep frequency=440 length=275ms;\
  173. \n:delay 300ms;\
  174. \n:beep frequency=466 length=575ms;\
  175. \n:delay 600ms;\
  176. \n:beep frequency=349 length=575ms;\
  177. \n:delay 600ms;\
  178. \n:beep frequency=311 length=575ms;\
  179. \n:delay 600ms;\
  180. \n:beep frequency=466 length=275ms;\
  181. \n:delay 300ms;\
  182. \n:beep frequency=440 length=275ms;\
  183. \n:delay 300ms;\
  184. \n:beep frequency=440 length=275ms;\
  185. \n:delay 300ms;\
  186. \n:beep frequency=466 length=875ms;\
  187. \n:delay 900ms;\
  188. \n:beep frequency=349 length=575ms;"
  189. add name="Music: Crazy Train" owner=admin policy=read source=":beep frequency=370 length=175ms;\
  190. \n:delay 200ms;\
  191. \n:beep frequency=370 length=175ms;\
  192. \n:delay 200ms;\
  193. \n:delay 1200ms;\
  194. \n:beep frequency=440 length=175ms;\
  195. \n:delay 200ms;\
  196. \n:beep frequency=440 length=175ms;\
  197. \n:delay 200ms;\
  198. \n:delay 400ms;\
  199. \n:beep frequency=330 length=175ms;\
  200. \n:delay 200ms;\
  201. \n:beep frequency=330 length=175ms;\
  202. \n:delay 200ms;\
  203. \n:delay 400ms;\
  204. \n:beep frequency=370 length=175ms;\
  205. \n:delay 200ms;\
  206. \n:beep frequency=370 length=175ms;\
  207. \n:delay 200ms;\
  208. \n:delay 1200ms;\
  209. \n:beep frequency=587 length=175ms;\
  210. \n:delay 200ms;\
  211. \n:beep frequency=587 length=175ms;\
  212. \n:delay 200ms;\
  213. \n:delay 400ms;\
  214. \n:beep frequency=330 length=175ms;\
  215. \n:delay 200ms;\
  216. \n:beep frequency=330 length=175ms;\
  217. \n:delay 200ms;\
  218. \n:delay 400ms;\
  219. \n:beep frequency=370 length=175ms;\
  220. \n:delay 200ms;\
  221. \n:beep frequency=370 length=175ms;\
  222. \n:delay 200ms;\
  223. \n:beep frequency=554 length=175ms;\
  224. \n:delay 200ms;\
  225. \n:beep frequency=370 length=175ms;\
  226. \n:delay 200ms;\
  227. \n:beep frequency=587 length=175ms;\
  228. \n:delay 200ms;\
  229. \n:beep frequency=370 length=175ms;\
  230. \n:delay 200ms;\
  231. \n:beep frequency=554 length=175ms;\
  232. \n:delay 200ms;\
  233. \n:beep frequency=370 length=175ms;\
  234. \n:delay 200ms;\
  235. \n:beep frequency=494 length=175ms;\
  236. \n:delay 200ms;\
  237. \n:beep frequency=440 length=175ms;\
  238. \n:delay 200ms;\
  239. \n:beep frequency=415 length=175ms;\
  240. \n:delay 200ms;\
  241. \n:beep frequency=440 length=175ms;\
  242. \n:delay 200ms;\
  243. \n:beep frequency=494 length=175ms;\
  244. \n:delay 200ms;\
  245. \n:beep frequency=440 length=175ms;\
  246. \n:delay 200ms;\
  247. \n:beep frequency=415 length=175ms;\
  248. \n:delay 200ms;\
  249. \n:beep frequency=330 length=175ms;\
  250. \n:delay 200ms;\
  251. \n:beep frequency=370 length=175ms;\
  252. \n:delay 200ms;\
  253. \n:beep frequency=370 length=175ms;\
  254. \n:delay 200ms;\
  255. \n:beep frequency=554 length=175ms;\
  256. \n:delay 200ms;\
  257. \n:beep frequency=370 length=175ms;\
  258. \n:delay 200ms;\
  259. \n:beep frequency=587 length=175ms;\
  260. \n:delay 200ms;\
  261. \n:beep frequency=370 length=175ms;\
  262. \n:delay 200ms;\
  263. \n:beep frequency=554 length=175ms;\
  264. \n:delay 200ms;\
  265. \n:beep frequency=370 length=175ms;\
  266. \n:delay 200ms;\
  267. \n:beep frequency=494 length=175ms;\
  268. \n:delay 200ms;\
  269. \n:beep frequency=440 length=175ms;\
  270. \n:delay 200ms;\
  271. \n:beep frequency=415 length=175ms;\
  272. \n:delay 200ms;\
  273. \n:beep frequency=440 length=175ms;\
  274. \n:delay 200ms;\
  275. \n:beep frequency=494 length=175ms;\
  276. \n:delay 200ms;\
  277. \n:beep frequency=440 length=175ms;\
  278. \n:delay 200ms;\
  279. \n:beep frequency=415 length=175ms;\
  280. \n:delay 200ms;\
  281. \n:beep frequency=330 length=175ms;\
  282. \n:delay 200ms;\
  283. \n:beep frequency=370 length=175ms;\
  284. \n:delay 200ms;\
  285. \n:beep frequency=370 length=175ms;\
  286. \n:delay 200ms;\
  287. \n:beep frequency=554 length=175ms;\
  288. \n:delay 200ms;\
  289. \n:beep frequency=370 length=175ms;\
  290. \n:delay 200ms;\
  291. \n:beep frequency=587 length=175ms;\
  292. \n:delay 200ms;\
  293. \n:beep frequency=370 length=175ms;\
  294. \n:delay 200ms;\
  295. \n:beep frequency=554 length=175ms;\
  296. \n:delay 200ms;\
  297. \n:beep frequency=370 length=175ms;\
  298. \n:delay 200ms;\
  299. \n:beep frequency=494 length=175ms;\
  300. \n:delay 200ms;\
  301. \n:beep frequency=440 length=175ms;\
  302. \n:delay 200ms;\
  303. \n:beep frequency=415 length=175ms;\
  304. \n:delay 200ms;\
  305. \n:beep frequency=440 length=175ms;\
  306. \n:delay 200ms;\
  307. \n:beep frequency=494 length=175ms;\
  308. \n:delay 200ms;\
  309. \n:beep frequency=440 length=175ms;\
  310. \n:delay 200ms;\
  311. \n:beep frequency=415 length=175ms;\
  312. \n:delay 200ms;\
  313. \n:beep frequency=330 length=175ms;\
  314. \n:delay 200ms;\
  315. \n:beep frequency=370 length=175ms;\
  316. \n:delay 200ms;\
  317. \n:beep frequency=370 length=175ms;\
  318. \n:delay 200ms;\
  319. \n:beep frequency=554 length=175ms;\
  320. \n:delay 200ms;\
  321. \n:beep frequency=370 length=175ms;\
  322. \n:delay 200ms;\
  323. \n:beep frequency=587 length=175ms;\
  324. \n:delay 200ms;\
  325. \n:beep frequency=370 length=175ms;\
  326. \n:delay 200ms;\
  327. \n:beep frequency=554 length=175ms;\
  328. \n:delay 200ms;\
  329. \n:beep frequency=494 length=175ms;\
  330. \n:delay 200ms;\
  331. \n:beep frequency=587 length=775ms;\
  332. \n:delay 800ms;\
  333. \n:beep frequency=330 length=775ms;\
  334. \n:delay 800ms;"
  335. /system routerboard settings set silent-boot=no