HarmTrace-Base 1.0.0.0 → 1.0.0.1
raw patch · 5 files changed
+21/−17 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- HarmTrace-Base.cabal +2/−2
- src/HarmTrace/Base/ChordTokenizer.hs +3/−3
- src/HarmTrace/Base/MusicRep.hs +3/−3
- src/HarmTrace/Base/MusicTime.hs +10/−6
- src/HarmTrace/Base/Parsing.hs +3/−3
HarmTrace-Base.cabal view
@@ -1,6 +1,6 @@ name: HarmTrace-Base -version: 1.0.0.0 +version: 1.0.0.1 synopsis: Parsing and unambiguously representing musical chords. description: HarmTrace: Harmony Analysis and Retrieval of Music with Type-level Representations of Abstract @@ -13,7 +13,7 @@ license: LGPL-3 license-file: LICENSE author: W. Bas de Haas and Jose Pedro Magalhaes -maintainer: bas@chordify.net, pedro@chordify.net +maintainer: bas@chordify.net, dreixel@chordify.net category: Music build-type: Simple
src/HarmTrace/Base/ChordTokenizer.hs view
@@ -4,10 +4,10 @@ -------------------------------------------------------------------------------- -- | -- Module : HarmTrace.Base.Parsing --- Copyright : (c) 2010-2012 Universiteit Utrecht, 2012 University of Oxford --- License : GPL3 +-- Copyright : (c) 2012--2013 W. Bas de Haas and Jose Pedro Magalhaes +-- License : LGPL-3 -- --- Maintainer : bash@cs.uu.nl, jpm@cs.ox.ac.uk +-- Maintainer : bas@chordify.net, dreixel@chordify.net -- Stability : experimental -- Portability : non-portable --
src/HarmTrace/Base/MusicRep.hs view
@@ -5,10 +5,10 @@ -------------------------------------------------------------------------------- -- | -- Module : HarmTrace.Base.MusicRep --- Copyright : (c) 2010-2012 Universiteit Utrecht, 2012 University of Oxford --- License : GPL3 +-- Copyright : (c) 2012--2013 W. Bas de Haas and Jose Pedro Magalhaes +-- License : LGPL-3 -- --- Maintainer : bash@cs.uu.nl, jpm@cs.ox.ac.uk +-- Maintainer : bas@chordify.net, dreixel@chordify.net -- Stability : experimental -- Portability : non-portable --
src/HarmTrace/Base/MusicTime.hs view
@@ -5,10 +5,10 @@ -------------------------------------------------------------------------------- -- | -- Module : HarmTrace.Base.MusicTime --- Copyright : (c) 2010-2012 Universiteit Utrecht, 2012 University of Oxford --- License : GPL3 +-- Copyright : (c) 2012--2013 W. Bas de Haas and Jose Pedro Magalhaes +-- License : LGPL-3 -- --- Maintainer : bash@cs.uu.nl, jpm@cs.ox.ac.uk +-- Maintainer : bas@chordify.net, dreixel@chordify.net -- Stability : experimental -- Portability : non-portable -- @@ -86,8 +86,11 @@ -- list with chords and segment boundaries. type ChordAnnotation = [TimedData ProbChord] --- | A datatype that wraps around an arbitrary datatype, adding (in this order) --- a 'Beat', an onset, and an offset. +-- | A datatype that wraps around an (musical) datatype, adding information +-- about the musical time to this datatype. Musical time is stored as +-- a list of 'BarTime' time stamps that can optionally be augmented +-- with information about the 'Beat' position of the particular time stamp +-- inside the bar. data TimedData a = TimedData { -- | Returns the contained datatype getData :: a -- | Returns the list of TimeStamps @@ -178,7 +181,8 @@ type BeatTrackerData = [NumData] -- TODO Rename to BeatTime --- | Combines a 'Beat' and a timestamp +-- | Represents a musical time stamp, which is a 'NumData' possibly augmented +-- with a 'Beat' denoting the position of the time stamp within a bar. data BarTime = BarTime NumData Beat | Time NumData deriving Eq
src/HarmTrace/Base/Parsing.hs view
@@ -4,10 +4,10 @@ -------------------------------------------------------------------------------- -- | -- Module : HarmTrace.Base.Parsing --- Copyright : (c) 2010-2012 Universiteit Utrecht, 2012 University of Oxford --- License : GPL3 +-- Copyright : (c) 2012--2013 W. Bas de Haas and Jose Pedro Magalhaes +-- License : LGPL-3 -- --- Maintainer : bash@cs.uu.nl, jpm@cs.ox.ac.uk +-- Maintainer : bas@chordify.net, dreixel@chordify.net -- Stability : experimental -- Portability : non-portable --