vocoder-conduit-0.1.0.0: Phase vocoder for Conduit
Copyright(c) Marek Materzok 2021
LicenseBSD2
Safe HaskellNone
LanguageHaskell2010

Vocoder.Conduit.Frames

Description

 
Synopsis
  • framesOfE :: (Monad m, IsSequence seq) => Index seq -> Index seq -> ConduitT seq seq m ()
  • genFramesOfE :: (Monad m, IsSequence seq) => Index seq -> Index seq -> seq -> ConduitT seq seq m seq
  • sumFramesE :: (Monad m, IsSequence seq, Num (Element seq)) => Index seq -> Index seq -> ConduitT seq seq m ()

Documentation

framesOfE :: (Monad m, IsSequence seq) => Index seq -> Index seq -> ConduitT seq seq m () Source #

Splits a chunked input stream into overlapping frames of constant size suitable for STFT processing.

genFramesOfE :: (Monad m, IsSequence seq) => Index seq -> Index seq -> seq -> ConduitT seq seq m seq Source #

More general version of framesOfE, suitable for processing multiple inputs.

sumFramesE :: (Monad m, IsSequence seq, Num (Element seq)) => Index seq -> Index seq -> ConduitT seq seq m () Source #

Builds a chunked output stream from a stream of overlapping frames.