From a30193fcd726552364de74984b200be2c30723e7 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Fri, 19 Sep 2003 02:41:32 +0000 Subject: "" svn path=/trunk/; revision=1010 --- externals/grill/dyn/dyn.vcproj | 8 +- externals/grill/flext/config-pd-darwin.txt | 4 +- externals/grill/flext/config-pd-linux.txt | 2 +- externals/grill/flext/flext.vcproj | 4 +- externals/grill/flext/readme.txt | 1 + externals/grill/pool/readme.txt | 1 + externals/grill/py/readme.txt | 247 +++++++++++---------- externals/grill/vasp/readme.txt | 1 + externals/grill/vasp/vasp.cw | Bin 360200 -> 360200 bytes externals/grill/vst/readme.txt | 1 + externals/grill/xsample/config-pd-linux.txt | 2 +- externals/grill/xsample/maxmsp/xgroove~.help | Bin 7451 -> 7457 bytes externals/grill/xsample/maxmsp/xplay~.help | Bin 4788 -> 4788 bytes externals/grill/xsample/maxmsp/xrecord~.help | Bin 11195 -> 8210 bytes .../xsample/maxmsp/xsample-objectmappings-win.txt | 3 + externals/grill/xsample/maxmsp/xsample.help | Bin 51186 -> 1147 bytes externals/grill/xsample/readme.txt | 21 +- externals/grill/xsample/xsample.cw | Bin 279503 -> 279503 bytes externals/grill/xsample/xsample.vcproj | 98 ++++++++ 19 files changed, 255 insertions(+), 138 deletions(-) create mode 100644 externals/grill/xsample/maxmsp/xsample-objectmappings-win.txt diff --git a/externals/grill/dyn/dyn.vcproj b/externals/grill/dyn/dyn.vcproj index 5caf6c61..712a1357 100644 --- a/externals/grill/dyn/dyn.vcproj +++ b/externals/grill/dyn/dyn.vcproj @@ -23,7 +23,7 @@ diff --git a/externals/grill/flext/config-pd-darwin.txt b/externals/grill/flext/config-pd-darwin.txt index f26bf03a..1fa58fb9 100644 --- a/externals/grill/flext/config-pd-darwin.txt +++ b/externals/grill/flext/config-pd-darwin.txt @@ -3,10 +3,10 @@ # # your c++ compiler (define only if it's different than g++) -CXX=g++-3.3 +# CXX=g++-3.3 # where are the PD header files? (m_pd.h, m_imp.h, g_canvas.h) -PDPATH=/Users/thomas/Desktop/pd-0.37-test8/src +PDPATH=/usr/src/pd-0.37-0/src # where is the SndObj include directory? # (leave blank or comment out to disable SndObj support) diff --git a/externals/grill/flext/config-pd-linux.txt b/externals/grill/flext/config-pd-linux.txt index 7afc9e27..254e9171 100644 --- a/externals/grill/flext/config-pd-linux.txt +++ b/externals/grill/flext/config-pd-linux.txt @@ -8,7 +8,7 @@ # where are the PD header files? (m_pd.h, m_imp.h, g_canvas.h) # if it is a system include path (like /usr/local/include) # you should leave it blank (as e.g. g++ 3.2 complains about it) -PDPATH=/home/thomas/prog/pd-cvs/pd/src +PDPATH=/usr/src/pd-0.37-0/src # where is the SndObj include directory? # (leave blank or comment out to disable SndObj support) diff --git a/externals/grill/flext/flext.vcproj b/externals/grill/flext/flext.vcproj index 8de53159..ba2bdb7d 100644 --- a/externals/grill/flext/flext.vcproj +++ b/externals/grill/flext/flext.vcproj @@ -174,7 +174,7 @@ = 2.1. -It has been thoroughly tested with version 2.2 - - -The package should at least compile (and is tested) with the following compilers: - -PD @ Windows: -------------- -o Borland C++ 5.5 (free): edit "config-pd-bcc.txt" & run "build-pd-bcc.bat" - -o Microsoft Visual C++ 6: usr "py.dsp" or edit "config-pd-msvc.txt" & run "build-pd-msvc.bat" - -PD @ linux: ------------ -Python doesn't provide a shared lib by default - static linking produces huge externals -Ok, debian is an exception... the precompiled binary is for debian, therefore. - -o GCC: edit "config-pd-linux.txt" & run "sh build-pd-linux.sh" - -PD @ MacOSX: ---------------------- - -o GCC: edit "config-pd-darwin.txt" & run "sh build-pd-darwin.sh" - ----------------------------------------------------------------------------- - -Version history: - -0.1.2: -- CHANGE: updates for flext 0.4.1 - method registering within class scope - -0.1.1: -- CHANGE: updates for flext 0.4.0 -- FIX: crash when module couldn't be loaded -- FIX: GetBound method (modmeth.cpp, line 138) doesn't exist in flext any more -- FIX: deadlock occured when connecting to py/pyext boxes in non-detached mode -- ADD: current path and path of the canvas is added to the python path -- FIX: path is not added to python path if already included - -0.1.0: -- completely reworked all code -- added class functionality for full-featured objects and renamed the merge to pyext -- enabled threads and made everything thread-safe ... phew! -- using flext 0.3.2 -- pyext now gets full python path -- python's argv[0] is now "py" or "pyext" -- etc.etc. - -0.0.2: -- fixed bug when calling script with no function defined (thanks to Ben Saylor) -- cleaner gcc makefile - -0.0.1: -- using flext 0.2.1 - ---------------------------------------------------------------------------- - -TODO list: - -general: -- Documentation and better example patches - -features: -- enable multiple interpreters? -- make a pygui object where Tkinter draws to the PD canvas... -- stop individual threads - -tests: -- check for python threading support - -bugs: -- the python interpreter can't be unloaded due to some bug at re-initialization -- named (keyword) arguments are not supported - +py/pyext - python script objects for PD (and MaxMSP... once, under MacOSX and Windows) + +Copyright (c) 2002-2003 Thomas Grill (xovo@gmx.net) +For information on usage and redistribution, and for a DISCLAIMER OF ALL +WARRANTIES, see the file, "license.txt," in this distribution. + +Donations for further development of the package are highly appreciated. +Visit https://www.paypal.com/xclick/business=t.grill%40gmx.net&item_name=pyext&no_note=1&tax=0¤cy_code=EUR + +---------------------------------------------------------------------------- + +You will need the flext C++ layer for PD and Max/MSP externals to compile this. +see http://www.parasitaere-kapazitaeten.net/ext + + +Package files: +- readme.txt: this one +- gpl.txt,license.txt: GPL license stuff +- main.cpp, main.h, modmeth.cpp, pyargs.cpp, register.cpp: base class +- py.cpp: py object +- pyext.cpp, pyext.h, clmeth.cpp, bound.cpp: pyext object + +---------------------------------------------------------------------------- + +Goals/features of the package: + +Access the flexibility of the python language in PD and MaxMSP + + +PD - Load it as i library with e.g. "pd -lib py -path scripts" +Max/MSP - Wait for Windows or a Mach-O MacOSX version. MacOS9 doesn't want it. + + +Check out the sample patches and scripts + + +Description: + +With the py object you can load python modules and execute the functions therein. +With the pyext you can use python classes to represent full-featured pd/Max message objects. +Multithreading (detached methods) is supported for both objects. +You can send messages to named objects or receive (with pyext) with Python methods. + + +Known bugs: +There are problems with importing the "time" module, experienced with Python 2.2.2 under OSX. +Therefore, some help patches may not be functional. + +---------------------------------------------------------------------------- + +The py/pyext package should run with Python version >= 2.1. +It has been thoroughly tested with version 2.2 + + +The package should at least compile (and is tested) with the following compilers: + +PD @ Windows: +------------- +o Borland C++ 5.5 (free): edit "config-pd-bcc.txt" & run "build-pd-bcc.bat" + +o Microsoft Visual C++ 6: usr "py.dsp" or edit "config-pd-msvc.txt" & run "build-pd-msvc.bat" + +PD @ linux: +----------- +Python doesn't provide a shared lib by default - static linking produces huge externals +Ok, debian is an exception... the precompiled binary is for debian, therefore. + +o GCC: edit "config-pd-linux.txt" & run "sh build-pd-linux.sh" + +PD @ MacOSX: +--------------------- + +o GCC: edit "config-pd-darwin.txt" & run "sh build-pd-darwin.sh" + +---------------------------------------------------------------------------- + +Version history: + +0.1.2: +- CHANGE: updates for flext 0.4.1 - method registering within class scope + +0.1.1: +- CHANGE: updates for flext 0.4.0 +- FIX: crash when module couldn't be loaded +- FIX: GetBound method (modmeth.cpp, line 138) doesn't exist in flext any more +- FIX: deadlock occured when connecting to py/pyext boxes in non-detached mode +- ADD: current path and path of the canvas is added to the python path +- FIX: path is not added to python path if already included + +0.1.0: +- completely reworked all code +- added class functionality for full-featured objects and renamed the merge to pyext +- enabled threads and made everything thread-safe ... phew! +- using flext 0.3.2 +- pyext now gets full python path +- python's argv[0] is now "py" or "pyext" +- etc.etc. + +0.0.2: +- fixed bug when calling script with no function defined (thanks to Ben Saylor) +- cleaner gcc makefile + +0.0.1: +- using flext 0.2.1 + +--------------------------------------------------------------------------- + +TODO list: + +general: +- Documentation and better example patches + +features: +- enable multiple interpreters? +- make a pygui object where Tkinter draws to the PD canvas... +- stop individual threads + +tests: +- check for python threading support + +bugs: +- the python interpreter can't be unloaded due to some bug at re-initialization +- named (keyword) arguments are not supported + diff --git a/externals/grill/vasp/readme.txt b/externals/grill/vasp/readme.txt index da2ca914..b59051ac 100644 --- a/externals/grill/vasp/readme.txt +++ b/externals/grill/vasp/readme.txt @@ -6,6 +6,7 @@ For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. Donations for further development of the package are highly appreciated. +Visit https://www.paypal.com/xclick/business=t.grill%40gmx.net&item_name=vasp&no_note=1&tax=0¤cy_code=EUR ---------------------------------------------------------------------------- diff --git a/externals/grill/vasp/vasp.cw b/externals/grill/vasp/vasp.cw index 3f8a7f04..8a8391fe 100644 Binary files a/externals/grill/vasp/vasp.cw and b/externals/grill/vasp/vasp.cw differ diff --git a/externals/grill/vst/readme.txt b/externals/grill/vst/readme.txt index 811d5961..f5842a32 100644 --- a/externals/grill/vst/readme.txt +++ b/externals/grill/vst/readme.txt @@ -6,6 +6,7 @@ For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. Donations for further development of the package are highly appreciated. +Visit https://www.paypal.com/xclick/business=t.grill%40gmx.net&item_name=vst&no_note=1&tax=0¤cy_code=EUR ---------------------------------------------------------------------------- diff --git a/externals/grill/xsample/config-pd-linux.txt b/externals/grill/xsample/config-pd-linux.txt index efc0e43d..da33caf7 100755 --- a/externals/grill/xsample/config-pd-linux.txt +++ b/externals/grill/xsample/config-pd-linux.txt @@ -33,5 +33,5 @@ UFLAGS=-mcpu=pentiumpro # gcc 2.95 # UFLAGS=-mcpu=pentium3 -msse -mfpmath=sse # gcc 3.2 # define to link against shared flext library (flext version >= 0.5.0) -#FLEXT_SHARED=1 +# FLEXT_SHARED=1 diff --git a/externals/grill/xsample/maxmsp/xgroove~.help b/externals/grill/xsample/maxmsp/xgroove~.help index 24b052b8..6b25dcda 100644 Binary files a/externals/grill/xsample/maxmsp/xgroove~.help and b/externals/grill/xsample/maxmsp/xgroove~.help differ diff --git a/externals/grill/xsample/maxmsp/xplay~.help b/externals/grill/xsample/maxmsp/xplay~.help index 1dbe02d1..7ef2b1be 100644 Binary files a/externals/grill/xsample/maxmsp/xplay~.help and b/externals/grill/xsample/maxmsp/xplay~.help differ diff --git a/externals/grill/xsample/maxmsp/xrecord~.help b/externals/grill/xsample/maxmsp/xrecord~.help index a6bf7709..ea025eed 100644 Binary files a/externals/grill/xsample/maxmsp/xrecord~.help and b/externals/grill/xsample/maxmsp/xrecord~.help differ diff --git a/externals/grill/xsample/maxmsp/xsample-objectmappings-win.txt b/externals/grill/xsample/maxmsp/xsample-objectmappings-win.txt new file mode 100644 index 00000000..d11f5f92 --- /dev/null +++ b/externals/grill/xsample/maxmsp/xsample-objectmappings-win.txt @@ -0,0 +1,3 @@ +max objectfile xgroove~ xsample; +max objectfile xplay~ xsample; +max objectfile xrecord~ xsample; diff --git a/externals/grill/xsample/maxmsp/xsample.help b/externals/grill/xsample/maxmsp/xsample.help index e021f58c..aaf99ff6 100755 Binary files a/externals/grill/xsample/maxmsp/xsample.help and b/externals/grill/xsample/maxmsp/xsample.help differ diff --git a/externals/grill/xsample/readme.txt b/externals/grill/xsample/readme.txt index 4d035fc9..b2fe3ebf 100644 --- a/externals/grill/xsample/readme.txt +++ b/externals/grill/xsample/readme.txt @@ -1,22 +1,33 @@ xsample - extended sample objects for Max/MSP and pd (pure data) -Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net) +Copyright (c)2001-2003 Thomas Grill (t.grill@gmx.net) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. Donations for further development of the package are highly appreciated. +Visit https://www.paypal.com/xclick/business=t.grill%40gmx.net&item_name=xsample&no_note=1&tax=0¤cy_code=EUR ---------------------------------------------------------------------------- IMPORTANT INFORMATION for all MaxMSP users: -1) For OSX it is best to put the xsample file somewhere in your Max/MSP search path and drop the file +1) +For OSX it is best to put the xsample file somewhere in your Max/MSP search path and drop the file xsample-objectmappings.txt into the folder /Library/Application Support/Cycling '74/init . -2) Otherwise (or for OS9) it is advisable to put the xsample shared library file into the "max-startup" folder. +For Windows put the xsample file somewhere in your Max/MSP search path and drop the file +xsample-objectmappings-win.txt in +C:\program files\common files\Cycling '74\init (english version) +or +C:\Programme\Gemeinsame Dateien\Cycling '74\init (german version) + +2) +Otherwise (or for OS9) it is advisable to put the xsample shared library file into the "max-startup" folder. Hence it will be loaded at Max startup. -3) If you want to load the xsample library on demand, create a [xsample] object in Max/MSP. +3) +If you want to load the xsample library on demand, use the "install" option of the Max file menu +and point it to the xsample file or create a [xsample] object in Max/MSP. ---------------------------------------------------------------------------- @@ -101,7 +112,7 @@ Version history: - added resources to MaxMSP build - xgroove~, xrecord~: introduced a loop/end bang outlet - added MaxMSP buffer resize recognition -- xgroove~: introduced a crossfading loop zone +- xgroove~: introduced crossfading loop zones - adapted source for flext 0.4.1 - most methods within class scope - introduced attributes - restructured make procedures diff --git a/externals/grill/xsample/xsample.cw b/externals/grill/xsample/xsample.cw index 768cf65c..37c42ad7 100755 Binary files a/externals/grill/xsample/xsample.cw and b/externals/grill/xsample/xsample.cw differ diff --git a/externals/grill/xsample/xsample.vcproj b/externals/grill/xsample/xsample.vcproj index 5565878f..c64e084b 100644 --- a/externals/grill/xsample/xsample.vcproj +++ b/externals/grill/xsample/xsample.vcproj @@ -325,6 +325,69 @@ + + + + + + + + + + + + + + + @@ -383,6 +446,13 @@ AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;FLEXT_SYS=1"/> + + + @@ -428,6 +498,13 @@ AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;FLEXT_SYS=1"/> + + + @@ -476,6 +553,13 @@ AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;FLEXT_SYS=1"/> + + + @@ -524,6 +608,13 @@ AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;FLEXT_SYS=1"/> + + + @@ -569,6 +660,13 @@ AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;FLEXT_SYS=1"/> + + + -- cgit v1.2.1