Posts: 12,030
Threads: 485
Joined: Sep 2016
Feb-21-2017, 11:22 AM
(This post was last modified: Feb-21-2017, 11:36 AM by Larz60+.)
Just curious if anyone used music notation (such as lilypond) software.
I have an application that takes any scale from around the world, categorized
by scale type (Pentatonic, Symetrical, Indian, European, Asian, Modal, jazz, etc.)
and creates graphical representations of each scale in every key, and chord.
It uses enharmonic notation for semitones if requested.
I never quite finished it, but if there is interest, I thought I might.
There are about 500 scales in the data that I have now.
It also creates .pdf, .png, Latek and keyboard layouts.
Here's a sample:
Posts: 5,151
Threads: 396
Joined: Sep 2016
i do. But it is usually just use it to print the music. I usually still prefer pencil and paper when writing music most of the time. Its awkward when sitting with a classical guitar in front of a computer desk/keyboard.
Recommended Tutorials:
Posts: 12,030
Threads: 485
Joined: Sep 2016
This application is strictly for informational use. there are some very obscure scales,
and I use Lilypond for creating the ledgers, but the chords and different keys are
purely music theory manipulations.
Here's a sample of the dictionary for one scale:
'Suspended Pentatonic': {
'category': 'Pentatonic Scales',
'interval': ['2', '3', '2', '3', '2'],
'scale': ['C', 'D', 'G', 'G', 'Bb'],
'page': 77 I took a music theory course from Edinborough Scotland University,
and it inspired me to write the code. At some point, I got burned out
and stopped. But it was almost done, and I was looking for something to
keep my brain working. (It needs a lot of exercise these days).
Posts: 4,646
Threads: 1,493
Joined: Sep 2016
Mar-05-2017, 04:05 AM
(This post was last modified: Mar-05-2017, 04:05 AM by Skaperen.)
if this is taking some kind of music notation in a text form, i would be interested.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 12,030
Threads: 485
Joined: Sep 2016
The initial scales are generated from the intervals. Then the circle of fifths is used to get the different keys,
there's quite a bit (almost entirely) of music theory involved.
The actual music presentation is originally in LaTex, which is converted to a pdf file (containing the sheet music in graphic mode),
a .png file, and an on screen display.
There's a lot of work involved. The code is probably fairly crude as I wrote it several years ago when I was learning python.
Here's one of the pdf files:
Scale2.pdf (Size: 74.02 KB / Downloads: 7)
and a chord example:
chordExample.pdf (Size: 82.41 KB / Downloads: 5)
And the application:
Posts: 4,646
Threads: 1,493
Joined: Sep 2016
what is that image supposed to contain?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 12,030
Threads: 485
Joined: Sep 2016
Mar-06-2017, 04:01 PM
(This post was last modified: Mar-06-2017, 04:04 PM by Larz60+.)
The GUI contains the screenshot data that I posted in the file.
The screenshots that I included are from several years ago (except for the main gui)
I believe that I developed this in linux, and now run microsoft
It requires La-Tex and lilypond, neither of which I have installed on my system.
I had no intention of getting it all to work again unless there was some interest,
hopefully by more than one person, but if the only interest is from you, I'll at least get
it up and running again as well as it did when I put it in the closet!.
As stated in my first post, it was so close to being done.
I used to write, and getting constant returns from the editor became very tiring.
So much so, that when a document was almost done, I almost felt like giving up, but kept going.
This project wasn't so lucky.
It's actually good enough to be a first release, but will require a packaging because of all it's
dependencies, some of which (since they are run from sub-processes aren't very obvious)
Maybe I'll just post the code on github as is (with warnings)
Posts: 12,030
Threads: 485
Joined: Sep 2016
Mar-06-2017, 09:02 PM
(This post was last modified: Mar-06-2017, 09:05 PM by Larz60+.)
Ok,
That wasn't nearly as difficult as I thought it would be.
There is a problem with display of theoretical scales, but I remember I
had that problem to fix in the original application.
At any rate, here's a shot of the application Ghana Heptatonic scale done
just a few minutes ago. (You can see the theoretical scale problem)
Here's the dictionary entry that creates this scale:
'Ghana Heptatonic': {
'category': 'Major and Minor Scales',
'interval': ['2', '2', '1', '2', '2', '2', '1'],
'origin': 'Ghana',
'scale': ['C', 'D', 'E', 'F', 'G', 'A', 'B'],
'primary scale': 'Major',
'page': 9
}, I could post the code as is, and probably will upload to Github, but I want to
review and probably re-write it as my coding has improved dramatically since
this was first written (My mind was still locked in C++)
Posts: 1,150
Threads: 42
Joined: Sep 2016
@Larz It looks very nice, can't wait to see the code, if you plan to upload it.
Posts: 4,646
Threads: 1,493
Joined: Sep 2016
i guess this is not what i am looking for. i am looking for a language (in an ASCII stream) to express music in a way suitable for programs that read it in and "perform" it (could output an audio file).
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
|