GUI: remove debug text in per-chan osc
This commit is contained in:
parent
5e4931c370
commit
4262674e61
|
@ -162,8 +162,8 @@ void FurnaceGUI::drawChanOsc() {
|
||||||
double phase=((double)buf->rate/(FURNACE_FFT_RATE*point))*(0.5+(atan2(candPoint[1],candPoint[0])/(M_PI*2)));
|
double phase=((double)buf->rate/(FURNACE_FFT_RATE*point))*(0.5+(atan2(candPoint[1],candPoint[0])/(M_PI*2)));
|
||||||
|
|
||||||
//printf("%d cphase: %f\n",ch,phase*((double)buf->rate/FURNACE_FFT_RATE));
|
//printf("%d cphase: %f\n",ch,phase*((double)buf->rate/FURNACE_FFT_RATE));
|
||||||
String cPhase=fmt::sprintf("%d cphase: %f\n",point,phase);
|
//String cPhase=fmt::sprintf("%d cphase: %f\n",point,phase);
|
||||||
dl->AddText(inRect.Min,0xffffffff,cPhase.c_str());
|
//dl->AddText(inRect.Min,0xffffffff,cPhase.c_str());
|
||||||
|
|
||||||
needlePos=fft->needle;
|
needlePos=fft->needle;
|
||||||
needlePos-=phase;
|
needlePos-=phase;
|
||||||
|
|
Loading…
Reference in New Issue