# Khoros Visual Programming Workspace # # cantata workspace file (dft-simple-images.wk) was created # on Fri Jul 14 15:54:34 1995 # by user rjordan # VariablesBegin: # # list of currently declared variables # # Simple expression 'i' # current evaluated value = 2 i = ((0+1)+1) # Simple expression 'N' N = 3 # Currently Undefined symbol 'n' n VariablesEnd: #GlyphBegin # Glyph 'Animate' Glyph:ENVISION:animate::3:265:25:: -use_cmap 1 'Sine Loop' LoopBegin:Sine Loop:count:7:145:25:$DESIGNBIN/kexec -lcv 'i' -init '0' -test '7' -incr '1' -o ./sine-seq.viff VariablesBegin: # No variables currently declared. # VariablesEnd: #GlyphBegin # Glyph 'Inset' Glyph:DATAMANIP:kinset::3:403:43:: -insetvalid 1 -real '255' -imag '0' -padvalid 1 -mapping 0 -attr -woff '129' # Glyph 'Print Value' Glyph:DATAMANIP:kprval::7:23:43:: -mapdata 0 -woff '0' -hoff 'i' -doff '0' -toff '0' -eoff '0' -var 'N' -val -i ./sine-input.ascii # Glyph 'Normalize' Glyph:DATAMANIP:knormal::11:343:103:: -lval '0' -uval '255' -type 3 -w -h # Glyph 'Magnitudes' Glyph:DATAMANIP:kmag::15:263:103:: -logmag1 # Glyph 'FFT' Glyph:DATAMANIP:kfft::19:183:103:: -dir 0 -center 1 -scale 1 -type 12 -w -h # Glyph 'Sinusoid' Glyph:DATAMANIP:kgsin::23:103:43:: -wsize '128' -hsize '128' -dsize '1' -tsize '1' -esize '1' -wnum 'N' -wp '0.0' -hnum 'N' -hp '0.0' -dnum '1.0' -dp '0.0' -tnum '1.0' -tp '0.0' -enum '1.0' -ep '0.0' -type 10 -sin1 -ampl '1.0' # Glyph 'Normalize' Glyph:DATAMANIP:knormal::27:263:43:: -lval '0' -uval '255' -type 3 -w -h # Glyph 'Inset' Glyph:DATAMANIP:kinset::31:483:43: o!o: -insetvalid 1 -real '0' -imag '0' -padvalid 1 -mapping 0 -attr -eoff 'i' -i1 ./sine-seq.viff -o ./sine-seq.viff #GlyphEnd #ConnectionBegin # 'Inset' NodeConnection:3:o:31:i2: # 'Print Value' ControlConnection:7:23: # 'Normalize' NodeConnection:11:o:3:i2: # 'Magnitudes' NodeConnection:15:om:11:i: # 'FFT' NodeConnection:19:o:15:i: # 'Sinusoid' NodeConnection:23:o:27:i: NodeConnection:23:o:19:i: # 'Normalize' NodeConnection:27:o:3:i1: # 'Inset' NodeConnection:31:o:32:o: #ConnectionEnd #ExternalConnectionEnd AnnotationsBegin AnnotationsEnd LoopEnd:Sine Loop # Glyph 'Constant' Glyph:DATAMANIP:kgconst::11:45:25:: -wsize '128+1+128' -hsize '128' -real '0' -imag '0' -type 3 # Glyph 'Constant' Glyph:DATAMANIP:kgconst::15:45:125:: -wsize '128+1+128' -hsize '128' -real '0' -imag '0' -type 3 'Rectangle Loop' LoopBegin:Rectangle Loop:count:19:145:125:$DESIGNBIN/kexec -lcv 'w' -init '0' -test '7' -incr '1' -o ./rec-seq.viff VariablesBegin: # # list of currently declared variables # # Simple expression 'w' # current evaluated value = 8 w = ((((((((0+1)+1)+1)+1)+1)+1)+1)+1) # Simple expression 'W' W = 128 VariablesEnd: #GlyphBegin # Glyph 'Inset' Glyph:DATAMANIP:kinset::3:403:43:: -insetvalid 1 -real '255' -imag '0' -padvalid 1 -mapping 0 -attr -woff '129' # Glyph 'Print Value' Glyph:DATAMANIP:kprval::7:23:43:: -mapdata 0 -woff '0' -hoff 'w' -doff '0' -toff '0' -eoff '0' -var 'W' -val -i ./rec-input.ascii # Glyph 'Normalize' Glyph:DATAMANIP:knormal::11:343:103:: -lval '0' -uval '255' -type 3 -w -h # Glyph 'Magnitudes' Glyph:DATAMANIP:kmag::15:263:103:: -logmag1 # Glyph 'FFT' Glyph:DATAMANIP:kfft::19:183:103:: -dir 0 -center 1 -scale 1 -type 12 -w -h # Glyph 'Normalize' Glyph:DATAMANIP:knormal::23:263:43:: -lval '0' -uval '255' -type 3 -w -h # Glyph 'Inset' Glyph:DATAMANIP:kinset::27:483:43: o!o: -insetvalid 1 -real '0' -imag '0' -padvalid 1 -mapping 0 -attr -eoff 'w' -i1 ./rec-seq.viff -o ./rec-seq.viff # Glyph 'Constant' Glyph:DATAMANIP:kgconst::33:105:45:: -wsize 'W' -hsize '8' -real '1' -imag '0' -type 10 # Glyph 'Pad' Glyph:DATAMANIP:kpad::37:185:45:: -wsize '128' -hsize '128' -woff '(128-W)/2' -hoff '(128-8)/2' -doff '0' -toff '0' -eoff '0' -real '0' -imag '0' -valid 1 #GlyphEnd #ConnectionBegin # 'Inset' NodeConnection:3:o:27:i2: # 'Print Value' ControlConnection:7:33: # 'Normalize' NodeConnection:11:o:3:i2: # 'Magnitudes' NodeConnection:15:om:11:i: # 'FFT' NodeConnection:19:o:15:i: # 'Normalize' NodeConnection:23:o:3:i1: # 'Inset' NodeConnection:27:o:28:o: # 'Constant' NodeConnection:33:o:37:i: # 'Pad' NodeConnection:37:o:23:i: NodeConnection:37:o:19:i: #ConnectionEnd #ExternalConnectionEnd AnnotationsBegin AnnotationsEnd LoopEnd:Rectangle Loop # Glyph 'Animate' Glyph:ENVISION:animate::23:265:125:: -use_cmap 1 # Glyph 'Animate' Glyph:ENVISION:animate::27:265:225:: -use_cmap 1 'Gaussian Loop' LoopBegin:Gaussian Loop:count:31:145:225:$DESIGNBIN/kexec -lcv 's' -init '0' -test '7' -incr '1' -o ./gauss-seq.viff VariablesBegin: # # list of currently declared variables # # Simple expression 'W' W = 128 # Simple expression 'w' # current evaluated value = 8 w = ((((((((0+1)+1)+1)+1)+1)+1)+1)+1) # Simple expression 's' # current evaluated value = 8 s = ((((((((0+1)+1)+1)+1)+1)+1)+1)+1) # Simple expression 'S' S = 128 VariablesEnd: #GlyphBegin # Glyph 'Inset' Glyph:DATAMANIP:kinset::3:403:43:: -insetvalid 1 -real '255' -imag '0' -padvalid 1 -mapping 0 -attr -woff '129' # Glyph 'Print Value' Glyph:DATAMANIP:kprval::7:23:43:: -mapdata 0 -woff '0' -hoff 's' -doff '0' -toff '0' -eoff '0' -var 'S' -val -i ./gauss-input.ascii # Glyph 'Normalize' Glyph:DATAMANIP:knormal::11:343:103:: -lval '0' -uval '255' -type 3 -w -h # Glyph 'Magnitudes' Glyph:DATAMANIP:kmag::15:263:103:: -logmag1 # Glyph 'FFT' Glyph:DATAMANIP:kfft::19:183:103:: -dir 0 -center 1 -scale 1 -type 12 -w -h # Glyph 'Normalize' Glyph:DATAMANIP:knormal::23:263:43:: -lval '0' -uval '255' -type 3 -w -h # Glyph 'Inset' Glyph:DATAMANIP:kinset::27:483:43: o!o: -insetvalid 1 -real '0' -imag '0' -padvalid 1 -mapping 0 -attr -eoff 's' -i1 ./gauss-seq.viff -o ./gauss-seq.viff # Glyph '2D Gaussian' Glyph:IMAGE:igauss_func::33:125:45:: -wsize '128' -hsize '128' -type 10 -wpeak '64' -hpeak '64' -wvar 'S*S' -hvar '4*4' -coeff '0.0' -peakval '1.0' #GlyphEnd #ConnectionBegin # 'Inset' NodeConnection:3:o:27:i2: # 'Print Value' ControlConnection:7:33: # 'Normalize' NodeConnection:11:o:3:i2: # 'Magnitudes' NodeConnection:15:om:11:i: # 'FFT' NodeConnection:19:o:15:i: # 'Normalize' NodeConnection:23:o:3:i1: # 'Inset' NodeConnection:27:o:28:o: # '2D Gaussian' NodeConnection:33:o:23:i: NodeConnection:33:o:19:i: #ConnectionEnd #ExternalConnectionEnd AnnotationsBegin AnnotationsEnd LoopEnd:Gaussian Loop # Glyph 'Constant' Glyph:DATAMANIP:kgconst::35:45:225:: -wsize '128+1+128' -hsize '128' -real '0' -imag '0' -type 3 # Glyph 'Constant' Glyph:DATAMANIP:kgconst::39:45:325:: -wsize '128+1+128' -hsize '128' -real '0' -imag '0' -type 3 'Impulse Loop' LoopBegin:Impulse Loop:count:43:145:325:$DESIGNBIN/kexec -lcv 'p' -init '0' -test '7' -incr '1' -o ./impulse-seq.viff VariablesBegin: # # list of currently declared variables # # Simple expression 'S' S = 128 # Simple expression 's' # current evaluated value = 8 s = ((((((((0+1)+1)+1)+1)+1)+1)+1)+1) # Simple expression 'w' # current evaluated value = 8 w = ((((((((0+1)+1)+1)+1)+1)+1)+1)+1) # Simple expression 'W' W = 128 # Simple expression 'p' # current evaluated value = 8 p = ((((((((0+1)+1)+1)+1)+1)+1)+1)+1) # Simple expression 'P' P = 128 VariablesEnd: #GlyphBegin # Glyph 'Inset' Glyph:DATAMANIP:kinset::3:403:43:: -insetvalid 1 -real '255' -imag '0' -padvalid 1 -mapping 0 -attr -woff '129' # Glyph 'Print Value' Glyph:DATAMANIP:kprval::7:23:43:: -mapdata 0 -woff '0' -hoff 'p' -doff '0' -toff '0' -eoff '0' -var 'P' -val -i ./impulse-input.ascii # Glyph 'Normalize' Glyph:DATAMANIP:knormal::11:343:103:: -lval '0' -uval '255' -type 3 -w -h # Glyph 'Magnitudes' Glyph:DATAMANIP:kmag::15:263:103:: -logmag1 # Glyph 'FFT' Glyph:DATAMANIP:kfft::19:183:103:: -dir 0 -center 1 -scale 1 -type 12 -w -h # Glyph 'Normalize' Glyph:DATAMANIP:knormal::23:263:43:: -lval '0' -uval '255' -type 3 -w -h # Glyph 'Inset' Glyph:DATAMANIP:kinset::27:483:43: o!o: -insetvalid 1 -real '0' -imag '0' -padvalid 1 -mapping 0 -attr -eoff 'p' -i1 ./impulse-seq.viff -o ./impulse-seq.viff # Glyph 'Impulse' Glyph:DATAMANIP:kimpulse::33:125:45:: -wsize '128' -wnum '128/P' -hsize '128' -hnum '128/8' -dsize '1' -dnum '1' -tsize '1' -tnum '1' -esize '1' -enum '1' -wsp 'P' -woff '0' -hsp '8' -hoff '0' -dsp '1' -doff '0' -tsp '1' -toff '0' -esp '1' -eoff '0' -fgreal '1' -bgreal '0.0' -fgimag '0.0' -bgimag '0.0' -type 10 #GlyphEnd #ConnectionBegin # 'Inset' NodeConnection:3:o:27:i2: # 'Print Value' ControlConnection:7:33: # 'Normalize' NodeConnection:11:o:3:i2: # 'Magnitudes' NodeConnection:15:om:11:i: # 'FFT' NodeConnection:19:o:15:i: # 'Normalize' NodeConnection:23:o:3:i1: # 'Inset' NodeConnection:27:o:28:o: # 'Impulse' NodeConnection:33:o:23:i: NodeConnection:33:o:19:i: #ConnectionEnd #ExternalConnectionEnd AnnotationsBegin AnnotationsEnd LoopEnd:Impulse Loop # Glyph 'Animate' Glyph:ENVISION:animate::47:265:325:: -use_cmap 1 #GlyphEnd #ConnectionBegin # 'Sine Loop' NodeConnection:7:o:3:i: # 'Constant' ControlConnection:11:7: # 'Constant' ControlConnection:15:19: # 'Rectangle Loop' NodeConnection:19:o:23:i: # 'Gaussian Loop' NodeConnection:31:o:27:i: # 'Constant' ControlConnection:35:31: # 'Constant' ControlConnection:39:43: # 'Impulse Loop' NodeConnection:43:o:47:i: #ConnectionEnd #ExternalConnectionEnd AnnotationsBegin AnnotationsEnd