K
K
Kir_Egorov2014-11-13 17:36:25
Java
Kir_Egorov, 2014-11-13 17:36:25

How to store chords (fingerings) for guitar in android application?

Hello! I decided to write a program for guitarists for Android. One of the functions of this application is to select a chord and display its graphical representation on the screen. There are two options: 1) store the main chords (C, D, E, F, G, A, B) in the program and build seventh chords, minor chords, dominant seventh chords and so on from them, and also draw fingerings for them yourself (programmatically - lines and circles) 2) store all possible chords at once with their corresponding fingering pictures (drawn in a graphics editor). The chord in the application is presented as a 6*4 matrix (6 strings, 4 frets), 0 - the fret is not clamped, 1 - the fret is clamped.
Please let me know what you think is the best and best way to proceed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-11-13
Protko @Fesor

More convenient in terms of support - the first option, since the application will take up less space, design changes are possible easily and gracefully, it is convenient to support retinas and non-retinas ... And from the point of view of implementation, it is not difficult.
As for the structure, it does not allow you to indicate which finger to hold which fret, where the bare is, where the muted is, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question