Active Topics

 


Reply
Thread Tools
Posts: 383 | Thanked: 344 times | Joined on Jun 2013 @ Greece, Athens
#1
This app can make your n900's led being sound reactive
You can choose the colour of the notification led and which keyboard leds to blink like the sound! You can choose from 3 sources(Monitor/Bluetooth/Microphone)!

Here is a small video of it in action!

Credits goes to nicolai and you can find the program on extras-devel
(http://maemo.org/packages/view/ledpulse/)

Last edited by bill_klpd; 2013-07-27 at 12:14.
 

The Following 7 Users Say Thank You to bill_klpd For This Useful Post:
Posts: 383 | Thanked: 344 times | Joined on Jun 2013 @ Greece, Athens
#2
No one is interested about this??
 

The Following User Says Thank You to bill_klpd For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#3
Originally Posted by bill_klpd View Post
No one is interested about this??
Not personally. You need someone to hack VU Meter and add led output. It does what you want but just in graph form.
 

The Following 3 Users Say Thank You to handaxe For This Useful Post:
Posts: 383 | Thanked: 344 times | Joined on Jun 2013 @ Greece, Athens
#4
Originally Posted by handaxe View Post
Not personally.
Hahaha not actually the answer that I was waiting :P
 

The Following User Says Thank You to bill_klpd For This Useful Post:
XiliX's Avatar
Posts: 356 | Thanked: 217 times | Joined on Aug 2010 @ Netherlands
#5
Afaik the led on the N900 is controlled by MCE, which settings can only be applyd by restarting MCE itself. This takes some time and can only be done a couple of times every 5 minutes or so. Apart from that, a faulty mce.ini file, where these setting are, can seriously mess up your N900 usability ( read; brick your device)
So in my opinion you'll have to create a new system or program to control the led, and i doubt that is possible...
 

The Following User Says Thank You to XiliX For This Useful Post:
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#6
quick n dirty python script.
(definitely a battery killer)
run as root.
Attached Files
File Type: gz ledvolume.py.gz (467 Bytes, 80 views)
 

The Following 9 Users Say Thank You to nicolai For This Useful Post:
Posts: 383 | Thanked: 344 times | Joined on Jun 2013 @ Greece, Athens
#7
Originally Posted by nicolai View Post
quick n dirty python script.
(definitely a battery killer)
run as root.
Thanks for your time! Is there any chance to make it work with the keyboard leds as well?? Do I need to change this:
led_r = open('/sys/class/leds/lp5523:r/brightness','w',1)
to this:
led_r = open('/sys/class/leds/lp5523:kb1/brightness','w',1)
for example?

One more think I want to say is that it captures the sound of the mic as well... What I mean is that when I talk for example it lights up? Is there any way to remove that?
Why do you think that it is a battery killer? How much energy could a led need? Thanks again

Last edited by bill_klpd; 2013-06-29 at 14:15.
 

The Following 2 Users Say Thank You to bill_klpd For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#8
Originally Posted by bill_klpd View Post
One more think I want to say is that it captures the sound of the mic as well... What I mean is that when I talk for example it lights up? Is there any way to remove that?
Erm, isn't that what you wanted from very beginning?

As for battery, it's not only about LED's - it's about constantly probing sound input, waking CPU, etc. You're, probably, going to have ~10x worse standby battery life, if using it all the time.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 3 Users Say Thank You to Estel For This Useful Post:
Posts: 383 | Thanked: 344 times | Joined on Jun 2013 @ Greece, Athens
#9
Well I wanted to caprtures only the sound of the music that was playing from the player, not the sounds from the mic...
For the battery I understant what you are saying but I won't probably use it all the time

Last edited by bill_klpd; 2013-06-29 at 14:48.
 

The Following User Says Thank You to bill_klpd For This Useful Post:
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#10
Replace
Code:
pulsesrc
with
Code:
pulsesrc device=sink.hw0.monitor
to capture speaker output.

Also see my own Ironcope (source) to show how a similar thing can be done in C. If done properly (e.g. recognizing when there is nothing to capture) it does not kill battery that much.
 

The Following 7 Users Say Thank You to javispedro For This Useful Post:
Reply


 
Forum Jump


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