Questions tagged [music-notation]

This tag relates to all types of music notation (chords, tablatures or music score).

This tag relates to all types of music notation (chords, tablatures or music score). It may also be used for questions relating to aspects of music theory (chord progressions, etc.) that are not strictly notation-dependent. It should not be used for audio music generation, audio file players, etc..

85 questions
8
votes
1 answer

Calculate the most comfortable finger positions for a guitar chord in a chord progression

I would like to calculate how comforable it would be to play a given chord progression with different "fingerings" (e.g. open chords, vs bar chords). For instance, if we have the chord progression G D Em C. For most people the most confortable way…
Forivin
  • 14,780
  • 27
  • 106
  • 199
8
votes
4 answers

An algorithm to create a simple chord progression

I'm making a program that generates random simple melodies, based an a randomized basic chord progression from the C Major scale. What would be a good way to generate a chord progression of 4 triads from this scale? Generating 4 completely random…
user3150201
  • 1,901
  • 5
  • 26
  • 29
8
votes
3 answers

Coloring notes in Lilypond by pitch

lilypond can color notes in a arbitrary way using \override NoteHead #'color = #red c with the default color is black. But I like to color all notes by pitch, so that my kids can more easily learn to recognize the notes as the c, d, e, f, ... are…
Egon Willighagen
  • 1,621
  • 4
  • 19
  • 36
7
votes
3 answers

How to abbreviate 'note with the same note an octave higher, parenthesized' in Lilypond?

Currently I write lilypond code that looks like this: \version "2.14.2" P = #parenthesize \relative c, { \clef bass 2 4 2 } where I repeatedly mean 'this note, together with the…
6
votes
3 answers

How to transpose music chords with PHP?

I was wondering how would one create a function, in PHP, which is used for transposing some music chords. I will try to explain how it works in music theory. I hope I don't forget something. If there are some mistakes, please help me to correct…
lvk
  • 131
  • 6
6
votes
3 answers

What are the steps to turn a string of notes into wav file java

I need to convert a string of text that represents a series notes into a wav file and am wondering what the process would be to do this? I don't need exact code, just the steps I would need to take. My text file would look something like this: c 1 d…
MrMadsen
  • 2,713
  • 3
  • 22
  • 31
6
votes
3 answers

Text, string-based chord recognition algorithms?

I'm looking for algorithms that take notes represented by strings as input and produce the name of the chord as an output. For example: chordName("C", "E", "G") >>> "C major" chordName("C", "E", "G", "B") >>> "C major 7" chordName("A", "C",…
NPN328
  • 1,863
  • 3
  • 27
  • 47
6
votes
3 answers

MusicXML Division and Duration

I have an MXL file from some test suite in which the first measure says Division is 8 (i.e. 8 units per quarter note). Measure 4 is in 3/4 time and has the following rest: 24
Pez
  • 172
  • 2
  • 15
6
votes
4 answers

How to create a simple but well structured musical notation class (musical score) in java?

I'm creating audio and effects in my game on the fly with very basic sound synthesis. Basically, I have some methods that can play a sound given a frequency & amplitude & duration. For short phrases and melodies, I'd like to come up with a basic…
kiman
  • 359
  • 5
  • 13
5
votes
2 answers

Saving image files from Music21

I've downloaded a bunch of .krn files, and I'd like to convert them into images - either pngs or jpgs - using music21. I've tried this: When I do this: from music21 import * op = krnfile s = converter.parse(op) s.show() I see a great image file…
Alex S
  • 4,726
  • 7
  • 39
  • 67
5
votes
1 answer

Generating pdf & midi from musicxml

I've been trying to load a MusicXML file, edit it (removing several parts), and create a PDF sheet document + midi/mp3, all of this using Python. I've first looked at music21, that would load my MusicXML file right, but as far as I could find, would…
Joachim Jablon
  • 880
  • 8
  • 15
5
votes
1 answer

Lyrics and chords formatting on iOS

I am currently working on an iPhone app that requires displaying the lyrics of a song along with the guitar chords. The output on the screen would be similar to something like this: I am still wondering what would be the best type of format to…
Broco
  • 679
  • 1
  • 4
  • 16
5
votes
2 answers

Digital format of piano / sheet music scores?

Is there any accepted standards regarding how sheet music or piano scores are stored mathematically instead of as images or PDFs? Everything thereof are digitally represented such as in an XML or something, so when one needs, he or she can easily…
datasn.io
  • 12,564
  • 28
  • 113
  • 154
4
votes
1 answer

How do I make 2 characters overlap each other in an Android EditText

I am making a music notation app for Android for one of my school projects. In this app, I don't have a music notation rendering mechanism. Instead, I use a font, which has all different notes in different heights with the music sheet lines in…
hoangbv15
  • 360
  • 2
  • 4
  • 14
4
votes
3 answers

Subtracting 12 when the sum of two variables is greater or equal to 12

I come from a musical background, so I was interested in implementing music set theory into a Python script. Basically the variables of musical notes are assigned to numbers (C = 0, C sharp = 1 etc.). However music set theory only works up to the…
user6422438