summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCIX_68 <>2018-06-13 06:40:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2018-06-13 06:40:00 (GMT)
commit68495b5d1095fcd77041359c2440744e1804110c (patch)
treeff0f0e7c108efd3db4db64b3e108a207cb8a10d5
parentd16f39c0c57b10d2916dd83fa4f3fa7c19c0d723 (diff)
version 0.1.0.10.1.0.1
-rw-r--r--soundgen.cabal4
-rw-r--r--src/Main.hs2
2 files changed, 3 insertions, 3 deletions
diff --git a/soundgen.cabal b/soundgen.cabal
index f56843f..f5d3f4c 100644
--- a/soundgen.cabal
+++ b/soundgen.cabal
@@ -2,7 +2,7 @@
-- see http://haskell.org/cabal/users-guide/
name: soundgen
-version: 0.1.0.0
+version: 0.1.0.1
synopsis: sound generator
description: Simple tone generator. You can decide the tone frequency and duration
license: BSD3
@@ -15,7 +15,7 @@ build-type: Simple
extra-source-files: ChangeLog.md
cabal-version: >=1.10
-executable sound
+executable soundgen
main-is: Main.hs
-- other-modules:
-- other-extensions:
diff --git a/src/Main.hs b/src/Main.hs
index 16fa8c5..ec01991 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -28,4 +28,4 @@ makeWavFile wav = putWAVEFile "sound.wav" wav
main = do args <- getArgs
case args of
[f,d] -> (makeWavFile (waveData (read f) (read d))) >> putStrLn "Done"
- _ -> putStrLn "USAGE: sound <frequency (Hz)> <duration (ms)>"
+ _ -> putStrLn "USAGE: sound <frequency (Hz)> <duration (s)>"