From: Sever T. <s-...@ui...> - 2006-05-21 03:01:51
|
Hi Alok, Thanks for your offer - I need all the help I can get and I'll be grateful for it. Unfortunately, as things are now, I can't use the new version. I don't fully understand what's in the code and, I guess, things are still missing which makes me even more unsure of what is it that I don't grasp and which are the holes left. What I really need is one, all or a combination of the following: 1. someone to translate some old files into the new format with me and make sure they work 2. comments in the code 3. a manual which is more explicit than the one we presently have, more like the "Global Piece Parameters" part where everything is defined through a comment. I need to write a new piece in two months (by August 1), which is an extremely short time for me. Unless I get enlightened in the next week or so, I will have to archive the new work and revert to the old version because time is of essence for me and as it is, the new version is not something I can use. Again, thanks for your offer. Please let me know when are you going to be available - my time is flexible. Sever On Sat, 20 May 2006, ba...@ui... wrote: > I'll be on campus next week for a workshop. If you're still > confused, maybe I could stop by the music building sometime > and we can try and work it out? > -Alok > > ---- Original message ---- >> Date: Tue, 16 May 2006 22:25:28 -0500 (CDT) >> From: Sever Tipei <s-...@ui...> >> Subject: Re: [Dissco-list] questions >> To: dis...@li... >> >> Thanks John. I am still scratchingmy head... and I'll > probably come back >> with more soon. >> >> Sever >> >> >> On Tue, 16 May 2006, John Loucaides wrote: >> >>> Let me say a little more on the explanation of these > questions... >>> >>> On Sunday 14 May 2006 11:41 am, Sever Tipei wrote: >>>> 1- why is it the I don't see PATTERN in your manual file ? > How do I >>>> get to it ? >>> >>> Probably because we missed it. I will correct this once I > get a chance. >>> I'd still like whoever wrote the function to post an > explanation, if >>> possible. >>> >>>> 2- Is NUMBER a type (like int, float, Envelope) ? How do I > find out >>>> how many such types are there ? >>> >>> I'm using it like it is a type in the manual file, and in > the language >>> we defined it is often treated as such. Arguments can be > checked to >>> determine if they are indeed a NUMBER when they are > expected to be, for >>> example. I believe all the types are NUMBER, STRING, and > ENVELOPE. You >>> can see them in filevalue.h. When a filevalue is read in, > it creates a >>> FileValue object, and the type of the object gets set to > one of these >>> things. >>> >>>> 3- If it is a type, why not just declare the function as > int, double, >>>> etc. ? >>> >>> Because the files that we parse are effectively a new > language, and in >>> this language we don't really care the difference between > int, float, >>> double or any other representation of a number. (At least > we don't care >>> right now.) Also, I don't think return types are clearly > defined and >>> checked... unless they happen to be the argument of another > function >>> that does check the type of its arguments. But don't worry > about that, >>> it's a complicated issue that shouldn't bother you if you > write the >>> file correctly. >>> >>>> 4- What is the "library" and how does it function ? >>> >>> The "library" is technically a mapping of filename to > EventFactory >>> object. Whenever a new file is parsed, the EventFactory for > that type >>> of event is created and added to the library. The purpose > for keeping >>> this is simply so that you do not have to waste time > parsing files >>> again and again if you refer to them multiple times. >>> >>>> Are these two >>>> statements referring to the same thing (if so, why a > different name) >>>> ? map <string, EventFactory*> FactoryLibrary -in main >>>> map<string, EventFactory*> library -EventFactory constructor >>> >>> Yes. They are the same thing. However, they are only the > same thing >>> because I call the EventFactory constructor with > FactoryLibrary as the >>> argument. The reason for the different name is to componentize >>> different parts of the system. FactoryLibrary is THE > library for all >>> the event factories that CMOD is creating when it runs, and > it belongs >>> in main. In EventFactory, you could be given any library of > event >>> factories, so I just call it library. If you chose to > expand things in >>> such a way that multiple libraries of event factories made > sense, this >>> function would support it. >>> >>> - John >>> >>> PS: Everything in ~loucaide/tmp/CMOD should be in the > current CVS now. >>> Remember, *everyone* will need to checkout a new copy from > the new >>> SF.net server. Follow the directions for developers posted at >>> http://sourceforge.net/cvs/?group_id=136847. Thanks! >>> >>> >>> ------------------------------------------------------- >>> Using Tomcat but need to do more? Need to support web > services, security? >>> Get stuff done quickly with pre-integrated technology to > make your job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo >>> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> Dissco-list mailing list >>> Dis...@li... >>> https://lists.sourceforge.net/lists/listinfo/dissco-list >>> >> >> -- >> ******************************************************* >> Dr. Sever Tipei, Professor of Music >> Manager, Computer Music Project of the >> University of Illinois Experimental Music Studios >> 2136 Music Building, 1114 W. Nevada St., Urbana, IL 61801 >> >> Phone: (217) 333-6689 (office) 333-3691 (CMP) >> Fax: (217) 244-4585 >> Email: s-...@ui... >> URL: http://ems.music.uiuc.edu/people/tipei/index.html >> ******************************************************* >> >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web > services, security? >> Get stuff done quickly with pre-integrated technology to make > your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Dissco-list mailing list >> Dis...@li... >> https://lists.sourceforge.net/lists/listinfo/dissco-list > -- ******************************************************* Dr. Sever Tipei, Professor of Music Manager, Computer Music Project of the University of Illinois Experimental Music Studios 2136 Music Building, 1114 W. Nevada St., Urbana, IL 61801 Phone: (217) 333-6689 (office) 333-3691 (CMP) Fax: (217) 244-4585 Email: s-...@ui... URL: http://ems.music.uiuc.edu/people/tipei/index.html ******************************************************* |