image thumbnail

self-made stroboscope with microphone

by

 

GUI for the stoboscope. FFT spectrum, detect frequency, generate drive signal.

prests_calb.m
sfq=[77 105 140 187 236 316];  % string frequencies from 6 to 1
df=10; % margin
if v>=1
    sfqt=sfq(v);
    f1=(2*sfqt-df)/3;
    f2=2*f1-df;
    f1=round(f1);
    f2=round(f2);
    set(handles.f1,'string',num2str(f1));
    set(handles.f2,'string',num2str(f2));
    set(handles.axes1,'xlim',[f1 f2]);
end

Contact us