period_fft_idx = recording_bufsize / period_length fft_subregion = recording_fft[int(recording_bufsize / period_length):]
(Pdb) p np.fft.irfft(fft_subregion).shape (1038584,) (Pdb) p original_signal.shape (1048576,)
Undescribed Horrific Abuse, One Victim & Survivor of Many Thu, 10 Nov 2022 06:56:51 -0800
period_fft_idx = recording_bufsize / period_length fft_subregion = recording_fft[int(recording_bufsize / period_length):]
(Pdb) p np.fft.irfft(fft_subregion).shape (1038584,) (Pdb) p original_signal.shape (1048576,)