public int doRTTY_8000FFT (CircularDataBuffer circBuf,WaveData waveData,int start,int ss,double baud)	{
		// 45.45 baud
	    if (baud==45.45)	{
	    	// Get the data from the circular buffer
		    double datar[]=circBuf.extractDataDouble(start,FFT_176_SIZE);
	    	fft176.realForward(datar);
	    	double spec[]=getSpectrum(datar);
	    	int freq=getFFTFreq (spec,waveData.getSampleRate());  
	    	return freq;
	    }	
	    // 50 baud
	    else if (baud==50)	{
	    	// Get the data from the circular buffer
		    double datar[]=circBuf.extractDataDouble(start,FFT_160_SIZE);
	    	fft160.realForward(datar);
	    	double spec[]=getSpectrum(datar);
	    	int freq=getFFTFreq (spec,waveData.getSampleRate());  
	    	return freq;
	    }
	    // 75 baud
	    else if (baud==75)	{
	    	// Get the data from the circular buffer
		    double datar[]=circBuf.extractDataDouble(start,FFT_106_SIZE);
	    	fft106.realForward(datar);
	    	double spec[]=getSpectrum(datar);
	    	int freq=getFFTFreq (spec,waveData.getSampleRate());  
	    	return freq;	    	
	    }
	    // 100 baud
	    else if (baud==100)	return (do100baudFFT(circBuf,waveData,start));
	    // 145 baud
	    else if (baud==145)	return (do145baudFFT(circBuf,waveData,start));
	    // 150 baud
	    else if (baud==150)	return (do150baudFFT(circBuf,waveData,start));
	    // 200 baud
	    else if (baud==200) return (doFSK200500_8000FFT (circBuf,waveData,start,ss));
	    // 300 baud
	    else if (baud==300) return (do300baudFFT(circBuf,waveData,start));
	    // 600 baud
	    else if (baud==600) return (do600baudFFT(circBuf,waveData,start));
	    else return 0;
	}