Documente Academic
Documente Profesional
Documente Cultură
producatorului: http://ww1.microchip.com/downloads/en/AppNotes/93062A.pdf
Initializam efectele:
int runners_init(_Q15* mod_buf, unsigned int mod_buf_sz, _Q15* delays_buf,
unsigned int delays_buf_sz)
{
err += hard_clipping_init(&hc, NULL);
err += runner_add_effect(&runners[0], &hc, hard_clipping_set_params,
hard_clipping_process);
}
Initializam modulul ADC: rezolutie 12bit, DAC rezolutie 16bit, butoane input, afisaj
LCD 7 segmente, conform registrilor dsPIC33FJ128GPX02/X04 specifici de pe pagina
producatorului: http://ww1.microchip.com/downloads/en/DeviceDoc/70292E.pdf ,
functiile sunt gasite in fisierul initialization.h respectiv initialization.c
Functiile pentru procesarea butoanelor si a afisajului sunt gasite in fisierul
processing.h respectiv processing.c
Cateva caracte definite pentru afisajul cu 7 segmente
#define b_CHARACTER 0b01111100
#define C_CHARACTER 0b00111001
#define d_CHARACTER 0b01011110
#define E_CHARACTER 0b01111001
sample=ADC1BUF0;
controls_processing();
samples_processing(sample, &out_sample_L, &out_sample_R);
DAC1RDAT=out_sample_R;
//DAC1RDAT=sample;
Bypassing Effects
You can bypass an effect in order to hear the region or project without it. This retains all changes
youve made to the effect parameters.
Bibliografie
https://code.google.com/p/ii-project-cs-utcluj/wiki/DSP