(self, chunk)
| 97 | return waveform |
| 98 | |
| 99 | def preprocess_chunk(self, chunk): |
| 100 | chunk = chunk - np.mean(chunk) |
| 101 | chunk = chunk / (np.max(np.abs(chunk)) + 1e-8) |
| 102 | chunk = chunk * 0.5 |
| 103 | return chunk |
| 104 | |
| 105 | |
| 106 | def load_audiosep(): |
no test coverage detected