We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProcessing DevelopmentLibraries,  Tool Development › wrj4P5, WiiRemote P5 Library - Alpha
Pages: 1 ... 7 8 9 10 11 ... 16
wrj4P5, WiiRemote P5 Library - Alpha (Read 93294 times)
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #120 - Aug 6th, 2008, 3:32pm
 
hi!

i'm trying to play some sounds through the wiimote speaker. i succeeded with a Sun/NeXt audio format, mono, 1794Hz, 8-bit signed PCM sound, but it's distorted when it's played. very distorted. i know that the sound format maybe is a 4-bit adpcm sound, but i can't get it work- (tried a 4-bit ms/ima adpcm wav file).

so.. does anyone have an idea about this? how can i convert normal sounds for the wiimote-speaker?

thanks!
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #121 - Aug 7th, 2008, 12:22pm
 
hi ma_d, thank you for your feedback. how about more discussion in the following ?
http://sourceforge.jp/forum/forum.php?forum_id=12520
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #122 - Aug 7th, 2008, 12:36pm
 
[alpha-006 - Balance Board support] released

because of some API change between WiiRemoteJ 1.4- and WiiRemoteJ 1.5+, only the following combinations allowed  (no sketch modification needed)

(1) Wrj4P5 alpha-005-  and  WiiremoteJ 1.4-
(2) Wrj4P5 alpha-006+  and  WiiremoteJ 1.5+

  *no test performed of Balance Bord functionalities, because of no board.

documents are on wiki page of http://sourceforge.jp/projects/wrj4p5

Any feedback is appreciated.
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #123 - Aug 7th, 2008, 10:28pm
 
Hi
im' try to test with some basic sketch, i've received this error after push button 1&2

BlueCove version 2.0.2 on mac
trying to find a wii

java.io.IOException: Error sending data!
at wiiremotej.WiiRemote.sendCommand(WiiRemote.java:527)

Discover Remote called # 0

Wrj4P5 alpha-006
WiiremoteJ 1.5
bluecove-2.0.2.jar
loc
Processing 0135
OSX 10.5.4

Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #124 - Aug 8th, 2008, 3:57am
 
hi troudki
do you use a feedback function, like speaker, LED on/off or vibration?
these functions are unstable still now on OSX. (at least my G4 10.4.*)
Cha0s (the author of WiiremoteJ) says that this is on Apple's bug.

or following situation?
http://www.wiili.org/forum/strange-problems-with-wiiremotej-und-macosx-1051-leopard-t3325.html
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #125 - Aug 8th, 2008, 8:55am
 
just now, i have just modified the wrj4P5 alpha-006 to correct error.
(not for troudki's problem)
please re-download if you previously downloaded. ... sorry.
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #126 - Aug 9th, 2008, 9:57pm
 
Who test wrj4p5 /wiiremote  on leopard 10.5.4 plateform?
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #127 - Aug 9th, 2008, 10:14pm
 
ok. i think bluethooh lib bluecove doesn't work fine on Leopard
Replace bluecove library by avetanabluetooh and it's works !!!!
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #128 - Aug 10th, 2008, 9:25am
 
troudki wrote on Aug 9th, 2008, 10:14pm:
Replace bluecove library by avetanabluetooh and it's works !!!!

it's good news. enjoy!

btw
first, some bugs may be fixed at bluecove-2.0.3 build 22 and later.
http://code.google.com/p/bluecove/issues/detail?id=27
or would you post this fact to the bluecove forum
http://code.google.com/p/bluecove/issues/list
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #129 - Aug 23rd, 2008, 7:01pm
 
Wrj4P5 alpha-007 released
http://sourceforge.jp/projects/wrj4p5

release note
http://sourceforge.jp/forum/forum.php?forum_id=15662

and sample sketch
http://www.geocities.jp/classiclll_newweb/MyFirstBoard/applet/index.html
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #130 - Sep 8th, 2008, 12:13am
 
Does anyone have any examples of accessing IR data and sensitivity settings using wrj4P5?

Thank you.
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #131 - Sep 8th, 2008, 12:39am
 
I found an example of the IR Sensor implementation in Wr4P5.

http://www.geocities.jp/classiclll_newweb/IR_Sensor_Test/applet/index.html

This is the important part.

Loc p=wii.rimokon.irLights[i];

As for the sensitivity setting   wii=new Wrj4P5(this).connect(1,true,true,4); the last argument in is to set the highest sensitivity, though I can't really tell the difference.  If anyone else has played with this let me know your experience.

-J
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #132 - Sep 8th, 2008, 5:50am
 
hi freakTheMighty.

freakTheMighty wrote on Sep 8th, 2008, 12:39am:
As for the sensitivity setting   wii=new Wrj4P5(this).connect(1,true,true,4); the last argument in is to set the highest sensitivity, though I can't really tell the difference.  If anyone else has played with this let me know your experience.

thank you for your complements.
the default is 2 (wii's original setting), and i don't the effectiveness.
for more information, see
http://sourceforge.jp/projects/wrj4p5/wiki/Wrj4P5%28en%29

and samples are placed at
http://www.geocities.jp/classiclll_newweb/index.html

Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #133 - Sep 8th, 2008, 2:51pm
 
Classiclll,

I've just updated to processing 0148 and I'm now getting an error with wrj4P5 alpha-007:

Exception in thread "Animation Thread" java.lang.NoSuchMethodError: processing.core.PApplet.loadImageSync(Ljava/awt/Image;)Lprocessing/core/PImage;

It looks like 'loadImageSync' has been removed from PApplet...

Edit: I'm pleased to say my programming skills have improved to the point where I was able to download your source and test this out by commenting out the offending code and recompiling the library.  Line #306 of Wrj4P5.java:

if (img!=null) System.out.println("waiting...");//waitingImg = parent.loadImageSync(img);

I don't get the picture any more, but it does run without error  Smiley
I would try and fix it properly but it's getting a bit late here....
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #134 - Sep 10th, 2008, 3:53am
 
hi blindfish
thank you for your feedback and offer.
i confirmed your point and registered this bug in my project entry, but no time till this weekend.
if you find the errata, i'll be happy!
Pages: 1 ... 7 8 9 10 11 ... 16