source: cpp/tests/f0_variants_test-default.goal @ 1015

Last change on this file since 1015 was 1009, checked in by Maciej Komosinski, 4 years ago

Added tests for most SDK demo programs

File size: 1.2 KB
Line 
1
2Source genotype: 'X[|G:1.23]'
3                  ( format 1 )
4
5This example shows how to save a f0 genotype using low-level ParamInterface::saveSingleLine() calls
6
7
8==== With defdata (skips default values) ======
9m:
10p:vr=0.5, vg=0.5, vb=0.5
11p:x=1.0, vr=0.5, vg=0.5, vb=0.5
12j:p1=0, p2=1, dx=1.0, dy=0.0, dz=0.0, vr=0.5, vg=0.5, vb=0.5
13n:p=1
14n:j=0, d="|:p=0.25,r=1"
15n:j=0, d=G
16c:n1=0, n2=2, w=1.23
17c:n1=1, n2=0
18
19
20==== Without defdata (saves all fields) ======
21m:se=1.0, Vstyle=
22p:x=0.0, y=0.0, z=0.0, sh=0, s=1.0, sx=1.0, sy=1.0, sz=1.0, h=0.0, dn=1.0, fr=0.4, ing=0.25, as=0.25, rx=0.0, ry=0.0, rz=0.0, i=, Vstyle=part, vs=0.2, vr=0.5, vg=0.5, vb=0.5
23p:x=1.0, y=0.0, z=0.0, sh=0, s=1.0, sx=1.0, sy=1.0, sz=1.0, h=0.0, dn=1.0, fr=0.4, ing=0.25, as=0.25, rx=0.0, ry=0.0, rz=0.0, i=, Vstyle=part, vs=0.2, vr=0.5, vg=0.5, vb=0.5
24j:p1=0, p2=1, rx=0.0, ry=0.0, rz=0.0, dx=1.0, dy=0.0, dz=0.0, sh=0, hx=0.0, hy=0.0, hz=0.0, hrx=0.0, hry=0.0, hrz=0.0, hxn=-1.5708, hxp=1.5708, hyn=-1.5708, hyp=1.5708, stif=1.0, rotstif=1.0, stam=0.25, i=, Vstyle=joint, vr=0.5, vg=0.5, vb=0.5
25n:p=1, j=-1, d=N, i=, Vstyle=neuro
26n:p=-1, j=0, d="|:p=0.25,r=1", i=, Vstyle=neuro
27n:p=-1, j=0, d=G, i=, Vstyle=neuro
28c:n1=0, n2=2, w=1.23, i=
29c:n1=1, n2=0, w=1.0, i=
30
31
Note: See TracBrowser for help on using the repository browser.