aboutsummaryrefslogtreecommitdiff
path: root/externals/grill
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-08-11 15:01:42 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-08-11 15:01:42 +0000
commit20d0aa013eb0f0e3f2b015a4453304ef9abb81ad (patch)
tree89a243431645e692a7d92fd9dfb8d2050ffb6903 /externals/grill
parent214bb7279f354adf1344376e26465046fc2581ce (diff)
merge in branch "20041229-unify"
Mac adaptations some safety for settings cross-fading loop zone now functional update for new flext callback naming more loop zone optimizations enhanced PD help files simplified and bug-fixed crossfade-zone sampling rename help file fix: loopmodes 0 and 2 now setting loopzone parameters 64 bit fixes minor updates *** empty log message *** more fixes fix for OSX 10.4.1 (thanks to Jamie) renamed help files more fixes and cleanups for fade-zones svn path=/trunk/; revision=3418
Diffstat (limited to 'externals/grill')
-rw-r--r--externals/grill/xsample/pd/xgroove~-help.pd (renamed from externals/grill/xsample/pd/help-xgroove~.pd)0
-rw-r--r--externals/grill/xsample/pd/xplay~-help.pd (renamed from externals/grill/xsample/pd/help-xplay~.pd)0
-rw-r--r--externals/grill/xsample/pd/xrecord~-help.pd (renamed from externals/grill/xsample/pd/help-xrecord~.pd)0
-rw-r--r--externals/grill/xsample/source/groove.cpp3
-rw-r--r--externals/grill/xsample/source/main.cpp2
-rw-r--r--externals/grill/xsample/source/main.h2
6 files changed, 5 insertions, 2 deletions
diff --git a/externals/grill/xsample/pd/help-xgroove~.pd b/externals/grill/xsample/pd/xgroove~-help.pd
index 03906625..03906625 100644
--- a/externals/grill/xsample/pd/help-xgroove~.pd
+++ b/externals/grill/xsample/pd/xgroove~-help.pd
diff --git a/externals/grill/xsample/pd/help-xplay~.pd b/externals/grill/xsample/pd/xplay~-help.pd
index a079a361..a079a361 100644
--- a/externals/grill/xsample/pd/help-xplay~.pd
+++ b/externals/grill/xsample/pd/xplay~-help.pd
diff --git a/externals/grill/xsample/pd/help-xrecord~.pd b/externals/grill/xsample/pd/xrecord~-help.pd
index cccbdee9..cccbdee9 100644
--- a/externals/grill/xsample/pd/help-xrecord~.pd
+++ b/externals/grill/xsample/pd/xrecord~-help.pd
diff --git a/externals/grill/xsample/source/groove.cpp b/externals/grill/xsample/source/groove.cpp
index ccea67df..c4051714 100644
--- a/externals/grill/xsample/source/groove.cpp
+++ b/externals/grill/xsample/source/groove.cpp
@@ -56,6 +56,7 @@ public:
void ms_xfade(int xf)
{
+ if(xf < 0 || xf > xsf_inside) xf = xsf_keeplooppos;
xfade = (xs_fade)xf;
Update(xsc_fade,true);
}
@@ -263,6 +264,8 @@ void xgroove::ms_xzone(float xz)
void xgroove::ms_xshape(int sh)
{
+ if(sh < 0 || sh > xss_hsine) sh = xss_lin;
+
xshape = (xs_shape)sh;
switch(xshape) {
case xss_qsine: znmul = fade_qsine; break;
diff --git a/externals/grill/xsample/source/main.cpp b/externals/grill/xsample/source/main.cpp
index a19dcb2c..a948c056 100644
--- a/externals/grill/xsample/source/main.cpp
+++ b/externals/grill/xsample/source/main.cpp
@@ -56,7 +56,7 @@ xsample::xsample():
unitmode(xsu_sample), // PD defaults to samples
#endif
sclmode(xss_unitsinbuf),
- curmin(0),curmax(1<<(sizeof(curmax)*8-2))
+ curmin(0),curmax(1L<<(sizeof(curmax)*8-2))
{}
xsample::~xsample() {}
diff --git a/externals/grill/xsample/source/main.h b/externals/grill/xsample/source/main.h
index 9cc29e5b..ad41ffbf 100644
--- a/externals/grill/xsample/source/main.h
+++ b/externals/grill/xsample/source/main.h
@@ -15,7 +15,7 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#error You need at least flext version 0.5.0
#endif
-#define XSAMPLE_VERSION "0.3.1pre6"
+#define XSAMPLE_VERSION "0.3.1pre7"
// most compilers are somehow broken - in other words - can't handle all C++ features