![]() |
2010-11-28
, 18:54
|
Posts: 92 |
Thanked: 9 times |
Joined on Apr 2010
|
#142
|
I've started (and almost finished) with a VU-like app, it reads mic levels.
Mic levels are output at a range of 0-100, so it divides 100 by 6, so for 16.67, first LED will turn on, 16.67x2, second LED, etc.
It's quite fast tbh, I expected it to be a lot slower since it read output from arecord.
![]() |
2010-11-28
, 18:57
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#143
|
root wget http://mohammadag.xceleo.org/VU chmod +x VU #open the keyboard, and just after you press enter on the next command, lock the screen using the lockswitch for best performance (working on it!) ./VU
The Following 5 Users Say Thank You to MohammadAG For This Useful Post: | ||
![]() |
2010-11-28
, 19:13
|
Posts: 92 |
Thanked: 9 times |
Joined on Apr 2010
|
#144
|
I've switched to brightness instead of using the 6 LEDs, brightness gives me a range of 0-255 instead of 0-6
http://mohammadag.xceleo.org/VU if you want a quick test I suppose
Code:root wget http://mohammadag.xceleo.org/VU chmod +x VU #open the keyboard, and just after you press enter on the next command, lock the screen using the lockswitch for best performance (working on it!) ./VU
![]() |
2010-11-28
, 19:39
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#145
|
Thanks MohammadAG it works.. the lights are very dim.. and they blink very quickly
Thanks for your efforts
waiting for the final app
The Following User Says Thank You to MohammadAG For This Useful Post: | ||
![]() |
2010-11-28
, 22:12
|
Posts: 92 |
Thanked: 9 times |
Joined on Apr 2010
|
#146
|
I've switched to brightness instead of using the 6 LEDs, brightness gives me a range of 0-255 instead of 0-6
http://mohammadag.xceleo.org/VU if you want a quick test I suppose
Code:root wget http://mohammadag.xceleo.org/VU chmod +x VU #open the keyboard, and just after you press enter on the next command, lock the screen using the lockswitch for best performance (working on it!) ./VU
![]() |
2010-12-01
, 15:34
|
Posts: 114 |
Thanked: 109 times |
Joined on Nov 2010
@ Finland
|
#147
|
![]() |
2010-12-01
, 15:37
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#148
|
![]() |
2010-12-09
, 23:29
|
|
Posts: 209 |
Thanked: 203 times |
Joined on Jun 2010
@ Portugal
|
#149
|
![]() |
2010-12-09
, 23:42
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#150
|
The Following 2 Users Say Thank You to MohammadAG For This Useful Post: | ||
Mic levels are output at a range of 0-100, so it divides 100 by 6, so for 16.67, first LED will turn on, 16.67x2, second LED, etc.
It's quite fast tbh, I expected it to be a lot slower since it read output from arecord.