rubberband-0.1: Binding to the C++ audio stretching library Rubber Band

Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.RubberBand.Raw

Synopsis

Documentation

newtype Stretcher Source

Constructors

Stretcher (Ptr Stretcher) 

type SampleRate = Int Source

Samples per second of the input and output audio.

type NumChannels = Int Source

The number of channels processed by a stretcher.

type TimeRatio = Double Source

A ratio of stretched duration to unstretched (original) duration.

type PitchScale = Double Source

A ratio of output frequencies to input frequencies. For example, a ratio of 2 will increase the audio by one octave, and 0.5 will decrease it by one octave.

p_delete :: FunPtr (Ptr Stretcher -> IO ()) Source

Suitable for a ForeignPtr finalizer.

study :: Stretcher -> Ptr (Ptr CFloat) -> Int -> Bool -> IO () Source