Which format is recommended to write docs for solfege? I plan to add a tutorial guide for extending solfege and the documentation about functionaltone&friends lessonfiles
2010/12/11 Tom Cato Amundsen <[email protected]> > Hi, > > 2010/12/9 Gabriele Lanaro <[email protected]>: > > I've implemented some basic functionalities for the functional pitch > > recognition, now I've a little bit problem with the statistics. > > > > The exercise is that one: > > > > - the Teacher plays a cadence I, IV, V, I or just I or the root note to > > estabilish the tonality. > > - the Teacher plays a note in the tonality (this can be set in the > > lessonfile) > > - the student have to find the note > > > > - > > I'd like to make statistics (in the major mode which grades the student > was > > able to find out? In the minor mode?) but I haven't understood the > > statistics classes. > > Patch attached that shows how it can be done. > > > Should I add the answer simply with the methods > > add_correct add_wrong? I have to subclass AbstractStatistics? Which > method I > > have to implement? > > * set Teacher.m_statistics > * call add_correct and add_wrong > * call Gui.__init__ with no_notebook=False not set, since the > statistics is displayed in a gtk.Notebook page. > * call self.setup_statisticsviewer in Gui.__init__ > * implement Gui.on_start_practise and call m_statistics.reset_session > > These steps are done in the attached patch. > > The patch also has some changes to statistics.py because I found a bug > because the keys you use are integers. Nothing wrong with that, just > that it triggered a bug. The change to statistics.py in the attached > patch might be what I will commit, but I'll just have to think a > little about it. Busy times with concert preparations. My childrens > choir will perform a small christmas musical called «Gabrielle» on > sunday :-) > > > > > I've found that the program automatically adds "lesson_id" field in the > > lessonfiles. Is it normal? > > It should not do it any more. Was it 3.19.1 that did it? > > > > > Extending solfege is a nice experience, I'm having a good time :). The > > branch is hosted here: > > https://code.launchpad.net/~gabriele-lanaro/+junk/solfege but it's in an > > "exploring" stage, I'm try to make it consistent with other modules. > > > > Best regards, > > > > - Gabriele > > > > > -- > Tom Cato Amundsen <[email protected]> http://www.solfege.org/ > GNU Solfege - free ear training http://www.gnu.org/software/solfege/ >
------------------------------------------------------------------------------ Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, best practices and more. http://p.sf.net/sfu/oracle-sfdev2dev
_______________________________________________ Solfege-devel mailing list To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe", or visit https://lists.sourceforge.net/lists/listinfo/solfege-devel
