packages feed

herald-0.1.0.2: herald.cabal

cabal-version:      3.0
name:               herald
version:            0.1.0.2
synopsis:           Sheet music in Haskell
description:
    Haskell library for writing musical scores as code and synthesizing them
    into audio.

    Features:

    * Named pitches, key signatures and accidentals that last until the bar line
    * Note values, dots, ties, chords and trills
    * Time signatures, with every bar checked
    * Dynamics
    * Equal temperament and historical tunings
    * Several voices, each with its own instrument and stereo position
    * Mono or stereo WAV output and playback

    Instruments: @pureTone@, @additive@, @organ@, @harpsichord@.
homepage:           https://github.com/joaquin-rossi/herald
bug-reports:        https://github.com/joaquin-rossi/herald/issues
license:            AGPL-3.0-or-later
license-file:       LICENSE
author:             Joaquín Rossi
maintainer:         joaquin@joaquinrossi.net
category:           Sound
build-type:         Simple
tested-with:        GHC ==9.10.3 || ==9.12.4 || ==9.14.1
extra-doc-files:    README.md

source-repository head
    type:     git
    location: https://github.com/joaquin-rossi/herald.git

common common
    default-language: GHC2024
    ghc-options:
        -Wall
        -Wcompat
        -Widentities
        -Wincomplete-record-updates
        -Wmissing-export-lists
        -Wredundant-constraints
        -Wunused-packages

library
    import:           common
    hs-source-dirs:   src
    exposed-modules:
        Herald
        Herald.Performance
        Herald.Performance.Instrument
        Herald.Score
        Herald.Score.Duration
        Herald.Score.Dynamic
        Herald.Score.Pitch
        Herald.Sound
        Herald.Sound.IO
        Herald.Tuning

    build-depends:
        base >=4.20 && <4.23,
        bytestring >=0.12 && <0.13,
        containers >=0.7 && <0.9,
        mtl >=2.3.1 && <2.4,
        process >=1.6.19 && <1.7,
        vector >=0.13.1 && <0.14,

test-suite herald-test
    import:           common
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:
        base,
        bytestring,
        herald,
        tasty >=1.4.2 && <1.6,
        tasty-hunit >=0.10 && <0.11,
        vector,