Csound Csound-dev Csound-tekno Search About

Documentation for cross2

Date1998-01-19 14:12
Fromjpff@maths.bath.ac.uk
SubjectDocumentation for cross2
Message written at 18 Jan 1998 21:42:02 +0000

Sorry friends; I somehow lost this documentation file.  Hope it is not
too late.....

==John
------------------------------------------------------------------------
Cross Synthesis

        ar      cross2   ain1, ain2, isize, ioverlap, iwin, kbias

This is an implementation of cross synthesis using FFT's.

INITIALIZATION

        isize        -  This is the size of the FFT to be performed.  The
			larger the size the better the frequency responce
			but a sloppy time responce.
        ioverlap     -  This is the overlap factor of the FFT's, must be a
			power of two.  The best settings are 2 and 4.  A
			big overlap takes a long time to compile.
        iwin         -  This is the ftable that contains the window to be
			used in the analysis.

PERFORMANCE

        ain1  -  The stimulus sound.  Must have high frequencies for best
		 results.
        ain2  -  The modulating sound.  Must have a moving frequency
		 response (like speech) for best results.
        kbias -  The amount of cross synthesis.  1 is the normal, 0 is no
		 cross synthesis.

Examples:

        a1              oscil           10000, 1, 1
        a2              rand            10000
        a3              cross2          a2, a1, 2048, 4, 2, 1
                        out             a3

If ftable one is a speech sound, this will result in speaking white noise.
ftable 2 must be a window function (Gen20).