[Lily4jedit-devel] Getting Note Position from Note Token
Brought to you by:
fodber
From: Joshua K. <jos...@gm...> - 2004-11-30 03:53:13
|
Bert, I would like to know whats the way to getting note position from Note Token. eg. c4 would get 0, c' to 12, d to 2 and so on... Since notetoken has a method for obtaining its duration fraction, should there be a method in NoteToken for obtaining its note position. Or would it better to have a "NoteToken to Note" converter. I assume that after parsing the notetoken to get the note string, it would be easily to convert the position using the NoteNameMap class. Joshua |