packages feed

maquinitas-tidal 0.2.3 → 0.2.4

raw patch · 4 files changed

+56/−34 lines, 4 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- KORGMR16: bd :: Integer
- KORGMR16: ca :: Integer
- KORGMR16: cb :: Integer
- KORGMR16: chh :: Integer
- KORGMR16: cp :: Integer
- KORGMR16: cr :: Integer
- KORGMR16: cy :: Integer
- KORGMR16: ha :: Integer
- KORGMR16: hc :: Integer
- KORGMR16: ht :: Integer
- KORGMR16: la :: Integer
- KORGMR16: lc :: Integer
- KORGMR16: lt :: Integer
- KORGMR16: mf :: Integer
- KORGMR16: mp :: Integer
- KORGMR16: ohh :: Integer
- KORGMR16: rd :: Integer
- KORGMR16: rs :: Integer
- KORGMR16: sd :: Integer
- KORGMR16: ta :: Integer
- KORGMR16: ti :: Integer
- KORGMR16: wb :: Integer
- Korg: test0 :: Integer
- Korg: test1 :: Integer
- Korg: test2 :: Integer
+ Korg: mr16 :: Pattern String -> ControlPattern
+ Korg: mr16MidiNote :: Num a => String -> a

Files

README.md view
@@ -13,6 +13,7 @@ All relases of maquinitas-tidal are availabe on [GitHub](https://github.com/maquinitas/maquinitas-tidal/releases/) and [Hackage](https://hackage.haskell.org/package/maquinitas-tidal).  * v0.1.0 (2019-12-17): first release, support for 4 instruments.+* v0.2.x (2020): learning more Haskell, made the decision to have one module per instrument manufacturer.  ## Features to be added @@ -26,6 +27,13 @@ ```bash cabal configure cabal build+```++## Deploying++```bash+cabal sdist+cabal upload path/to/maquinitas-tidal-x.x.x.tar.gz --publish ```  ## Installing
maquinitas-tidal.cabal view
@@ -1,5 +1,5 @@ name:                maquinitas-tidal-version:             0.2.3+version:             0.2.4 synopsis:            library for MIDI control of hardware description:         maquinitas is a library for MIDI control of hardware homepage:            https://github.com/maquinitas/maquinitas-tidal@@ -15,7 +15,6 @@  library   exposed-modules:    Korg-                      KORGMR16                       MFBTanzbar                       OtoBam                       RolandTR08
− src/KORGMR16.hs
@@ -1,27 +0,0 @@--- maquinitas-tidal--- parameters for korg mr-16--module KORGMR16 where-  -- notes-  bd = 35-  rs = 37-  sd = 38-  cp = 39-  cy = 40-  lt = 41-  chh = 42-  ohh = 46-  ht = 47-  cr = 49-  rd = 51-  lc = 52-  hc = 53-  ta = 54-  cb = 56-  ti = 57-  ca = 58-  la = 61-  wb = 62-  ha = 63-  mp = 64-  mf = 65
src/Korg.hs view
@@ -11,7 +11,7 @@    volcaBeatsMidiNote :: Num a => String -> a   volcaBeatsMidiNote "bd" = 36-  volcaBeatsMidiNote "sn" = 38+  volcaBeatsMidiNote "sd" = 38   volcaBeatsMidiNote "lt" = 43   volcaBeatsMidiNote "ht" = 50   volcaBeatsMidiNote "ch" = 42@@ -22,7 +22,49 @@   volcaBeatsMidiNote "cr" = 49   volcaBeatsMidiNote _ = 0 -  -- notes-  test0 = 35-  test1 = 37-  test2 = 38+  -- Korg MR-16 drum machine+  mr16 :: Pattern String -> ControlPattern+  mr16 = n . (subtract 60 . mr16MidiNote <$>)+  mr16MidiNote :: Num a => String -> a+  -- bass drum+  mr16MidiNote "bd" = 35+  -- rimshot+  mr16MidiNote "rs" = 37+  -- snare drum+  mr16MidiNote "sd" = 38+  -- clap+  mr16MidiNote "cp" = 39+  -- low tom+  mr16MidiNote "lt" = 41+  -- closed hihat+  mr16MidiNote "ch" = 42+  -- open hihat+  mr16MidiNote "oh" = 46+  -- high tom+  mr16MidiNote "ht" = 47+  -- crash+  mr16MidiNote "cr" = 49+  -- ride+  mr16MidiNote "rd" = 51+  -- low conga+  mr16MidiNote "lc" = 52+  -- high conga+  mr16MidiNote "hc" = 53+  -- tambourine+  mr16MidiNote "ta" = 54+  -- cow bell+  mr16MidiNote "cb" = 56+  -- timbale+  mr16MidiNote "ti" = 57+  -- cabasa+  mr16MidiNote "ca" = 58+  -- wood block+  mr16MidiNote "wb" = 60+  -- low agogo+  mr16MidiNote "la" = 61+  -- high agogo+  mr16MidiNote "ha" = 63+  -- metronome piano+  mr16MidiNote "mp" = 64+  -- metronome forte+  mr16MidiNote "mf" = 65