Hi,
MuseScore uses MIDI and so assume 12 tone equal temperament by
default.There is no direct support for other temperaments.
The only support for microtuning is via the centOffset property and this
offset is always applied relatively to equal temperament. Key signatures
are not impacted, just notes.
MIDI pitches are MIDI note numbers from 0 to 127
http://musescore.org/en/plugin-development/note-pitch-values
Lasconic
2013/6/12 Brindisi <[email protected]>
> It's been my first day examining the code of Musescore, and I'm trying to
> investigate the mapping of notes to pitch classes.
>
> I would be very interested in knowing whether Equal Temperament is assumed
> in MuseScore.
>
> Also, when non-equal temperaments are used (plugin or otherwise) is there
> some sort of "key signature class" around which notes are tuned?
>
> In my search so far, I stumbled across this snippet of code which involves
> a
> "centOffset". Does this code (or any other code) function to make
> calculations about intonation?
>
> /home/craig/Documents/Musescore/MuseScore/libmscore/accidental.cpp:
> 29 const char* name; // translated name
> 30 AccidentalVal offset; // semitone offset
> 31: int centOffset;
> 32 int sym;
> 33 Acc(const char* t, const char* n, AccidentalVal o, int o2, int
> s)
> 34: : tag(t), name(n), offset(o), centOffset(o2), sym(s) {}
> 35 };
> 36
>
>
>
> --
> View this message in context:
> http://dev-list.musescore.org/Is-Equal-Temperament-assumed-by-default-in-MuseScore-tp7578184.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Mscore-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer