From 0ed2e0aa2d03af0a2bc6c594aee46511a0758df8 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 24 Apr 2009 04:16:56 +0000 Subject: - completed the port of Ville Pulkki's vbap 1.0.3, it builds and works in Pd - removed gain inlet/outlet since its stupid. Just use a [*~] on the input source, its really the same thing, there is no difference. - added a third argument for the default 'spread' value - updated help patches somewhat svn path=/trunk/externals/vbap/; revision=11110 --- vbap.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vbap.h') diff --git a/vbap.h b/vbap.h index dc9858b..3da2157 100644 --- a/vbap.h +++ b/vbap.h @@ -14,7 +14,7 @@ #define MAX_LS_AMOUNT 55 // maximum amount of loudspeakers, can be increased #define MIN_VOL_P_SIDE_LGTH 0.01 -#define VBAP_VERSION "vbap - v1.0.3 - 12 Aug 2006 - (c) Ville Pulkki 1999-2006" +#define VBAP_VERSION "vbap - v1.0.3 - 12 Aug 2006 - (c) Ville Pulkki 1999-2006 (Pd port by HCS)" #define DFLS_VERSION "define_loudspeakers - v1.0.3 - 12 Aug 2006 - (c) Ville Pulkki 1999-2006" static float rad2ang = 360.0 / ( 2.0f * M_PI ); @@ -71,7 +71,6 @@ typedef struct t_ls_set long x_dimension; // 2 or 3 # ifdef PD t_float x_spread; // speading amount of virtual source (0-100) - t_float x_gain; // general gain control (0-2) # else /* Max */ long x_spread; // speading amount of virtual source (0-100) double x_gain; // general gain control (0-2) -- cgit v1.2.1