Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

#Chord Image Generator

http://einaregilsson.com/chord-image-generator/

Chord Image Generator is a small .NET library to generate images of guitar chords. It can display chord boxes, starting frets, barred chords, fingerings and open and muted strings.

Image of a D Chord Image of a A Chord Image of a A Chord

There is a small example website at http://chordgenerator.net where you can try different chords and see how they are constructed. But basically it is just done by constructing the right url, name of the file is the name of the chord, finger positions (p), finger numbers (f) and size (s) are querystring parameters. E.g. the chords above are the following urls:

There is nothing web specific about the actual image generation. It can be saved to any stream so you could just as easily use it in a desktop application.

Using the project

This project has been updated to use .NET Core 2.2. Clone the repository from GitHub, then go into the folder where it is and run:

dotnet restore
dotnet run

That should start a local web server on port 5000, access it as https://localhost:5000/ .

If you're on a Mac you will need to install mono-libgdiplus like this: brew install mono-libgdiplus. The project should run on a Mac and on Linux but the drawing might not look exactly the same as it does on Windows, because of GDI+ differences.

The source is licensed under the MIT License. You are also free to link directly to chordgenerator.net, although I give no guarantees about uptime or reliability.

About

A .NET library to generate images of guitar chords.

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.