Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
- newtype Stretcher = Stretcher (Ptr Stretcher)
- type SampleRate = Int
- type NumChannels = Int
- type TimeRatio = Double
- type PitchScale = Double
- new :: SampleRate -> NumChannels -> Options -> TimeRatio -> PitchScale -> IO Stretcher
- delete :: Stretcher -> IO ()
- p_delete :: FunPtr (Ptr Stretcher -> IO ())
- reset :: Stretcher -> IO ()
- setTimeRatio :: Stretcher -> TimeRatio -> IO ()
- setPitchScale :: Stretcher -> PitchScale -> IO ()
- getTimeRatio :: Stretcher -> IO TimeRatio
- getPitchScale :: Stretcher -> IO PitchScale
- getLatency :: Stretcher -> IO Int
- setTransientsOption :: Stretcher -> Transients -> IO ()
- setDetectorOption :: Stretcher -> Detector -> IO ()
- setPhaseOption :: Stretcher -> Phase -> IO ()
- setFormantOption :: Stretcher -> Formant -> IO ()
- setPitchOption :: Stretcher -> Pitch -> IO ()
- setExpectedInputDuration :: Stretcher -> Int -> IO ()
- getSamplesRequired :: Stretcher -> IO Int
- setMaxProcessSize :: Stretcher -> Int -> IO ()
- setKeyFrameMap :: Stretcher -> Int -> Ptr CUInt -> Ptr CUInt -> IO ()
- study :: Stretcher -> Ptr (Ptr CFloat) -> Int -> Bool -> IO ()
- process :: Stretcher -> Ptr (Ptr CFloat) -> Int -> Bool -> IO ()
- available :: Stretcher -> IO Int
- retrieve :: Stretcher -> Ptr (Ptr CFloat) -> Int -> IO Int
- getChannelCount :: Stretcher -> IO Int
- calculateStretch :: Stretcher -> IO ()
- setDebugLevel :: Stretcher -> Int -> IO ()
- setDefaultDebugLevel :: Int -> IO ()
Documentation
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 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.
new :: SampleRate -> NumChannels -> Options -> TimeRatio -> PitchScale -> IO Stretcher Source
setTimeRatio :: Stretcher -> TimeRatio -> IO () Source
setPitchScale :: Stretcher -> PitchScale -> IO () Source
getTimeRatio :: Stretcher -> IO TimeRatio Source
getPitchScale :: Stretcher -> IO PitchScale Source
getLatency :: Stretcher -> IO Int Source
setTransientsOption :: Stretcher -> Transients -> IO () Source
setDetectorOption :: Stretcher -> Detector -> IO () Source
setPhaseOption :: Stretcher -> Phase -> IO () Source
setFormantOption :: Stretcher -> Formant -> IO () Source
setPitchOption :: Stretcher -> Pitch -> IO () Source
setExpectedInputDuration :: Stretcher -> Int -> IO () Source
getSamplesRequired :: Stretcher -> IO Int Source
setMaxProcessSize :: Stretcher -> Int -> IO () Source
getChannelCount :: Stretcher -> IO Int Source
calculateStretch :: Stretcher -> IO () Source
setDebugLevel :: Stretcher -> Int -> IO () Source
setDefaultDebugLevel :: Int -> IO () Source