[App] [26 Dec 2008] Noise Tracker - Windows Mobile Apps and Games

Noise Tracker
Noise Tracker measures the loudness by taking an audio sample and calculating its mean average. The black bars are the mean values and the current wave is drawn in blue. Don't know yet what a real use case for this app could be. Anyway, hope someone will find it useful. Tested on a wm6 prof. device.
With 'Scale' the bars drawing height of the bars can be changed.
With 'Rate (ms)' the length (in milliseconds) of the audio sample can be changed.
Info
In case there are no bars visible, change the rate to > 400ms. (thanks nir36)
The measured values are not dB! Will be changed in the app (when some additional features will be implemented).
v1.1
select different channels if available
show bps
v1.2
auto volume setting (measures loudness every x minutes and adjusts the ringing volume)
Thanks,
heliosdev

this could actually help me with my studies.. thank you

What units is the maximum shown in?

The values are in dB and calculated using the root mean square on the audio data.
If x is the array with the audio data then it is
value = sqrt(1/n * sum(x1*x1+x2*x2+...+xn*xn))
Not sure if there is some 'magic' factor in the audio data, it's just an array of bytes.

heliosdev said:
The values are in dB and calculated using the root mean square on the audio data.
If x is the array with the audio data then it is
value = sqrt(1/n * sum(x1*x1+x2*x2+...+xn*xn))
Not sure if there is some 'magic' factor in the audio data, it's just an array of bytes.
Click to expand...
Click to collapse
how can that be that it is in dBs? the highest value I've gotten is around 2, normal sound would be 60+ atleast...

I'm getting values around 80 when playing some music or watching tv and holding the phone close to the speakers. I'll need to write some more info into a log file to find out the reason why you only get small values.

heliosdev said:
I'm getting values around 80 when playing some music or watching tv and holding the phone close to the speakers. I'll need to write some more info into a log file to find out the reason why you only get small values.
Click to expand...
Click to collapse
sounds good, I'll keep an eye here and keep testing for you...

Is there a chance that you could put Shannon's formula inside this thing?
(that is, B*log(1+s/n)) to check the bandwidth used and the bps transfered each sec?

A great use for this would be to automatically turn up (or down) the in-call volume if there's a lot (or very little) of background noise.

Zoltair Wright said:
A great use for this would be to automatically turn up (or down) the in-call volume if there's a lot (or very little) of background noise.
Click to expand...
Click to collapse
Agree! this could be a great use

It doesn't work on my AT&T Fuze

nir36 said:
Is there a chance that you could put Shannon's formula inside this thing?
(that is, B*log(1+s/n)) to check the bandwidth used and the bps transfered each sec?
Click to expand...
Click to collapse
The bps is calculated now. I'm not quite sure if the time (rate in ms) should be taken also in this calculation. Currently it isn't. Should this bps be multiplied by (recording time in ms / 1000)?
Btw, the used Bandwidth is 11025Hz.

pandaboyy said:
It doesn't work on my AT&T Fuze
Click to expand...
Click to collapse
Can you try again with the latest version and see if it works when changing the channel?

Zoltair Wright said:
A great use for this would be to automatically turn up (or down) the in-call volume if there's a lot (or very little) of background noise.
Click to expand...
Click to collapse
That could be useful. And this app could start when an incoming call starts, adjust the volume and close again.

Plenty of uses!
Very cool indeed! I can think of lots of uses..including my kids and the neighbors! Actually, I have some clinical applications for this little beauty!
Thank you so much!!

heliosdev said:
Noise Tracker
Noise Tracker measures the loudness ... hope someone will find it useful
Click to expand...
Click to collapse
heliosdev, you can build a app to play a mp3 file when someone claps or whistle
(I'm not joking, you can find your phone that way...)

Seriously cool, thanks for the app! As others mentioned, if you could add a function where this thing could call or be called by opther programs it could be hugely useful. How about sampling the background noise every 15 min or so and adjusting the ring volume so I don't miss calls in noisy places or get a heart attack when someone calls me while I'm in bed reading a book. If it's sensitive enough it could be used to bug a room, when voices are detected it starts the voice recorder...etc., etc. TONS of possibilities!!
P.S. ff2005, try calling your phone if you can't find it

That would be nice! Right now I can tell you that such a feature is scheduled for April 1st!
ff2005 said:
heliosdev, you can build a app to play a mp3 file when someone claps or whistle
(I'm not joking, you can find your phone that way...)
Click to expand...
Click to collapse

New version is up which sets the ringing volume. This needs to be tested because I haven't a second phone to call myself.
It takes the current loudness l and sets the ringing volume to:
l > 70 -> 5
l > 50 -> 4
l > 30 -> 3
l > 10 -> 2
else -> 1
I'm setting the registry value
CurrentUser\ControlPanel\SoundCategories\Ring\InitVol
Zoltair Wright said:
A great use for this would be to automatically turn up (or down) the in-call volume if there's a lot (or very little) of background noise.
Click to expand...
Click to collapse
orb3000 said:
Agree! this could be a great use
Click to expand...
Click to collapse
mlalahoi said:
Seriously cool, thanks for the app! As others mentioned, if you could add a function where this thing could call or be called by opther programs it could be hugely useful. How about sampling the background noise every 15 min or so and adjusting the ring volume so I don't miss calls in noisy places or get a heart attack when someone calls me while I'm in bed reading a book. If it's sensitive enough it could be used to bug a room, when voices are detected it starts the voice recorder...etc., etc. TONS of possibilities!!
P.S. ff2005, try calling your phone if you can't find it
Click to expand...
Click to collapse

It works on my xda flame.
Should be useful as or detector of noise: do something when the level is over a value, or when the level is below a value (end of noise)

Related

TProfiler

First of all, thank you for your interest and feedback! Mostly due to your request I want to present you a new version.
Version 1.25 changelog:
1. Added Connections on/off
2. Added alarm - poor one
Version 1.20 changelog:
1. Added new profiles: WiFi on/off, Bluetooth (BT) on/off, Phone on/off. Added also Soft Reset.
2. Some minor changes.
Version 1.10 changelog:
1. Added half-hours (I think quarters are too much).
2. Hour format (24 or 12) is automatically changed depending on your regional settings.
3. I don't have VGA device, but I think now the screen is squeezed a bit so it can fit to VGA square screen. Please, try and tell me what happens.
4. Added sound profiles - low, medium, high and very high.
5. Number of settings increased from 4 to 15.
Please, download TProfiler120.CAB for latest version.
Automatically switches device sound mode(available profiles - sounds on, sounds off, vibrate, volume low, medium, high, too high), turns on/off wifi, bluetooth, phone mode and soft resets at selected hour and weekday and thus saves your battery power. Simple application, doesn't occupy memory. Tested only on HTC HD2 but should work on other devices too (TP2, Touch HD/Blackstone - tested thanks to replies to this thread).
It works fine on TP2
Great application.
It would be great if it had also a 24-hour mode .
It would also be great if we could set the device to change to a certain volume on the Ring and System. I like to turn my phone down to 2 notches on both of those and crank it back after 5pm.
digiblur said:
It would also be great if we could set the device to change to a certain volume on the Ring and System. I like to turn my phone down to 2 notches on both of those and crank it back after 5pm.
Click to expand...
Click to collapse
+1 on this request.
Would be also great if one could change profile on headset plug-in/plug-out.
When I softreset the phone it gives me a non signed error.
VGA please
scabbard1 said:
VGA please
Click to expand...
Click to collapse
+1
looks very promising as of this is really important to have because i tend to forget to switch my phone to silent when im at school
ill be watching this thread
Great application !
Feature request: time in quarter/half hours too.
You might want to add some additional 'rules'. If you have a different time schedule for every day in the week, 4 just aren't enough...
Awesome
Been waiting for a free app like this. The Connective Tools one is nice, but I love the continuing user driven development of XDA. The suggestions on here are great and I echo the setting the volume to a custom level and the quarter/half hours things.
zharptitza said:
Been waiting for a free app like this. The Connective Tools one is nice, but I love the continuing user driven development of XDA. The suggestions on here are great and I echo the setting the volume to a custom level and the quarter/half hours things.
Click to expand...
Click to collapse
+1 though 5 min time slots would be better. Are going to try and integrate the App so it will switch on calendar appointments?
just installed 1.10 on my HD, but when I start the app it alerts "Doesn't exist", and after tapping 'ok' the app doesn't respond anymore, actually the complete screen doesn't respond. Using the hardwarebuttons I can go back to my homescreen and then using the system taskmanager I can shut the app down after that everythings fine..
anybody got an idea? because it looks like a useful app to me
Dear Xsite3,
I think you had to wait for a while - when started first time the application takes more time (1-2 minutes).
Just installed v1.1 on my HD2 and i get the message attached. Any ideas?
When I try to start up TProfiler I get a message box that simply says "Doesn't Exist". After that I can click on the TProfiler icon all day long but nothing happens. Wonder what doesn't exist?
V 1.10 crashes for me
I was using version 1.00 with no problems on my HTC Fuze running WM 6.5. But version 1.10 crashes on startup with this error:
TProfiler.exe
InvalidCastException
at
Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger()
at
DeviceApplication1.Form1.Form1_Load()
at
System.Windows.Forms.Form.OnLoad()
at
System.Windows.Forms.Form._SetVisibleNotify()
at
System.Windows.Forms.Control.set_Visible()
at
System.Windows.Forms.Application.Run()
at DeviceApplication1.Module1.Main()
The app appears to draw at least a portion of it's window, and then crashes, though it goes by too quickly to see just how much of it is drawn
I really like the app. I especially like the addition of half hours in this version, if I can get it to work.
Hypermommy said:
When I try to start up TProfiler I get a message box that simply says "Doesn't Exist". After that I can click on the TProfiler icon all day long but nothing happens. Wonder what doesn't exist?
Click to expand...
Click to collapse
Hmm same here
Phone: TOuch HD
Rom: Xannytech 1.9B (+maxManila)
Cheers
Problems
Fellows, sorry for keeping you waiting - Please, try now - it should work.

[APP] Nook Color Tweaks

Want to try to overclock to 1.3ghz+?
Tired of the speaker not being loud enough?
Tired of hiss and noise with your high sensitivity headphones?​
What is this?
I have made a free app in the Android market to tweak a few things I've added to the Nook Color kernel. I hope to add more features to this app later. For now you can adjust:
*CPU speed per stepping. Allows you to overclock as much or as little as you want.
*CPU voltage control. Undervolt for better battery life and/or overvolt for better overclocking.
*Headphone analog gain
*External speaker analog gain
*DAC gain
*USB Host control(requires OC kernel 06/18/11+)
*U-Boot control(courtesy of FatTire)​
What can I do with this?
The CPU settings allow you to customize the CPU clock rate. With my overclock kernel the OMAP CPU has 5 OPPs(steppings) available. This app allows you to change the clock rate for each of those OPPs at runtime. Want to try to overclock to 1.3ghz? This app allows you to set the clock rate of your choosing.​
You can also use this app to help get rid of hiss and noise on your headphones. I have sensitive headphones and I find the hiss and noise to be downright abnoxious on the Nook Color. With B&N default settings, I can only turn up the "Android media" volume to 25-35% before its too loud. This means the volume difference between the noise floor and the audio is very small which makes the noise noticiable. To partially fix this issue you can either turn down the DAC volume in this app or turn down the headphone analog gain. I prefer to just turn down the headphone analog gain until I can increase the "Android media" volume to 85-90% for comfortable listening levels.
If the external speaker is too quiet you may need to increase the DAC gain. Note that this will also increase the headphone volume so you may need to subsequently decrease the headphone analog gain.​
Why use this app and not the other apps in the market?
The primary advantage to using this app versus other more generic apps you might find in the market is that this app makes low level changes in the driver to increase volume. Other apps must make these changes in software to be hardware agnostic. This leads to reduced audio quality versus hardware level changes.​
Note: This app requires kernel support. For audio settings you will need a newer 2.6.32 kernel found in CM7 Nightly 88+ or my(Dalingrin) overclock kernel for B&N Froyo 1.2 and CM7.
For CPU settings you will need a 2.6.32 overclocked kernel from 06/09/11 or later.​
Download:
https://market.android.com/details?id=com.dalingrin.nookcolortweaks​
I love it! It works great so far for external speaker, really helps when in the car with music and in a case watching netflix. Thanks again!
Awesome app Dal, just what I was looking for! Thanks for all your awesome work on the NC.
Sent from my NookColor using Tapatalk
I am running CM7 5252011 #87 nightly & this app notifies me that the kernel is not compatible & I need a later ver of CM7. What am I doing wrong. BTW thanks for this app. It is a big deal!!!!
Thanks,
kev
Just tried messing with the settings for the headphones, and wow, its so much clearer now! Awesome app, really makes the NC that much better.
Sent from my NookColor using Tapatalk
two good things happen with this apps:
first, it really reduces hiss in the headphones to levels i cannot hear
second, finally it has a link to donate to the person who contributed the most in making the nook the great device it is now
don_ernesto said:
two good things happen with this apps:
first, it really reduces hiss in the headphones to levels i cannot hear
second, finally it has a link to donate to the person who contributed the most in making the nook the great device it is now
Click to expand...
Click to collapse
I think people should get the app just to donate to Dal
EDIT: Ah ha! A direct link. DONATE PEOPLE!
www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=S8ZMTYR2J2JFu
ace7196 said:
I think people should get the app just to donate to Dal
EDIT: Ah ha! A direct link. DONATE PEOPLE!
www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=S8ZMTYR2J2JFu
Click to expand...
Click to collapse
Absolutely!
Thanks Ace.
. . .
Man volume fixes, and usb host coming in at the same time.. you know somthings are brewing when the devs go quite for a while.
I am actually having some problems with this app. I can increase the DAC a little bit, but if I even touch the external speakers option the sound goes out which requires a reboot. I am running nightly 87, with the oc kernal of 5/23. Any ideas? Great app by the way, I can tell from increasing the DAC that it helps a lot.
5 stars for you on the market
of course!
thefamousmoe said:
I am actually having some problems with this app. I can increase the DAC a little bit, but if I even touch the external speakers option the sound goes out which requires a reboot. I am running nightly 87, with the oc kernal of 5/23. Any ideas? Great app by the way, I can tell from increasing the DAC that it helps a lot.
Click to expand...
Click to collapse
Lol. I thought I was the only one!
So, increase the DAC, then if you open the speaker or headset, the sliders go mute by default. So open it and just slide the sliders over
A bit confusing. I even did a restart because I thought I broke something...
FYI, CM7 nightly 87 does not have kernel support for this app yet. You will need to wait for the next nightly or you can use the OC kernel now.
ace7196 said:
Lol. I thought I was the only one!
So, increase the DAC, then if you open the speaker or headset, the sliders go mute by default. So open it and just slide the sliders over
A bit confusing. I even did a restart because I thought I broke something...
Click to expand...
Click to collapse
I am probably missing something really simple, but for the life of me can't figure out how to fix this without a reboot.
I increased the dac slightly, then I increased the external analog gain slightly, and it stopped playing... or i thought it did.
I checked my speaker volume through the main settings and it was all the way up. I checked it in the cm7 settings and it was all the way up. Then i went back into this app and increased the dac about halfway and could hear what was playing, but barely. And when I increased the gain more it did get a bit louder, but not loud enough to listen to from more than a couple inches away.
Story for the trouble, i know I'm just missing something. Thanks for any help
Sent from my NookColor using Tapatalk
ansleyj44 said:
I am probably missing something really simple, but for the life of me can't figure out how to fix this without a reboot.
I increased the dac slightly, then I increased the external analog gain slightly, and it stopped playing... or i thought it did.
I checked my speaker volume through the main settings and it was all the way up. I checked it in the cm7 settings and it was all the way up. Then i went back into this app and increased the dac about halfway and could hear what was playing, but barely. And when I increased the gain more it did get a bit louder, but not loud enough to listen to from more than a couple inches away.
Story for the trouble, i know I'm just missing something. Thanks for any help
Sent from my NookColor using Tapatalk
Click to expand...
Click to collapse
This issue is fixed and the app is updated.
The problem was that the gain settings were defaulting to 0 on first run. This should not require a reboot to fix. All you need to do is turn up the speaker analog gain. I would turn it all the way up. You should have no problem hearing the speaker at this point and it will no longer default to 0 once you adjust the gain.
dalingrin said:
This issue is fixed and the app is updated.
The problem was that the gain settings were defaulting to 0 on first run. This should not require a reboot to fix. All you need to do is turn up the speaker analog gain. I would turn it all the way up. You should have no problem hearing the speaker at this point and it will no longer default to 0 once you adjust the gain.
Click to expand...
Click to collapse
Perfect! Thanks, this is great!
Sent from my NookColor using Tapatalk
Excellent program, thanks for putting this together!
Nightly86 + 5/23 kernel = kernel not compatible
mr_fosi said:
Nightly86 + 5/23 kernel = kernel not compatible
Click to expand...
Click to collapse
Same combo working fine for me...?
mr_fosi said:
Nightly86 + 5/23 kernel = kernel not compatible
Click to expand...
Click to collapse
I would reflash the latest OC kernel.
yeah, im going to download this as soon as i get home tonight, this is awesome, thanks.
hay, dalingrin, do you think this will be merge with cm in the near future? this with cyanogens DSP Equalizer would be a great combo.

[Q] 3 Problems with SG2.

I love my GS2. However, there are three Major issues that I cannot resolve after searching on the internet. I would be so glad if someone can give me a little help.
1). Server Side Mail Search - The Email App cannot search for email longer than my sync period (1 month). I can't search for any email older than that! On iPhone there is a featured called "continue search on server". I have to go to web browser to search for my mail! Is there a way to do that within the mail app?
2). Minimum Brightness - Minimum Brightness is still too bright for night use. Are there any apps to allow setting to lower brightnesses?
3). Mute Speaker while on BT? - When I have a BT headset connected. I want the notifications to play through the BT. But now it plays on the speaker and BT together which defeats the purpose of using a BT headset. Is this common?
I'm sure some of you guys experience this as well. Is there a way we can fix it?
Thanks...
GreenBot said:
2). Minimum Brightness - Minimum Brightness is still too bright for night use. Are there any apps to allow setting to lower brightnesses?
Click to expand...
Click to collapse
Try Screen Filter free from market. It adds a filter to make the brightness darker, u can adjust by % and u can make multiple widgest with different settings if want aswell
nitz85 said:
Try Screen Filter free from market. It adds a filter to make the brightness darker, u can adjust by % and u can make multiple widgest with different settings if want aswell
Click to expand...
Click to collapse
Great advice! "Screen Filter" app is free. I placed the app on homescreen. Now when it is at night and minimum brightness is still too bright. I can toggle a black filter to virtually dim the screen below original minimum brightness.
2 more issues to go!

[Q] [MOD REQUEST] Lower Minimum Brightness/Volume

At night even at 0% brightness I find the phone too bright and would like a way to lower it. I also think the minimum volume level is too loud to be comfortable in a quiet room and would like a method to lower that as well. My last request is a technique to seperate ringtone and notification volume levels. If any of these are actually possible through MODs without hobbled fixes by apps in the Play Store, I would love it! I'm running a modded stock non-deodexed ROM with unlocked bootloader and ROOT. Please help and thanks!
techwynn said:
At night even at 0% brightness I find the phone too bright and would like a way to lower it. I also think the minimum volume level is too loud to be comfortable in a quiet room and would like a method to lower that as well. My last request is a technique to seperate ringtone and notification volume levels. If any of these are actually possible through MODs without hobbled fixes by apps in the Play Store, I would love it! I'm running a modded stock non-deodexed ROM with unlocked bootloader and ROOT. Please help and thanks!
Click to expand...
Click to collapse
to lower the autobrightness values, everything is in /system/framework/framework-res.apk - res/values/arrays.xml
reference:
http://forum.xda-developers.com/showthread.php?t=1904691
andybones said:
to lower the autobrightness values, everything is in /system/framework/framework-res.apk - res/values/arrays.xml
reference:
http://forum.xda-developers.com/showthread.php?t=1904691
Click to expand...
Click to collapse
Thanks for the reply! Will modifying these values enable the phone to go lower than the stock 0% brightness? I don't use auto brightness and keep my DNA at 0% brightness most of the time, only going higher in sunlight.
techwynn said:
At night even at 0% brightness I find the phone too bright and would like a way to lower it. I also think the minimum volume level is too loud to be comfortable in a quiet room and would like a method to lower that as well. My last request is a technique to seperate ringtone and notification volume levels. If any of these are actually possible through MODs without hobbled fixes by apps in the Play Store, I would love it! I'm running a modded stock non-deodexed ROM with unlocked bootloader and ROOT. Please help and thanks!
Click to expand...
Click to collapse
I don't know if you'll consider this a "hobbled app" fix, but I've been using Power Toggles to substitute for my CM habit.
You can adjust notification and ringtone volumes from the notification drawer that way.
Sent from my HTC6435LVW using xda app-developers app
androidxen said:
I don't know if you'll consider this a "hobbled app" fix, but I've been using Power Toggles to substitute for my CM habit.
You can adjust notification and ringtone volumes from the notification drawer that way.
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
Thanks for the suggestion. I tried it out and while it does have separate sliders for the two volumes, it does NOT actually work. The two volumes are still tied together in practice. After ICS I think I've read its linked at a system or kernel level and I was hoping someone might work on a fix to address this. Also, referring to "hobbled" app fixes, I saw an app that used a workaround by switching to a custom ringtone to adjust that volume separately but was hoping for a streamlined system built in mod so that I don't have any extraneous apps or screens to delve into to adjust settings. I like minimalistic and debloat anything I dont use. Thanks again for the feedback.
i agree 100% with the sound being too loud, which has been an issue since ICS on even the Rezound...so i think their whole upgrade of the newer OS's made the volume louder. the rezound, on lowest sound level, was 20%..that's ridiculous, it should be half that, or around like 5%. even changing volume steps never worked because there was no lower volume.

[Q] Is there a way to adjust the m7's vibration intensity?

I just switched to ARHD 31.0 from CM 10.2 (had terrible battery life, but I loved the light vibration notification) and I forgot how intense the vibration is on the Sense ROMs. I turn my phone on vibrate only at work to be respectful of others, but honestly this phone's vibration is just as loud as having a ringtone. It's way too much. Does anyone know of a way to reduce the vibration intensity? I've looked all over the forums and haven't found much info other than taking apart the phone....
I know that you can adjust the length and pattern of the vibration, but I really need a way to turn this down significantly. Thanks.
This isn't quite what you asked for, but is my solution to the same problem.
It seems like most of the volume associated with the vibrate function is due to being placed directly on a hard surface that will transmit and intensify the noise. If you place something that doesn't transmit the vibrations well it drastically reduces the volume while still letting you hear the phone when at your desk. I use a small carpet sample (about 8"x6") as a coaster on my desk and when I put my phone down I place it on that as well. It really cuts down on the noise, but not enough that you won't notice it when at your desk. If the carpet is in use, I just place my phone on a pad of post-its or a note pad, which doesn't work quite as well, but close enough for my situation.
Try using the Trickster mod from the playstore
Ktan188 said:
Try using the Trickster mod from the playstore
Click to expand...
Click to collapse
This worked beautifully for me! Thanks Ktan! Had been searching google for an hour, then facepalmed myself for not even checking xda. Lol
Ktan188 said:
Try using the Trickster mod from the playstore
Click to expand...
Click to collapse
I've been searching this for a while now. Tx for helping..
***Easier method***
If you want to get rid of vibration completely, but without putting your phone on silent, just use App Ops! You need something to launch the activity, there are App-ops launchers in Play Store or you could just use a Tasker task. Once you're in, just go through all your apps and untick the "Vibration" permission!
No root required!!!
<<< Please say thanks if I was of help!
Ktan188 said:
Try using the Trickster mod from the playstore
Click to expand...
Click to collapse
many thanks, i was even considering turn to CM before seeing that

Categories

Resources