Advertisement
here2share

# midi.py <<< *module

May 19th, 2015
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.67 KB | None | 0 0
  1. # midi.py <<< *module
  2.  
  3. ### Acceptable for Python ###
  4.  
  5. d1 = 38.89
  6. E1 = 41.2
  7. F1 = 43.65
  8. f1 = 46.25
  9. G1 = 49
  10. g1 = 51.91
  11. A1 = 55
  12. a1 = 58.27
  13. B1 = 61.74
  14. C2 = 65.41
  15. c2 = 69.3
  16. D2 = 73.42
  17. d2 = 77.78
  18. E2 = 82.41
  19. F2 = 87.31
  20. f2 = 92.5
  21. G2 = 98
  22. g2 = 103.83
  23. A2 = 110
  24. a2 = 116.54
  25. B2 = 123.47
  26. C3 = 130.81
  27. c3 = 138.59
  28. D3 = 146.83
  29. d3 = 155.56
  30. E3 = 164.81
  31. F3 = 174.61
  32. f3 = 185
  33. G3 = 196
  34. g3 = 207.65
  35. A3 = 220
  36. a3 = 233.08
  37. B3 = 246.94
  38. C4 = 261.63
  39. c4 = 277.18
  40. D4 = 293.66
  41. d4 = 311.13
  42. E4 = 329.63
  43. F4 = 349.23
  44. f4 = 369.99
  45. G4 = 392
  46. g4 = 415.3
  47. A4 = 440
  48. a4 = 466.16
  49. B4 = 493.88
  50. C5 = 523.25
  51. c5 = 554.37
  52. D5 = 587.33
  53. d5 = 622.25
  54. E5 = 659.25
  55. F5 = 698.46
  56. f5 = 739.99
  57. G5 = 783.99
  58. g5 = 830.61
  59. A5 = 880
  60. a5 = 932.33
  61. B5 = 987.77
  62. C6 = 1046.5
  63. c6 = 1108.73
  64. D6 = 1174.66
  65. d6 = 1244.51
  66. E6 = 1318.51
  67. F6 = 1396.91
  68. f6 = 1479.98
  69. G6 = 1567.98
  70. g6 = 1661.22
  71. A6 = 1760
  72. a6 = 1864.66
  73. B6 = 1975.53
  74. C7 = 2093
  75. c7 = 2217.46
  76. D7 = 2349.32
  77. d7 = 2489.02
  78. E7 = 2637.02
  79. F7 = 2793.83
  80. f7 = 2959.96
  81. G7 = 3135.96
  82. g7 = 3322.44
  83. A7 = 3520
  84. a7 = 3729.31
  85. B7 = 3951.07
  86. C8 = 4186.01
  87. c8 = 4434.92
  88. D8 = 4698.63
  89. d8 = 4978.03
  90. E8 = 5274.04
  91. F8 = 5587.65
  92. f8 = 5919.91
  93. G8 = 6271.93
  94. g8 = 6644.88
  95. A8 = 7040
  96. a8 = 7458.62
  97. B8 = 7902.13
  98.  
  99.  
  100.  
  101. ### NOT acceptable for Python ###
  102.  
  103. C = 16.35
  104. c0 = 17.32
  105. D0 = 18.35
  106. d0 = 19.45
  107. E0 = 20.6
  108. F0 = 21.83
  109. f0 = 23.12
  110. G0 = 24.5
  111. g0 = 25.96
  112. A0 = 27.5
  113. a0 = 29.14
  114. B0 = 30.87
  115. C1 = 32.7
  116. c1 = 34.65
  117. D1 = 36.71
  118.  
  119.  
  120. ### OR... ###
  121.  
  122. HzRef=('C0',16.35,'c0',17.32,'D0',18.35,'d0',19.45,'E0',20.6,'F0',21.83,'f0',23.12,'G0',24.5,'g0',25.96,'A0',27.5,'a0',29.14,'B0',30.87,'C1',32.7,'c1',34.65,'D1',36.71,'d1',38.89,'E1',41.2,'F1',43.65,'f1',46.25,'G1',49,'g1',51.91,'A1',55,'a1',58.27,'B1',61.74,'C2',65.41,'c2',69.3,'D2',73.42,'d2',77.78,'E2',82.41,'F2',87.31,'f2',92.5,'G2',98,'g2',103.83,'A2',110,'a2',116.54,'B2',123.47,'C3',130.81,'c3',138.59,'D3',146.83,'d3',155.56,'E3',164.81,'F3',174.61,'f3',185,'G3',196,'g3',207.65,'A3',220,'a3',233.08,'B3',246.94,'C4',261.63,'c4',277.18,'D4',293.66,'d4',311.13,'E4',329.63,'F4',349.23,'f4',369.99,'G4',392,'g4',415.3,'A4',440,'a4',466.16,'B4',493.88,'C5',523.25,'c5',554.37,'D5',587.33,'d5',622.25,'E5',659.25,'F5',698.46,'f5',739.99,'G5',783.99,'g5',830.61,'A5',880,'a5',932.33,'B5',987.77,'C6',1046.5,'c6',1108.73,'D6',1174.66,'d6',1244.51,'E6',1318.51,'F6',1396.91,'f6',1479.98,'G6',1567.98,'g6',1661.22,'A6',1760,'a6',1864.66,'B6',1975.53,'C7',2093,'c7',2217.46,'D7',2349.32,'d7',2489.02,'E7',2637.02,'F7',2793.83,'f7',2959.96,'G7',3135.96,'g7',3322.44,'A7',3520,'a7',3729.31,'B7',3951.07,'C8',4186.01,'c8',4434.92,'D8',4698.63,'d8',4978.03,'E8',5274.04,'F8',5587.65,'f8',5919.91,'G8',6271.93,'g8',6644.88,'A8',7040,'a8',7458.62,'B8',7902.13)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement