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)

teetu 2010-03-21 09:00

Decibel Meter ?
 
1 Attachment(s)
Hello, Is there any Desibel meter for N900 maemo5?
like this

maxximuscool 2010-03-21 09:12

Re: Decibel Meter ?
 
me second. This will be handy for numerous reason of usage :) sound or exhaust noise.

dread123 2010-03-21 09:16

Re: Decibel Meter ?
 
Quote:

Originally Posted by maxximuscool (Post 575601)
me second. This will be handy for numerous reason of usage :) sound or exhaust noise.

yeah would like to see something like this too

hycraig 2010-04-21 14:05

Re: Decibel Meter ?
 
I would also like to see a decibel meter for use on the N900 its a great idea
http://shop.my-symbian.com/include/p...undmonitor.gif
thanks

esthreel 2010-04-21 21:47

Re: Decibel Meter ?
 
I like this idea also.

TheJason 2010-05-10 03:37

Re: Decibel Meter ?
 
Yes.
I want that app too.

...yet another thing iphone has and the nice hardware N900 doesn't.

ZogG 2010-05-10 03:44

Re: Decibel Meter ?
 
Quote:

Originally Posted by TheJason (Post 651180)
Yes.
I want that app too.

...yet another thing iphone has and the nice harware N900 doesn't.

so buy iphone

TheJason 2010-06-18 04:04

Re: Decibel Meter ?
 
Quote:

Originally Posted by ZogG (Post 651187)
so buy iphone

So....


...is that a no on the Sound Meter?

vabgeo 2010-06-18 06:04

Re: Decibel Meter ?
 
Quote:

Originally Posted by TheJason (Post 720091)
So....


...is that a no on the Sound Meter?

try in a terminal
Code:

arecord -vv /dev/null

cocegas 2010-07-26 19:43

Re: Decibel Meter ?
 
Would be nice have app like this.

Exact 2010-07-26 21:56

Re: Decibel Meter ?
 
Yep, would love if someone could develope some kinda app for this.

Skyscraper 2010-08-18 07:05

Re: Decibel Meter ?
 
Hey!

I'm searching an App like this, too!
Any news?

Skyscraper

Pimmy 2010-09-13 14:48

Re: Decibel Meter ?
 
Quote:

Originally Posted by vabgeo (Post 720139)
try in a terminal
Code:

arecord -vv /dev/null

Sweet... this is all we need to get relative value. But that does not give you sound level in decibels.

quipper8 2010-09-13 15:13

Re: Decibel Meter ?
 
maybe someone could look into getting this running on maemo

http://plugin.org.uk/meterbridge/

anapospastos 2010-09-13 15:15

Re: Decibel Meter ?
 
Yes yes yes. Nice idea:)

mr id 2010-09-13 15:25

Re: Decibel Meter ?
 
1 Attachment(s)
I've been working with something that may be somewhat related, basically there is a gstreamer plugin 'level' that should give you access to what you need, but obviously what you want is a nice UI on top of it.

http://www.gstreamer.net/data/doc/gs...ins-level.html

I'd been using it to make a simple input level monitor for a recording app, just a moving bar with a peak fall off, but it looks like the kind of data you'd be looking for.

You just need a pretty simple gst pipeline from input through level to null running that you can attach to for reading the values from.

Julien_2006 2010-09-16 14:34

Re: Decibel Meter ?
 
Hi everyone
Mr id I'm interresting at the app you put a screenshot can you tell me the name and where I cand find it please ?

mr id 2010-09-16 14:53

Re: Decibel Meter ?
 
Quote:

Originally Posted by Julien_2006 (Post 817933)
Hi everyone
Mr id I'm interresting at the app you put a screenshot can you tell me the name and where I cand find it please ?

It's currently on my hard drive as it's in early development. I'm pretty close to an alpha release which will happen as soon as I get the time to tie up a few issues - I started a major refactor on some of the core gstreamer parts which means it's not fully usable right now.

It should be called 'demorecorder' when it hits extras-devel. It's a very simple multi-track recorder (think 'old school' 4 track with a single input) and too be honest I'm a little unsure about how well it will perform out in the wild. I'll announce it once it's up, but let me know if you are interested in an earlier (non-packaged) preview.

Julien_2006 2010-09-16 15:05

Re: Decibel Meter ?
 
I don't know if I would be able to manage a non packaged app, it's about compilating using make ? Why not but I would not loose your time.
I am notified for this thread so I shall follow the advancement (hope I make myself understand)

mr id 2010-09-16 15:16

Re: Decibel Meter ?
 
Quote:

Originally Posted by Julien_2006 (Post 817962)
I don't know if I would be able to manage a non packaged app, it's about compilating using make ? Why not but I would not loose your time.
I am notified for this thread so I shall follow the advancement (hope I make myself understand)

You wouldn't need to compile it but you would need to be comfortable making it executable and starting it from the terminal.

Hopefully, this weekend will be the one I finally get the time to sort out the remaining issues.

Julien_2006 2010-09-16 20:36

Re: Decibel Meter ?
 
if it's something like chmod +x & /path/to/the/app start, let's do it.

mr id 2010-09-16 20:49

Re: Decibel Meter ?
 
Quote:

Originally Posted by Julien_2006 (Post 818289)
if it's something like chmod +x & /path/to/the/app start, let's do it.

Exactly that.

Julien_2006 2010-09-17 13:23

Re: Decibel Meter ?
 
Ok tell me when by posting a message here (I tried to send you a MP but it seems there are no mp here)

mr id 2010-09-17 13:35

Re: Decibel Meter ?
 
Quote:

Originally Posted by Julien_2006 (Post 818919)
Ok tell me when by posting a message here (I tried to send you a MP but it seems there are no mp here)

Hopefully, Sunday. You can send a PM by clicking on a user's username above their post. There's a drop down with 'send a private message' on it.

hycraig 2010-09-17 13:48

Re: Decibel Meter ?
 
Quote:

Originally Posted by mr id (Post 817947)
I'm pretty close to an alpha release which will happen as soon as I get the time to tie up a few issues

great looking forward to it thanks

aksuli83 2010-10-31 14:03

Re: Decibel Meter ?
 
Quote:

Originally Posted by mr id (Post 814957)
I've been working with something that may be somewhat related, basically there is a gstreamer plugin 'level' that should give you access to what you need, but obviously what you want is a nice UI on top of it.

http://www.gstreamer.net/data/doc/gs...ins-level.html

I'd been using it to make a simple input level monitor for a recording app, just a moving bar with a peak fall off, but it looks like the kind of data you'd be looking for.

You just need a pretty simple gst pipeline from input through level to null running that you can attach to for reading the values from.

I would love an program that shows db's or atleast some direction to values.. And wanted to know if you have tested your program and verifyed with any real db-meter if the programs values are accurate or even near accurate. And then I wanted to know when your program is coming out or where I can get it since I couldnt find it yet.

mr id 2010-11-01 10:27

Re: Decibel Meter ?
 
Hi aksuli83,

i haven't attempted to calibrate against a real decibel meter as I'm only using it to avoid clipping the mic input. do you have a decibel meter to test against?

no release yet as i have been travelling a lot lately. i'll try and put a file up today but it will depend on how the wifi at this cafe holds up. it still has some crashes but nothing device threatening.

mr id 2010-11-01 10:40

Re: Decibel Meter ?
 
managed to get an executable to

https://garage.maemo.org/frs/?group_id=1786

you'll need to downlolad it to somewhere executable chmod +x and start from a terminal. please report any issues to the bugtracker

slappy 2010-11-01 15:55

Re: Decibel Meter ?
 
Quote:

Originally Posted by mr id (Post 859426)
managed to get an executable to

https://garage.maemo.org/frs/?group_id=1786

you'll need to downlolad it to somewhere executable chmod +x and start from a terminal. please report any issues to the bugtracker

Hey,
can you write simple instruction how I can install this? I dont know how I open a file in x-terminal and where I have save the file?

Sorry ;(

mr id 2010-11-02 00:16

Re: Decibel Meter ?
 
Quote:

Originally Posted by slappy (Post 859803)
Hey,
can you write simple instruction how I can install this? I dont know how I open a file in x-terminal and where I have save the file?

Sorry ;(

load the browser on your n900, navigate to the download link I posted and download the file from there.

By default this will save in your MyDocs folder - you will need to move it from there.

Open the terminal - (if you are at all uncomfortable with this you may want to stop now, you are essentially downloading a random file off of the internet and running it on your phone).

enter the following at the prompt (this will move the file):
mv /home/user/MyDocs/demorecorder /home/user/demorecorder

then (to make it executable)
chmod +x /home/user/demorecorder

now you can start it with
/home/user/demorecorder

hth

slappy 2010-11-02 09:19

Re: Decibel Meter ?
 
Quote:

Originally Posted by mr id (Post 860313)
load the browser on your n900, navigate to the download link I posted and download the file from there.

By default this will save in your MyDocs folder - you will need to move it from there.

Open the terminal - (if you are at all uncomfortable with this you may want to stop now, you are essentially downloading a random file off of the internet and running it on your phone).

enter the following at the prompt (this will move the file):
mv /home/user/MyDocs/demorecorder /home/user/demorecorder

then (to make it executable)
chmod +x /user/home/demorecorder

now you can start it with
/home/user/demorecorder

hth

Ececutable command didnt work, but this works:
chmod +x /home/user/demorecorder

(and rootsh has to be enabled, offcourse)
---

Can you tell me how I can test desibels with this ;) ?

mr id 2010-11-02 09:25

Re: Decibel Meter ?
 
Quote:

Originally Posted by slappy (Post 860647)
Ececutable command didnt work, but this works:
chmod +x /home/user/demorecorder

(and rootsh has to be enabled, offcourse)

sorry, had a typo in the previous post. corrected now.

Are you sure you need rootsh for this?

Quote:

Originally Posted by slappy (Post 860647)
Can you tell me how I can test desibels with this ;) ?

Menu > Input Settings
will pop up the box with the meter on it. This will show current and peak for L and R channels.

FishesWillLaugh 2010-11-03 18:01

Re: Decibel Meter ?
 
This is incredible, thank you mr id!

I couldn't get the file to move location in XTerminal, as per your instructions (it said "no such file found", or somesuch), so I just went to File Manager and moved it manually to the root folder ('N900', or whatever you've named it). I suppose I could have just chosen to download it there in the first place, as it gave me the option to do so.

I then did the other two commands, as you wrote, in XTerminal, and it works beautifully!

This is a major boost for me, as I have a job which lets me sneak off to my car and do what I really want to do for a living, which is to write and record music (I keep an acoustic guitar in my car at work, and I get long breaks :) ).

demorecorder now enables me to instantly record harmonies, etc. As you say, it's just like an oldskool 4-track recorder, and having it on my phone means I always have it with me whenever inspiration strikes (about twice a year, if I'm lucky ;) ).

Only prob I have found so far, after an initial quick 15-minute test, is that when recording more than one track (with headphones plugged in, so as not to re-record the first track's playback), the second track seems to be slightly lagging behind the original track on playback when I play the two back together.

Haven't tested it with recording more than two tracks yet, but is that something you had noticed too? It happened on two separate projects I started.

Also, when I pressed the 'mixdown' button, the whole thing crashed :)

But I know this is a work in progress, and I'm just happy that you're doing this, so thanks again for this magical app (I hate that word)!

Will let you know how I get on with further testing.

mr id 2010-11-03 18:14

Re: Decibel Meter ?
 
Quote:

Originally Posted by FishesWillLaugh (Post 862450)
This is a major boost for me, as I have a job which lets me sneak off to my car and do what I really want to do for a living, which is to write and record music (I keep an acoustic guitar in my car at work, and I get long breaks :) ).

Awesome, exactly what it's for. Best Available Device, and all that.

Quote:

Originally Posted by FishesWillLaugh (Post 862450)
Only prob I have found so far, after an initial quick 15-minute test, is that when recording more than one track (with headphones plugged in, so as not to re-record the first track's playback), the second track seems to be slightly lagging behind the original track on playback when I play the two back together.

Haven't tested it with recording more than two tracks yet, but is that something you had noticed too? It happened on two separate projects I started.

This is one of the key things I'll be looking for feedback on, as I can't tell if it's going to be device specific or consistent for everyone. I'm assuming I'm going to need to the ability to nudge a track by a few microseconds - probably manually by the user, unless it seems to be a predictable delay.

Out of interest, are you recording down to an external microsd or internal memory, and do you know what class card you have? Looking to collect some stats here.

Also, I haven't had a chance to compare the lag now that PR1.3 is out and whether any Pulse audio fixes have had an impact.


Quote:

Originally Posted by FishesWillLaugh (Post 862450)
Also, when I pressed the 'mixdown' button, the whole thing crashed :)

But I know this is a work in progress, and I'm just happy that you're doing this, so thanks again for this magical app (I hate that word)!

Will let you know how I get on with further testing.

There are definitely a few crashes in there that I need to work on - which is why most of the project based stuff is in there, so you can at least relaunch and reload.

The other main frustration you may find in the current version is not all of your track settings being persisted when you save and reload (EQ, effects etc).

I've been travelling a lot over the past couple of months but I should have a few free weekends coming up to get back on track with development.

Thanks a lot for your feedback.

TheJason 2010-11-16 06:12

Re: Decibel Meter ?
 
If this gets developed into a packaged app for the repository, let us know. I do have a calibrated sound meter to compare it against.

This time I'll subscribe to the thread to keep up with things.

mr id 2010-11-16 10:58

Re: Decibel Meter ?
 
Quote:

Originally Posted by TheJason (Post 874711)
If this gets developed into a packaged app for the repository, let us know. I do have a calibrated sound meter to compare it against.

This time I'll subscribe to the thread to keep up with things.

Thanks TheJason,

I'm curious to see how accurate it can be. I'll post here when I have something installable for you. I'm now tempted to just knock up a very simple level meter just for this purpose - then maybe someone else could take it forward to make a good looking application.

Clearly you'd prefer a nice package but would you be up for a guided installation just to get a proof of concept? I'm concerned I'd spend more time packaging than writing the test application!

cheers

Julien_2006 2010-11-16 15:58

Re: Decibel Meter ?
 
Return of experience
I have installed the deb you gave previous page and test your app, it's a very nice app.
I do not experience bug that trouble maemo, but i didn't really test the app cause I have flashed the device a few days after. I'm gonna install it again and this time really test the app. It could be a good complement to :
http://my-maemo.com/software/applica...to=1975&faq=34

sutaburosu 2010-11-16 16:23

Re: Decibel Meter ?
 
Quote:

Originally Posted by vabgeo (Post 720139)
try in a terminal
Code:

arecord -vv /dev/null

Unfortunately that command breaks /dev/null (turning it into a regular file), which leads to not being able to start a new Xterm and much other weirdness. A less harmful command would be:
Code:

arecord -vv - > /dev/null
If you have already run the original command a reboot is the easiest way to fix the problem, or you can SSH in as root and:
Code:

rm /dev/null
mknod /dev/null c 1 3
chmod a+wr /dev/null


mr id 2010-11-17 02:08

Re: Decibel Meter ?
 
2 Attachment(s)
Had a couple of hours this evening to build a standalone app with an example gstreamer level plugin running.

The tar.gz has a plain executable inside - no deb or package, so you'd need to drop it somewhere executable and start from the command line.

Would be interested how it compares to a calibrated meter. I'm not expecting accuracy as it doesn't measure sound pressure etc. I'd be keen to get a variety of comparative readings from quiet through to loud. Feel free to play with the gain to see if this can improve matters.

As mentioned previously, it wasn't designed to be accurate but rather to give visual feedback when recording wrt audio clipping.

cheers

Wonko 2010-11-17 20:15

Re: Decibel Meter ?
 
Hi,

I just discovered this thread yesterday and saw that no standalone application was there yet.
Coincidentally, I am currently also developing some small application which has some sound recording functionality.
Similarly to mr id I also had some sort of VU Meter as user feedback to get an optical feedback of the sound input level.

I got the first version uploaded to extras-devel yesterday.
It is called "vumeter".
The whole thing is pretty "hackish" as the code was "ripped" out of another software project.
Though, it should give at least some visual feedback.



Kind regards

Wonko


All times are GMT. The time now is 05:12.

vBulletin® Version 3.8.8