Project

General

Profile

« Previous | Next » 

Revision 1454

Added by markw 10 months ago

Increase ADC volume. Try to decrease ADC noise by digital methods: FIR filter of problematic frequencies, silence ADC when nothing playing. Disable ADC for models that do not fit these features (M02/M08 with sample memory)

View differences:

init.c
}
fclose(f);
int fir_base = 0xc00*4;
unsigned short * fir = (unsigned short *)(buffer+fir_base);
FILE * fr =fopen("fir_rom.bin","rb");
fread(fir,2,2032,fr);
fclose(fr);
FILE * x =fopen("init_0.bin","w");
fwrite(&buffer[0],1,32768,x);
fclose(x);

Also available in: Unified diff