All,

I am trying to import a MusicXML file and found some strange behavior of the 
Pitch constructor Pitch::Pitch(char noteName, int octave, const Key &key, 
const Accidental &explicitAccidental, int octaveBase).

When parsing the MusicXML file I find a A without accidentals When the key is 
C major the constructor creates the right pitch (69). However in C minor the 
constructor creates a pitch 68 (A flat).

I would expect an A without accidentals will be an A in every key. An A 
natural will be an A in C major and a Ab in C minor or do I understand 
something wrong?

How can I create a pitch representing a "real" A in C minor?

Best regards,

Niek van den Berg

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to