As I mentioned before, I've been looking into more integral microtonal support. I have rewritten the Pitch class to represent pitch as note+accidental+octave rather than midi pitch. I have added a Tuning class which defines the intervals and equivalent spellings of the tuning. This class also converts between midi pitch and notated pitch.

I have a draft of NotationTypes.C/h here which won't work, but at least gives an idea of how I hope to achieve everything. Anyone interested can have a look and let me know what you think.

I think the main problem with my implementation is a change to the Pitch class API:

The following constructor and method would require the current tuning & key in addition to current parameters

Pitch::Pitch( int performancePitch, const Accidental &explicitAccidental );
 int Pitch::getPerformancePitch();

Tracing back through calls to ensure that the tuning & key are passed on - and possibly changing every reference of pitch as an integer to a Pitch class - this will take ages won't it?








-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to