summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormtolly <>2015-07-13 03:27:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2015-07-13 03:27:00 (GMT)
commitdc40140bc5d7f40eea76893aecf616de48a26664 (patch)
tree787a3a163c091765d8c1cf64044aa8612034270a
parent774bcc1733c87a3784761a7499a5504edbeca61e (diff)
version 0.1.0.2HEAD0.1.0.2master
-rw-r--r--README.md14
-rw-r--r--rubberband.cabal15
-rw-r--r--test.hs4
3 files changed, 30 insertions, 3 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..d2ad3a5
--- /dev/null
+++ b/README.md
@@ -0,0 +1,14 @@
+[![Available on Hackage](https://img.shields.io/hackage/v/rubberband.svg)](http://hackage.haskell.org/package/rubberband) [![Build Status](https://travis-ci.org/mtolly/rubberband.svg?branch=master)](https://travis-ci.org/mtolly/rubberband)
+
+This is a Haskell binding to the [Rubber Band](http://breakfastquay.com/rubberband/)
+audio stretching library. Two interfaces are provided:
+
+* The low-level interface, `Sound.RubberBand.Raw`, gives you simple access to the C API.
+
+* The higher-level interface, `Sound.RubberBand.Nice`, offers a garbage-collected
+ state object and easier memory management via Haskell vectors instead of pointers.
+
+A sample application `wavstretch` is also provided to demonstrate the high-level
+interface.
+
+Now available on Hackage, so you can install with `cabal install rubberband`.
diff --git a/rubberband.cabal b/rubberband.cabal
index 9f34126..a245143 100644
--- a/rubberband.cabal
+++ b/rubberband.cabal
@@ -1,5 +1,5 @@
name: rubberband
-version: 0.1.0.1
+version: 0.1.0.2
synopsis: Binding to the C++ audio stretching library Rubber Band
description: <http://breakfastquay.com/rubberband/ Rubber Band Library>
@@ -22,21 +22,30 @@ author: Michael Tolly
maintainer: miketolly@gmail.com
category: Sound
build-type: Simple
-cabal-version: >=1.10
+cabal-version: >= 1.10
bug-reports: https://github.com/mtolly/rubberband/issues
+extra-source-files: README.md
library
exposed-modules: Sound.RubberBand
Sound.RubberBand.Raw
Sound.RubberBand.Nice
Sound.RubberBand.Option
- build-depends: base >= 4.6 && < 4.8, vector >= 0.10.9 && < 0.11
+ build-depends: base >= 4.5 && < 4.9, vector >= 0.10.9 && < 0.11
hs-source-dirs: src
default-language: Haskell2010
includes: rubberband/rubberband-c.h
extra-libraries: rubberband
pkgconfig-depends: rubberband == 1.8.1
ghc-options: -Wall
+ build-tools: c2hs
+
+test-suite test-rubberband
+ type: exitcode-stdio-1.0
+ main-is: test.hs
+ build-depends: base, rubberband
+ ghc-options: -Wall
+ default-language: Haskell2010
Source-Repository head
type: git
diff --git a/test.hs b/test.hs
new file mode 100644
index 0000000..d82a4bd
--- /dev/null
+++ b/test.hs
@@ -0,0 +1,4 @@
+module Main where
+
+main :: IO ()
+main = return ()