Advertisement
wirawafiy1

Twinkle twinkle little star with the full melody kos mod

Apr 28th, 2024
554
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 1.28 KB | None | 0 0
  1. // kOS script to play "Twinkle, Twinkle, Little Star"
  2. SET C4 TO 261.63.
  3. SET D4 TO 293.66.
  4. SET E4 TO 329.63.
  5. SET F4 TO 349.23.
  6. SET G4 TO 392.00.
  7. SET A4 TO 440.00.
  8. SET B4 TO 493.88.
  9. LOCK THROTTLE TO 1.
  10. WAIT 1.
  11. // First line: Twinkle, twinkle
  12. PLAY NOTE C4 FOR 0.5.
  13. WAIT 0.1.
  14. PLAY NOTE C4 FOR 0.5.
  15. WAIT 0.1.
  16. PLAY NOTE G4 FOR 0.5.
  17. WAIT 0.1.
  18. PLAY NOTE G4 FOR 0.5.
  19. WAIT 0.1.
  20. PLAY NOTE A4 FOR 0.5.
  21. WAIT 0.1.
  22. PLAY NOTE A4 FOR 0.5.
  23. WAIT 0.1.
  24. PLAY NOTE G4 FOR 1.0.
  25. // Second line: Little star
  26. PLAY NOTE F4 FOR 0.5.
  27. WAIT 0.1.
  28. PLAY NOTE F4 FOR 0.5.
  29. WAIT 0.1.
  30. PLAY NOTE E4 FOR 0.5.
  31. WAIT 0.1.
  32. PLAY NOTE E4 FOR 0.5.
  33. WAIT 0.1.
  34. PLAY NOTE D4 FOR 0.5.
  35. WAIT 0.1.
  36. PLAY NOTE D4 FOR 0.5.
  37. WAIT 0.1.
  38. PLAY NOTE C4 FOR 1.0.
  39. // Third line: How I wonder
  40. PLAY NOTE G4 FOR 0.5.
  41. WAIT 0.1.
  42. PLAY NOTE G4 FOR 0.5.
  43. WAIT 0.1.
  44. PLAY NOTE F4 FOR 0.5.
  45. WAIT 0.1.
  46. PLAY NOTE F4 FOR 0.5.
  47. WAIT 0.1.
  48. PLAY NOTE E4 FOR 0.5.
  49. WAIT 0.1.
  50. PLAY NOTE E4 FOR 0.5.
  51. WAIT 0.1.
  52. PLAY NOTE D4 FOR 1.0.
  53. // Fourth line: Up above the world so high
  54. PLAY NOTE G4 FOR 0.5.
  55. WAIT 0.1.
  56. PLAY NOTE G4 FOR 0.5.
  57. WAIT 0.1.
  58. PLAY NOTE F4 FOR 0.5.
  59. WAIT 0.1.
  60. PLAY NOTE F4 FOR 0.5.
  61. WAIT 0.1.
  62. PLAY NOTE E4 FOR 0.5.
  63. WAIT 0.1.
  64. PLAY NOTE E4 FOR 0.5.
  65. WAIT 0.1.
  66. PLAY NOTE D4 FOR 1.0.
  67. // You can continue adding more lines or variations!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement