Skip to content

Commit 52fa7fe

Browse files
authored
Merge pull request #308 from mssujith/master
abma spitz examples
2 parents e3878cf + dc82196 commit 52fa7fe

File tree

1 file changed

+63
-11
lines changed

1 file changed

+63
-11
lines changed

book/hackathon/2024soundfx/synthabma/SConstruct

Lines changed: 63 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ for dat in ('curve','linear','random','marm'):
1212
''',stdin=0)
1313

1414
Flow('linear2','linear','window min1=0.5 max1=2.7 | bandpass fhi=60')
15-
Plot('linear','linear2',
16-
'''
17-
grey yreverse=y transp=y poly=y label2=Position
18-
title=Input
19-
''')
15+
# Plot('linear','linear2',
16+
# '''
17+
# grey yreverse=y transp=y poly=y label2=Position
18+
# title=Input
19+
# ''')
2020
Plot('jlinear','linear2',
2121
'''
2222
window n2=11 f2=23 n1=150 min1=1.35 |
@@ -70,16 +70,68 @@ Plot('jlacov','lacov',
7070
Result('linear-comp','linear lacov','SideBySideAniso')
7171

7272
# Stationary F-X PEFs
73-
Flow('lfx','lpad',
73+
# Flow('lfx','lpad',
74+
# '''
75+
# spitz norm=n verb=y
76+
# ''')
77+
# Plot('lfx',
78+
# '''
79+
# grey yreverse=y transp=y poly=y label2=Position
80+
# title="Adaptive PEF"
81+
# ''')
82+
83+
# Result('linear-fxcomp','linear lfx','SideBySideAniso')
84+
85+
Plot('linear','linear2',
7486
'''
75-
spitz norm=n verb=y
87+
window n2=11 f2=23 n1=150 min1=1.35 |
88+
put d1=1 o1=675 label1=Sample unit1= |
89+
wiggle yreverse=y transp=y poly=y label2=Position wherexlabel=t
90+
title=Input wheretitle=b pclip=100 labelsz=5. titlesz=7
91+
labelfat=2 font=2 titlefat=2 screenratio=1.2
7692
''')
77-
Plot('lfx',
93+
94+
Flow('linearInt','linear2','spitz')
95+
96+
Plot('linearInt',
97+
'''
98+
window n2=22 f2=46 n1=150 min1=1.35 |
99+
put d1=1 o1=675 label1=Sample unit1= |
100+
wiggle yreverse=y transp=y poly=y label2=Position wherexlabel=t
101+
title=Input wheretitle=b pclip=99 labelsz=5. titlesz=7
102+
labelfat=2 font=2 titlefat=2 screenratio=1.2
103+
''')
104+
105+
Flow('linear-linInt','linear2',
78106
'''
79-
grey yreverse=y transp=y poly=y label2=Position
80-
title="Adaptive PEF"
107+
transp |
108+
spline n1=119 d1=0.5 o1=0 |
109+
transp
81110
''')
82111

83-
Result('linear-fxcomp','linear lfx','SideBySideAniso')
112+
Plot('linear-linInt',
113+
'''
114+
window n2=22 f2=46 n1=150 min1=1.35 |
115+
put d1=1 o1=675 label1=Sample unit1= |
116+
wiggle yreverse=y transp=y poly=y label2=Position wherexlabel=t
117+
title=Input wheretitle=b pclip=99 labelsz=5. titlesz=7
118+
labelfat=2 font=2 titlefat=2 screenratio=1.2
119+
''')
120+
121+
Result('linear','linear linearInt','SideBySideAniso')
122+
123+
Flow('linearIntFK','linearInt','spectra2')
124+
Flow('linearFK','linear2','spectra2')
125+
Flow('linear-linIntFK','linear-linInt','spectra2')
126+
127+
Plot('linearFK','window max1=125 | grey transp=y yreverse=n xreverse=n title=Before parallel2=y d1num=0.5 label1=Frequency label2="Wave number" unit1=Hz unit2=cycles wheretitle=t wherexlabel=b allpos=y')
128+
Plot('linearIntFK','window max1=125 | grey transp=y yreverse=n xreverse=n title=After parallel2=y d1num=0.5 label1=Frequency label2="Wave number" unit1=Hz unit2=cycles wheretitle=t wherexlabel=b allpos=y')
129+
Plot('linear-linIntFK','window max1=125 | grey transp=y yreverse=n xreverse=n title=Linear-Interpolated parallel2=y d1num=0.5 label1=Frequency label2="Wave number" unit1=Hz unit2=cycles wheretitle=t wherexlabel=b allpos=y')
130+
131+
Result('FK', 'linearFK linearIntFK','SideBySideAniso')
132+
133+
Result('linInt','linear-linInt linear-linIntFK','SideBySideAniso')
134+
135+
Result('int','Fig/linear.vpl Fig/FK.vpl Fig/linInt.vpl','OverUnderAniso')
84136

85137
End()

0 commit comments

Comments
 (0)