View Single Post
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#440
I added play-sound to the alarmedwiki.

If anyone wants them, the sound files I use for clock chimes are at
http://www.sendspace.com/file/pzha6r

I put them all in a new directory in the N900, /home/user/MyDocs/.sound/ClockChimes and have Alarmed call them from there.

They are the "tingtang" clock chimes, which are a short chime format, & they are mixed at 45 dB down per GoldWave so that they will be soft & not blow the speakers. The filesizes seem huge, but I ran out of steam after experimenting with several attenuation levels and blew off trying to make the filesizes smaller. You can use them to turn your N900 into a mantel clock or very expensive pocketwatch.

Schedule tingtang1Q hourly at :15 after, tingtang2Q hourly at :30 after, tingtang3Q hourly at :45 after. The top of the hour (XX:00) is scheduled at that particular time daily by either tingtanghourXX or tangstrkiechordXX. I use tangstrikechordXX for the AM hours, and tingtanghourXX for the PM hours.

It uses almost no battery. Disconnected from the network and running no other programs, one weekend from 5 pm Friday until 6 am Sunday it consumed only a barely perceptible sliver of the battery graph.

The quarters are fast to set up, since they repeat hourly at their time. But all 24 of the top of the hours must be done individually so they take a while. I had hoped to write a command line application to select a soundfile, repeat hourly strikes, & allow volume adjustment, but came up bust with installation of SDK or setting environment for includes on a couple of computers.