haskore-0.0.7: The Haskore Computer Music SystemSource codeContentsIndex
Haskore.Interface.MED.Text
Description

Import Music from text printed by OctaMED. It will be certainly easy to adapt that for other trackers like SoundTracker, NoiseTracker, DigiBooster, FastTracker.

Take care that you use B not H note name.

Synopsis
sieve :: Int -> [a] -> [a]
sliceHoriz :: Int -> [a] -> [[a]]
sliceVert :: Int -> [a] -> [[a]]
type Instrument = Int
splitBlocks :: [String] -> [[String]]
cellToNote :: String -> (Maybe (T, Instrument), String)
parseDigit :: CharParser () Int
parseNote :: CharParser () (Maybe (T, Instrument))
parseCell :: CharParser () (Maybe (T, Instrument), String)
columnToNotes :: [String] -> ([String], [(T, Instrument, [String])])
linesToNotes :: [String] -> [([String], [(T, Instrument, [String])])]
columnToSimpleSerial :: Integer -> ([String], [(T, Instrument, [String])]) -> ShowS
Documentation
sieve :: Int -> [a] -> [a]Source
should be moved to Utility
sliceHoriz :: Int -> [a] -> [[a]]Source
should be moved to Utility
sliceVert :: Int -> [a] -> [[a]]Source
should be moved to Utility
type Instrument = IntSource
splitBlocks :: [String] -> [[String]]Source
cellToNote :: String -> (Maybe (T, Instrument), String)Source
parseDigit :: CharParser () IntSource
parseNote :: CharParser () (Maybe (T, Instrument))Source
parseCell :: CharParser () (Maybe (T, Instrument), String)Source
columnToNotes :: [String] -> ([String], [(T, Instrument, [String])])Source
linesToNotesSource
:: [String]lines of a block
-> [([String], [(T, Instrument, [String])])]
Convert a block of a song to a list of notes.
columnToSimpleSerial :: Integer -> ([String], [(T, Instrument, [String])]) -> ShowSSource
Produced by Haddock version 2.4.2