[MOD] New function added: Alarm and Volume fade over time

Suggestions/requests/ideas for RuneAudio core features and functions

[MOD] New function added: Alarm and Volume fade over time

Postby cyber7 » 17 Feb 2015, 14:56

Attachments
fade_and_alarm - beta1.tar
Beta1 Tar
(30 KiB) Downloaded 830 times
volume fader.png
Volume Fader Screen:
volume fader.png (12.77 KiB) Viewed 5906 times
alarm - being set.png
Alarm Screen:
alarm - being set.png (39.71 KiB) Viewed 5906 times
Last edited by cyber7 on 18 Feb 2015, 05:41, edited 1 time in total.
To err is human, to err again is machine!
User avatar
cyber7
 
Posts: 28
Joined: 04 Feb 2014, 14:49
Location: Cape Town, South Africa

Re: [MOD] New function added: Alarm and Volume fade over tim

Postby cyber7 » 17 Feb 2015, 15:37

Last edited by cyber7 on 18 Feb 2015, 08:27, edited 1 time in total.
To err is human, to err again is machine!
User avatar
cyber7
 
Posts: 28
Joined: 04 Feb 2014, 14:49
Location: Cape Town, South Africa

Re: [MOD] New function added: Alarm and Volume fade over tim

Postby hondagx35 » 17 Feb 2015, 16:32

Hi cyber7,

thank you for this modification / addon.

I think you missed something:
- cronie is not installed by default
- crontab entries for http?

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: [MOD] New function added: Alarm and Volume fade over tim

Postby cyber7 » 18 Feb 2015, 05:37

To err is human, to err again is machine!
User avatar
cyber7
 
Posts: 28
Joined: 04 Feb 2014, 14:49
Location: Cape Town, South Africa

Re: [MOD] New function added: Alarm and Volume fade over tim

Postby aj78 » 08 Mar 2015, 14:06

Thanks for this, very useful. I've just reinstalled Runeaudio 0.3b on a Raspberry Pi model B and installed this script and have noticed something rather odd. When setting an alarm time of 06.55 it actually sets a cronjob for 06.25 (this is shown both in the info panel about existing alarms and by examining the http crontab). Whatever time I put in, the alarm is set for 30 minutes earlier. My installation is set for London time. The time the alarm actually activates is the earlier time (the one that appears in the cronjob).

The runeaudio is a fresh installation and apart from configuring the network settings and the NFS share I have done nothing before installing your script.
aj78
 
Posts: 51
Joined: 29 Oct 2014, 20:42

Re: [MOD] New function added: Alarm and Volume fade over tim

Postby cyber7 » 12 Mar 2015, 10:55

:D
sorry, I had to be more descriptive, but this is a FEATURE. The 30MIN BEFORE CRON JOB means the radio-clock will fade-in for 30 minutes until your MAX has been reached.

So, if you want to wake up at 7am, the cron job will start at 6:30. It has been proven a JERK wake-up alarm could cause medical problems where a slow increase in sound will wake you up as if you are waking up naturally.

Hope this is better explained.
cyber7
To err is human, to err again is machine!
User avatar
cyber7
 
Posts: 28
Joined: 04 Feb 2014, 14:49
Location: Cape Town, South Africa

Re: [MOD] New function added: Alarm and Volume fade over tim

Postby aj78 » 12 Mar 2015, 15:41

Aha - thanks! I think I will try setting it a bit later and hope that the healthier alarm allows me to do with less snooze time...
aj78
 
Posts: 51
Joined: 29 Oct 2014, 20:42

Re: [MOD] New function added: Alarm and Volume fade over tim

Postby viklander » 14 Mar 2015, 12:23

Hey Cyber7

This wake-up feature is just great. It's defnitely a must have.

The ultimate option that I'd miss would be the ability to set up two (or more ...) alarms
ie : one for workdays, the other one for weekends, or even better one for each day as I wake up on a different time on mondays and thursdays ; tuesday, wednesday and friday ; saturday and sunday ...

That's a lot to ask, I know

Alas I'm no great coder, so I'll try to poke into you code even if I'm quite confident about ending with a totally messed up system :-)

Cheers
viklander
 
Posts: 6
Joined: 14 Mar 2015, 12:08

Re: [MOD] New function added: Alarm and Volume fade over tim

Postby lanlor » 17 Jan 2016, 22:29

lanlor
 
Posts: 2
Joined: 17 Jan 2016, 22:19

Re: [MOD] New function added: Alarm and Volume fade over tim

Postby hondagx35 » 17 Jan 2016, 23:23

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

support RuneAudio Donate with PayPal

Next

Return to Feature request

Who is online

Users browsing this forum: No registered users and 4 guests