aspcore.filter.WOLA
- class aspcore.filter.WOLA(num_in: int, num_out: int, block_size: int, overlap: int)
Bases:
object
- __init__(num_in: int, num_out: int, block_size: int, overlap: int)
Methods
__init__
(num_in, num_out, block_size, overlap)analysis
(sig)Performs WOLA analysis and saved the contents to self.spectrum
Performs WOLA synthesis, sums with previous blocks and returns
- analysis(sig)
Performs WOLA analysis and saved the contents to self.spectrum
- Parameters:
sig (ndarray (self.num_in, self.hop)) – the new samples from the signal that should be analyzed
- synthesis()
- Performs WOLA synthesis, sums with previous blocks and returns
the self.hop number of valid samples