Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #if SIGNAL == 0
- mono_wejscie = (lewy_wejscie >> 1) + (prawy_wejscie >> 1);
- #elif SIGNAL == 1
- if(e == NUM_SAMPLES){
- rand16init();
- rand16((DATA*)wybrana, NUM_SAMPLES);
- e = 0;
- }
- mono_wejscie = wybrana[e];
- e++;
- #elif SIGNAL == 2
- if(e == NUM_SAMPLES){
- saw(wybrana, NUM_SAMPLES, numero);
- e = 0;
- }
- mono_wejscie = wybrana[e];
- e++;
- #elif SIGNAL == 3
- if(e == NUM_SAMPLES){
- sint(wybrana, NUM_SAMPLES, numero);
- e = 0;
- }
- mono_wejscie = wybrana[e];
- e++;
- #elif SIGNAL == 4
- for(e = 0; e < NUM_SAMPLES; e++){
- mono_wejscie = testsignal[e];
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment