On Monday 07 Mar 2011 18:28:58 GRAHAM KEITH PERCIVAL wrote: > On 07/03/11 17:27, Nick Bailey wrote: > > On Saturday 05 Mar 2011 11:16:06 you wrote: > >> There's no point writing (or keeping) messy C++ code when a > >> trivially-simple python script will do. And I don't see the point of > >> scala, other than being a convenient source of pre-written formulae. > > > > That's exactly what it is... > > Let's keep discussion on the mailing list. > > > There are "over 3900 scale files" in their archive (as of December 2010). > > And at most 3 of those will ever be used in the rosegarden pitch tracker > thing. > How do you know that?
> > I don't know enough about tuning to decide which are "the best". But > > seeing as I know you love XML so much, Graham, I'll just go ahead and > > write a file parser. Shouldn't be a big deal to write an scl2xml python > > script afterwards. I've never done any XML in C++ before.... let's see > > how many memory leaks I can create. > > Sweet mao no! > http://doc.qt.nokia.com/latest/qtxml.html > http://doc.qt.nokia.com/latest/qxmlsimplereader.html Pace, I meant "Write a file parser using the Qt XML API". I've finished one using XmlStreamReader, but had to run away to pick the car up from the mechanics, Won't be long now! The XML bit seems to be fine; just trying to understand the final subtleties of The Doug's Tuning class. > > this looks like a good tutorial: > http://www.digitalfanatics.org/projects/qt_tutorial/chapter09.html > > although I think that other parts of rosegarden already use XML, so they > might have their own convenience class for handling XML. That's the > whole point of this exercise -- if you write your own file parser, then > that's extra complexity that can only cause problems later on. > > > PS: http://www.n-ism.org/DTD/rosegarden_scales.dtd ok? > > Why on earth do you want a copyright on a DTD ? Or at least, why a > restrictive one? I suggest the CC0 instead: > http://creativecommons.org/choose/zero/ OK, I don't mind really. That one was was just a copy and paste away. Since Dougie's silent on the matter, I just assume he's cool with this. I'm in Manchester tomorrow talking to the RNCM guys, so I'll have a look at it Tuesday morning. > > (or just omit any mention of copyright at all... I mean, it's a 6-line > file! The copyright statement almost has more characters than the real > info.) > > Cheers, > - Graham -- Dr Nicholas J Bailey, Director, Science and Music Research Group, The University of Glasgow http://www.n-ism.org/People/nick.phg Find out about our Masters in Signal Processing, Electronics and Computing Techniques for Researching and Understanding Music http://www.n-ism.org/SPECTRUM ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel