fSoundWaveout.dfm 6.7 KB

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