maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   All about SleepAnalyser (https://talk.maemo.org/showthread.php?t=57419)

rakonn 2011-01-23 17:35

Re: All about SleepAnalyser
 
Thx caco3! The repository was disabled, I dont know why but it was. Now I got it working :)

zimon 2011-01-24 12:49

Re: All about SleepAnalyser
 
Current new dev version tells "File header corrupted or not compatible" with new recorded sessions. The older recordings work.

caco3 2011-01-24 18:36

Re: All about SleepAnalyser
 
Quote:

Originally Posted by zimon (Post 927331)
Current new dev version tells "File header corrupted or not compatible" with new recorded sessions. The older recordings work.

Its fixed in the latest version, sorry

guyr 2011-01-25 08:37

Re: All about SleepAnalyser
 
This morning with 2.0.4, the mediaplayer is launched many times when waking ...

x-lette 2011-01-25 09:43

Re: All about SleepAnalyser
 
Didn't update to latest version yet but with previous version (2.0-3) media player didn't start this morning. This is what I did:
  • opened app and verified settings
  • tapped on button "start recording"
  • on settings window activated alarm time
  • chose audio file for playback
  • pressed play button to check file (media player opened and played)
  • closed media player
  • activated media playback
  • applied settings and started recording
  • slept
  • pressed "stop" when alarm went off in the morning
  • nothing more happened.
I guess the media player should have been activated after stopping alarm, right? Or do I have to suspend alarm to get media file played?

x-lette 2011-01-25 10:17

Re: All about SleepAnalyser
 
Updated to current version (2.0-4) but it still can't read log of previous version (2.0-3). I had a look into the logfile and there was no media file entered for playback. Seems it didn't save that setting correctly (or maybe I tapped once too much on that entry - sometimes the desktop lags a bit and needs double tapping).

caco3 2011-01-25 10:56

Re: All about SleepAnalyser
 
Hi all

I am sorry for the latest bugs.
As I am traveling around a lout those weeks, its hard to to test everything after every change.
I will fix those issues in the next version.

The records made with version 2.0-3 have a missing line and have to be fixed manually. To do so, open the record with a text editor and add an empty line line after line 9 (Lucid dream song delay).

Note:
The data for lucid dream and wakeUp are only entered, if they have been activated.
I am also looking into seeing if the media player could be replaced with an built in player. Also I would like to close it after the alarm occurred/after the lucid dream.

x-lette 2011-01-25 11:27

Re: All about SleepAnalyser
 
Quote:

Originally Posted by caco3 (Post 928046)
I am sorry for the latest bugs.

No need to, that's what's called work in progress :D

Quote:

The records made with version 2.0-3 have a missing line and have to be fixed manually. To do so, open the record with a text editor and add an empty line line after line 9 (Lucid dream song delay).
Works fine now! Thanks!

Quote:

The data for lucid dream and wakeUp are only entered, if they have been activated.
OK, so I just did wrong order as I first chose file to play and then activated that setting.

Quote:

I am also looking into seeing if the media player could be replaced with an built in player. Also I would like to close it after the alarm occurred/after the lucid dream.
That could be fine but I don't think it's necessary. It would just blow up your app and you'd have more things to keep care of. As you already rely on ffmpeg why not using ffplay for playback? I guess it would be much faster for startup and you could give some cute arguments.

x-lette 2011-01-27 10:18

Re: All about SleepAnalyser
 
hi, could you please tell in short terms the last changes you made? I didn't try music wakeup last night but the night before (with older version) I had the same issue as mentioned by guyr above: mediaplayer got started over and over again, playing some seconds of the song and restarting again. It was quite difficult to stop that behaviour as I had to stop SleepAnalyser which was only possible when first quitting mediaplayer. One has to be quite fast to do that!

Another two suggestions:
Could you fit the trigger level to the other numberings? Actually the level is set to roughly 1/10 of the other values. Would be nice if you could suite the level to the other values so all of them are consistent.

Could you anyhow offer the ability to execute an arbitrary programm as alarm? I would really love the combination of SleepAnalyser with EvilAlarm! As of now I can only set a fixed time to EvilAlarm and have to decide wether to get up reliable or to get up smooth ;)

caco3 2011-01-27 11:33

Re: All about SleepAnalyser
 
Quote:

Originally Posted by x-lette (Post 929776)
hi, could you please tell in short terms the last changes you made? I didn't try music wakeup last night but the night before (with older version) I had the same issue as mentioned by guyr above: mediaplayer got started over and over again, playing some seconds of the song and restarting again. It was quite difficult to stop that behaviour as I had to stop SleepAnalyser which was only possible when first quitting mediaplayer. One has to be quite fast to do that!

This should be fixed in the recent version. If not, please let me know.
The changes I made are minor, mainly bug fixes and UI changes.
Also some minor speed improvement on record rendering.

Quote:

Originally Posted by x-lette (Post 929776)
Another two suggestions:
Could you fit the trigger level to the other numberings? Actually the level is set to roughly 1/10 of the other values. Would be nice if you could suite the level to the other values so all of them are consistent.

Thats a great idea, I will have a look on it.

Quote:

Originally Posted by x-lette (Post 929776)
Could you anyhow offer the ability to execute an arbitrary programm as alarm? I would really love the combination of SleepAnalyser with EvilAlarm! As of now I can only set a fixed time to EvilAlarm and have to decide wether to get up reliable or to get up smooth ;)

I can implement to add a external application, that should be quite easy.
Is it possible to run EvilAlarm from command line and set off an alarm immediately? Could you have a look if that is possible?


All times are GMT. The time now is 17:20.

vBulletin® Version 3.8.8