Lines Matching refs:signal
64 "import scipy.signal\n",
66 "from scipy.signal.windows import hann\n",
197 " signal = np.hstack([waveform, zero_padding])\n",
200 " # We decompose the intput signal into overlapping window. And the signal in each window\n",
210 " reta=[zcr(x*window) for x in sliding_window_view(signal,winLength)[::audioOffset,:]]\n",
212 …" # The final signal is filtered. We have tested several variations on the feature. This filter…
214 " reta=scipy.signal.lfilter(np.ones(10)/10.0,[1],reta)\n",
229 …"Note that when you use the signal property, the speech patterns will return the content of the fi…
269 " def signal(self):\n",
400 "## Testing on a signal\n",
426 "data = patterns[nbpat].signal\n",
487 " f, t, Zxx = scipy.signal.stft(equal_length, fs, nperseg=1000)\n",
969 " signal = np.hstack([waveform, zero_padding])\n",
978 …" reta=[dsp_zcr(dsp.arm_mult_f32(x,window)) for x in sliding_window_view(signal,winLength)[::au…
1088 "y_pred_ref = [dsp_predict(dsp_feature(x.signal)) for x in test_patterns]\n",
1222 " signal = np.hstack([waveform, zero_padding])\n",
1232 …" reta=[dsp_zcr_q31(dsp.arm_mult_q31(x,window)) for x in sliding_window_view(signal,winLength)[…
1351 "y_pred_ref = [dsp_predict_q31(dsp_feature_q31(fix.toQ31(x.signal))) for x in test_patterns]\n",
1474 " signal = np.hstack([waveform, zero_padding])\n",
1484 …" reta=[dsp_zcr_q15(dsp.arm_mult_q15(x,window)) for x in sliding_window_view(signal,winLength)[…
1576 "y_pred_ref = [dsp_predict_q15(dsp_feature_q15(fix.toQ15(x.signal))) for x in test_patterns]\n",
1645 "* A FIR node which is filtering all the features for one second of signal\n",
1802 " # For Python we run for only around 13 seconds of input signal.\n",
1936 "Let's plot the signal to check we have the right one:"