Apparently, only two people are interested. There WERE quite a few threads discussing the same topic though.Meffy wrote:It's a developer thing, but of interest to instrument users too. Otherwise I'd say these topics belonged in the DSP forum.
Brent
Apparently, only two people are interested. There WERE quite a few threads discussing the same topic though.Meffy wrote:It's a developer thing, but of interest to instrument users too. Otherwise I'd say these topics belonged in the DSP forum.
Sorry guys for bothering you.koolkeys wrote:Apparently, only two people are interested.Meffy wrote:It's a developer thing, but of interest to instrument users too. Otherwise I'd say these topics belonged in the DSP forum.
Some of those comments are BY a moderator.H-Pi Instruments wrote:I know I'm new to this forum, but I joined in order to discuss this topic, because the person who started the topic wanted the discussion to take place here. As I understand the way forums usually work, posts added to a topic should be on that topic, which these recent chit-chat messages are not. Could the moderator please remove them (including this one) so this thread can continue on topic as it should?
Thank you!
You're not really bothering anyone. I was just noticing. Trust me, if I had a problem with it, I would just have to get over it.AnaMark wrote:Sorry guys for bothering you.koolkeys wrote:Apparently, only two people are interested.Meffy wrote:It's a developer thing, but of interest to instrument users too. Otherwise I'd say these topics belonged in the DSP forum.
The reason I decided to start this topic at KVR was that here there are a lot of developers and users. I wanted to give both sides the chance to take part.
I didn't expect we two are the only ones to discuss the topic here.
For my next threads I will first start a poll to see how many people would join
BTW: Not all [TUN] threads come from me but are copycats.
True, but they're of no particular worth. Just a little side issue that with luck is done with now.koolkeys wrote:Some of those comments are BY a moderator.
Indeed. Too many trees in the wood to find one.H-Pi Instruments wrote:Ok, I hadn't thought of TUN being parsed directly from the XML. But according to your spec as I read it, the same could be accomplished with this:AnaMark wrote: Just placing the text into <TUN></TUN> won't work. You must do it this way:
<XML>
... Here comes your complete data
... But there must be no line starting with a '['
<TUN>
... Here comes the TUN data as it would be written into a .TUN file
__FakeKey = </TUN></XML>
<TUN>
[Tuning]
...
[Exact Tuning]
...
[END]
</TUN>
because as soon as [END] is found the rest is ignored, right?
NACK:H-Pi Instruments wrote:The Name and ID should be no-spaces to conform to basic web practice for these elements, as seen in both HTML and XML. I don't know why this would be such a big deal as in programming we do this all the time whereEverythingIsOneBigString.AnaMark wrote: For descriptive names and due to readability, spaces are a must-be. Imho. Such limitations sound like "back to MS-DOS!" in my ears. 8.3 and so. No, I had enough of it. But ID can be defined without white spaces (Take care for tabulators and other things). I suggest a restriction like "a-z0-9" for the ID.
We can move the 255 chars limit, I think.H-Pi Instruments wrote: The thing which is obsolete and annoying IMO is string length limitation to 255 characters. Strings in our 'modern age' should be (and *are* in the language I use anyway) of any length, limited only by available memory.
Right. Currently all keys are optional. I think about making an exception for "Format" and "FormatVersion".H-Pi Instruments wrote: I didn't know you could specify in your format that order doesn't matter. Great! Then I assume based on other things you have written that your format also (like XML) does not require all the key/value pairs to be there? For example in the [INFO] section if I only want to include Author and nothing else, that's OK?
AnaMark wrote: 1) Years ago no one knew why it would be such a big deal having only 255 chars per line, 8.3 file names, 640kB RAM... I see us discussing in 5 years where you try to convince me to allow spaces in the name, as (enter the arguments you wrote concerning the 255 chars limit)
2) If the NAME element of HTML and XML is not capable of this, take another one, e.g. ScaleName.
3) In software development it is important to see what belongs together and what not. Therefore, variable names in one piece (without spaces) help the developer to see that it is one variable and not two (or three...). It avoids misunderstandings if there are e.g. the variables best, cook and best cook. It is necessary to make source code unambiguous. None of these arguments fits the naming of scales.
4) Musicians are musicians and (in most cases) not software developers. Software developers think in structures and algorithms, musicians in chords and harmonies. Only few people can both. What is common usage for a developer can bother a musician and vice versa.
5) Most users - and even developers - use spaces in their file names. O.K., not for source code files but for text files, data bases, images and so on. Do you really name the images you took of your family "20083112MyDaughterWithHerDogInTheGarden"? I prefer "2008-31-12 My daughter with her dog in the garden".
Yes, that would do the job, and maintain security for PCs I suppose.AnaMark wrote: Should we really remove the length limit? Or would it do the job setting it to 1 000 000 e.g.?
But to me those seem the least self-evident, meaning if I were to use them I probably would have to look this up each time if I did not have a template. Do you mean they are to be required to use the new TUN spec?AnaMark wrote: Currently all keys are optional. I think about making an exception for "Format" and "FormatVersion".
AnaMark wrote: By the way: After reading you post at TL, I got mixed up with "Description" and "Comment". Maybe for a native language speaker it is clear. I would prefer renaming it, e.g.:
"ScaleDescription"
"UsageComment"
Which charset is allowed for the ID? What's its syntax?H-Pi Instruments wrote: OK, I found out some important things about XML I didn't get from my first readings. Affecting this discussion is that the name attribute does not *have* to be a token (no spaces), only the ID.
I'm not sure whether I understand correctly what you wrote; I especially don't get the point about the "template"-thing. Could you be a little bit more verbose? The old TUN specs do not require them (they don't know those keys); if the keys are missing, the old TUN specs are assumed. But the new specs will require them.H-Pi Instruments wrote:But to me those seem the least self-evident, meaning if I were to use them I probably would have to look this up each time if I did not have a template. Do you mean they are to be required to use the new TUN spec?AnaMark wrote: Currently all keys are optional. I think about making an exception for "Format" and "FormatVersion".
UTF-8. The only constraints are that it cannot begin with a number and it has no spaces.AnaMark wrote: Which charset is allowed for the ID? What's its syntax?
AnaMark wrote: I'm not sure whether I understand correctly what you wrote; I especially don't get the point about the "template"-thing. Could you be a little bit more verbose? The old TUN specs do not require them (they don't know those keys); if the keys are missing, the old TUN specs are assumed. But the new specs will require them.
Sure, why not. That becomes more like an XML DTD. Which, BTW -- I found this awesome resource for XML - a whole university course online for free!AnaMark wrote: Another idea: What about a key "SpecsURL"? This key would contain the URL to where the specs can be found. This could help encouraging people to incorporate the format in their software.
Err... We already have one version; we a designing the second one. And as you said: The first version of the specs didn't have those tags. But the second one might/should have.H-Pi Instruments wrote: Format and Format Version tags [...]
So I would leave them out for now, and if you find you want to change the format again, then you can introduce those tags to distinguish the later version from this version. Only one version does not need the tags.
Submit: News, Plugins, Hosts & Apps | Advertise @ KVR | Developer Account | About KVR / Contact Us | Privacy Statement
© KVR Audio, Inc. 2000-2026