Home
last modified time | relevance | path

Searched refs:GetFreq (Results 1 – 2 of 2) sorted by relevance

/TwlSDK-5.4/build/demos/snd/synth/src/
Dmain.c39 #define GetFreq(pitch) (SND_TIMER_CLOCK / SND_CalcTimer((SND_TIMER_CLOCK / 440), (pitch - 69 * 64))) macro
168 osc.step = (fx16)FX_Div(GetFreq(tp.x * 4 + 60 * 64) << FX32_SHIFT, osc.rate); in NitroMain()
/TwlSDK-5.4/build/demos/math/fft-2/src/
Dmain.c60 #define GetFreq(pitch) (SND_TIMER_CLOCK / SND_CalcTimer((SND_TIMER_CLOCK / 440), (pitch - 69 * 64))) macro
368 osc.step = (fx16)FX_Div(GetFreq(tp.x * 12 + 60 * 64) << FX32_SHIFT, osc.rate); in NitroMain()