|
Subscribe RSS 2.0 feed |
Subscribe Atom feed If you wish to receive email notification, please here » |
« Back to business | Main | Without 2% market penetration, you can't get to 10% or 25% or 50% or 100% »
Have you heard about the Apple Mac hackers who turned Mac into a jedi weapon, using the built-in motion sensor?
Well, Forum Nokia has released the 3D accelerometer (Sensor) API for S60 3rd Edition SDK intended for utilizing the built-in 3D accelerometer sensor on Nokia 5500 Sport.
The question is: who will be the first one to turn Nokia 5500 Sport into a light saber, with all the sound effects? :-)
(Yes, I know Nokia 5500 Sport is not in the shops yet, but I have a gut feeling it will be quite soon...)
Comments
I would really like to use the accelerometer if there were a Java API.
Even if it were a "Nokia only" API. It was the same situation with the SMS API in the early Java phones. (I remember my old 3410. But after a firmware update I had the real WMA API ... but the Nokia API was very similar.)
So please Nokia: Make the cool features of your upcoming phones available to Java developers.
Björn
Posted by: Björn Quentin | July 12, 2006 02:02 PMGreat idea! Why not add Bluetooth multiplayer support so you can have light-sabre battles - complete with vibration effect when the virtual sabres hit each other!
I wonder if there's an opportunity here to collaborate with Nintendo and their Wii console here? AFAIK its controllers communicate with it via Bluetooth. Maybe S60 phones with 3D sensorts could link up and act as extra controllers and/or download mini-games to take with you when you leave home!
Posted by: James | July 13, 2006 05:26 AMThanks - nice ideas, although I have some doubts about the feasibility of Nintendo cooperation here.
Posted by: Tommi Vilkamo | July 14, 2006 10:04 AMI knew the Nintendo thing would be a long-shot. But hey - one can dream, right?
^_^
Posted by: James | July 14, 2006 12:15 PMthis is stylez mobile
and more features& design verynice my small suggetion for u u are arrange backlight in nokia lable(means ur logo)
Posted by: k mallesh | December 15, 2006 02:40 PMthaking you sir,
So has any one made it yet?
If so has anyone got a link for it!
Im dying for it, itll be great fun!!
Thanks G.
Posted by: Glendel | May 31, 2007 01:12 PMOk, so I made an effort. The latency is quite bad and the gesture recognition I'm using is very very basic but it's still cool! It was written with Python for S60...http://www.youtube.com/watch?v=qBAE1n9utSI
Posted by: Steven Strachan | June 21, 2007 08:17 PMSo where's the download then dude?
Posted by: Glendel | June 25, 2007 05:31 PMWow! Cool! What did you use for sound output? Sounds pretty smooth.
Posted by: Jukka Laurila | June 25, 2007 11:51 PMThe download...hmmm, Ill work on it. The trouble is that it uses a couple of custom python extensions, one for the audio and one for vibration (yeah it has vibro feedback too that i forgot to mention ;). So it's a bit difficult for me to just to hand them to people 1. because it's not complete yet and 2. they were coded by other people in my research group.
but as I say ill work on it...
Jukka, the sound is generated from our python extension which I believe uses the native symbian audio. Allows much more creativity than the standard audio python package.
Posted by: Steven | June 28, 2007 07:35 PMi fully satisfye
Posted by: K MALLESH | July 1, 2007 09:55 AMicant understood my mobile5500
hi,
where can i find a code example in python that utilize the accelerometer extension?
no need to be a fancy app, simple example will just do
thanks
Posted by: azmee | July 26, 2007 06:54 AMAfter the release of the nokia Accelerometer API for the Nokia N95 I knocked up this light sabre application for the N95 :
http://www.zoeandgraham.co.uk/lightsabre/LightSabre_S60_3_X_v_1_0_0.sisx
You'll need to install the Acceletometer API first:
http://research.nokia.com/files/N95_RD_Accelerometer.zip
To turn on the sabre press the main ok / fire button then swing the phone, press again to turn off.
First version so comments bugs welcome....
Posted by: Graham Oldfield | November 10, 2007 08:56 PMGraham,
I tried to install the files, and the Accelerometer was already installed, but when I tried to install the light sabre app, I get a popup that says "Unable to Install".
Any help is appreciated, I'd like to feature this on my blog, Symbian-Guru.com. Feel free to post a fix here, or email me guru(a)symbian-guru(dot)com
Posted by: Ricky CaddenSorry about that I make the version in the sis 0.1 before release (from 1.0 default) the installer didn't like it :( , try again from http://www.zoeandgraham.co.uk/lightsabre/LightSabre_S60_3_X_v_1_0_0.sisx
You may need to clear you're browser cache to get the new version as it has the same name as the old one.
Posted by: Graham | November 10, 2007 10:52 PMI installed as directed but got nothing when swinging (and shaking) the phone. Any one else had it working?
Posted by: Carl Britton | November 11, 2007 12:43 PMI've some problem with this app: i've installed it, but it's not working.
Posted by: perceval | November 11, 2007 12:58 PMI didn't be able to launch it, pushing the center button nothing happens...
I've some problem with this app: i've installed it, but it's not working.
Posted by: perceval | November 11, 2007 12:59 PMI didn't be able to launch it, pushing the center button nothing happens...
Once you start the app you need to
"To turn on the sabre press the main ok / fire button then swing the phone, press again to turn off."
Next version will have a menu option and on screen instruction to press ok/confirm to start
Posted by: Graham | November 11, 2007 01:00 PMNice one Graham!
Posted by: James | November 11, 2007 01:03 PM...now if only I had an N95...
Quote: Once you start the app you need to
"To turn on the sabre press the main ok / fire button then swing the phone, press again to turn off."
Posted by: Carl Britton | November 11, 2007 04:30 PMThat's what I did but nothing happened. I'm assuming when you swing the phone there is supposed to be some sound but no matter how many times I tried pressing the centre button there was nothing.
Just found some info on another site and you have to install both bits of software on the phone memory, not a memory card. Mine now works.
Posted by: Carl Britton | November 11, 2007 04:56 PMHmmm not sure why you need to install on phone memory, there's no drive hard coding. I'll see if I can fix for the next version.
Posted by: Graham | November 11, 2007 06:03 PMthats nice! ;)
Posted by: Apo | November 11, 2007 11:48 PMHi Graham! Nice work!
Posted by: dario | November 12, 2007 11:34 AMDo you think is possible to make a version working for the Nokia 5500?
Would be great!
How do i get it to work on my 5500??
Loaded it onto it but it, the options there but when i go to start it nothing happens!!
Any ideas??
Thanks G.
Posted by: Glen | November 12, 2007 11:46 AMHi Glen,
I've no idea if it'll work on a 5500 it uses the N95 Accelerometer API.
If any one can point me at the Accelerometer API for the 5500 I'll create a version for it as well.
/Graham
Posted by: Graham | November 12, 2007 09:27 PMGreat work Graham! I cant wait the next version. :)
Posted by: SimcardDon't know if it's right what you need but maybe you can have a look at http://www.forum.nokia.com/info/sw.nokia.com/id/4284ae69-d37a-4319-bdf0-d4acdab39700/Sensor_plugin_S60_3rd_ed.html
Posted by: Dario | November 13, 2007 10:48 AMHope you can do a 5500 version of it.
Ok cool thanks Dario , I'm working on a new version that'll hopefully be more responsive (using a different media player API) and have flashing green screen.
I'll try using this new API instead if I can for the next version.
Cheers
Graham
Posted by: Graham Oldfield | November 13, 2007 10:55 AMNice one guys!
Keep up the good work Graham!
Am looking forward to it!
Thanks G.
Posted by: Glen | November 13, 2007 12:13 PMHi All,
New version 1.1 of Light Sabre
New features:
- No lag at all when swinging.
- No pause in between sabre hum when idle
- Light Sabre Green light emulator (tm)
- Text that says 'Press ok to start'
http://www.zoeandgraham.co.uk/lightsabre/LightSabre_S60_3_X_v_1_1.sisx
If I get time this week I'll look at using the sensor API so it works on both 5500 & N95.
Cheers
Graham
Posted by: Graham | November 14, 2007 12:26 AMGraham,
Major improvement over the previous version, nice one!
A couple of thoughts if you do another version.
1. Any way of keeping the screen lit when in use, like when watching a video clip?
2. Can the software distinguish between a swing an sudden stop? If so could the clash sound only be used for this rather than when swinging?
Still a great app that has people in the pub wanting to have a go!
Cheers
Posted by: Carl Britton | November 14, 2007 11:23 PMGreat work Graham! I must admit that it was really funny, in a dorky way, to play around with your Light Sabre. Moreover, it's a great eye-opener about the technical possibilities of an accelerometer.
> 2. Can the software distinguish between a swing an sudden stop?
> If so could the clash sound only be used for this rather than when swinging?
I second that.
Posted by: Tommi Vilkamo | November 15, 2007 09:16 AMJust been pointed to this site after posting a wish list for the N95 lightsabre over on Allaboutsymbian. As this seems to be the more regular spot, I'll reporduce it here.
1. Volume control. Any chance of any option to quieten it down a little? Whilst full volume is great in some/most situations, there are times when a little less would be good (my office for one!)
2. "Impact" detection. ie sudden stops result in the impact noise rather than randomly introduced into the mix
3. Light colour choice, option for red, green, blue, depending on your fancy/allegiance.
But appart from that, top app, well done and thanks
Posted by: Chris | November 15, 2007 12:00 PMOptions continued....
Another one : Have the text disappear off the screen once the lightsabre is activated.
Posted by: Chris | November 15, 2007 12:08 PMHey leave him alone until hes finished the 5500 version!
We asked first! (lol)
:-)
Thanks G.
Posted by: Glen | November 15, 2007 01:54 PMAlthough you N95 guys are kinda beta testing it for the rest of us!
If we're lucky we'll get the bug free option eneabled polished version!
Here's hoping Graham! ;-)
Thanks G.
Posted by: Glen | November 15, 2007 02:08 PMHi,
Ok new release this is a kinda Beta release V1.2
o Uses sensor API 'should' work on 5500 & N95 (please can someone here check I haven't got a 5500 )
o More Vrumms less Tishes
o Press left for medium vol right for Max vol
o Press up for dark side , down for light side
o Tweaks to sensitivity
http://www.zoeandgraham.co.uk/lightsabre/LightSabre_S60_3_X_v_1_2.sisx
Feedback welcome especially if it works on 5500, the sensors API requires you to supply a sensor id to match the right sensor (accelerometer) from CRRSensorApi::FindSensorsL but the supplied accelerometer id 0x10273024 doesn't match the N95 id. So I mach on sensor name which in the N95 is "RotSensor" hope it's the same on the 5500 any nokia guys here?
Cheers
Graham
Posted by: Graham | November 15, 2007 11:35 PMps. Thanks to everyone for the suggestion improvements :)
Posted by: Graham | November 15, 2007 11:41 PMit don't work with my 5500. I've installed LightSabre, but it's not working.
I didn't be able to launch it.
candre
Posted by: candre | November 16, 2007 01:33 AMWorks in N95 8GB :)
Posted by: Jukka Eklund | November 16, 2007 09:31 AMGraham, the name is different in 5500, I noticed that in PyS60 documentation. Does this help : http://wiki.forum.nokia.com/index.php/N95_sensor
Works in N95 8GB :) Anyone tried with N82?
Posted by: Jukka Eklund | November 16, 2007 09:44 AMHi Graham.
It all looks great!
Options work well!
Only 1 problem, no movement detection, just humms!
Oh and can we get the colours solid as the flashing hurts my eyes! ;-)
Ill play around some more an get back to you!
Thanks G.
Posted by: Glen | November 16, 2007 10:36 AMHi Graham.
It all looks great!
Options work well!
Only 1 problem, no movement detection, just humms!
Oh and can we get the colours solid as the flashing hurts my eyes! ;-)
Ill play around some more an get back to you!
Thanks G.
Posted by: Glen | November 16, 2007 10:40 AMHi Graham.
It all looks great!
Options work well!
Only 1 problem, no movement detection, just humms!
Oh and can we get the colours solid as the flashing hurts my eyes! ;-)
Ill play around some more an get back to you!
Thanks G.
Posted by: Glen | November 16, 2007 10:41 AMHi Graham.
It all looks great!
Options work well!
Only 1 problem, no movement detection, just humms!
Oh and can we get the colours solid as the flashing hurts my eyes! ;-)
Ill play around some more an get back to you!
Thanks G.
Posted by: Glen | November 16, 2007 10:43 AMHi Graham.
It all looks great!
Options work well!
Only 1 problem, no movement detection, just humms!
Oh and can we get the colours solid as the flashing hurts my eyes! ;-)
Ill play around some more an get back to you!
Thanks G.
Posted by: Glen | November 16, 2007 10:53 AMHi Graham.
It all looks great!
Options work well!
Only 1 problem, no movement detection, just humms!
Oh and can we get the colours solid as the flashing hurts my eyes! ;-)
Ill play around some more an get back to you!
Thanks G.
Posted by: Glen | November 16, 2007 10:54 AMDoesn't work on my 5500 neither...
Posted by: dario | November 16, 2007 11:01 AMSorry Tommi didnt mean to post so many times!
It kept giving me errors and telling me to try again!
Thanks G.
Posted by: Glen | November 16, 2007 11:02 AMSorry didnt mean to post so many times!
It kept giving me error message and telling me to try again!
Posted by: Glen | November 16, 2007 11:04 AMThanks Jukka :
"The UID of the sensor is 0x303E. This UID can be used to get the call back notifications about the movement. The following link, sensor example, has the example for 5500 sensor.The UID of the 5500 sensor is 0x10273024"
I got 0x303E on the N95 so 0x10273024 should match the 5500, hope the Ids for sensors stay consistent for future phone...
I'll make a quick update this evening that includes both UIDs.
Hi Glen, have you got an N95? do other accelerometer apps work? plus have you got the latest firmware this uses an inbuilt API rather than the add on sis for the older versions of sabre.
/Graham
Posted by: Graham | November 16, 2007 11:05 AMThanks Jukka :
"The UID of the sensor is 0x303E. This UID can be used to get the call back notifications about the movement. The following link, sensor example, has the example for 5500 sensor.The UID of the 5500 sensor is 0x10273024"
I got 0x303E on the N95 so 0x10273024 should match the 5500, hope the Ids for sensors stay consistent for future phone...
I'll make a quick update this evening that includes both UIDs.
Hi Glen, have you got an N95? do other accelerometer apps work? plus have you got the latest firmware this uses an inbuilt API rather than the add on sis for the older versions of sabre.
/Graham
Posted by: Graham | November 16, 2007 11:15 AMHi Graham.
I've got a 5500!
Ive never updated the firmware on it!
Other apps work fine Grove Lab etc.
Any ideas?
Posted by: Glen | November 16, 2007 11:23 AMThanks G.
Hi, Graham !
I'm Samir, developer of rotateMe and Nokmote.
Congratulations for your great and funny app!
What do you think about activating/desactiving the sabre by opening/closing the slide ?
Regards,
Posted by: Samir Oueldi | November 16, 2007 11:47 AMSamir.
Great to see this update. Thanks. Thought you might like to know that this app is the subject of heated discussion over at allaboutsymbian, with many suggestions (some dubious ;-) )
thread link http://www.allaboutsymbian.com/forum/showthread.php?t=66474
Posted by: Chris | November 16, 2007 11:55 AM"The UID of the sensor is 0x303E. This UID can be used to get the call back notifications about the movement. The following link, sensor example, has the example for 5500 sensor.The UID of the 5500 sensor is 0x10273024"
I got 0x303E on the N95 so 0x10273024 should match the 5500, hope the Ids for sensors stay consistent for future phone..."
To graham :
Please don't use the 0x303E on the N95 because it only detect 4 position : device is bottom , top , left or right !!!!!!!!!!!!!!!!!!
N95 doesn't support yet officialy the API sensor of the 5500 :( YOU MUST USE the Plugin api and the previous (look at the MovingBall example source code for understand how it works ...)
If you use 0x303E it won't work at all :( :(
"Note that with N95 you can only get one sensor and it gives only 4 different values (0/90/180/270), whereas with 5500 you get lot more information values for X,Y and Z axes "
http://wiki.forum.nokia.com/index.php/N95_sensor
Keep the good work
May the force be with you :)
Thanks
Posted by: Cyke64 | November 16, 2007 11:58 AMto graham and samir:
I had the same idea : it's easy but not documented
When you move the slide you receive key events.
Here are my results with (keycode , scancode) :
You can detect 4 movements of the slide but not the current status of the slide on N95 :(
Begin from N95 slide close (in my pocket !)
1° Slide is opened (keyboard is visible) (EKeyDevice4=63558,EStdKeyDevice4=168
2° Slide is closed (keyboard disappear)
(EKeyDevice5=63559,EStdKeyDevice5=169
Begin from N95 slide close (in my pocket !)
3° Slide to Media player (media keys are visible)
(EKeyDevice8=63562,EStdKeyDevice8=172
4° Slide to close (return to my pocket !)
(EKeyDevice9=63563,EStdKeyDevice9=173
Keep up the good work samir
I'm waiting for your cool apps soon :)
If you are programming with PyS60 you can found
aXYZ for using accelerator with N95 and Plugin from NRC
http://sourceforge.net/project/showfiles.php?group_id=132176
Cyke64
Posted by: Cyke64 | November 16, 2007 12:29 PMHi Cyke64
Version 1.2 already does :) it uses the sensor API and I check for the name "RotSensor" which I assume is == the id 0x303E.
It seems to work ok for my needs , i.e still makes swinging sounds.
The algorithm I use for swinging is very very simple it just looks at the delta of the x + y + z of the current swing versus the current callback if it's > a certain value then vrummm. So simply changing the position and getting callbacks is probably enough plus one version should work on both phones.
I'll update with both UIDs tonight.
/Graham
Posted by: Graham | November 16, 2007 12:33 PMHi Graham ,
If you use sensor API you get only one value with N95
x value whick can be 0 , 90 , 180 or 270 and Y is always -1 and Z is always -1.
So you lose precision in delta value I think
What do you think of that ?
Cyke64
Posted by: Cyke64 | November 16, 2007 12:43 PMHi Samir and Cyke64 , thanks for the tips.
Version 1.2 on the N95 does suck a bit (not as responsive and vrumms on angle change), you're right its not the velocity anymore but the angle of the phone as you said Cyke64 :( mind you it's was a BETA release.
Okkkay two different incomatible APIs , I'm going to have to refactor out the acceleromter stuff into 2 seperate dlls one for N95 and one for sensor API and create two seperate version of sabre linking to each relevant dll. Grrrrrr
Eventually when that's done I'll use your key code s Cyke for the slider open vrum cool idea :) , Samir you're apps look cool too a lot more useful than mine, look forward to the signed version so I can play with it.
Cheers
Graham
Posted by: Graham | November 16, 2007 09:58 PMHi,
New release with various small new features, sorry no 5500 version at the moment it's going to be a hassle for me to support as there isn't a common API.
/Graham
Light Sabre V1.3
================
N95 series only,
please ensure you have the N95 Acceleromter sis file installed
from http://research.nokia.com/files/N95_RD_Accelerometer.zip
New Features:
o Opening and closing Slider turns sabre on and off
o Press any number key for sabre hit
o More fx samples for swings
o More Vrumms less Tishes
o Press left for medium vol right for Max vol
o Press up for dark side , down for light side
o Back on the old N95 acceleromter API so more sensitive again. (sorry no 5500)
Download from:
Posted by: Graham | November 17, 2007 01:19 AMhttp://www.zoeandgraham.co.uk/lightsabre/LightSabre_S60_3_X_v_1_3.sisx
How about N93, does it work?
Posted by: Jukka Eklund | November 17, 2007 10:25 AMHi graham is this any help for the 5500 version?
http://www.forum.nokia.com/info/sw.nokia.com/id/4284ae69-d37a-4319-bdf0-d4acdab39700/Sensor_plugin_S60_3rd_ed.exe.html
Thanks G.
Posted by: Glen | November 19, 2007 11:45 AMHi Glen,
Thanks for the link v1.2 did use that plugin, however it broke the N95 version, see the comments above from Cyke64 etc.
For me to support the 5500 I'd have to branch the code and maintain two separate version which is a whole lot of hassle.
If there is a new version of the sensor API that supports both 5500 and N95 and future phones then I'll make a new single release.
Cheers
Graham
Posted by: Graham | November 19, 2007 11:51 AMCan anyone help Graham out here?
I've seen alot of you have posted elsewhere whilst im looking for something to help him but i dont really know what im looking for!
Please need 5500 version!!!
Many Thanks G.
Posted by: Glen | November 19, 2007 02:26 PMthe new version not work in my n95 when i try to open the apps doesn't open
Posted by: jimozzo | November 19, 2007 05:38 PMHi Glen...
Sadly the post of Tommy "Who can turn Nokia 5500 into a Star Wars Light Saber" had become "Who can turn Nokia N95 into a Star Wars Light Saber"!!
It's sad but that phone has much more fans than our poor 5500... :(
By the way, there's a python script which does nearly the same as Graham program. Visit:
noselodigasalolo.blogspot.com
(and search for the nokia 5500 lightsaber there!)
Good work anyway Graham!
Posted by: dario | November 19, 2007 05:39 PMKeep on like this!
Dario
Hi Dario
Thanks for the link.
Had found that blog already and only just made sense of it!
Im new to all this so need to know where to put the files from the download!
Thanks G.
Posted by: Glen | November 19, 2007 06:34 PMHi Glen!
Posted by: dario | November 20, 2007 11:31 AMIt's a bit more complex than simply intalling a .sis file but not impossible...Firstly you need to install the python interperter and the script shell (search "pys60" on google to find the 2 files you need to install; "PythonforS60_1_4_1_3rdEd.sis" and " PythonScriptShell_1_4_1_3rdEd.sis"). Then u need the python extension to be able to use the raw data from the accelerometer (search pyextaccel on google and you will find jespern's page where you can download the extension). Third you need the script from noselodigasalolo@blogspot.com (which you already have! ;))
Put the script in the folder E://python
Run the python (you'll fine the icon of the software somewhere in your phone menu) and then run the script!
And you have something similar to a LightSaber...still very simple movement recognition and only two sounds are used to reproduce the lightsaber effects + the background sound...I'm trying to improve it and I added some vibrations when the "hit sound" is played but it's still very very simple...
Hope it helped you!
Bye
Hey Dario
Had worked most of that out from the spanish site and the links on it! (tutorial site is good!)
Didnt know about the accelorometer extension so thanks for that!
Got it working (not bad for a rookie eh?)
Will look into playing around with the script at some point!
Let me know how you get on with your version!
Thanks G.
Posted by: Glen | November 20, 2007 11:48 AMHello ,
@graham
BUGS for LightSaber 1.3 :
- LIGHT and not LIGTH must be displayed in the first screen :D
- opening slider bug : if you turn on your lightsaber with opening N95 slide and you closing slide before sound has finished to play lightsaber is always turn on !!! (not the correct behaviour it must be turned off !)
suggestion :
S60 3rd has a API for turning ON/OFF/blink screen and keyboard with fading lights !
features :
turn screen ON infinitely
turn screen OFF infinitely
blink screen
light ON lower keyboard (= numeric keys)
light ON lower keyboard
blink lower keyboard
light OF upper keyboard (= red key , green key etc.)
light OF upper keyboard
blink upper keyboard
It would be great to add this to LightSaber 1.4
You could have all info and example (It works great on my N95)
Keep up the good work
I'm waiting for 1.4 :)
Cyke64
Posted by: Cyke64 | November 20, 2007 01:46 PMHello ,
@graham
BUGS for LightSaber 1.3 :
- LIGHT and not LIGTH must be displayed in the first screen :D
- opening slider bug : if you turn on your lightsaber with opening N95 slide and you closing slide before sound has finished to play lightsaber is always turn on !!! (not the correct behaviour it must be turned off !)
suggestion :
S60 3rd has a API for turning ON/OFF/blink screen and keyboard with fading lights !
features :
turn screen ON infinitely
turn screen OFF infinitely
blink screen
light ON lower keyboard (= numeric keys)
light ON lower keyboard
blink lower keyboard
light OF upper keyboard (= red key , green key etc.)
light OF upper keyboard
blink upper keyboard
It would be great to add this to LightSaber 1.4
You could have all info and example (It works great on my N95)
Keep up the good work
I'm waiting for 1.4 :)
Cyke64
Posted by: Cyke64 | November 20, 2007 01:49 PMHello ,
@graham
BUGS for LightSaber 1.3 :
- LIGHT and not LIGTH must be displayed in the first screen :D
- opening slider bug : if you turn on your lightsaber with opening N95 slide and you closing slide before sound has finished to play lightsaber is always turn on !!! (not the correct behaviour it must be turned off !)
suggestion :
S60 3rd has a API for turning ON/OFF/blink screen and keyboard with fading lights !
features :
turn screen ON infinitely
turn screen OFF infinitely
blink screen
light ON lower keyboard (= numeric keys)
light ON lower keyboard
blink lower keyboard
light OF upper keyboard (= red key , green key etc.)
light OF upper keyboard
blink upper keyboard
It would be great to add this to LightSaber 1.4
You could have all info and example (It works great on my N95)
Keep up the good work
I'm waiting for 1.4 :)
Cyke64
Posted by: Cyke64 | November 20, 2007 02:06 PMTo Graham
Read your post on aas and didnt want to sign up to another blog so i thought id post here!
I found them while looking for new sound to put in the 5500 version im playing with!
http://www.theforce.net/fanfilms/postproduction/soundfx/soundfx03.asp
Hope they help!
Thanks G.
Posted by: Glen | November 23, 2007 02:45 PMmybe this will help for N5500 if u're using python...
Instead of just passing on raised events, event filtering is also supported. Two examples of using
an event filter are also provided by the sensor module, namely the class OrientationEventFilter
and RotEventFilter. Both filters can be used to raise events when the device’s orientation changes
(e.g. when it’s turned to the right). The support is device dependent, e.g. Nokia 5500 supports
OrientationEventFilter and Nokia N95 supports RotEventFilter
This is taken from documentation in PythonForS60_1_4_1_doc.pdf
Posted by: WODAK | November 29, 2007 12:05 PMto wodak:
Event filter is not interesting with LightSaber because interesting data is X,Y,Z not tilt orientation !!!
N95 with firmware 5500 is supporting sensor module : tilt ; X,Z,Z axes and tapping !
Now information is clear !
Cyke64
Posted by: Cyke64 | November 29, 2007 05:37 PMto wodak:
N95 with firmware
Cyke64
Posted by: Cyke64 | November 29, 2007 05:39 PMUmm, the pyextaccel does not seem to want to install, it moans about an expired certificate. What could be the problem?
Posted by: Noob | November 30, 2007 07:37 PMJust a short message to say thankyou to Graham for lightening up our average days at work :-)
And I wanted to throw in a new idea, sorry if you consider it off topic: Based on the Light Sabre it should probably not be very difficult to make a guitar application...? N95 Air Guitar!!! How about that!? I think that would be a really cool application for the N95. One chord for each key, different sound effects for different movements and so on. You fix?
Posted by: Magnus | December 1, 2007 12:12 AMNew version V1.4
Details here:
http://graho.wordpress.com/
Cheers
Graham
Btw: cool idea about the air guitar :) ...
Posted by: Graham | December 2, 2007 11:25 PMJust installed the new LightSabre, getting better every day :-D
Posted by: Magnus | December 3, 2007 03:17 PMAbout the air guitar, I posted the idea to Nokia's 3rd party application wishlist. They moved it to S60 feature wishlist, whatever that means. Maybe they'll include it into the firmware? That would be cool! But I guess you are pretty close to make this app too, if you want to. I just can't wait to hook the phone up to the big amplifier and make some real noise :-D
@noob:
What do you want to make with pyextaccel ?
Which phone do you use ? If you use N95 don't use pyextaccel (it's only limited to Rot sensor)
If you use N95 with firmware aXYZ module
N95 with firmware = 20.0.015 --> sensor module with PyS60 1.4.1
5500 --> sensor module with PyS60 1.4.1
Cyke64
Posted by: Cyke64 | December 3, 2007 05:32 PMI'm following dario's instructions to get the 5500 light sabre script working. And since I really don't have that much experience, I'm just following instructions :D So, another stupid question..How do I use (register?) the (obviously inbuilt into PyS60 1.4.1) sensor module. I can't find _sensod.pyd file in my c:\resource. If it has anything to do with this..?
I have been wanting to have a lightsabre application for my phone as long as I've had it, almost a year now, so bear with me.. And thanks for the advice so far!
Posted by: Noob | December 4, 2007 02:10 PMThe new version works on 5500 but not with accelerometer only number buttons but its still fun!!
Good work Graham!
Thanks G.
Posted by: Glen | December 4, 2007 04:13 PM@noob: to dodge the problem with the expired certificate put the date of the phone 1 year back before installing pyextaccel!
At the moment the only version of lightsaber working on 5500 is the "noselodigasalolo-lightsaber".
The Graham version starts up but then the program fails to fetch the data from the accelerometer so, as Glen says, you can only hear the background sound, see the red/green flashing screen, adjust volume and you have to press the buttons to play the "tishes" sounds (no movement recognition working)....I have read on noselodigasalolo.blogspot.com that the developer of the lightsaber-script was able to run also Graham lioghtsaber v1.2 on his 5500...I would like to ask him how he did it but I have firewall restriction and I can't post on blogs like *.blogspot.com....if anyone knows how to do it is welcome here!
Hey cyke64, you seems to be well skilled in this accelerometer stuff...
Posted by: dario | December 5, 2007 10:33 AMsensor.pyd is not accessible in 3rd phone it's hidden in c:\sys\bin folder !
And sensor.py is in c:\ressource. But the Python saber doesn't use sensor module but Pyextaccel as Dario told you !
INSTALLATION
Install Python 1.4.1
Install PythonShell 1.4.1
Now put your phone date 1 year before
Install pyextaccel
Now put the right date again
Install saber script to e:\python
RUNNING
Launch PythonShell with the Python icon in the menu.
Options->Run script
@dario : The author has installed the Graham LightSaber 1.2 on phone memory but he didn't say if it works really or if makes only hums ...
BR
Posted by: Cyke64 | December 8, 2007 09:44 AMCyke64
Sweet, it works now, thanks for the Sabre4Dummies instructions :D
Posted by: Noob | December 9, 2007 11:04 PM@noob :
GREAT !
Now you can finally enjoy your NokiaSabre !
Are you happy ?
Cyke64
Posted by: Cyke64 | December 10, 2007 08:52 PMCyke64: Yes, pretty happy, but the it is not that responsive, I may hear clash sounds while the phone is not moved at all or it may take some time to hear the whoosh sound. :D Better than nothing, though..
Posted by: Anonymous | December 11, 2007 01:16 PMYes this version is probably not the best...the sounds that you can hear are a "background collage" sound named fondo_largo. This collage was done because the official background sound was too short and everytime the program loads the sound it takes some time to do it resulting in a silence gap between two consecutive sounds. The delay in palying the woooshes is due to the audio plugin which probably does not support sound mixing.
Posted by: dario | December 11, 2007 06:27 PMhi Grayham
Posted by: bob | December 15, 2007 11:56 PMJust stumbled across this thread toinight. Its great to track the development of an idea in such a way.
Great stuff! Keep up the good work and may the force be with you!!
Cheers
Bob
how do i get the lightsaber working on 5500? plz tell me how to do. i've installed python and i can start it on my phone but how to do then? shall i start the lightshaber file in pythone or what? i dont understand how to do plz help me)=. i followed darios instruktions but i didnt really understand how to do=/
Posted by: Defeat | December 16, 2007 10:51 PM@defeat : follow sabre4dummies instruction below !
Cyke64
Posted by: Cyke64 | December 17, 2007 10:10 AM@Defeat:
If you've followed my instructions above then you have all the necessary stuff to be a jedi!
I mean:
- python interpreter
- python shell
- pyextaccel extension
installed on your 5500.
You should have saved the lightsaber script from noselodigasalolo and all the files which come with it(3 .wav files and 2 .png files for character displaying)in E://python/
Now launch python (you will find the icon of the program in your "Favourite" folder)and run the script lightsaber by pressing left softkey.
That's all!
The script does not start automatically, you have to activate it by pressing again the left softkey.
I've tried to elaborate the script a little but, since I'm not very skilled in python programming, I had only translated to italian and improved just a little the graphic of the script (nothing really interesting).
Posted by: dario | December 17, 2007 10:34 AMI tried to insert some more sounds (by now it only hastwo tishes sounds and a background sound)but I only get errors...do someone have tried out something new?!?
New Features:
* Vibration support with Sabre Tingle ™
* Set up your sabre technology ™ including
o Set Volume
o Set Sensitiviy (from 8 (little movement) to 120 (fling across room for swing)
o Set Vibration On / Off
o Set Hit Detection ( Auto detects strong movement as hit , Random , causes random hit effect slightly more responsive)
o Set Sabre Colour (Green, Red , Yellow, Blue, Magenta, Cyan, Orange);
* Setting are now saved.
http://graho.wordpress.com/
Posted by: Graham | January 5, 2008 12:20 AMNew Features:
* Vibration support with Sabre Tingle ™
* Set up your sabre technology ™ including
o Set Volume
o Set Sensitiviy (from 8 (little movement) to 120 (fling across room for swing)
o Set Vibration On / Off
o Set Hit Detection ( Auto detects strong movement as hit , Random , causes random hit effect slightly more responsive)
o Set Sabre Colour (Green, Red , Yellow, Blue, Magenta, Cyan, Orange);
* Setting are now saved.
http://graho.wordpress.com/
Posted by: Graham | January 5, 2008 12:22 AMNew Features:
* Vibration support with Sabre Tingle ™
* Set up your sabre technology ™ including
o Set Volume
o Set Sensitiviy (from 8 (little movement) to 120 (fling across room for swing)
o Set Vibration On / Off
o Set Hit Detection ( Auto detects strong movement as hit , Random , causes random hit effect slightly more responsive)
o Set Sabre Colour (Green, Red , Yellow, Blue, Magenta, Cyan, Orange);
* Setting are now saved.
http://graho.wordpress.com/
Posted by: Graham | January 5, 2008 12:23 AMIn honour of the original title of this blog, I released a beta version of V1.5 to support the Nokia 5500. I've no way of testing it so hopefully it works :)
http://graho.wordpress.com/
/Graham
Posted by: Graham | January 7, 2008 11:14 PMIt works!!
A few little bugs though!
sensitivity its to high even on lowest setting.
latency between hum and swing/hit sound.
Auto just gives hit sound.
Random just gives swing sound.
Other than that works great.
Nice one Graham.
Thanks G.
Posted by: Glen | January 8, 2008 01:27 PMThanks Glen , on N95 there is virtually no lag between swing and sound, the setting is badly worded and min is the most sensitive 8 , have you tried that?
Annoyingly I don't have a 5500 so it's going to be virtually impossible for me to fix in :(, anyway hope it's good enough.
/Graham
Posted by: Graham | January 8, 2008 02:23 PMHi Glen
Posted by: dario | January 8, 2008 03:48 PMtry to switch off the vibration and put sensitivity to 120...it works perfectly like this!
Yeah there's a bit of delay/latency but it's just fun!(the 5500 CPU isn't that fast as the N95 one!)
@Graham: have u read my commment in your blog? WWhat do you think about the open/close slider ssuggestion that I made?
Anyway...great work!
I think the sensor in my phone broken as im jus getting sounds without moving it!!! :)
will try it on a different one and see if it works better!
all things considered very good work graham!
Our wishes have been fulfilled!!
Thanks G.
Posted by: Glen | January 8, 2008 04:19 PMHi ,
I have been reading this comments fo quite while waiting for usable version of the app for 5500.
On my 5500 I get same result as Glen.
The sound is discontinuos and it makes "clash" sound without moving it.
Anyway, thanks for your work Graham:-)
Posted by: Jirka | January 15, 2008 11:16 PMJirka
(Sorry for my english)
@Glen and Jirka:
Posted by: dario | January 16, 2008 11:14 AMjust put the sensitivity to the max value (120) and deactivate the vibration (cause the vibration itself is felt by the accelerometer sensor.
Now start the lightsaber and put your phone on the table. You'll hear the background noise and no tishes or clashes or vrummms at all. The problem is that the sensor is really sensitive and just grabbing the phone and lifting it from the table will eventually cause a tish or a clash sound.
...The app isn't bad at all but just need a little bit of "tuning"...:)
AWESOME! Works great thanks for all your work Graham you're a star!
Posted by: funkyweed | January 22, 2008 06:42 PM