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. > 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 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/ (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 ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
