packages feed

Euterpea 2.0.3 → 2.0.4

raw patch · 31 files changed

+46/−20 lines, 31 filesdep ~HCodecsdep ~arraydep ~arrowsbinary-addedPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: HCodecs, array, arrows, containers, deepseq, random, stm

API changes (from Hackage documentation)

+ Euterpea.Music: Aeolian :: Mode
+ Euterpea.Music: CustomMode :: String -> Mode
+ Euterpea.Music: Dorian :: Mode
+ Euterpea.Music: Ionian :: Mode
+ Euterpea.Music: Locrian :: Mode
+ Euterpea.Music: Lydian :: Mode
+ Euterpea.Music: Mixolydian :: Mode
+ Euterpea.Music: Phrygian :: Mode

Files

+ .git/COMMIT_EDITMSG view
@@ -0,0 +1,1 @@+Binary encoding fixes.
.git/FETCH_HEAD view
@@ -1,1 +1,1 @@-ef06402d714aa53dae0ba9c74b68d8b4ddea1329		branch 'master' of https://github.com/Euterpea/Euterpea2+02f0974406cb38a71a2bdfe8204e87bd0cd03892		branch 'master' of https://github.com/Euterpea/Euterpea2
.git/ORIG_HEAD view
@@ -1,1 +1,1 @@-23b0fe619f7f91be4123ef976dd9284c11c1093a+bd913f30e7561f8c842deaed7b028823aa822203
.git/index view

binary file changed (2436 → 2436 bytes)

.git/logs/HEAD view
@@ -1,2 +1,5 @@ 0000000000000000000000000000000000000000 23b0fe619f7f91be4123ef976dd9284c11c1093a Donya Quick <donyaquick@gmail.com> 1495035254 -0700	clone: from https://github.com/Euterpea/Euterpea2.git 23b0fe619f7f91be4123ef976dd9284c11c1093a ef06402d714aa53dae0ba9c74b68d8b4ddea1329 Donya Quick <donyaquick@gmail.com> 1496256684 -0500	pull --no-rebase --progress origin: Fast-forward+ef06402d714aa53dae0ba9c74b68d8b4ddea1329 957f3714d66fa6bd059f71b91a1e725b1d2e08a5 Donya Quick <donyaquick@gmail.com> 1499191363 -0400	commit: Misc changes+957f3714d66fa6bd059f71b91a1e725b1d2e08a5 bd913f30e7561f8c842deaed7b028823aa822203 Donya Quick <donyaquick@gmail.com> 1499192677 -0400	commit: Binary encoding fixes.+bd913f30e7561f8c842deaed7b028823aa822203 02f0974406cb38a71a2bdfe8204e87bd0cd03892 Donya Quick <donyaquick@gmail.com> 1503766667 -0400	pull --no-rebase --progress origin: Fast-forward
.git/logs/refs/heads/master view
@@ -1,2 +1,5 @@ 0000000000000000000000000000000000000000 23b0fe619f7f91be4123ef976dd9284c11c1093a Donya Quick <donyaquick@gmail.com> 1495035254 -0700	clone: from https://github.com/Euterpea/Euterpea2.git 23b0fe619f7f91be4123ef976dd9284c11c1093a ef06402d714aa53dae0ba9c74b68d8b4ddea1329 Donya Quick <donyaquick@gmail.com> 1496256684 -0500	pull --no-rebase --progress origin: Fast-forward+ef06402d714aa53dae0ba9c74b68d8b4ddea1329 957f3714d66fa6bd059f71b91a1e725b1d2e08a5 Donya Quick <donyaquick@gmail.com> 1499191363 -0400	commit: Misc changes+957f3714d66fa6bd059f71b91a1e725b1d2e08a5 bd913f30e7561f8c842deaed7b028823aa822203 Donya Quick <donyaquick@gmail.com> 1499192677 -0400	commit: Binary encoding fixes.+bd913f30e7561f8c842deaed7b028823aa822203 02f0974406cb38a71a2bdfe8204e87bd0cd03892 Donya Quick <donyaquick@gmail.com> 1503766667 -0400	pull --no-rebase --progress origin: Fast-forward
.git/logs/refs/remotes/origin/master view
@@ -1,1 +1,3 @@ 23b0fe619f7f91be4123ef976dd9284c11c1093a ef06402d714aa53dae0ba9c74b68d8b4ddea1329 Donya Quick <donyaquick@gmail.com> 1496256683 -0500	fetch --progress --prune origin: fast-forward+ef06402d714aa53dae0ba9c74b68d8b4ddea1329 bd913f30e7561f8c842deaed7b028823aa822203 Donya Quick <donyaquick@gmail.com> 1499192681 -0400	update by push+bd913f30e7561f8c842deaed7b028823aa822203 02f0974406cb38a71a2bdfe8204e87bd0cd03892 Donya Quick <donyaquick@gmail.com> 1503766664 -0400	fetch --progress --prune origin: fast-forward
+ .git/objects/02/f0974406cb38a71a2bdfe8204e87bd0cd03892 view
@@ -0,0 +1,2 @@+x•ŽÁn„0D{ÎWøŠŒCˆ‘VÕöÐcÁ$F‹+‚·_´ç^zšÑhžfÒ2Ï£uøb›*äF;an‰I£ú:äÐPŸ|„2£:
n•M‹AŸ»Ú5†¶8qCYEs<fò"LDè<ì¾l—r\žòýu-j{’U«Ó¼AÐǖšáD—žïLÿ˹›®Z²–tÀcÍbº»?2ÎGçÆ*6öã4Ú?£Ýá]öO&ø˜ÄÎÊ\QUW^]
+ .git/objects/42/5353d295a19c6a399e02b515a85e0036be7e98 view

binary file changed (absent → 271 bytes)

+ .git/objects/44/f568871f65e55de26a74570d1c2c7cb3807108 view

binary file changed (absent → 4340 bytes)

+ .git/objects/46/3f7f59329b9a5f8bdf4aa81f7eeffac86a9c79 view

binary file changed (absent → 272 bytes)

+ .git/objects/4c/e69816c36136d41f468bf686466b772a599da1 view

binary file changed (absent → 244 bytes)

+ .git/objects/75/9312bb8b687b8750bf60d89157b2f743492c0f view

binary file changed (absent → 136 bytes)

+ .git/objects/89/bb679180ec64b2834e0a662ccc642e384bd1d1 view

binary file changed (absent → 136 bytes)

+ .git/objects/8f/a140281ee2f80eea601f0a6e9882faef292c1c view

binary file changed (absent → 83 bytes)

+ .git/objects/95/7f3714d66fa6bd059f71b91a1e725b1d2e08a5 view

binary file changed (absent → 238 bytes)

+ .git/objects/9f/66bb45272eb441beabde0c9e3eb8ca0909560e view

binary file changed (absent → 1137 bytes)

+ .git/objects/ab/b50d7aa6249900fe22e523218f814ec5b1c0c8 view

binary file changed (absent → 4382 bytes)

+ .git/objects/b4/4653878ead3d6a1487197e816f163cfb537ebb view

binary file changed (absent → 83 bytes)

+ .git/objects/b9/6ef39325e119fad7c502c7e4b75402d16ff52b view
@@ -0,0 +1,3 @@+xU]o7ì3žÅôá)R8E‘&bJëDMýÀá×w„yäåHZ ßYžäÆi”‚¨#ow8;»KU.Tôôù?ýðÑO§³“Ù3µÒ1QŒ½±lÎèäÙô·ì¶Óӓ§ÏÕWÑ&>£6¥þl>ßl63Ή‡žõ¬¢kTÆþg\ükV;cÌD;|¾3`º¨àÁ~‡§²:LG&XŒ¨‚'Ÿëë9ö>Ò9ç‰<•5¦O´Q¯:s!"[Çò îGòV}”¨æ˜'×;̲7ÍĨ¬Ç·ê[qÈ!Ç·MúÑPêלÚ0Ä38]êìè"}‹Åb°5½nÙ7X\hKGòú˜V6cã<ø­¦wÙÖ·$KíéÊúÐÚL_‡!‘Roµõ	_Ԁ€éñ³÷Ïâý²é´u’â_”Zì3N6’&ðÊOcÏ5J¦&§}“uÃÄ]ÅÆ°!ëÁ,Þ²stR@邺á0pd=Ôí„ØäZ'”â„´7døŽ]è;öiBý¾!U…Ô’‰§N,Šm´×î°QÅ4èZâŒh™öL9Öìöˆ;ÜNaàâ~됽F\¦ /ŒËä´£>}ˆIéH	¿‘r¤¯ÂÓ}ï얐y,žÚXÃE»4äŽÎ׫	Ål“®—£[Û´û¨jõ"r6+¥´kÂ`SÛAJ9: C$Ôem|A5{œ:øšû¹n…¸z»<_¾(:¸°9h˜
¢zÍ1Bvð(n}j{©<¤Î’"RۍGŒJ­™	f(C(ŠÝÇ)°!i´Òv%Š™RËچLùàûJ²¯ÅJˆÑÑ1>¨‡zp¬ð€ëªn.ª76]äŠîöwò,ÛÎVƒ¶ãÅqs5@˕ôü‘‡‡Sõ*7'ÙR±5JX`¾mÈÎPŨáí„rAEƒuabcÌ(‘½ð?ϝ.J]~X­èýâ݇ÅúÏ5]-±zµ å›ßÿx¿8ŸèAÑ{€ÿà 檳I(¤v¹i•ø‚Ã( ú•ÑîvнZ@{™´C[–ˆœ\Ž£ØŠcKh;4ígU:«”äGJáÑÝ¡Žþëò8–L£b´sã¹¶”ÏØ©OSÊMÆ÷ºC–qÇH“ށté+Jd‡¬¡ý¾ÿŸô74>B¦
+ .git/objects/bd/913f30e7561f8c842deaed7b028823aa822203 view
@@ -0,0 +1,2 @@+xŽaj!FóÛSÌwÔB¥ÈFSIVۍÍí“\¡ÿ¾÷àÁ—ú²Ôf+»±Š@v)¡(32¡²“Áì%͂…â¬#F&õë´Áú2y¤ì\a³¶¡xŒÅ1Ñ3[ÅÛøî+|õö`8o5]áßðûÞ§ËÂõ¶O}9RŒó>4i­^öõqÈÿjõY¯–z®í¥þÉ}¯žínL„
+ .git/objects/c1/ce7c80babe62e96ed94b9f0a408ff1fa1fa8b0 view

binary file changed (absent → 1137 bytes)

+ .git/objects/d4/e9a886282e7e315d542bc3b0208502d803f9e5 view

binary file changed (absent → 244 bytes)

+ .git/objects/d6/c9fe4be81a410e45321d76540ae1f4b80b1ba4 view

binary file changed (absent → 244 bytes)

+ .git/objects/e8/c5a5240e5527d9c7bd817744a3c0961ca5d8d5 view

binary file changed (absent → 6909 bytes)

.git/refs/heads/master view
@@ -1,1 +1,1 @@-ef06402d714aa53dae0ba9c74b68d8b4ddea1329+02f0974406cb38a71a2bdfe8204e87bd0cd03892
.git/refs/remotes/origin/master view
@@ -1,1 +1,1 @@-ef06402d714aa53dae0ba9c74b68d8b4ddea1329+02f0974406cb38a71a2bdfe8204e87bd0cd03892
Euterpea.cabal view
@@ -1,5 +1,5 @@ name:           Euterpea
-version:        2.0.3
+version:        2.0.4
 Cabal-Version:  >= 1.8
 license:        BSD3
 license-file:	License
@@ -59,12 +59,12 @@   build-depends:
         base >= 4 && < 5, 
         arrows == 0.4.4.1, 
-        array>=0.5.0.0 && <=0.5.1.1, 
-        deepseq>=1.3.0.2 && <=1.4.2.0, 
+        array>=0.5.0.0 && <=0.5.2.0, 
+        deepseq>=1.3.0.2 && <=1.4.3.0, 
         random>=1.0.1.1 && <=1.1,
         PortMidi==0.1.5.2, 
         HCodecs == 0.5, 
-        stm==2.4.2, 
+        stm==2.4.4.1, 
         containers>=0.5.5.1 && <=0.5.7.1, 
         bytestring>=0.10.4.0 && <= 0.10.9,
         heap >= 1.0 && < 2.0, 
Euterpea/IO/MIDI/ExportMidiFile.lhs view
@@ -165,9 +165,9 @@ > to7Bits :: (Integral a, Show a) => a -> Byte.ByteString
 > to7Bits =  Byte.pack . map (fromIntegral . binStrToNum . reverse) .
 >            fixBinStrs . map (padTo 7 . reverse). reverse . 
->            breakBinStrs 7 . reverse . padTo 8 . numToBinStr
+>            breakBinStrs 7 . reverse . padTo 7 . numToBinStr
 
-Pad a binary string to be a multiple of 8 bits:
+Pad a binary string to be a multiple of i bits:
 
 > padTo :: Int -> String -> String
 > padTo i xs = if length xs `mod` i == 0 then xs else padTo i ('0':xs)
@@ -175,8 +175,7 @@ Break a string into chunks of length i:
 
 > breakBinStrs :: Int -> String -> [String]
-> breakBinStrs i s = 
->     if length s <= i then [s] else take i s : breakBinStrs i (drop i s)
+> breakBinStrs i s = if length s <= i then [s] else take i s : breakBinStrs i (drop i s)
 
 Convert a number to a binary string:
 
Euterpea/Music.lhs view
@@ -35,7 +35,9 @@ >        |  Custom      String			   --  for user-specified controls
 >   deriving (Show, Eq, Ord)
 
-> data Mode        = Major | Minor 
+> data Mode = Major | Minor | 
+>             Ionian | Dorian | Phrygian | Lydian | Mixolydian | Aeolian | Locrian | 
+>             CustomMode String
 >   deriving (Show, Eq, Ord)
 
 > data InstrumentName =
ReadMe.txt view
@@ -1,5 +1,6 @@-Version 2.0.3
-Last modified: 27-Dec-2016
+Version 2.0.4
+Last modified: 04-July-2017
+Website: http://www.euterpea.com
  _____      _                             
 |  ___|    | |                            
 | |__ _   _| |_ ___ _ __ _ __   ___  __ _ 
@@ -29,10 +30,18 @@ MIDI; and low-level audio processing, sound synthesis, and instrument 
 design.  
 
-See License for licensing information.
+See the License file for licensing information.
 
-Please send questions, comments, and bug reports to Donya Quick:
-donyaquick@gmail.com
+If you are experiencing a problem with Euterpea, please first check the 
+GitHub version of the library: https://github.com/Euterpea/Euterpea2
+Bugs still found in the GitHub version should be reported using the 
+issues page: https://github.com/Euterpea/Euterpea2/issues
 
-Installation instructions are available at:
-http://www.euterpea.com+PULL REQUESTS WILL BE IGNORED. Bug fixes should be submitted through
+the issues page with a detailed explanation of the alterations.
+
+Please send any other questions and comments to Donya Quick 
+(donyaquick@gmail.com).
+
+Installation instructions and additional examples are available at
+the Euterpea website: http://www.euterpea.com