[Q] VU-Meter app - Windows Phone 7 Software Development

Hi everyone,
I'm a new developer to WP7, and I'm looking to write a simple app that will take the microphone input, and based on the volume of that input, display a VU-Meter that will animate based on the volume of that input. There will be distinct red rectangles that will either be in a red or black state, three to five columns, and the user can change to blue or yellow color.
I have the dev tools, and have seen microphone access controls, but how do I translate that into animation on screen? That's where I'm having difficulty. Any help would be appreciated.
Thanks!

Please make sure to look in the proper section next time . There is a development just for software in this forum.
~~Tito~~
{Moving Thread}

Related

registry hack - trackball light

Hi guys, anyone know the registry settings to make the trackball light stay on longer? I have a xda orbit and I love the blue light on the trackball.
hb328_dtdd said:
Hi guys, anyone know the registry settings to make the trackball light stay on longer? I have a xda orbit and I love the blue light on the trackball.
Click to expand...
Click to collapse
I also wants this to light!! Everyone turns around when they see the phone when the blue light is shining.
Hey i'm looking for a tweak to disable it...
A tweak exists but doesn't work on Artemis
Maybe someone should modify the DLL file to do that...
Anyone can help us, otherwise i'll sell it : this blue led is horrible !!!!!!!!!!!!
Count me in!
It must be the way to disable this blue LED!!!
I can`t read in the dark, cause every time I roll it to go to next page, this damn things flashes :-(
khurr said:
I also wants this to light!! Everyone turns around when they see the phone when the blue light is shining.
Click to expand...
Click to collapse
Excuse me? Why somebody may want to attract people attention with a blue light? Nothing else to demonstrate?
I want it off for good. Damn thing sits there lighting up all the time at night when i'm using the ball.
You can easily tweak the registy to disable the dll (lightsdr.dll) controling the backlight.
I'v tried and "it works" : keypad stays off but screen backlight is maximum and when you switch off the device you can't switch it on, you have to soft reset...
So it is not the solution but i think it's possible to modify that. But maybe we have to edit the dll file, i don't know ?
Anyone has a better solution ?
HI,
has anyone made any progress with this? The light is bloody annoying when reading ebooks in the dark, its like being in a disco!
I use to read eBooks in darkness by Haali Reader or Alreader. Both programs have tap-zones on screen for preset actions such as page down etc. Their feature is: neither the ball, nor other buttons are shining when you choose the next page by pressing tap zone responsible for page down (or page up etc.)! It's the only way to get rid of anoying shine of the crazy diam...ball!
Blue led
next someone will be asking if it can flash in changing colours.
Flashing LED's do my head in even when trying to sleep the constant flash lights up the room.
a hack would be great.
I think the Flashing Status indicator is the best thing that comes with the PDA... I dont need to switch it on or walk to the table across the room... I just simply look on the Status LED, Green, fine ill just remain seated, Orange, oh wait theres something waiting for me ^^ And at night.... How about turning your PDA to the other side? And this is not meant offensive or funny in any way!!
sorry and not taken as offensive.
I have never used the leds for anything other than annoying colours, but we live and learn.
lets just be clear you are talking about the top leds next to the speaker correct.
god i have had xda, xdaiis, xda exec and now orbit and never knew or even noticed the different colours, just that they bugged me.
I suppose read the manual is the morel of the story.
I still maintain if we could turn them on and off it would be best of both worlds so that at night they dont annoy.
erm, you guys tried keeping your thumb over the annoying blue light?
Trackball light
Boomerangs said:
You can easily tweak the registy to disable the dll (lightsdr.dll) controling the backlight...
Click to expand...
Click to collapse
I tried changing the value's in HKLC\drivers\builtin\jogball\ but also has no effect.
Added DWORD's DisableBacklight, DisableLight, Backlight, no effect either.
Who can Help?
I know this thread is old but did anybody ever find a way to switch the blue LED off?
HELP!
Please send me the reg values for JOGBALL
I was playing with values trying to slow f'ckin' thing down and now my
wheel doesnt work... Noticed after five days, just as mutch as I
needed to forget those values
Thanks in advance!!!
I think I need just WheelMaskInterval [30] & WheelSendUpInterval [90]
Solved

[APP][v2009.04.09.2] Illumineria - Xperia Illumination Pattern Modifier

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A program for modifying the illumination patterns on the Sony Ericsson X1.
Screenshots: No screenshots are available at this time...
Features:
» Has a list of available events pulled directly from the registry, which you simply tap on.
» Has a pattern editor which you can use to view existing patterns as well as make your own*
» Can unlock hidden/disabled events.
» Can restore default settings.
* This is still experimental, but should be hard to break your device with, just restore defaults if you mess up
More information and downloads: http://illumineria.brins0.net/
Additional:
» I would like some constructive criticism to help me improve Illumineria where possible.
» It would be nice if people could upload their custom patterns for others to see. If it's popular, i'll make a page on the site to store people's custom patterns.
If you really like this program, and want to buy me a coffee, you can do so here
Thanks to:
» Redferne for his work on the binary dechiphering, the pattern editor wouldn't have been possible without his suggestions!
Just a quick update,
I've started delving deeper into the registry, and i've discovered alot of "hidden" events which for some reason have been disabled. These include illumination when the keyboard is opened and closed, as well as when you bring the device out of standby. It also seems you can make the lights illuminate for communications (WLAM/DATA activity).
I have also tried directly changing the values in the registry, ie, copying the values from the "Panel Selected" event into the "Keyboard Open" event, and it works perfectly, although it does seem to require a reboot for the changes to take effect, so I don't know how my idea for the event preview will work.
oh, im da first to post? i would like to have ur own custom pattern that u feel da best..
personally when incoming call, i juz want to make it blue led blinking...
n normal status oso i wan it to blink all da times.. i got lots of battery..haha..
besides, able to export settings or save settings, caz we flash rom time to time..
n oso, finger friendly interface of ur software..thx ya.. wish u good luck..
have a look at Xperiatweak, might give you some ideas. you can change the illumination settings with that. but its not completely customisable, you can only swap the illuminations around. if you can make it so that we can make up our own patterns and colours then i think that would be great.
Just a little update before I go out for the evening...
I've been searching through the entries in the registry to try and dechipher what the different sections of the binary represent. I've made a little progress and i've got a friend helping me whilst i'm gone.
If anyone is any good at dechiphering patterns in hex, then i'd really appreciate your help in working out what each little section means. If I can crack this, then my program (Which i've decided to call Illumineria ) can be made to allow you to design your own patterns, and assign them to any event.
If I can't crack the code, then i'll only be able to make an application that lets you assign presets to events.
In the attatchment, i've listed all of the events that are stored in the registry (after removing the duplicates), and listed what each event seems to do in very simple terms.
I look forwards to seeing if anyone can assist me, thanks in advance
I wish to have an Illumination that includes all different colors ( just like the Illumination for turning on the phone and changing panels ) when I get incoming call. That will be very cool for me.
By the way, that will be also cool if the Illumination lights keep turning on and changing color when we play music. Appreciate for your contribution and I wish u good luck
You should make a program that flashes the lights with the same BPS as the music you are listening to
Ideas...
Well where to begin....
Here are a few suggestions on how the app could be very simple and user friendly,
1. There should be a list of every colour available for the led's.
2. A list of led locations, (Top Left &/or Right, Bottom Left &/or Right,All, etc).
3. A list of events to choose from.
4. Then a list of styles, (Flash Fast/ Slow, Fade, Rainbow Fade (all colours fading into each other like a rainbow)).
Then all you would simply do is select a colour (#1), then a location (#2), then an event (#3) and finally a style (#4)
1,2,3,4, ab-ra-ca-da-bra and your done
Examples/ Combonations:
Standby Mode/ Sleep Mode: Slow Pulse, One Colour, One Location
Bluetooth On: Blue of course,Top two corners, Fast Flash.
Wi-fi on/ Connected: Pattern e.g. top left, bottom left, bottom right, top right, Fading in and out one by one.
Wait/ Loading: Top left = Fade in/ out blue, bottom left = Fade in/ out red, bottom right = Fade in/ out green, Top right= Fade in/ out yellow. (windows colours )
indy.89 said:
Well where to begin....
Here are a few suggestions on how the app could be very simple and user friendly,
1. There should be a list of every colour available for the led's.
2. A list of led locations, (Top Left &/or Right, Bottom Left &/or Right,All, etc).
3. A list of events to choose from.
4. Then a list of styles, (Flash Fast/ Slow, Fade, Rainbow Fade (all colours fading into each other like a rainbow)).
Then all you would simply do is select a colour (#1), then a location (#2), then an event (#3) and finally a style (#4)
1,2,3,4, ab-ra-ca-da-bra and your done
Examples/ Combonations:
Standby Mode/ Sleep Mode: Slow Pulse, One Colour, One Location
Bluetooth On: Blue of course,Top two corners, Fast Flash.
Wi-fi on/ Connected: Pattern e.g. top left, bottom left, bottom right, top right, Fading in and out one by one.
Wait/ Loading: Top left = Fade in/ out blue, bottom left = Fade in/ out red, bottom right = Fade in/ out green, Top right= Fade in/ out yellow. (windows colours )
Click to expand...
Click to collapse
Cool!! There are a very good ideas!!!
Yeah very cool,
is there anyway of altering the brightness of the LED? it just seems quite dim and would like them to be brighter.
I also think indy.89 idea sounds easy to use,
also those registry settings u found like lights when keyboard opens/closes did you say they work or u will get them to work in your program?
And one last thing this is off the subject but can I have a sound play when I press the pannel key? could you look at this while knee deep in registry jargon?
thank you for your time and effort on this
I may suggest moving patterns (leds running up and down), and a RANDOM pattern (sort of "DISCO" pattern) to follow music or else
Just another update before I hit the sack...
I've written a basic program with a list of known patterns. The program gets a list of available events from the registry. I've found that even when enabled, some of these events never seem to fire. For the ones which activate normally, changes work as expected.
I think by tomorrow evening I should have it ready for a beta release. I hanv't made much headway on decyphering what the binary data means, so we're stuck with the known events for now.
ToDo:
- Tidy up interface a little
- Enable disabled events
- Minor menu alterations
Replies:
Jasand said:
Is there anyway of altering the brightness of the LED? it just seems quite dim and would like them to be brighter.
Click to expand...
Click to collapse
I don't think this can be changed globally. The lights seem to be designed for night time and indoor use only, and is most likely a hardware limitation.
Jasand said:
also those registry settings u found like lights when keyboard opens/closes did you say they work or u will get them to work in your program?
Click to expand...
Click to collapse
The keyboard open/close events fire correctly and you can customise the patterns with the current beta version of Illimineria.
Jasand said:
And one last thing this is off the subject but can I have a sound play when I press the pannel key? could you look at this while knee deep in registry jargon?
Click to expand...
Click to collapse
You can make this button run any application you like by changing the value of "HKLM\Software\SonyEricsson\PanelManager\ApplicationName" key in the registry. I'm not sure if this has been menioned anywhere else, I think I may have been the first one to spot it, but i've currently got it assigned to run "QuickMenu" which is a very nice cascading start menu replacement. You can also do the same for the camera button by changing the value of "HKLM\Software\SonyEricsson\Camera\ApplicationName" key in the registry.
indy.89 said:
1. There should be a list of every colour available for the led's.
2. A list of led locations, (Top Left &/or Right, Bottom Left &/or Right,All, etc).
3. A list of events to choose from.
4. Then a list of styles, (Flash Fast/ Slow, Fade, Rainbow Fade (all colours fading into each other like a rainbow)).
Then all you would simply do is select a colour (#1), then a location (#2), then an event (#3) and finally a style (#4)
Click to expand...
Click to collapse
I don't think this would be the best way of doing it looking at what I have already learnt about how the patterns work. From what I can tell, there are 3 distinct "frames" to each pattern, so it would most likely have to be designed differently than how you ahve suggested.
dongrif said:
You should make a program that flashes the lights with the same BPS as the music you are listening to
Click to expand...
Click to collapse
Currently there is no known way to programmatically control the lights in this way, so this isn't possible. Not to mention the load on the processor trying to calculate the bpm of a song. Very few songs have an ID3 tag with the bpm, so it would ahve to be calculated on the fly.
Zeno Chan said:
I wish to have an Illumination that includes all different colors ( just like the Illumination for turning on the phone and changing panels ) when I get incoming call. That will be very cool for me.
Click to expand...
Click to collapse
This is possible with the current version which I will most likely release tomorrow, and it does look fairly impressive in action...
Nice to see the progress, good job!
First of all I'd like to clear up one misunderstanding, we are and have been aware of being able to change the panel and camera buttons functions for a long time.. We haven't been sitting still here!
Now, on the hex part, I've taken a look and have no clue as to how SE formatted the code. Can't find a pattern (pun intended) yet.
I'll see if there's anything I can find, but don't count on it, as I'm not very experienced with hex (yet). In the meantime I'll think of some lean features you might add.
thank you for your replys,
I do know you can change the pannel key to open another program but i dont want this i just want it to open pannels and play a sound of my choice.
press pannel key and the pannels show on screen but also a little tune plays or i could edit some MP3 to say "pannel mode active" or "select a pannel" a nice sexy woman voice?
I know its off topic but i would rather ask this to someone who has the brain power to know what they are doing and you guys fit the bill
Jasand said:
thank you for your replys,
I do know you can change the pannel key to open another program but i dont want this i just want it to open pannels and play a sound of my choice.
press pannel key and the pannels show on screen but also a little tune plays or i could edit some MP3 to say "pannel mode active" or "select a pannel" a nice sexy woman voice?
I know its off topic but i would rather ask this to someone who has the brain power to know what they are doing and you guys fit the bill
Click to expand...
Click to collapse
Sorry, but I have to say this doesn't belong here, regardless of your motives.
What you need is a mortscript. It's fairly easy, create a mortscript that plays a sound and launches the panels application, then assign the panel key to the mortscript and you're good. Do some searching on how mortscript works and you'll have this created by yourself in no time!
I would like to change the colors for the diffrent sitations like sms, missed call and so one. It is not possible in the orignal rom.
The other things which are posted here, like the blue color for bluotooth connections and so one are great too.
thank you and apologies for goin off topic
to be honest i dont think we can give anymore input until we have tried the program and then add comments as it seem you are fully on top of this.
How much drain would the battery have do you think if the LEDs glow blue constantly if the bluetooth is always enabled? or other modes.
would it be possible to add a timer function i.e. on connecting to wifi the LEDs will act for a certain amount of time before being disabled.
The LEDs used aren't very powerful ones, thus shouldn't use too much power. Theoretically it's possible to "call" the LED patterns, if we can find the LED controller. I guess that's what we're looking for at the moment.
Already have it installed and im trying it right now.
So far, I have one big suggestion. Change the highlight color in the menu. Its nearly impossible for me to tell what i currently have selected. Gray on darker gray isnt very visible lol.
Also, can you add an option to test the patterns?
EDIT: It definitely does work though.. Just made my phone display the rainbow pattern when I open the keyboard. Awesome.
EDIT2: It seems like it can only change one thing at a time. If I change multiple things, nothing happens...
Just tested this with the QWERTY Close and On functions. changed both and then restarted, nothing got changed. Changed only close and restarted, that worked.
EDIT3: Standby and QWERTY_ON doesnt seem to do anything.
Error
Usine itjes 6.5 latest build I cannot set an illumination. I get nullexception and a message to send an email with the log created in the Program Directory.
I was looking forward to my little disco too

Direction of screen flicking & trackball

Hi
I noticed that the direction of trackball movement is opposite to that of the screen flicks when moving across the 7 home screens. One has to do exactly the opposite when using the trackball to that using finger flicks on the touch screen. I wasn't sure if this was intentional or not and therefore wanted to know if anyone is aware of how to reverse the trackball direction via a setting?
Thanks
No one?
Guys
Does no one have any thoughts on this? Surely someone must have thought that this doesnt feel right?
regards
Simply, there are two intentionally different mechanics at work:
When flicking, you are moving the whole world under your view/focus, while the view/focus stays still (flicking to the left slides everything off to the left, bringing the pane to the right into view)
When using the trackball, you are moving your focus point (highlighted icon) and when this moves beyond your view, your view follows. Moving the focus to the left of the pane causes the view to have to follow and bring the left pane into view. It's like looking at an object beyond your current field of view in real life, you must turn your head to bring it into view.
This probably doesn't belong in this forum though
biosehnsucht, many thanks for your response. I understand the need for it to work in this way. It was just that I was confused with the intent of such an action and wanted to know if we could change 'any setting' if at all, to reverse it.

theme help - lockscreen unlock image alignment

hi. hope someone can help me please.
i am working on a theme port and im almost complete except... the unlock image is not correctly aligned wwith the slider on the left side of the screen.
i can visibly see that the unlock image is closer to the left screen edge than the volume icon is to the right edge. both tabs are mirrored correctly. the volume icon sits perfectly over the dimple on the right tab but the unlock is about a quarter of the width of the image out.
i am new to this. i looked through the layout keyguard xml files but didnt see anything that determines how each icon justifies to each side of the screen.
this on a gb rom theme.
can someone please point me in the right direction?
apologies for my grammar and punctuation. i wrote this ug s bluetooth remote
thank you
may i see ur screenshot>
Hi,
This was ages ago. I cheated and made the image bigger

[Q] increase LED notification flash rate?

the default of ~3 second intervals between flashing is a bit slow for my liking. Is there any way to make it flash faster when there are notifications to be checked?
Man I can't stand the gap between flashes. The "did I just see it flash?" thing I deal with every day. And why can't it flash green while charging? Or flash a different color for text, email and missed calls/voicemail? It does green, orange and red, surely this can be assigned by some sort of voodoo or dark arts?
Eric
You can use a program called nueled to adjust the LEDs to some extent, I don't believe you'll be able to adjust the flashing speed, but you can redirect the behaviors to make it a steady light and with some control over the color of the light.
I personally use it to kill off the LED while charging / finished charging, so that I can plug it in and do a crossword or watch a recorded show before going to bed without the light blinding me.
Cool thanks, I'll check it out! Wow your first post. I'm honored.
Eric
Just following up on this, I installed the version on the first page of this thread (v1.5)
http://forum.xda-developers.com/showthread.php?t=371391
and it didn't do anything. The scanning function gave a popup error I couldn't make disappear without pressing the Call End button. There was registry removal info in one of the posts in that thread but I also received an error like the poster had. The Remove Programs uninstaller didn't work either.
My Tilt2 is on its way out of my life at some point hopefully soon, but it would still be nice to control the LEDs somehow.
Eric
A developer here on xda named zevele created blinker which will control the led on the tp2. I downloaded it here on xda. I dont know exactly where it is but search the tp2 forums and youll find it.
For those who may search and find this thread, the link to the blinker app is in the HD2 themes and apps sub forum. http://forum.xda-developers.com/showthread.php?t=830299

Categories

Resources