© 2009 Hyperdyne Labs
5
force<xx>.wav
– Strike/force sounds, you can store up to 20 sounds.
deflect<xx>.wav
– Deflection/lockup sounds, you can store up to 10 sounds.
startup.wav
– Optional start up playback sound upon boot up.
mode.txt
– File holding all configuration parameters.
As an example, let’s say you wanted 2 ignition sounds, 2 retraction sounds, 3 swing
sounds, 1 clash sound, 1 force sound, 2 deflection sounds. In the root microSD directory
would be the files:
on1.wav
on2.wav
off1.wav
off2.wav
swing1.wav
swing2.wav
swing3.wav
force1.wav
deflect1.wav
deflect2.wav
mode.txt
CONFIGURATION FILE FORMAT
The different settings for the sound module are stored in a text file named “
mode.txt
” on
the SD card in the root directory.
This file holds all settings that the user can tweak to customize their saber behavior. If
the file is not found the sound board will set these parameters to known defaults. The file
can be readily created and edited using Notepad or Write in Windows or any standard
text editor program.
Here is an example list of the current parameters defined in the config file “mode.txt”.
numon=1;
numoff=1;
numswing=10;
numclash=11;
numforce=3;
humsens=990;
humgain=3;
accelmid=0;
xsens=500;
ysens=500;
clashthresh=400;
swingthresh=150;
forcethresh=500;
forceangle=10;
randon=0;
randswing=0;
randclash=0;
randoff=0;
randforce=0;
usemomentary=1;
playstartupsnd=0;
calibrate=0;
vibwhilehum=0;
vibswinginten=10;
vibclashinten=20;
vibenabled=1;