fSoundOpenAL.dfm 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. object Form1: TForm1
  2. Left = 209
  3. Top = 92
  4. Margins.Left = 5
  5. Margins.Top = 5
  6. Margins.Right = 5
  7. Margins.Bottom = 5
  8. Caption = 'Sound OpenAL'
  9. ClientHeight = 712
  10. ClientWidth = 1131
  11. Color = clBtnFace
  12. Font.Charset = DEFAULT_CHARSET
  13. Font.Color = clWindowText
  14. Font.Height = -19
  15. Font.Name = 'MS Sans Serif'
  16. Font.Style = []
  17. OnCreate = FormCreate
  18. PixelsPerInch = 168
  19. TextHeight = 24
  20. object GLSceneViewer: TGLSceneViewer
  21. Left = 0
  22. Top = 116
  23. Width = 1131
  24. Height = 549
  25. Margins.Left = 5
  26. Margins.Top = 5
  27. Margins.Right = 5
  28. Margins.Bottom = 5
  29. Camera = GLCamera1
  30. Buffer.BackgroundColor = clBlack
  31. Buffer.AntiAliasing = aaNone
  32. FieldOfView = 159.353576660156300000
  33. PenAsTouch = False
  34. Align = alClient
  35. TabOrder = 0
  36. end
  37. object TrackBar: TTrackBar
  38. Left = 0
  39. Top = 665
  40. Width = 1131
  41. Height = 47
  42. Margins.Left = 5
  43. Margins.Top = 5
  44. Margins.Right = 5
  45. Margins.Bottom = 5
  46. Align = alBottom
  47. Max = 180
  48. Min = -180
  49. PageSize = 45
  50. Frequency = 45
  51. TabOrder = 1
  52. ThumbLength = 18
  53. TickMarks = tmBoth
  54. OnChange = TrackBarChange
  55. end
  56. object TrackBar1: TTrackBar
  57. Left = 0
  58. Top = 58
  59. Width = 1131
  60. Height = 58
  61. Margins.Left = 5
  62. Margins.Top = 5
  63. Margins.Right = 5
  64. Margins.Bottom = 5
  65. Align = alTop
  66. Max = 50
  67. Min = -50
  68. PageSize = 45
  69. Frequency = 10
  70. TabOrder = 2
  71. ThumbLength = 18
  72. TickMarks = tmBoth
  73. OnChange = TrackBar1Change
  74. end
  75. object Panel1: TPanel
  76. Left = 0
  77. Top = 0
  78. Width = 1131
  79. Height = 58
  80. Margins.Left = 5
  81. Margins.Top = 5
  82. Margins.Right = 5
  83. Margins.Bottom = 5
  84. Align = alTop
  85. BevelOuter = bvNone
  86. TabOrder = 3
  87. DesignSize = (
  88. 1131
  89. 58)
  90. object LabelFPS: TLabel
  91. Left = 14
  92. Top = 25
  93. Width = 36
  94. Height = 24
  95. Margins.Left = 5
  96. Margins.Top = 5
  97. Margins.Right = 5
  98. Margins.Bottom = 5
  99. Caption = 'FPS'
  100. end
  101. object btnChimes: TButton
  102. Left = 957
  103. Top = 5
  104. Width = 146
  105. Height = 44
  106. Margins.Left = 5
  107. Margins.Top = 5
  108. Margins.Right = 5
  109. Margins.Bottom = 5
  110. Anchors = [akTop, akRight]
  111. Caption = 'Chimes (WAV)'
  112. TabOrder = 0
  113. OnClick = btnChimesClick
  114. end
  115. object btnHowl: TButton
  116. Left = 802
  117. Top = 5
  118. Width = 145
  119. Height = 44
  120. Margins.Left = 5
  121. Margins.Top = 5
  122. Margins.Right = 5
  123. Margins.Bottom = 5
  124. Anchors = [akTop, akRight]
  125. Caption = 'Howl (MP3)'
  126. TabOrder = 1
  127. OnClick = btnHowlClick
  128. end
  129. end
  130. object GLSMOpenAL: TGLSMOpenAL
  131. Active = True
  132. MaxChannels = 32
  133. MasterVolume = 1.000000000000000000
  134. Listener = Mickey
  135. Sources = <>
  136. Cadencer = GLCadencer1
  137. Environment = seAuditorium
  138. Left = 280
  139. Top = 72
  140. end
  141. object GLSoundLibrary: TGLSoundLibrary
  142. Samples = <>
  143. Left = 192
  144. Top = 72
  145. end
  146. object GLScene: TGLScene
  147. Left = 24
  148. Top = 72
  149. object DummyCube: TGLDummyCube
  150. CubeSize = 1.000000000000000000
  151. object Torus1: TGLTorus
  152. Material.FrontProperties.Diffuse.Color = {00000000000000000000803F0000803F}
  153. Material.FrontProperties.Emission.Color = {000000008180803E8180003F0000803F}
  154. Direction.Coordinates = {000000000000803F2EBD3BB300000000}
  155. Position.Coordinates = {00000000000000BF000000000000803F}
  156. Scale.Coordinates = {0000803F0000803F0000003F00000000}
  157. Up.Coordinates = {000000002EBD3BB3000080BF00000000}
  158. MajorRadius = 5.000000000000000000
  159. MinorRadius = 0.100000001490116100
  160. Rings = 16
  161. Sides = 3
  162. StopAngle = 360.000000000000000000
  163. Parts = [toSides, toStartDisk, toStopDisk]
  164. end
  165. object Mickey: TGLSphere
  166. Position.Coordinates = {000000000000003F000000000000803F}
  167. Radius = 0.500000000000000000
  168. Slices = 9
  169. Stacks = 9
  170. BehavioursData = {
  171. 0458434F4C02010201061054474C42536F756E64456D69747465720200060D53
  172. 6F756E6420456D69747465720200020002000200050000000000000080FF3F05
  173. 0000000000000080FF3F0500000000000000C805400500000000000000B40740
  174. 0500000000000000B407400500000000000000000000060E474C536F756E644C
  175. 69627261727912000000000808020109}
  176. object Sphere2: TGLSphere
  177. Position.Coordinates = {CDCCCC3ECDCC4C3E000000000000803F}
  178. Radius = 0.300000011920929000
  179. Slices = 6
  180. Stacks = 6
  181. end
  182. object Sphere3: TGLSphere
  183. Position.Coordinates = {CDCCCCBECDCC4C3E000000000000803F}
  184. Radius = 0.300000011920929000
  185. Slices = 6
  186. Stacks = 6
  187. end
  188. object Cone1: TGLCone
  189. Direction.Coordinates = {2EF964BF2EF9E43E0000000000000000}
  190. Position.Coordinates = {00000000000000000000003F0000803F}
  191. Up.Coordinates = {00000000000000000000803F00000000}
  192. BottomRadius = 0.300000011920929000
  193. Height = 0.500000000000000000
  194. Slices = 8
  195. Stacks = 2
  196. Parts = [coSides]
  197. end
  198. end
  199. object Plane1: TGLPlane
  200. Direction.Coordinates = {000000000000803F2EBD3BB300000000}
  201. Position.Coordinates = {00000000000000BF000000000000803F}
  202. Up.Coordinates = {000000002EBD3BB3000080BF00000000}
  203. Height = 10.000000000000000000
  204. Width = 0.500000000000000000
  205. end
  206. end
  207. object SphereSound: TGLSphere
  208. Material.FrontProperties.Diffuse.Color = {0000803F00000000000000000000803F}
  209. Material.FrontProperties.Emission.Color = {8180003F00000000000000000000803F}
  210. Position.Coordinates = {000000400000003F000000000000803F}
  211. OnProgress = SphereSoundProgress
  212. Radius = 0.500000000000000000
  213. Slices = 9
  214. Stacks = 9
  215. BehavioursData = {
  216. 0458434F4C02010201061054474C42536F756E64456D69747465720200120000
  217. 00000200020002000200050000000000000080FF3F050000000000000080FF3F
  218. 0500000000000000C805400500000000000000B407400500000000000000B407
  219. 400500000000000000000000060E474C536F756E644C696272617279060C6472
  220. 756D6C6F6F702E7761760808020309}
  221. object Disk1: TGLDisk
  222. Direction.Coordinates = {000000000000803F2EBD3BB300000000}
  223. Position.Coordinates = {00000000000080BF000000000000803F}
  224. Up.Coordinates = {000000002EBD3BB3000080BF00000000}
  225. OuterRadius = 0.500000000000000000
  226. Slices = 12
  227. SweepAngle = 360.000000000000000000
  228. end
  229. end
  230. object GLLightSource: TGLLightSource
  231. ConstAttenuation = 1.000000000000000000
  232. Position.Coordinates = {0000204100002041000020410000803F}
  233. SpotCutOff = 180.000000000000000000
  234. end
  235. object GLCamera1: TGLCamera
  236. DepthOfView = 100.000000000000000000
  237. FocalLength = 50.000000000000000000
  238. TargetObject = Plane1
  239. Position.Coordinates = {000000400000A040000020410000803F}
  240. Left = 256
  241. Top = 160
  242. end
  243. end
  244. object GLCadencer1: TGLCadencer
  245. Scene = GLScene
  246. SleepLength = 1
  247. Left = 96
  248. Top = 72
  249. end
  250. object Timer: TTimer
  251. OnTimer = TimerTimer
  252. Left = 486
  253. Top = 80
  254. end
  255. end