jammittools-0.3.2: Export sheet music and audio from Windows/Mac app Jammit

Safe HaskellNone
LanguageHaskell98

Sound.Jammit.Export

Description

Functions for exporting Jammit audio (as WAV) and sheet music (as PDF).

Synopsis

Documentation

fuzzySearchBy :: (Info -> String) -> String -> Library -> Library Source

Filter the library based on some string selector. The selector is applied case-insensitively, and the song's field only has to contain the search term rather than match it exactly.

exactSearchBy :: (Info -> String) -> String -> Library -> Library Source

Filter the library based on some string selector. The selector must match exactly.

loadLibrary :: FilePath -> IO Library Source

Given the top-level Jammit library directory, finds all song packages.

getAudioParts :: Library -> [(AudioPart, FilePath)] Source

A mapping from audio part to absolute filename of an audio file.

getSheetParts :: Library -> [(SheetPart, (FilePath, Integer))] Source

A mapping from sheet part to (prefix of image files, line height in pixels).

runAudio Source

Arguments

:: [FilePath]

AIFCs to mix in normally

-> [FilePath]

AIFCs to mix in inverted

-> FilePath

the resulting WAV file

-> IO () 

runSheet Source

Arguments

:: [(FilePath, Integer)]

pairs of (png file prefix, line height in px)

-> Int

how many sheet music systems per page

-> FilePath

the resulting PDF

-> IO ()