wx-controls-extra-0.0: A set of custom widgets for wxHaskell.ContentsIndex
Graphics.UI.WX.Controls.Waveform
Description
Waveform widget. It can be used together with the Timeline widget, for example.
Synopsis
data Wave = Wave {
_nsamples :: Int
_isStereo :: Bool
_rawdata :: ForeignPtr Float
}
data WaveformWidget
makeTestWave :: Int -> IO Wave
makeWaveformWidget :: Window a -> Int -> Wave -> [Prop WaveformWidget] -> IO WaveformWidget
class WaveDisplay widg where
waveformInterval :: Attr widg (Int, Int)
waveformWave :: Attr widg Wave
Documentation
data Wave
Constructors
Wave
_nsamples :: Int
_isStereo :: Bool
_rawdata :: ForeignPtr Float
data WaveformWidget
show/hide Instances
makeTestWave :: Int -> IO Wave
Creates a test wave. Then argument gives the length in secs.
makeWaveformWidget :: Window a -> Int -> Wave -> [Prop WaveformWidget] -> IO WaveformWidget
class WaveDisplay widg where
Methods
waveformInterval :: Attr widg (Int, Int)
waveformWave :: Attr widg Wave
show/hide Instances
Produced by Haddock version 2.4.1