Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- newtype Voice = Voice {}
- data MuteOperation
- data CuriousFlag
- data Pan
- = Pan Int
- | PanSurround
- data MDriver
- data MDriverInfo = MDriverInfo {}
- data Module
- type ModuleHandle = Ptr Module
- data ModuleInfo = ModuleInfo {}
- data Sample
- type SampleHandle = Ptr Sample
- data SampleInfo = SampleInfo {
- samplePanning :: Pan
- sampleSpeed :: Int
- sampleVolume :: Int
- sampleFlags :: [SampleFlag]
- sampleInflags :: [SampleFlag]
- sampleLength :: Int
- sampleLoopStart :: Int
- sampleLoopEnd :: Int
- data MReader = MReader {
- readerSeek :: Int -> SeekMode -> IO Outcome
- readerTell :: IO Int
- readerRead :: Int -> IO (Maybe ByteString)
- readerGet :: IO (Maybe Word8)
- readerEof :: IO IsEOF
- data Outcome
- data IsEOF
- data Instrument
Documentation
MikMod distinguishes module channels from voices. Sound effects and music
both work by playing samples on voices. At most one sample can play on a
voice at a time. Operations on the voice level take a voice number which you
can get using playerGetChannelVoice
and samplePlay
.
data MuteOperation Source #
Inclusive or exclusive selection of channels for muting.
data CuriousFlag Source #
When loading a module, Curious will cause the loader to attempt to load hidden tracks past the end of the song.
type ModuleHandle = Ptr Module Source #
Handle to a Module object which contains the music data and current playback state of a song.
data ModuleInfo Source #
Static info about a module.
ModuleInfo | |
|
type SampleHandle = Ptr Sample Source #
data SampleInfo Source #
Static info about a sample.
SampleInfo | |
|
Collection of IO operations that MikMod can use to load data from an arbitrary source, such as a memory buffer or zip file.
MReader | |
|
Used for the very undescriptive possible outcomes of a readerSeek.
data Instrument Source #