2006-11-21

Example 1: xml code for whistle s9_1s = 9 kHz tone lasting 1 second

Like all whistles, you insert this xml code in file signals_to_read.xml before the last line </java>:

<object class="org.leafyseadragon.jse.signal.StoredSignal">
<void property="hz10ps">
<array class="java.lang.Double" length="10">
<void index="0">
<double>9000.0</double>
</void>
<void index="1">
<double>9000.0</double>
</void>
<void index="2">
<double>9000.0</double>
</void>
<void index="3">
<double>9000.0</double>
</void>
<void index="4">
<double>9000.0</double>
</void>
<void index="5">
<double>9000.0</double>
</void>
<void index="6">
<double>9000.0</double>
</void>
<void index="7">
<double>9000.0</double>
</void>
<void index="8">
<double>9000.0</double>
</void>
<void index="9">
<double>9000.0</double>
</void>
</array>
</void>
<void property="signalType">
<string>LEX_SIGNAL</string>
</void>
<void property="text">
<string>s9_1s</string>
</void>
<void property="uid">
<string>s9_1s</string>
</void>
</object>

Copyright (c) 2006 Serge Masse.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation. A copy of the license is included in http://www.gnu.org/licenses/fdl.txt

0 Comments:

Post a Comment

<< Home