SPAN

NAME

span - C-SPAN synthesizer control language compiler

SYNOPSIS

span (-I) (-p) synth.spn

DESCRIPTION

span is a script to compile and link a synthesizer control program written in the SPAN language (see SPAN manual page).

The source file "<synth>.spn" must contain a legal C-SPAN program with its main procedure called SYNTH(). The span script concatenates a SPAN definition header with the supplied file to generate a C-language source file which is then compiled and linked with the SPAN run-time modules to create an executable program called "<synth>". Thus a SPAN file called "test.spn" creates a program called "test". To save the macro processed output from SPAN use the switch "-p", the C pre-processor output will be produced in a file <synth>.i.

SPAN programs have a common command-line interface:


<synth> (-I) (-v) (-n num) (-s sfsfile) (-A param) (-B param) etc

with the following options:

-I Identify program name and version number.

-s sfsfile Save output to SFS file. (Default is to control synthesizer/replay).

-n num Save/Replay synthesis 'n' (counting 0,1,...). Default is to save/replay all syntheses.

-v Verbose. Print control parameters to screen.

-A param etc Specify parameter 0 (B=1, C=2, etc) for the SYNTH function. Parameters are passed as an array of 26 strings.

OUTPUT ITEMS

SYNTH SPAN synthesizer control parameters

HISTORY

file source file for synthesis.

synth synthesis number

FILES

$(SFSBASE)/include/spandrv.h Include file for compiling SPAN programs.

$(SFSBASE/lib/spandrv.a Library containing SPAN run-time system.

VERSION/AUTHOR

1.1 M.A.Huckvale

SEE ALSO

syout(1), span(5), enspan(1)

BUGS


Fri Jul 09 14:54:49 2004