Skip to content

what is the inverse of FrameGenerator #1369

Answered by palonso
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

OverpadAdd is the algorithm you are looking for.

The input and output of OverlapAdd are indeed one-dimensional because you are expected to pass it every IFFT frame iteratively. In order to reconstruct the signal you can use, for example, numpy: np.stack(frames):

frames = [overlapAdd(frame) for frame in ifft_frames]
signal = np.stack(frames)

Additionally, have a look at this usage example using OverlapAdd in streaming mode.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@palonso
Comment options

Answer selected
@ghost
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant