i, freq, pitch, 24 + pitch - 60); 
i, freq, pitch, special_patch[i]->sample->transpose_detected); 
void read_m2m_cfg_file(void){    FILE *mod_cfg_file;    float freq;    int i, pitch;    char *chord_str;    int chord, chord_type, chord_subtype;    char line[81];    int mod_sample, program, trans, amp;    char program_str[20], finetune_str[20];    char *slash_pos;    /* read in cfg file stuff, create new one if doesn't exist */    mod_cfg_file = fopen(cfgname, "rb");    if (!mod_cfg_file)    {	ctl->cmsg(CMSG_INFO, VERB_NORMAL,		  "Couldn't open '%s' cfg file.  Creating %s ...", cfgname,		  cfgname);	for (i = 1; i <= maxsample; i++)	{	    if (special_patch[i])	    {		chord = -1;		freq = freq_fourier(special_patch[i]->sample, &chord);		pitch = assign_pitch_to_freq(freq);		fine_tune[i] = (-36.37631656f +				 17.31234049f * log(freq) - pitch) *				 pb_per_note;		sprintf(line,			"Sample %3d Freq %10.4f Pitch %3d Transpose %4d",			i, freq, pitch, 24 + pitch - 60);		if (chord >= 0)		{		    sprintf(line, "%s Chord %c Subtype %d",			    line, chord_letters[chord / 3], chord % 3);		}		ctl->cmsg(CMSG_INFO, VERB_NORMAL, "%s", line);		transpose[i] = 24 + pitch - 60;		sample_chords[i] = chord;	    }	}	create_m2m_cfg_file(cfgname);	mod_cfg_file = fopen(cfgname, "rb");    }    if (mod_cfg_file)    {	while (fgets(linestring, 256, mod_cfg_file) != NULL)	{	    if (*linestring == '#' || *linestring == '\n' ||		*linestring == '\r')		    continue;	    sscanf(linestring, "%d %s %d %s %d\n",		   &mod_sample, program_str, &trans, finetune_str, &amp);	    if (strchr(program_str, '!'))	    	silent_samples[mod_sample] = 1;	    program = labs(atoi(program_str));	    if ((slash_pos = strchr(program_str, '/')))	    {		banks[mod_sample] = program;		program = labs(atoi(slash_pos + 1));	    }	    sample_to_program[mod_sample] = program;	    transpose[mod_sample] = trans;	    if (strchr(finetune_str, '!'))		fine_tune[mod_sample] = 0;	    else		fine_tune[mod_sample] = atof(finetune_str) * pb_per_note;	    vol_amp[mod_sample] = amp;	    if (strchr(program_str, '*'))		is_drum_sample[mod_sample] = 1;	    else if ((chord_str = strchr(program_str, 'M')))	    {		chord_type = strchr(chord_letters, 'M') - chord_letters;		chord_subtype = atoi(chord_str + 1);		sample_chords[mod_sample] = chord_type * 3 + chord_subtype;	    }	    else if ((chord_str = strchr(program_str, 'm')))	    {		chord_type = strchr(chord_letters, 'm') - chord_letters;		chord_subtype = atoi(chord_str + 1);		sample_chords[mod_sample] = chord_type * 3 + chord_subtype;	    }	    else if ((chord_str = strchr(program_str, 'd')))	    {		chord_type = strchr(chord_letters, 'd') - chord_letters;		chord_subtype = atoi(chord_str + 1);		sample_chords[mod_sample] = chord_type * 3 + chord_subtype;	    }	    else if ((chord_str = strchr(program_str, 'f')))	    {		chord_type = strchr(chord_letters, 'f') - chord_letters;		chord_subtype = atoi(chord_str + 1);		sample_chords[mod_sample] = chord_type * 3 + chord_subtype;	    }	}	fclose(mod_cfg_file);    }    else	ctl->cmsg(CMSG_INFO, VERB_NORMAL,		  "Couldn't open mod cfg file!  Proceeding without it.");}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/5ef2b1bb432c8fea592b21ebe2fd73ccef90c514/m2m.c/clean/timidity/m2m.c