The instrument-chord package

[Tags: gpl, library]

Library to generate musical instrument manipluations


[Skip to ReadMe]

Properties

Versions0.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
Change logNone available
Dependenciesbase (>0 && <10000), containers (>0 && <10000), music-diatonic (>=0.1.1) [details]
LicenseGPL-3
AuthorAlan Hawkins
Maintainerw@xy30.com
CategoryMusic
Home pagehttps://github.com/xpika/chord
UploadedThu Jan 30 12:38:08 UTC 2014 by AlanHawkins
Downloads1377 total (59 in last 30 days)
Votes
0 []
StatusDocs available [build log]
Successful builds reported [all 1 reports]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for instrument-chord-0.1.0.5

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 (renderGuitarChords AnnotateMarking standardTuning (minorChord B) 4)
Fret: 2
**---*
----*-
--**--
------
Prelude Music.Instrument.Chord> putStrLn (renderGuitarChords AnnotateMarking dropD (majorChord F) 4)
=o====
----**
---*--
*-*---

======
----**
---*--
***---
Prelude Music.Instrument.Chord> putStrLn (renderGuitarChords AnnotateNote standardTuning (majorChord G) 4)
==DGB=
------
-B----
G----G

==DG==
------
-B----
G---DG
Prelude Music.Instrument.Chord> putStrLn (renderGuitarChords AnnotatePosition ukelele (majorChord C) 4)
000=
----
----
---3

0=0=
----
----
-3-3
Prelude Music.Instrument.Chord> putStrLn (renderPianoChord AnnotateNote (majorChord C))
 ____________________ 
| | || | | | || || | |
| |_||_| | |_||_||_| |
|C |  |E |  |G |  |  |
|__|__|__|__|__|__|__|
Prelude Music.Instrument.Chord> putStrLn (renderPianoChord AnnotatePosition (majorChord A))
 ____________________ 
| |1|| | | | || || | |
| |_||_| | |_||_||_| |
|  |  |4 |  |  |9 |  |
|__|__|__|__|__|__|__|