From bffaca20577ec2bb3747864cf335d84c77519afc Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 24 Dec 2011 11:49:44 +0100 Subject: update readme --- README.markdown | 25 +++++++++++++++++++++---- 1 file 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* -- cgit v1.2.3