Comments (1)
Csus add b7, it seems no allowed this very common jazz chord, as it decoded it as ['C2', 'F2', 'G2', 'A3']
Csusadd7 (or even "C7sus") gives what you want.
Looks like the redundant "b" in "b7" (perhaps a "Nashville number"?) is causing music21 to doubly-flat the 7th. We can avoid that, I'll open a PR.
Slash chords with extensions need to be corrected. For example, I'm parsing an XML file of a song with an F# b9 / B, and music21 decodes it as F#7/B add b9, which is a huge error. Is there a way to fix it?
I'll need more information to reproduce. I created a file with the chord symbol "F# b9 / B", exported a musicxml file, imported that, and retrieved the expected pitches:
<harmony print-frame="no">
<root>
<root-step>F</root-step>
<root-alter>1</root-alter>
</root>
<kind>major</kind>
<degree>
<degree-value>9</degree-value>
<degree-alter>-1</degree-alter>
<degree-type>add</degree-type>
</degree>
<bass>
<bass-step>B</bass-step>
</bass>
</harmony>
>>> s["ChordSymbol"].first().pitches
(<music21.pitch.Pitch B1>, <music21.pitch.Pitch F#2>, <music21.pitch.Pitch A#2>, <music21.pitch.Pitch C#3>, <music21.pitch.Pitch G3>)
from music21.
Related Issues (20)
- Diminuendo doesn't span all elements that are part of it HOT 2
- Chord symbol "Co omit5" does not parse
- Chatgpt--Music21 HOT 1
- simplifyMultipleEnharmonics gives different spellings in different octaves
- MusicXML import of scores which include drumset parts loses most of instrument information HOT 1
- Chord clarifciation HOT 2
- Issues with install the music21 library in kaggle notebook HOT 1
- Missing humdrumPosition in thisSpine.stream.flatten() with root cause analysis HOT 1
- Measure.rightBarline not being correctly set when appending bar.Repeat HOT 1
- Incorrect Key Signature Parsing in MEI Files
- can't run tests because of lilypond import issue HOT 1
- tinyNotation --> tiny doc clarification ;)
- Voices changing staffs
- Tiny doc clarification HOT 3
- Allow objects to be in multiple sites
- expandRepeats don't work as expected HOT 1
- Loading `MusicXML` file produces error
- Extra rest inserted when parsing MusicXML with backup/forward tags
- MusicXML writer: Ottavas that start or end in the middle of a multi-voice measure get the wrong notes from the other voices HOT 10
- The documentation not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from music21.