Searched refs:k0 (Results 1 – 3 of 3) sorted by relevance
/liblc3-latest/test/ |
D | ltpf.py | 163 def correlate(self, x, i0, n, k0, k1): argument 167 np.take(x, np.arange(i0, n) - k)) for k in range(k0, 1+k1) ]) 192 k0 = max(0, tc-4) 194 t = [ 17 + np.argmax(rw), 17 + k0 + np.argmax(r[k0:1+k1]) ] 211 k0 = max( 32, 2*tc-4) 213 r = self.correlate(x, i0, n, k0-4, k1+4) 214 e = k0 + np.argmax(r[4:-4]) 221 s = [ np.dot( np.take(r, e-k0+4 + m), np.take(h, 4*m-d) ) \
|
D | sns.py | 233 k0 = sum(y3) 234 for k in range(k0, K):
|
/liblc3-latest/src/ |
D | ltpf.c | 589 int k0 = LC3_MAX( 0, ltpf->tc-4); in detect_pitch() local 590 int nk = LC3_MIN(nr-1, ltpf->tc+4) - k0 + 1; in detect_pitch() 595 int t2 = k0 + argmax(r + k0, nk, &rm2); in detect_pitch()
|