From e7c5d894c808fefbb2d77832f36a0b50123d0fb5 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 24 Feb 2003 04:40:27 +0000 Subject: "" svn path=/trunk/; revision=427 --- externals/grill/py/readme.txt | 2 +- externals/grill/vst/pd/vst~.pd | 25 ++++++++++++++++++++++--- externals/grill/vst/src/main.cpp | 8 ++++---- externals/grill/vst/src/main.h | 2 ++ 4 files changed, 29 insertions(+), 8 deletions(-) (limited to 'externals') diff --git a/externals/grill/py/readme.txt b/externals/grill/py/readme.txt index 2b791f18..dbb08f84 100644 --- a/externals/grill/py/readme.txt +++ b/externals/grill/py/readme.txt @@ -27,7 +27,7 @@ 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 MacOSX version. MacOS9 doesn't want it. +Max/MSP - Wait for Windows or a Mach-O MacOSX version. MacOS9 doesn't want it. Check out the sample patches and scripts diff --git a/externals/grill/vst/pd/vst~.pd b/externals/grill/vst/pd/vst~.pd index 9d0e6491..62753009 100644 --- a/externals/grill/vst/pd/vst~.pd +++ b/externals/grill/vst/pd/vst~.pd @@ -1,4 +1,4 @@ -#N canvas 75 40 856 638 12; +#N canvas 108 26 862 644 12; #X obj 26 207 dac~; #X obj 26 107 noise~; #X obj 444 172 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -225271 @@ -8,12 +8,12 @@ #X obj 27 451 tgl 15 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1 ; #X msg 26 473 vis \$1; -#X obj 27 367 tgl 15 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 1 +#X obj 27 367 tgl 15 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1 ; #X msg 26 389 edit \$1; #X msg 94 389 getedit; #X msg 89 473 getvis; -#N canvas 367 122 534 441 info 0; +#N canvas 367 122 538 445 info 0; #X msg 94 130 getversion; #X msg 94 75 getname; #X msg 95 153 getvendor; @@ -129,6 +129,25 @@ #X obj 28 252 bng 15 250 50 0 empty empty empty 0 -6 0 8 -225271 -1 -1; #X obj 27 271 openpanel; +#N canvas 0 0 456 306 midi 0; +#X obj 20 249 s \$0-vst; +#X msg 32 66 note 10 100; +#X msg 61 118 ctlchg 3 123; +#X msg 81 144 pbend 1000; +#X text 128 65 note on; +#X msg 49 90 note 10 0; +#X text 145 89 note off; +#X text 171 117 control change; +#X text 173 142 pitch bend; +#X text 173 170 program change; +#X msg 91 171 progchg 2; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 3 0 0 0; +#X connect 5 0 0 0; +#X connect 10 0 0 0; +#X restore 25 581 pd midi; +#X text 93 582 midi messages for vst synths; #X connect 1 0 48 0; #X connect 2 0 3 0; #X connect 3 0 17 0; diff --git a/externals/grill/vst/src/main.cpp b/externals/grill/vst/src/main.cpp index 739d7276..2628303f 100644 --- a/externals/grill/vst/src/main.cpp +++ b/externals/grill/vst/src/main.cpp @@ -19,7 +19,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include #include -#define VST_VERSION "0.1.0pre3" +#define VST_VERSION "0.1.0pre4" #if 0 /* ----- MFC stuff ------------- */ @@ -168,10 +168,10 @@ V vst::Setup(t_classid c) FLEXT_CADDMETHOD_II(c,0,"note",m_note); // FLEXT_CADDMETHOD_2(c,0,"control",m_control,t_symptr,int); - FLEXT_CADDMETHOD_(c,0,"pitchbend",m_pitchbend); - FLEXT_CADDMETHOD_II(c,0,"ctrlchange",m_ctrlchange); + FLEXT_CADDMETHOD_(c,0,"pbend",m_pitchbend); + FLEXT_CADDMETHOD_II(c,0,"ctlchg",m_ctrlchange); - FLEXT_CADDMETHOD_(c,0,"programchange",m_programchange); + FLEXT_CADDMETHOD_(c,0,"progchg",m_programchange); FLEXT_CADDATTR_VAR(c,"program",mg_program,ms_program); FLEXT_CADDMETHOD_2(c,0,"param",ms_param,int,float); diff --git a/externals/grill/vst/src/main.h b/externals/grill/vst/src/main.h index 1f24d56b..5aabf360 100644 --- a/externals/grill/vst/src/main.h +++ b/externals/grill/vst/src/main.h @@ -22,6 +22,8 @@ WARRANTIES, see the file, "license.txt," in this distribution. #if FLEXT_OS == FLEXT_OS_WIN #include "stdafx.h" +#else +#error Platform not supported! #endif typedef void V; -- cgit v1.2.1