At the link below you can grab the chord generation program that I
developed for the source code provided by Dr. Radicioni. She created the
original program as a part of her disseration work. It created all
possible chords for a given scale. I took that work and cleaned up its
structure from its original C.
The only things required to build this are a C++ compiler and the Boost
library (used only in the test program). The final chord generation
functionality will exist in a library and will not require Boost.
You can find out how to run it by calling: ./harco --help
For example, to get a D major scale:
./harco --scale=2 --triad=0
The test program was implemented to behave as rosegarden will when used.
So all values that will be passed from the rosegarden gui will be
non-negative integers.
The list of chords printed out in the end are not in order. I think this
will need to be addressed in order to make the list of mini fret
diagrams in the gui make sense.
The other program, harco2, generates all possible chords given the
number of scales, number of traids and the type. Dr. Radicioni wanted to
have the possibility of things like B scale, Major triad, and a Flat (B
flat major). I am not sure about the type parameter but I left it in for
now.
You can try the D major output and note that the traditional D chord
(x;x;0;2;3;2) is represented as (2;0;0;2;3;2). I am not sure how she
represents or even considers muted strings.
Let me know if you have any questions or comments on how to improve the
code.
http://www.torri.org/cpp_harco-0.1.tar.gz
Stephen
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel