summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-12-24 11:49:44 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-12-24 11:49:44 +0100
commitbffaca20577ec2bb3747864cf335d84c77519afc (patch)
treef2576dd8774e1b7ca26ee3e21a42139051e9f145
parent1d224769b57199110511522f3fc1a0c119ee3e8c (diff)
update readme
-rw-r--r--README.markdown25
1 files changed, 21 insertions, 4 deletions
diff --git a/README.markdown b/README.markdown
index 64d5807..1740a26 100644
--- a/README.markdown
+++ b/README.markdown
@@ -4,13 +4,13 @@ Various tools related to the Wii Remote / Wii Balance Board.
Displays Balance Board weight data, mostly for debug purposes.
-Usage: `./bal`
+Usage: ./bal
## mpcal
Calibrates the Motion Plus and outputs the calibration data.
-Usage: `./mpcal`
+Usage: ./mpcal
(the program will then tell you to put the wiimote onto a flat surface)
@@ -22,7 +22,7 @@ Logs Motion Plus data to stdout, in the format
Where Pitch, Roll and Yaw are the raw 16-bit values.
-Usage: `./mplog` > *filename*
+Usage: ./mplog **>** *filename*
See also: http://www.grc.nasa.gov/WWW/k-12/airplane/Images/rotations.gif
@@ -30,4 +30,21 @@ See also: http://www.grc.nasa.gov/WWW/k-12/airplane/Images/rotations.gif
Wiimote Blinkenlights. Press D-Pad up to toggle modes, Home to quit.
-Usage: `./wibble`
+Usage: ./wibble`
+
+## wiiplay
+
+Wrapper around `wiispkr`. Plays any mp3/ogg/wav audia file on the wiimote
+speaker.
+
+Requires: `mpg321` / `oggdec` and `sox`. Also, `wiispkr` must be in the current
+working directory.
+
+Usage: ./wiiplay *btaddr* *file*
+
+## wiispkr
+
+Plays an 8bit 2kHz signed PCM file on the wiimote speaker. You can create one
+using e.g. `sox --norm /tmp/in.wav -b 8 /tmp/out.raw channels 1 rate 2000`
+
+Usage: ./wiispkr *btaddr* **<** *file*