After I finish some projects I'm working on know, I'd like to begin working on a slightly friendlier/sexier UI for pd, if only for my own intellectual stimulation and self satisfaction. I've come to this point because a Max/MSP porrt for Windows is a ways off at best. The only problem is I don't really know anything about Tcl/Tk. I'm moderately capable in generic C++ and VC (i.e., MFC). Does anyone have any suggestions about online tutorials (i.e., free) about how to write Tcl/Tk code. If not, how about any particularly good books.
Sincerely, Benjamin Israel israelbenz@aol.com www.arts.uci.edu/israelbenz
I'll try anything once, except incest and folk dancing. . . Sir Thomas Beecham
Well, I would not mind if tcl/tk was left in the dust. I like it and its easy to use and work with but it sucks CPU time and there is not that much you can do about it. it does have some good things built into it...
I think that if pd-gui is redone in c/c++ then it will need to be done in a cross platform way with a cross platform toolkit like fltk, wxWindows, qt, etc... all of these have unix (IRIX, LINUX, BSD) ports as well as windows95-NT support and are open source (except for the windows version of qt). FLTK has OpenGL/GLUT support already and somebody has a simple multi-threaded design for it. wxWindows has MacOS support ... and all these are c++ toolkits although FLTK is a more simple design, very C like, with support for the programmer to make their app more c++ in design if they choose.... a few c programmers I know use it because they dont have to dive into the c++ world that heavy.... and it has a GUI designer app with it...
anyway....
m
Israelbenz@aol.com wrote:
After I finish some projects I'm working on know, I'd like to begin working on a slightly friendlier/sexier UI for pd, if only for my own intellectual stimulation and self satisfaction. I've come to this point because a Max/MSP porrt for Windows is a ways off at best. The only problem is I don't really know anything about Tcl/Tk. I'm moderately capable in generic C++ and VC (i.e., MFC). Does anyone have any suggestions about online tutorials (i.e., free) about how to write Tcl/Tk code. If not, how about any particularly good books.
Sincerely, Benjamin Israel israelbenz@aol.com www.arts.uci.edu/israelbenz
I'll try anything once, except incest and folk dancing. . . Sir Thomas Beecham
Michael A. Thompson [IRIX - NeXTStep - Linux - MacOS - Windows]
Home: (940)382-2086 E-Mail: mat0001@jove.acs.unt.edu
Israelbenz@aol.com writes:
After I finish some projects I'm working on know, I'd like to begin working on a slightly friendlier/sexier UI for pd, if only for my own intellectual stimulation and self satisfaction. I've come to this point because a Max/MSP porrt for Windows is a ways off at best. The only problem is I don't really know anything about Tcl/Tk. I'm moderately capable in generic C++ and VC (i.e., MFC). Does anyone have any suggestions about online tutorials (i.e., free) about how to write Tcl/Tk code. If not, how about any particularly good books.
If you want to write some objects with user inteface, take a look at the ggext package. But beware, you can´t use tcl/tk knobs and whistles, and you have to paint everything yourself into the canvas object. The canvas object is known not being the fastest, so the easiest way to rewrite pd´s GUI is to write a replacement for the TCL/TK canvas object. You don´t need to implement every command, and you may add some GUI widgets in your new "enhanced" canvas, which then could be used directly from within pd. So what it comes down is a kind of interpreter, which reads the commands pd sends, and send mouse movement andother events back to pd.
Guenter
I'm running ALSA 0.4.1b (plus red-hat 6) and compiled the sources from PD_0.27 with: make -f makefile.linux SOUNDDRIVER=ALSA but after i launch pd it complains that cant find OSS...
..so question is: ALSA is supported in pd-0.27? (if yes what ma i missing?) ..or should i use pd-0.26?
Thanks/Danke/Grazie
marco
Just to be precise this is the pd startup complain:
OSS: device Nr. 1 on /dev/dsp OSS: requiring extra adc handles OSS: failed to open /dev/dsp1 read only advance 2205 samples, samplerate = 44100 inputchannels = 0, outputchannels = 2 MIDIlib: Found one MIDI port on /dev/midi audio I/O stuck... closing audio and MIDI
-- marco trevisani marco.trevisani@nyu.edu http://www-ccrma.stanford.edu/~marco