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
4
votes
3 answers

Python: avoiding fraction simplification

I'm working on a music app' in Python and would like to use the fractions module to handle time signatures amongst other things. My problem is that fractions get simplified, i.e.: >>> from fractions import Fraction >>> x = Fraction(4, 4) >>>…
Anthony Labarre
  • 2,745
  • 1
  • 28
  • 39
4
votes
1 answer

Lilypond: Customize bar lines, recursively, automatically?

I'm working on Carnatic music scores that involve complex time signatures, that will require modified bar lines Pattern for barlines for: 8/4 beats: 1 2 3 4 (dashed bar here) 5, 6 (Dotted Bar) 7, 8 (double bar) Here's one bar of actual score …
4
votes
2 answers

Lilypond: how to add the number of repetitions above a bar

I am working with a score in Lilypond that has a lot of repetitions, where basically every bar has to be repeated a certain number of times. I would like to be able to write above every bar the number of times it should be repeat, similar to the…
gilbertohasnofb
  • 1,984
  • 16
  • 28
4
votes
2 answers

MusicXML specifications and chord symbols

I have been taking a look at musicXML specs and as far as I know, support for chord symbols does not saves the duration of the chord. This is an example for G6/D (from here):
de3
  • 1,890
  • 5
  • 24
  • 39
4
votes
3 answers

Music Chord part splitting Regex

This is a follow-up question to this one: Regex for matching a music Chord, asked by me. Now that I have a regex to know whether a String representation of a chord is valid or not (previous question), how can I effectively get the three different…
nunos
  • 20,479
  • 50
  • 119
  • 154
3
votes
0 answers

How to determine the chords of a song using Spotify's audio-analysis API more accurately?

Goal My goal is to programmatically determine which chord is played at which point in time in any song available on Spotify with reasonable accuracy. What I got so far I already wrote a script, that basically does this. The issue is, it is not…
Forivin
  • 14,780
  • 27
  • 106
  • 199
3
votes
1 answer

Alternate pronunciation for screen readers

A visually impaired user of a musical ear-training website I created tells me her screen reader is not properly pronouncing key names. In a selector dropdown on the page I have the flatted key names spelled with the proper unicode runes for a…
Mike Ellis
  • 1,120
  • 1
  • 12
  • 27
3
votes
3 answers

Guitar Chord Detection

While most of the other questions here are regarding determining how to know which notes comprise a chord, I am asking on a slightly different point. How would you be able to determine whether a sound played is a single note, or a chord? Ive tried…
user488792
  • 1,943
  • 7
  • 31
  • 38
3
votes
2 answers

Python music21 library create png from stream

I have a problem with generate png file from stream object in music21. I read documentation and I use ConverterLilypond to do this. chords = stream.Stream() d7 = chord.Chord(['D4', 'F4', 'A4', 'C5']) dmin7 = chord.Chord(['D4', 'F-4', 'A4',…
lukassz
  • 3,135
  • 7
  • 32
  • 72
3
votes
0 answers

Guitar Chord Detection?

Possible Duplicate: Guitar Chord Recognition Algorithm? Hi! Im trying to find algorithms and ways on how to detect Guitar Chords, specifically by trying to identify which notes comprise the chord. For now, one of the possible ways I see this is…
user488792
  • 1,943
  • 7
  • 31
  • 38
3
votes
1 answer

Transcribing MIDI files to piano rolls in python (numpy)

The following webpage http://www-etud.iro.umontreal.ca/~boulanni/icml2012 mentions that it is possible to convert MIDI files to piano rolls in python: Below are the source files (MIDI) for the 4 datasets evaluated in the paper (split in train,…
patapouf_ai
  • 17,605
  • 13
  • 92
  • 132
3
votes
1 answer

storing guitar chords in a database

I am currently studying at college and for my personal project I am going to create a guitar chord picking application where chords will be saved in a database (I would be using Oracle Database 11g Express Edition). The user can type the name of a…
3
votes
1 answer

How to loop over a tedious if statement

I'm currently trying to make a program that takes sheet music for violin and translates the given notes into a position on a string, but my problem is that when I ask if a key is sharp or flat, and how many sharps or flats are in that key signature…
Andromeda
  • 35
  • 6
3
votes
1 answer

Lyrics for Music Editor

I'm trying to create a neume (gregorian chant) editor. I have really much done, but I got stuck on the subject of lyrics under the music score. Basically the problem I'm trying to solve is: there are some independent blocks of User Controls. Under…
3
votes
4 answers

.NET Guitar Chord Library

I'm wondering if there are any .NET libraries (ideally open-source) that deal with guitar chords (e.g. given either a chord or a set of fret/string combinations it can retrieve the corresponding fret/string combination or chord respectively). I'm…
Matt Mitchell
  • 40,943
  • 35
  • 118
  • 185