The instrument-chord package

[Tags:gpl, library]

Library to generate descriptions of musical instrument manipluations


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.1.0.6, 0.1.0.7, 0.1.0.8, 0.1.0.9
Dependencies array (>0 && <10000), base (>0 && <10000), containers (>0 && <10000), music-diatonic (>=0.1.1) [details]
License GPL-3
Author Alan Hawkins
Maintainer w@xy30.com
Stability Unknown
Category Music
Home page https://github.com/xpika/chord
Uploaded Sun Feb 9 08:01:01 UTC 2014 by AlanHawkins
Distributions NixOS:0.1.0.9
Downloads 1861 total (23 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Successful builds reported [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for instrument-chord

Readme for instrument-chord-0.1.0.6

Instrument Chord ===== Render music chords on a guitar and piano Installation:

cabal install instrument-chord

Example:

$ghci

Prelude>:m + Music.Instrument.Chord 
Prelude Music.Instrument.Chord> putStrLn (renderGuitarChord AnnotateMarking True False standardTuning (minorChord C) 4 1)
Fret: 3
*---
*---
--*-
--*-
-*--
*---
Prelude Music.Instrument.Chord> putStrLn (renderGuitarChord AnnotateMarking False True dropD (majorChord F) 4 0)
=o====
----**
---*--
*-*---

======
----**
---*--
***---
Prelude Music.Instrument.Chord> putStrLn (renderGuitarChord AnnotateNote False True standardTuning (majorChord G) 4 0)
==GDA=
------
-d----
G----G

==GD==
------
-d----
G---CG
Prelude Music.Instrument.Chord> putStrLn (renderGuitarChord AnnotatePositionVertical False True ukelele (majorChord C) 4 0)
000=
----
----
---3

0=0=
----
----
-3-3
Prelude Music.Instrument.Chord> putStrLn (renderPianoChord 0 AnnotateMarking (majorChord C))
 ____________________ 
| | || | | | || || | |
| |_||_| | |_||_||_| |
|* |  |* |  |* |  |  |
|__|__|__|__|__|__|__|
Prelude Music.Instrument.Chord> putStrLn (renderPianoChord 1 AnnotateNote (majorChord A))
 ____________________ ____________________ 
| | || | | | || || | | |d|| | | | || || | |
| |_||_| | |_||_||_| | |_||_| | |_||_||_| |
|  |  |  |  |  |A |  |  |  |E |  |  |  |  |
|__|__|__|__|__|__|__|__|__|__|__|__|__|__|
Prelude Music.Instrument.Chord> putStrLn (head $ findPositionPatterns (majorChord C) standardTuning 4)
[[0,3,2,0,1,0],[0,3,2,0,1,3],[3,3,2,0,1,0],[3,3,2,0,1,3]]