source: cpp/gdk/f0_parsing_test.txt @ 88

Last change on this file since 88 was 83, checked in by Maciej Komosinski, 12 years ago

f0 genotype to test f0 parsers, and a useful fullprops.cpp program that can display or skip non-default properties in the provided f0 genotype

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1//0
2# all parts below have coordinates xyz=-1,0,1 formatted in various ways.
3p: x=-1, y=0, z=1
4
5# fr clamped to 4 (max), s clamped to 0.1 (min), dn set to default (because "" is invalid for type 'f'); Vstyle set to "" (empty is valid for type 's')
6p:-1,0,1, dn=0.5, fr=99, s=0, dn=, Vstyle=
7
8# y=0 overwrites y=9
9p:i="",x=-1,9,y=0,1
10
11# the second assignment for y sets it to 0 ("" is invalid); skipped z after "y=" does not affect the value; i and Vstyle set to ","
12p:z=1,y=2,x=-1,y=,,i=",",","
13
14# i and Vstyle set to ",\ (to test quotation)
15p:"-1",,z="1",i="\",\\","\",\\"
16
17# connect all parts to make the model valid
18j:0,1
19j:1,2
20j:2,3
21j:3,4
22
23
24# the following genotype results from running the "fullprops" program (see fullprops.cpp) on the genotype above: fullprops <f0_parsing_test
25# //0
26# p:x=-1, y=0, z=1, m=1, s=1, dn=1, fr=0.4, ing=0.25, as=0.25, rx=0, ry=0, rz=0, i=, Vstyle=part, vs=0.2, vr=0.5, vg=0.5, vb=0.5
27# p:x=-1, y=0, z=1, m=2, s=0.1, dn=1, fr=4, ing=0.25, as=0.25, rx=0, ry=0, rz=0, i=, Vstyle=, vs=0.2, vr=0.5, vg=0.5, vb=0.5
28# p:x=-1, y=0, z=1, m=2, s=1, dn=1, fr=0.4, ing=0.25, as=0.25, rx=0, ry=0, rz=0, i=, Vstyle=part, vs=0.2, vr=0.5, vg=0.5, vb=0.5
29# p:x=-1, y=0, z=1, m=2, s=1, dn=1, fr=0.4, ing=0.25, as=0.25, rx=0, ry=0, rz=0, i=",", Vstyle=",", vs=0.2, vr=0.5, vg=0.5, vb=0.5
30# p:x=-1, y=0, z=1, m=1, s=1, dn=1, fr=0.4, ing=0.25, as=0.25, rx=0, ry=0, rz=0, i="\",\\", Vstyle="\",\\", vs=0.2, vr=0.5, vg=0.5, vb=0.5
31# j:p1=0, p2=1, stif=1, rotstif=1, stam=0.25, i=, Vstyle=joint, vr=0.5, vg=0.5, vb=0.5
32# j:p1=1, p2=2, stif=1, rotstif=1, stam=0.25, i=, Vstyle=joint, vr=0.5, vg=0.5, vb=0.5
33# j:p1=2, p2=3, stif=1, rotstif=1, stam=0.25, i=, Vstyle=joint, vr=0.5, vg=0.5, vb=0.5
34# j:p1=3, p2=4, stif=1, rotstif=1, stam=0.25, i=, Vstyle=joint, vr=0.5, vg=0.5, vb=0.5
35# note: values of m (mass) do not match the source genotype because masses are adjusted by the Model class.
36
Note: See TracBrowser for help on using the repository browser.