diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2002-11-26 22:35:57 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2002-11-26 22:35:57 +0000 |
commit | 7017ea71b842451548451125d10acd5c27086e3b (patch) | |
tree | ee55af9f9f4f9b2b1c060545763e553a85e6963d /externals/grill/xsample/source/groove.cpp | |
parent | ae094b15eab3b833bf69a8c26492dc022d09e5fb (diff) |
""
svn path=/trunk/; revision=262
Diffstat (limited to 'externals/grill/xsample/source/groove.cpp')
-rw-r--r-- | externals/grill/xsample/source/groove.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/externals/grill/xsample/source/groove.cpp b/externals/grill/xsample/source/groove.cpp index 5c2b056f..e5a0eaf5 100644 --- a/externals/grill/xsample/source/groove.cpp +++ b/externals/grill/xsample/source/groove.cpp @@ -26,7 +26,7 @@ class xgroove: FLEXT_HEADER(xgroove,xinter) public: - xgroove(I argc,t_atom *argv); + xgroove(I argc,const t_atom *argv); ~xgroove(); virtual BL Init(); @@ -49,7 +49,7 @@ public: V m_xzone(F xz); V m_xsymm(F xz); - V m_xshape(I argc = 0,t_atom *argv = NULL); + V m_xshape(I argc = 0,const t_atom *argv = NULL); V m_xkeep(BL k); enum xs_loop { @@ -132,7 +132,7 @@ V xgroove::setup(t_class *) } */ -xgroove::xgroove(I argc,t_atom *argv): +xgroove::xgroove(I argc,const t_atom *argv): loopmode(xsl_loop),curpos(0), _xzone(0),xzone(0),xsymm(0.5),xkeep(0),pblksz(0), znbuf(NULL),znmul(NULL),znidx(NULL),znpos(NULL), @@ -280,7 +280,7 @@ V xgroove::m_xsymm(F xs) do_xzone(); } -V xgroove::m_xshape(I argc,t_atom *argv) +V xgroove::m_xshape(I argc,const t_atom *argv) { const F pi = 3.14159265358979f; I i,sh = 0; @@ -652,6 +652,7 @@ V xgroove::m_help() post("\txzone {unit}: length of loop crossfade zone"); post("\txsymm -1,0...1: symmetry of crossfade zone inside/outside point"); post("\txshape 0/1 [param 0...1]: shape of crossfading (linear/trig)"); + post("\txkeep 0/1: try to preserve xzone/loop length"); post(""); } |