Welcome, Guest
Please Login or Register.    Lost Password?

Qtr hr chime?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Qtr hr chime?
#8661
Qtr hr chime? 5 Years, 6 Months ago  
I've made myself a simple digital clock and was wondering if there's a way to get it to chime on the quarter hour with wavs I provide?

I imagine there is but I really have no idea how to interpret the manual (no programming experience).

TIA
d4l3d
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8673
Re:Qtr hr chime? 5 Years, 6 Months ago  
There is no function to play a sound but I can add it to the Lua API.
Rainy
Moderator
Posts: 5920
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8681
Re:Qtr hr chime? 5 Years, 6 Months ago  
Thank you. That would be great. So, I'm not quite the idiot I thought I was.

I've replaced a dual (local/UTC) desktop clock with Rainmeter which is better in every way except for the sound thing. Simple sound capabilities might be a nice addition across the board for all kinds of notices.
d4l3d
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8714
Re:Qtr hr chime? 5 Years, 6 Months ago  
Forget about my previous answer. I didn't notice that this was for Rainmeter. Anyway, you should be able to do this with Rainmeter already. You can use the CALC measure to calculate the quarter times and then use the IfEqualValue and IfEqualAction to play the sound with the PLAY [wav-file] command.
Rainy
Moderator
Posts: 5920
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8735
Re:Qtr hr chime? 5 Years, 6 Months ago  
Thank you.
I will try to understand this on my own but, I was wondering is there anyone who can show me a skin where the CALC function is used or type up a quick example? I've never programmed and am learning Rainmeter piecemeal by grabbing and adapting code from other skins.

I think I'm too visual a person to completely "get" this. Not as adaptable to linear thinking as I would like to be. Frustrating fault for an otherwise smart guy.
d4l3d
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop