packages feed

zmidi-core-0.8.0: zmidi-core.cabal

name:             zmidi-core
version:          0.8.0
license:          BSD3
license-file:     LICENSE
copyright:        Stephen Tetley <stephen.tetley@gmail.com>
maintainer:       Stephen Tetley <stephen.tetley@gmail.com>
homepage:         https://github.com/stephentetley/zmidi-core
category:         Music
synopsis:         Read and write MIDI files.
description:
  .
  Minimalist library to read and write MIDI files, with 
  dependencies only on ByteString, Containers and Data.Binary.
  .
  Changelog:
  
  v0.7.0 to v0.8.0:
  .
  * Updated to compile without errors with GHC 7.10.
  .
  v0.6.0 to v0.7.0:
  .
  * Changed @ChannelPrefix@ constructor to have a single 
    argument - channel number (previously it stored a constant 
    tag 0x01 as well as channel number).
  .
  * Added @SysExCont@ and @SysExEscape@ constructors to the 
    @MidiSysExEvent@ data type.
  .
  * Added new pretty printers - @Csv@ based on @midicsv@ and 
    @Ascii@ based on the ASCII MIDI representation in the book 
    Beyond Midi (the zmidi ASCII representation is simplified).
    The demo application @MidiPrint@ now allows choice of pretty
    printer.
  .
  * @printMidiHeader@ and @printMidiTrack@ from @Pretty@ changed
    to MidiFiles as arguments, @printMidi@ has now become 
    @putMidi@.
  .
  v0.5.0 to v0.6.0:
  .
  * Extended the parser and changed the syntax tree to interpret 
    MIDI Running Status. 
  . 
  * Added a module @ZMidi.Core.Canonical@ to translate MidiFiles
    to a canonical form where any shorthand NoteOff introduced by 
    Running Status is expanded to regular NoteOn and NoteOff 
    events (with Running Status set, MidiFiles can signal NoteOff 
    events as another NoteOn with 0 channel velocity).
  .
  * Added a hack to the pretty printer to stop printing ASCII
    chars greater than 164 causing an error when printing to 
    stdout.
  .
  For older changes see - CHANGES file.
  .
build-type:         Simple
stability:          unstable
cabal-version:      >= 1.2

extra-source-files:
  CHANGES,
  demo/MidiCopy.hs,
  demo/MidiPrint.hs,
  demo/MidiTune.hs


library
  hs-source-dirs:     src
  build-depends:      base < 5,
                      bytestring,
                      containers,
                      binary >= 0.5
  
  exposed-modules:
    ZMidi.Core,
    ZMidi.Core.Canonical,
    ZMidi.Core.Datatypes,
    ZMidi.Core.Pretty,
    ZMidi.Core.Pretty.Ascii,
    ZMidi.Core.Pretty.Csv,
    ZMidi.Core.Pretty.Internal,
    ZMidi.Core.Pretty.Interp,
    ZMidi.Core.ReadFile,
    ZMidi.Core.VersionNumber,
    ZMidi.Core.WriteFile

  other-modules:
    ZMidi.Core.Internal.ExtraTypes,
    ZMidi.Core.Internal.ParserMonad,
    ZMidi.Core.Internal.SimpleFormat
      
  extensions:
    

  ghc-options:
  
  includes: