Advertisement
TempoQuill

obstacle.asm

Dec 23rd, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.96 KB | None | 0 0
  1. Music_Obstacle:
  2. channel_count 4
  3. channel 1, Music_Obstacle_Ch1
  4. channel 2, Music_Obstacle_Ch2
  5. channel 3, Music_Obstacle_Ch3
  6. channel 4, Music_Obstacle_Ch4
  7.  
  8. Music_Obstacle_Ch1:
  9. tempo 112
  10. volume 7, 7
  11. .mainloop:
  12. stereo_panning TRUE, FALSE
  13. pitch_offset 2
  14. duty_cycle 3
  15. vibrato 11, 3, 3
  16. note_type 12, 9, 6
  17. octave 3
  18. note D#, 6
  19. volume_envelope 11, 1
  20. note D#, 1
  21. note D#, 1
  22. volume_envelope 9, 5
  23. note D_, 6
  24. volume_envelope 11, 1
  25. note D_, 1
  26. note D_, 1
  27. volume_envelope 9, 2
  28. note C_, 2
  29. volume_envelope 11, 1
  30. .loop1:
  31. note G#, 1
  32. note G#, 1
  33. note G#, 2
  34. sound_loop 3, .loop1
  35. note G#, 1
  36. note G#, 1
  37. rest 16
  38. rest 16
  39. rest 16
  40. rest 16
  41. rest 16
  42. rest 16
  43. sound_call .sub1
  44. octave 4
  45. note C_, 2
  46. note C#, 2
  47. note D#, 2
  48. note G#, 2
  49. octave 3
  50. note F#, 1
  51. rest 16
  52. rest 16
  53. rest 16
  54. rest 16
  55. rest 3
  56. stereo_panning FALSE, TRUE
  57. duty_cycle 2
  58. volume_envelope 10, 7
  59. octave 2
  60. note G#, 8
  61. note A#, 4
  62. octave 3
  63. note C_, 4
  64. note C#, 4
  65. note F_, 4
  66. note A#, 8
  67. stereo_panning TRUE, FALSE
  68. sound_call .sub1
  69. note G_, 2
  70. note A#, 2
  71. note C_, 4
  72. octave 4
  73. note C_, 4
  74. stereo_panning FALSE, TRUE
  75. duty_cycle 2
  76. volume_envelope 10, 6
  77. sound_call .sub2
  78. note G#, 8
  79. note G#, 4
  80. octave 4
  81. note C_, 4
  82. rest 2
  83. note C#, 2
  84. rest 2
  85. octave 3
  86. note D#, 2
  87. note F_, 2
  88. note D#, 2
  89. note C#, 2
  90. note C_, 2
  91. sound_call .sub2
  92. note G_, 8
  93. note G#, 4
  94. octave 4
  95. note G#, 8
  96. note G#, 4
  97. note C#, 4
  98. volume_envelope 13, 1
  99. octave 1
  100. note C#, 4
  101. sound_jump .mainloop
  102.  
  103. .sub1:
  104. rest 2
  105. duty_cycle 1
  106. volume_envelope 8, 0
  107. note D#, 2
  108. note F_, 2
  109. note G_, 2
  110. note G#, 10
  111. note A#, 2
  112. sound_ret
  113.  
  114. .sub2:
  115. octave 3
  116. note F#, 10
  117. note C_, 2
  118. note F#, 2
  119. note A#, 2
  120. note G#, 10
  121. note C#, 2
  122. note F_, 2
  123. note A#, 2
  124. sound_ret
  125.  
  126. Music_Obstacle_Ch2:
  127. stereo_panning FALSE, TRUE
  128. pitch_offset 1
  129. duty_cycle 3
  130. vibrato 6, 5, 4
  131. note_type 6, 11, 5
  132. octave 3
  133. note C_, 12
  134. volume_envelope 13, 1
  135. note C_, 2
  136. note C_, 2
  137. volume_envelope 11, 5
  138. octave 2
  139. note B_, 12
  140. volume_envelope 13, 1
  141. note B_, 2
  142. note B_, 2
  143. volume_envelope 11, 2
  144. octave 3
  145. note D#, 4
  146. volume_envelope 13, 1
  147. .loop1:
  148. octave 2
  149. note G#, 2
  150. note G#, 2
  151. note G#, 4
  152. sound_loop 3, .loop1
  153. note G#, 2
  154. note G#, 2
  155. volume_envelope 13, 2
  156. .loop2:
  157. sound_call .sub1
  158. sound_call .sub3
  159. sound_loop 3, .loop2
  160. .loop3:
  161. sound_call .sub4
  162. sound_call .sub6
  163. sound_loop 3, .loop3
  164. sound_call .sub7
  165. sound_call .sub5
  166. sound_call .sub6
  167. sound_call .sub1
  168. sound_call .sub3
  169. sound_call .sub1
  170. sound_call .sub3
  171. sound_call .sub1
  172. sound_call .sub7
  173. sound_call .sub2
  174. sound_call .sub8
  175. sound_call .sub10
  176. sound_call .sub9
  177. .loop4:
  178. sound_call .sub1
  179. sound_call .sub3
  180. sound_loop 3, .loop4
  181. .loop5:
  182. sound_call .sub4
  183. sound_call .sub6
  184. sound_loop 3, .loop5
  185. sound_call .sub7
  186. sound_call .sub5
  187. sound_call .sub6
  188. sound_call .sub1
  189. sound_call .sub3
  190. sound_call .sub1
  191. sound_call .sub3
  192. sound_call .sub1
  193. sound_call .sub7
  194. sound_call .sub2
  195. sound_call .sub8
  196. sound_call .sub10
  197. duty_cycle 2
  198. stereo_panning TRUE, TRUE
  199. octave 1
  200. note G#, 8
  201. note G#, 8
  202. sound_call .sub11
  203. vibrato 6, 5, 4
  204. volume_envelope 13, 2
  205. octave 1
  206. note G#, 8
  207. note G#, 8
  208. note A#, 8
  209. octave 2
  210. note C_, 8
  211. note C#, 8
  212. note C_, 8
  213. octave 1
  214. note A#, 8
  215. note G#, 8
  216. sound_call .sub11
  217. duty_cycle 3
  218. volume_envelope 13, 1
  219. octave 4
  220. note C#, 4
  221. note D#, 4
  222. note E_, 8
  223. note F_, 4
  224. octave 3
  225. note F_, 2
  226. note F#, 2
  227. note G#, 2
  228. note A#, 2
  229. octave 4
  230. note C_, 2
  231. note C#, 2
  232. note D#, 2
  233. note F_, 2
  234. note F#, 2
  235. note G#, 2
  236. note A_, 2
  237. note A#, 2
  238. note B_, 2
  239. octave 5
  240. note C_, 2
  241. note C#, 8
  242. octave 4
  243. note C#, 8
  244. sound_jump Music_Obstacle_Ch2
  245.  
  246. .sub1:
  247. duty_cycle 2
  248. stereo_panning TRUE, TRUE
  249. octave 2
  250. note C#, 4
  251. .sub2:
  252. duty_cycle 3
  253. stereo_panning FALSE, TRUE
  254. octave 4
  255. note C#, 1
  256. note F_, 1
  257. rest 2
  258. sound_ret
  259.  
  260. .sub3:
  261. duty_cycle 2
  262. stereo_panning TRUE, TRUE
  263. octave 1
  264. note G#, 4
  265. sound_jump .sub2
  266.  
  267. .sub4:
  268. duty_cycle 2
  269. stereo_panning TRUE, TRUE
  270. octave 2
  271. note D#, 4
  272. .sub5:
  273. duty_cycle 3
  274. stereo_panning FALSE, TRUE
  275. octave 4
  276. note C_, 1
  277. note F#, 1
  278. rest 2
  279. sound_ret
  280.  
  281. .sub6:
  282. duty_cycle 2
  283. stereo_panning TRUE, TRUE
  284. octave 1
  285. note G#, 4
  286. sound_jump .sub5
  287.  
  288. .sub7:
  289. duty_cycle 2
  290. stereo_panning TRUE, TRUE
  291. octave 2
  292. note C_, 4
  293. sound_ret
  294.  
  295. .sub8:
  296. duty_cycle 2
  297. stereo_panning TRUE, TRUE
  298. octave 1
  299. note A#, 4
  300. duty_cycle 3
  301. stereo_panning FALSE, TRUE
  302. octave 3
  303. note A#, 1
  304. octave 4
  305. note C#, 1
  306. rest 2
  307. duty_cycle 2
  308. stereo_panning TRUE, TRUE
  309. octave 1
  310. note F_, 4
  311. duty_cycle 3
  312. stereo_panning FALSE, TRUE
  313. octave 3
  314. note A#, 1
  315. octave 4
  316. note C#, 1
  317. rest 2
  318. sound_loop 2, .sub8
  319. duty_cycle 2
  320. stereo_panning TRUE, TRUE
  321. octave 1
  322. note D#, 4
  323. duty_cycle 3
  324. stereo_panning FALSE, TRUE
  325. octave 3
  326. note G_, 1
  327. octave 4
  328. note C#, 1
  329. rest 2
  330. duty_cycle 2
  331. stereo_panning TRUE, TRUE
  332. octave 1
  333. note G_, 4
  334. duty_cycle 3
  335. stereo_panning FALSE, TRUE
  336. octave 3
  337. note G_, 1
  338. octave 4
  339. note C#, 1
  340. rest 2
  341. .sub9:
  342. duty_cycle 2
  343. stereo_panning TRUE, TRUE
  344. octave 1
  345. note G#, 4
  346. duty_cycle 3
  347. stereo_panning FALSE, TRUE
  348. octave 3
  349. note G#, 1
  350. octave 4
  351. note C_, 1
  352. rest 2
  353. sound_loop 2, .sub9
  354. sound_ret
  355.  
  356. .sub10:
  357. duty_cycle 2
  358. stereo_panning TRUE, TRUE
  359. octave 1
  360. note A#, 4
  361. duty_cycle 3
  362. stereo_panning FALSE, TRUE
  363. octave 3
  364. note G_, 1
  365. octave 4
  366. note C#, 1
  367. rest 2
  368. duty_cycle 2
  369. stereo_panning TRUE, TRUE
  370. octave 1
  371. note D#, 4
  372. duty_cycle 3
  373. stereo_panning FALSE, TRUE
  374. octave 3
  375. note G_, 1
  376. octave 4
  377. note C#, 1
  378. rest 2
  379. sound_ret
  380.  
  381. .sub11:
  382. duty_cycle 3
  383. vibrato 6, 3, 4
  384. volume_envelope 14, 2
  385. octave 4
  386. note C_, 8
  387. note C_, 8
  388. note C_, 4
  389. stereo_panning TRUE, FALSE
  390. duty_cycle 2
  391. volume_envelope 12, 1
  392. note G#, 2
  393. note A#, 2
  394. octave 5
  395. note C_, 2
  396. octave 4
  397. note A#, 2
  398. note G#, 4
  399. stereo_panning TRUE, TRUE
  400. duty_cycle 3
  401. volume_envelope 14, 2
  402. note C#, 8
  403. note C#, 8
  404. note C#, 4
  405. stereo_panning TRUE, FALSE
  406. duty_cycle 2
  407. volume_envelope 12, 1
  408. octave 5
  409. note C#, 2
  410. note D#, 2
  411. note F_, 2
  412. note D#, 2
  413. note C#, 4
  414. stereo_panning TRUE, TRUE
  415. sound_ret
  416.  
  417. Music_Obstacle_Ch3:
  418. stereo_panning TRUE, TRUE
  419. note_type 6, 1, 5
  420. octave 2
  421. note G#, 15
  422. rest 1
  423. note G#, 15
  424. rest 1
  425. note G#, 7
  426. rest 1
  427. note G#, 7
  428. rest 1
  429. note G#, 7
  430. rest 1
  431. note G#, 4
  432. note_type 12, 1, 4
  433. sound_call .sub1
  434. sound_call .sub2
  435. sound_call .sub1
  436. sound_call .sub3
  437. note G#, 1
  438. note G_, 1
  439. note D#, 1
  440. note F_, 1
  441. note G_, 1
  442. note G#, 2
  443. rest 4
  444. sound_call .sub1
  445. sound_call .sub2
  446. sound_call .sub1
  447. sound_call .sub3
  448. octave 5
  449. note C_, 1
  450. note C#, 1
  451. note D#, 1
  452. note F_, 1
  453. note G_, 1
  454. note G#, 2
  455. note_type 8, 1, 4
  456. note F#, 1
  457. note D#, 1
  458. note C_, 1
  459. octave 4
  460. note G#, 6
  461. sound_call .sub4
  462. volume_envelope 1, 4
  463. octave 5
  464. note C_, 4
  465. volume_envelope 2, 4
  466. note C_, 4
  467. volume_envelope 1, 4
  468. note C_, 6
  469. octave 4
  470. note G#, 2
  471. note A#, 4
  472. note G#, 4
  473. note G#, 4
  474. note F#, 4
  475. note F_, 4
  476. note F#, 4
  477. note G_, 4
  478. note G#, 4
  479. note A#, 4
  480. note G#, 4
  481. note A#, 4
  482. note B_, 4
  483. sound_call .sub4
  484. note G_, 7
  485. rest 1
  486. note G_, 7
  487. rest 1
  488. note G#, 7
  489. rest 1
  490. octave 3
  491. note G#, 7
  492. rest 1
  493. note G#, 7
  494. rest 1
  495. note G#, 7
  496. rest 1
  497. note C#, 7
  498. rest 1
  499. note C#, 7
  500. rest 1
  501. sound_jump Music_Obstacle_Ch3
  502.  
  503. .sub1:
  504. octave 5
  505. note F_, 1
  506. note E_, 1
  507. note F_, 1
  508. rest 1
  509. note C#, 1
  510. note C_, 1
  511. note C#, 1
  512. rest 1
  513. octave 4
  514. note G#, 1
  515. note G_, 1
  516. note G#, 1
  517. rest 1
  518. note F_, 1
  519. note E_, 1
  520. note F_, 1
  521. rest 1
  522. sound_ret
  523.  
  524. .sub2:
  525. note C#, 1
  526. note D#, 1
  527. note F_, 1
  528. note F#, 1
  529. note G#, 1
  530. note A#, 1
  531. octave 5
  532. note C_, 1
  533. note C#, 1
  534. note D#, 1
  535. note F_, 1
  536. note F#, 1
  537. rest 1
  538. note C_, 1
  539. rest 1
  540. stereo_panning TRUE, FALSE
  541. volume_envelope 1, 7
  542. octave 2
  543. note G#, 2
  544. stereo_panning TRUE, TRUE
  545. volume_envelope 1, 4
  546. octave 5
  547. note F#, 1
  548. note F_, 1
  549. note F#, 1
  550. rest 1
  551. note D#, 1
  552. note D_, 1
  553. note D#, 1
  554. rest 1
  555. note C_, 1
  556. octave 4
  557. note B_, 1
  558. octave 5
  559. note C_, 1
  560. rest 1
  561. octave 4
  562. note G#, 1
  563. note G_, 1
  564. note G#, 1
  565. rest 1
  566. octave 5
  567. note G#, 1
  568. note A#, 1
  569. note G#, 1
  570. note F#, 1
  571. note F_, 1
  572. note D#, 1
  573. note C#, 1
  574. note C_, 1
  575. octave 4
  576. note A#, 1
  577. octave 5
  578. note C_, 1
  579. note C#, 1
  580. rest 1
  581. octave 4
  582. note G#, 1
  583. rest 3
  584. sound_ret
  585.  
  586. .sub3:
  587. note G_, 1
  588. note A_, 1
  589. note A#, 1
  590. note A_, 1
  591. note A#, 1
  592. octave 5
  593. note C_, 1
  594. note C#, 1
  595. note C_, 1
  596. note C#, 1
  597. note D#, 1
  598. note F_, 1
  599. rest 1
  600. octave 4
  601. note A#, 1
  602. rest 3
  603. octave 5
  604. note F_, 1
  605. note D_, 1
  606. note D#, 1
  607. note F_, 1
  608. note D#, 1
  609. note C#, 1
  610. note C_, 1
  611. note C#, 1
  612. note C_, 1
  613. octave 4
  614. note A#, 1
  615. note G#, 1
  616. note A#, 1
  617. octave 5
  618. note C_, 1
  619. note C#, 1
  620. note D#, 1
  621. note F_, 1
  622. note G_, 1
  623. note G#, 1
  624. octave 4
  625. note G_, 1
  626. note G#, 1
  627. note A#, 1
  628. sound_ret
  629.  
  630. .sub4:
  631. note_type 6, 1, 5
  632. octave 3
  633. note G#, 7
  634. rest 1
  635. note D#, 7
  636. rest 1
  637. note C_, 7
  638. rest 1
  639. octave 2
  640. note G#, 7
  641. rest 1
  642. octave 3
  643. note C#, 7
  644. rest 1
  645. octave 2
  646. note G#, 7
  647. rest 1
  648. note F_, 7
  649. rest 1
  650. note C#, 7
  651. rest 1
  652. sound_ret
  653.  
  654. Music_Obstacle_Ch4:
  655. stereo_panning TRUE, FALSE
  656. toggle_noise 5
  657. drum_speed 12
  658. .mainloop:
  659. drum_note 9, 8
  660. drum_note 9, 8
  661. drum_note 9, 4
  662. drum_note 9, 4
  663. drum_note 9, 4
  664. drum_note 9, 4
  665. sound_call .sub1
  666. sound_call .sub2
  667. sound_call .sub1
  668. sound_call .sub2
  669. sound_call .sub3
  670. drum_note 4, 2
  671. drum_note 9, 4
  672. drum_note 9, 4
  673. drum_note 9, 4
  674. drum_note 9, 4
  675. sound_call .sub3
  676. drum_note 4, 4
  677. drum_note 4, 4
  678. drum_note 4, 2
  679. drum_note 1, 2
  680. drum_note 1, 1
  681. drum_note 1, 1
  682. drum_note 9, 4
  683. sound_jump .mainloop
  684.  
  685. .sub1:
  686. drum_note 8, 2
  687. drum_note 8, 1
  688. drum_note 8, 1
  689. sound_loop 7, .sub1
  690. drum_note 9, 4
  691. sound_ret
  692.  
  693. .sub2:
  694. drum_note 8, 2
  695. drum_note 8, 1
  696. drum_note 8, 1
  697. sound_loop 16, .sub2
  698. sound_jump .sub1
  699.  
  700. .sub3:
  701. drum_note 9, 4
  702. drum_note 9, 4
  703. drum_note 9, 8
  704. drum_note 9, 4
  705. drum_note 9, 4
  706. drum_note 9, 10
  707. drum_note 4, 4
  708. drum_note 4, 4
  709. drum_note 4, 4
  710. sound_ret
  711.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement