-------------------------------------------------------------------------
File: streamlining.txt
Title: Notes on steps which could be taken to streamline the code
Author: cmalek@placodermi.org (Chris Malek)
Scope: xdphys developers
Audience: developers
Expiration Date: Jan 1, 2003
RCSid: $Id: streamlining.txt,v 1.1 2003/10/10 17:24:59 bjorn Exp $
-------------------------------------------------------------------------

Abstract:

    This document contains my notes on how the xdphys code can be
    reorganized and streamlined to make it cleaner and easier to read.

Notes:

    o  This code block:

        view_input();
        view_output();

       appears in every mod_*.c file.  


    o  This code block:

        writeRaster(datafp, data, depstr, avePMk);
        if ((i % ana_every) == 0) {
            writeAnalog(datafp);
        }

       appears in: 

           mod_gen.c
           mod_beats.c
           mod_click.c
           mod_fiid.c

	o Seems like there is a lot of code to be reused between
	  mod_rig:SynthStim and appRun.





