Advertisement
Guest User

asdfsadfas

a guest
Mar 12th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.96 KB | None | 0 0
  1. [Rainmeter]
  2. Update=20
  3. Author=Alice Farmer
  4. DynamicWindowSize=1
  5.  
  6.  
  7. [Metadata]
  8. Name=Mousewheel volume control for Windows Media Player
  9. License=None
  10. Version=1.0.0
  11.  
  12. [Variables]
  13. height=#SCREENAREAHEIGHT#
  14. width=#SCREENAREAWIDTH#
  15.  
  16. BorderSizeVert=66
  17. BorderSizeHorz=320
  18. BorderThickness=2
  19. BorderColor=0,8,4,200
  20.  
  21. FontBorder=0,64,60
  22. TitleWidth=[MeterTitle:W]-8
  23. BordTitleWidth=0
  24.  
  25. SoundInterpolation=20
  26.  
  27. ;////////;
  28. ;Measures;
  29. ;////////;
  30. [MeasureVolume]
  31. Measure=Plugin
  32. Plugin=NowPlaying
  33. PlayerName=WMP
  34. PlayerType=Volume
  35.  
  36.  
  37. [MeasureTitle]
  38. Measure=Plugin
  39. Plugin=NowPlaying
  40. PlayerName=WMP
  41. PlayerType=Title
  42.  
  43. [MeasureDuration]
  44. Measure=Plugin
  45. Plugin=NowPlaying
  46. PlayerName=WMP
  47. PlayerType=Duration
  48. DisableLeadingZero=1
  49.  
  50. [MeasurePosition]
  51. Measure=Plugin
  52. Plugin=NowPlaying
  53. PlayerName=WMP
  54. PlayerType=Position
  55. DisableLeadingZero=1
  56. Substitute="":" "
  57. ; Return value is 1 on error
  58. IfEqualValue=1
  59. IfEqualAction=[!UpdateMeasure "MeasureTitle"][!UpdateMeter "MeterTitle"][!RainmeterRedraw][!Refresh][!Update][!Redraw]
  60.  
  61. [MeasureAudio]
  62. Measure=Plugin
  63. Plugin=AudioLevel
  64. Port=Output
  65. RMSAttack=#SoundInterpolation#
  66. RMSDecay=#SoundInterpolation#
  67. RMSGain=25
  68. FFTSize=1024
  69. FFTOverlap=512
  70. FFTAttack=#SoundInterpolation#
  71. FFTDecay=#SoundInterpolation#
  72. PeakGain=5000
  73. PeakAttack=#SoundInterpolation#
  74. PeakDecay=#SoundInterpolation#
  75. Bands=1
  76. MinValue=0.0
  77. MaxValue=1.0
  78.  
  79. [MeasureSoundLevelFFT]
  80. Measure=Plugin
  81. Plugin=AudioLevel
  82. Parent=MeasureAudio
  83. Channel=Sum
  84. Type=FFT
  85. FFTIdx=96
  86.  
  87. [MeasureSoundLevelRMS]
  88. Measure=Plugin
  89. Plugin=AudioLevel
  90. Parent=MeasureAudio
  91. Channel=Sum
  92. Type=RMS
  93.  
  94.  
  95.  
  96. [CheckPlayer]
  97. Measure=Plugin
  98. Plugin=NowPlaying
  99. PlayerName=WMP
  100. PlayerType=State
  101. IfCondition=[CheckPlayer]
  102. IfTrueAction=[!ClickThrough 1][!ZPos -2]
  103. IfFalseAction=[!ClickThrough 0][!ZPos 2]
  104.  
  105.  
  106. ;//////////////;
  107. ;Main Structure;
  108. ;//////////////;
  109.  
  110. [TitleCalc]
  111. Measure=CALC
  112. Formula=#TitleWidth# >= #BorderSizeHorz#
  113. IfCondition=#TitleWidth# >= #BorderSizeHorz#
  114. IfTrueAction=!SetVariable BordTitleWidth [MeterTitle:W]
  115. IfFalseAction=!SetVariable BordTitleWidth #BorderSizeHorz#
  116. DynamicVariables=1
  117.  
  118. [MainBG]
  119. Meter=IMAGE
  120. X=0
  121. Y=30
  122. H=64
  123. W=#BordTitleWidth#
  124. DynamicVariables=1
  125. SolidColor=0,32,24,100;
  126. MouseScrollDownAction=[!CommandMeasure "MeasureVolume" "SetVolume -1"][!Redraw]
  127. MouseScrollUpAction=[!CommandMeasure "MeasureVolume" "SetVolume +1"][!Redraw]
  128. LeftMouseUpAction=[!CommandMeasure "MeasureTitle" PlayPause][!Redraw]
  129. MouseActionCursor=0
  130.  
  131. [MainBGBorderT]
  132. Meter=Line
  133. MeasureName=MeasureVolume
  134. X=0
  135. Y=30
  136. H=#BorderThickness#
  137. W=#BordTitleWidth#
  138. SolidColor=#BorderColor#
  139. LineColor=#BorderColor#
  140. DynamicVariables=1
  141.  
  142. [MainBGBorderB]
  143. Meter=LINE
  144. MeasureName=MeasureVolume
  145. X=0
  146. Y=94
  147. H=#BorderThickness#
  148. W=#BordTitleWidth#
  149. SolidColor=#BorderColor#
  150. LineColor=#BorderColor#
  151. DynamicVariables=1
  152.  
  153. [MainBGBorderL]
  154. Meter=LINE
  155. MeasureName=MeasureVolume
  156. X=0
  157. Y=30
  158. H=#BorderSizeVert#
  159. W=#BorderThickness#
  160. SolidColor=#BorderColor#
  161. LineColor=#BorderColor#
  162.  
  163. [MainBGBorderR]
  164. Meter=LINE
  165. MeasureName=MeasureVolume
  166. X=(#BordTitleWidth# - #BorderThickness#)
  167. Y=30
  168. H=#BorderSizeVert#
  169. W=#BorderThickness#
  170. SolidColor=#BorderColor#
  171. LineColor=#BorderColor#
  172. DynamicVariables=1
  173.  
  174. ;///////////////;
  175. ;Measure Outputs;
  176. ;///////////////;
  177.  
  178. ;Song/Video Title
  179. [MeterTitle]
  180. Meter=String
  181. ;MeasureName=MeasureTitle
  182. X=4
  183. Y=35
  184. H=15
  185. FontColor=0,255,168
  186. FontSize=10
  187. StringEffect=BORDER
  188. FontEffectColor=#FontBorder#
  189. Text="Title: [MeasureTitle]"
  190. ;Text="Title: %1"
  191. AntiAlias=0
  192. DynamicVariables=1
  193.  
  194.  
  195. ;Previous/Next Track Buttons
  196. [SongPrevBG]
  197. Meter=LINE
  198. SolidColor=0,64,32
  199. LineColor=0,48,24
  200. X=110
  201. Y=70
  202. W=24
  203. H=20
  204. LeftMouseUpAction=[!CommandMeasure "MeasureTitle" "Previous"][!Redraw]
  205.  
  206. [SongPrev]
  207. Meter=STRING
  208. MeasureName=MeasureVolumeUp
  209. X=2r
  210. Y=-2r
  211. Text="â—€"
  212. FontSize=12
  213. FontColor=0,255,168
  214. AntiAlias=1
  215. StringEffect=BORDER
  216. FontEffectColor=#FontBorder#
  217.  
  218. [SongNextBG]
  219. Meter=LINE
  220. SolidColor=0,64,32
  221. LineColor=0,48,24
  222. X=140
  223. Y=70
  224. W=24
  225. H=20
  226. LeftMouseUpAction=[!CommandMeasure "MeasureTitle" "Next"][!Redraw]
  227.  
  228. [SongNext]
  229. Meter=STRING
  230. MeasureName=MeasureVolumeUp
  231. X=1r
  232. Y=-2r
  233. Text="â–¶"
  234. FontSize=12
  235. FontColor=0,255,168
  236. AntiAlias=1
  237. StringEffect=BORDER
  238. FontEffectColor=#FontBorder#
  239.  
  240. ;Volume Level String and Bar
  241. [VolumeLevel]
  242. Meter=STRING
  243. X=4
  244. Y=54
  245. W=62
  246. H=23
  247. Group=Volume
  248. FontColor=0,255,168
  249. FontSize=10
  250. StringEffect=BORDER
  251. FontEffectColor=0,64,60
  252. Text="Volume: [MeasureVolume]"
  253. ClipString=0
  254. AntiAlias=0
  255. DynamicVariables=1
  256.  
  257. [VolumeBarBG]
  258. Meter=IMAGE
  259. ImageName=VolumeBarBG.png
  260. X=6
  261. Y=70
  262. H=20
  263. W=100
  264. ImageAlpha=128
  265.  
  266. [VolumeBar]
  267. Meter=LINE
  268. MeasureName=MeasureVolume
  269. X=r
  270. Y=r
  271. H=20
  272. W=[MeasureVolume]
  273. LineColor=0,0,0,0
  274. SolidColor=0,255,196,128
  275. DynamicVariables=1
  276.  
  277. [VolumeBarFG]
  278. Meter=IMAGE
  279. ImageName=VolumeBarBG.png
  280. X=r
  281. Y=r
  282. H=20
  283. W=100
  284. ImageAlpha=164
  285.  
  286. ;Song Duration and Current Position
  287. [DisplayPosition]
  288. Meter=STRING
  289. X=167
  290. Y=54
  291. W=62
  292. H=23
  293. FontColor=0,255,168
  294. FontSize=10
  295. StringEffect=BORDER
  296. FontEffectColor=0,64,60
  297. Text=[MeasurePosition] / [MeasureDuration]
  298. ClipString=0
  299. AntiAlias=0
  300. DynamicVariables=1
  301. StringAlign=Right
  302.  
  303. ;Volume Level Graph
  304. [VolumeHistogram]
  305. Meter=Histogram
  306. MeasureName=MeasureSoundLevelFFT
  307. MeasureName2=MeasureSoundLevelRMS
  308. GraphStart=Right
  309. GraphOrientation=Vertical
  310. SolidColor=0,255,255,32
  311. PrimaryColor=0,255,196
  312. SecondaryColor=0,128,255
  313. BothColor=0,196,255
  314. X=168
  315. y=54
  316. W=(#BordTitleWidth# - 174)
  317. H=36
  318. DynamicVariables=1
  319. UpdateDivider=2
  320.  
  321. [MeasureFFTCalc]
  322. Measure=Calc
  323. Formula=MeasureSoundLevelFFT*100
  324. UpdateDivider=2
  325.  
  326. [VolumeStringFFT]
  327. Meter=String
  328. MeasureName=MeasureFFTCalc
  329. x=2r
  330. y=2r
  331. w=64
  332. fontcolor=0,255,196
  333. fontsize=8
  334. text=FFT: %1
  335. StringEffect=BORDER
  336. FontEffectColor=#FontBorder#
  337. NumOfDecimals=1
  338.  
  339. [MeasureRMSCalc]
  340. Measure=Calc
  341. Formula=MeasureSoundLevelRMS*100
  342. UpdateDivider=2
  343.  
  344. [VolumeStringRMS]
  345. Meter=String
  346. MeasureName=MeasureRMSCalc
  347. x=(#BordTitleWidth# - 232)r
  348. y=r
  349. w=64
  350. fontcolor=0,128,255
  351. fontsize=8
  352. text=RMS: %1
  353. StringEffect=BORDER
  354. FontEffectColor=#FontBorder#
  355. NumOfDecimals=1
  356. DynamicVariables=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement