marr
(marr)
February 19, 2008, 1:12am
1
I’ve opened the .xsd (RenoiseSong10.xsd) in Visual Studio 2005… Is there an easy way to make C# classes from the XRNS schema?
Ideally it would make a .cs file for each Element and Simple Type (enumeration) in the xsd.
Otherwise I will have to do it manually… and that tree is large.
Alternatively, if someone has broken this down into ‘classes’, OOP style, in another language I could just port it.
thanks
marr
(marr)
February 19, 2008, 3:40am
2
Well I found a tool called xsd.exe…
http://msdn2.microsoft.com/en-us/library/x…b0s(VS.80).aspx
It works… sort of… makes a single .cs file. Not really what I wanted, but it allows for data binding.
The downside is that the names get autogenerated so there’s (inner/partial) class names like:
RenoiseSongTracksSequencerTrackFilterDevicesDevicesShaperDeviceRatioVisualization
Yes, that’s one word. Kind of a pita. Guess the best bet is to code by hand…
marr
(marr)
February 19, 2008, 7:35am
3
…but probably better (faster?) to write an xsd reader that builds the classes more discretely.
If anyone is making C# tools for Renoise and wants to strike up a convo send me a PM.
Conner_Bw
(Conner_Bw)
February 21, 2008, 3:06pm
4
Wow, when is the Java stuff ready for the rest of us?
Also, maybe consider splitting this thread. If someone wants to use C# that’s there prerogative. I share the opinion that it’s kind of a bad oversight considering Renoise runs on OS X and Linux, too. Yes I know there’s mono… but seriously people!
If you’re not writing in ASM… GTFO!
marr
(marr)
December 18, 2008, 2:09am
6
I’m on a 2GHz+ wibbler and timing isn’t an issue. I’ll save the asm for 8bit/10MHz.
Regarding C# versus Java, I needed a pet project in C#. That no longer being the case… off to Java land.