maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Decibel Meter ? (https://talk.maemo.org/showthread.php?t=47918)

Wonko 2010-12-03 15:43

Re: Decibel Meter ?
 
3 Attachment(s)
Alright,
I added two more options for the display.
To change the display simply push on it.
I attached screenshots of all three options currently available.
This version (0.4.0) just made it out of the autobuilder and should be available in extras-devel soon.

GameboyRMH 2010-12-03 15:51

Re: Decibel Meter ?
 
Whoa, cool app, this could be really useful!

Is it optified?

Wonko 2010-12-03 17:50

Re: Decibel Meter ?
 
Quote:

Originally Posted by GameboyRMH (Post 888490)
Is it optified?

Sure

By the way, the executable is about 43 kB in size.

GameboyRMH 2010-12-03 17:54

Re: Decibel Meter ?
 
I was just trying it, seems to work pretty well, although it's rather CPU-intensive.

I'll compare it to another meter I have at home and see how the readings match up.

Wonko 2010-12-06 17:00

Re: Decibel Meter ?
 
Quote:

Originally Posted by GameboyRMH (Post 888578)
... although it's rather CPU-intensive.

You're correct, I observed this as well.
I am currently investigating this issue and already have a version which reduces the CPU utilization by a factor of about two to four, depending on the selected widget.
Though, this version does not reach the image quality of the current "stable" version (0.4.0) yet.

Wonko 2010-12-06 23:25

Re: Decibel Meter ?
 
Alright,
version 0.5.0 just made it through the autobuilder.
This version is the first to make use of the optimized widget rendering which should significantly reduce the CPU usage.

GameboyRMH 2010-12-07 15:14

Re: Decibel Meter ?
 
Ah yes the new one is much better. The virtual analog gauge and the bar gauge both show 2-3 bars of CPU usage with load-applet and the graph pushes it to 3, where on the old one the virtual analog gauge and bar gauge used 3-4 bars and the graph maxed out the CPU usage.

zimon 2010-12-07 15:44

Re: Decibel Meter ?
 
A feature request:
When sound level over some configurable time frame exceeds some configurable limit, application will alarm and/or optionally will run configurable system command (can be anything which can be run on a CLI)

Later also some kind of configurable smoothing value would be good. (See SleepAnalyser-application)

Maybe even dbus-interface so SleepAnalyser could later use VU-Meter to record also sound levels during the sleep.

Example usage case 1, if someone has problem with snoring, the application can alert to change position when this happens.
Quote:

Snoring is known to cause sleep deprivation to snorers and those around them, as well as daytime drowsiness, irritability, lack of focus and decreased libido.
Example usage case 2:
Burglary-alarm.

Wonko 2010-12-08 00:26

Re: Decibel Meter ?
 
Quote:

Originally Posted by zimon (Post 891528)
A feature request:
When sound level over some configurable time frame exceeds some configurable limit, application will alarm and/or optionally will run configurable system command (can be anything which can be run on a CLI)

Well, it seems like, "executing 'foo' on volume level 'bar'" is a popular demand.
I uploaded version 0.6.1 to extras-devel which implements a very simple "trigger command x on reaching volume y" feature.

To enable this feature open the settings dialog via the menu, set a "Trigger Value" bigger than 0, and enter a "Trigger Command" which shall be executed.
Of course too small values for trigger value actually do not make any sense as this yields in some kind of infinite execution.
For a start you can test this feature e.g. by setting a "command" like:
Code:

/bin/sh -c "echo 'foo' >> /home/user/bar.txt"
A trigger value of 0 disables the execution feature.
If you set values higher than 0 a dark yellow line will indicate the current setting in the GUI.

A current issue is that the scale of the horizontal bar widget seems not to be scaled correctly.

Mentalist Traceur 2010-12-08 01:44

Re: Decibel Meter ?
 
I also noticed that this works in portrait mode just fine now. You have to manually enable the rotation, but every display version is resized and placed at the top of the screen in portrait mode. A bit odd looking, but I like it. I say in the next version, creating a setting to allow portrait mode auto-rotate to be on or off by default would be great. I think it's ready for that at this point (and I advocate making it a configurable setting because I'm sure there's always people who'd like either choice, instead of being pushed into the other one..).

That said, I just want to say this is a great program, and it's always wonderful to see developers who are still making new programs, and especially when you stay active and communicate with the users, and are responsive to requests. :)


All times are GMT. The time now is 21:42.

vBulletin® Version 3.8.8