| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Sound.MikMod.Types
- 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 {}
- 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 mikmodGetChannelVoice.
Constructors
| Voice | |
Fields | |
data MuteOperation Source
Operations that manipulate muting of multiple channels use one of two interpretations of the specified channge range. MuteExclusive means mute / unmute / toggle muting of all channels outside the specified range.
Constructors
| MuteInclusive | |
| MuteExclusive |
Instances
data CuriousFlag Source
When loading a module Curious will cause the loader to attempt to load hidden tracks past the end of the song.
Constructors
| Curious | |
| NotCurious |
Instances
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.
Constructors
| ModuleInfo | |
Fields
| |
Instances
type SampleHandle = Ptr Sample Source
data SampleInfo Source
Static info about a sample.
Constructors
| SampleInfo | |
Fields
| |
Instances
Collection of IO operations that MikMod can use to load data from an arbitrary source, such as a memory buffer or zip file.
Constructors
| MReader | |
Fields
| |
data Instrument Source