diff --git a/configure b/configure index 575cedb..3565e8b 100755 --- a/configure +++ b/configure @@ -1,11 +1,10 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.57 for STK 4.2.0. +# Generated by GNU Autoconf 2.59 for STK 4.2.1. # # Report bugs to . # -# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. +# Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## @@ -22,9 +21,10 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi +DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false @@ -43,7 +43,7 @@ for as_var in \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do - if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var @@ -220,16 +220,17 @@ rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else + test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS @@ -268,8 +269,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='STK' PACKAGE_TARNAME='stk' -PACKAGE_VERSION='4.2.0' -PACKAGE_STRING='STK 4.2.0' +PACKAGE_VERSION='4.2.1' +PACKAGE_STRING='STK 4.2.1' PACKAGE_BUGREPORT='gary@music.mcgill.ca' ac_unique_file="src/Stk.cpp" @@ -669,7 +670,7 @@ done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ - localstatedir libdir includedir oldincludedir infodir mandir + localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in @@ -709,10 +710,10 @@ if test -z "$srcdir"; then # Try the directory containing this script, then its parent. ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$0" : 'X\(//\)[^/]' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || + X"$0" : 'X\(//\)[^/]' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } @@ -787,7 +788,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures STK 4.2.0 to adapt to many kinds of systems. +\`configure' configures STK 4.2.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -812,9 +813,9 @@ _ACEOF cat <<_ACEOF Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] + [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] + [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify @@ -848,7 +849,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of STK 4.2.0:";; + short | recursive ) echo "Configuration of STK 4.2.1:";; esac cat <<\_ACEOF @@ -913,12 +914,45 @@ case $srcdir in ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be -# absolute. -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` + +# Do not use `cd foo && pwd` to compute absolute paths, because +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dir";; +*) + case "$ac_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; +esac cd $ac_dir # Check for guested configure; otherwise get Cygnus style configure. @@ -929,7 +963,7 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` echo $SHELL $ac_srcdir/configure --help=recursive elif test -f $ac_srcdir/configure.ac || - test -f $ac_srcdir/configure.in; then + test -f $ac_srcdir/configure.in; then echo $ac_configure --help else @@ -942,11 +976,10 @@ fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -STK configure 4.2.0 -generated by GNU Autoconf 2.57 +STK configure 4.2.1 +generated by GNU Autoconf 2.59 -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 -Free Software Foundation, Inc. +Copyright (C) 2003 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -957,8 +990,8 @@ cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by STK $as_me 4.2.0, which was -generated by GNU Autoconf 2.57. Invocation command line was +It was created by STK $as_me 4.2.1, which was +generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -1035,19 +1068,19 @@ do 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. + ac_must_keep_next=false # Got value, back to normal. else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac fi ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. @@ -1081,12 +1114,12 @@ _ASBOX case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } @@ -1115,7 +1148,7 @@ _ASBOX for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` - echo "$ac_var='"'"'$ac_val'"'"'" + echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi @@ -1134,7 +1167,7 @@ _ASBOX echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 - rm -f core core.* *.core && + rm -f core *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 @@ -1214,7 +1247,7 @@ fi # value. ac_cache_corrupted=false for ac_var in `(set) 2>&1 | - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val="\$ac_cv_env_${ac_var}_value" @@ -1231,13 +1264,13 @@ echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} - ac_cache_corrupted=: + ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. @@ -1294,7 +1327,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - ac_config_files="$ac_config_files src/Makefile projects/demo/Makefile projects/effects/Makefile projects/ragamatic/Makefile projects/examples/Makefile" + ac_config_files="$ac_config_files src/Makefile projects/demo/Makefile projects/effects/Makefile projects/ragamatic/Makefile projects/examples/Makefile projects/examples/libMakefile" # Checks for programs. @@ -1634,7 +1667,6 @@ ac_compiler=`set X $ac_compile; echo $2` (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -1654,8 +1686,8 @@ ac_clean_files="$ac_clean_files a.out a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -echo "$as_me:$LINENO: checking for C compiler default output" >&5 -echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 @@ -1675,23 +1707,23 @@ do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) - ;; + ;; conftest.$ac_ext ) - # This is the source file. - ;; + # This is the source file. + ;; [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; + # We found the default executable, but exeext='' is most + # certainly right. + break;; *.* ) - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - # FIXME: I believe we export ac_cv_exeext for Libtool, - # but it would be cool to find out if it's true. Does anybody - # maintain Libtool? --akim. - export ac_cv_exeext - break;; + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + # FIXME: I believe we export ac_cv_exeext for Libtool, + # but it would be cool to find out if it's true. Does anybody + # maintain Libtool? --akim. + export ac_cv_exeext + break;; * ) - break;; + break;; esac done else @@ -1765,8 +1797,8 @@ for ac_file in conftest.exe conftest conftest.*; do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - export ac_cv_exeext - break;; + export ac_cv_exeext + break;; * ) break;; esac done @@ -1791,7 +1823,6 @@ if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -1842,7 +1873,6 @@ if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -1862,11 +1892,21 @@ main () _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -1879,7 +1919,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi @@ -1895,7 +1935,6 @@ if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -1912,11 +1951,21 @@ main () _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -1929,7 +1978,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 @@ -1956,7 +2005,6 @@ else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -1984,6 +2032,16 @@ static char *f (char * (*g) (char **, int), char **p, ...) va_end (v); return s; } + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std1 is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std1. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; @@ -2010,11 +2068,21 @@ do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2027,7 +2095,7 @@ else sed 's/^/| /' conftest.$ac_ext >&5 fi -rm -f conftest.$ac_objext +rm -f conftest.err conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC @@ -2055,19 +2123,28 @@ cat >conftest.$ac_ext <<_ACEOF _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ - ''\ - '#include ' \ + '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ @@ -2075,14 +2152,13 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include $ac_declaration +#include int main () { @@ -2093,11 +2169,21 @@ exit (42); _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2110,9 +2196,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 continue fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -2129,11 +2214,21 @@ exit (42); _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2145,7 +2240,7 @@ else sed 's/^/| /' conftest.$ac_ext >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then @@ -2159,7 +2254,7 @@ else sed 's/^/| /' conftest.$ac_ext >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -2285,7 +2380,6 @@ if test "${ac_cv_cxx_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -2305,11 +2399,21 @@ main () _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_cxx_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2322,7 +2426,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi @@ -2338,7 +2442,6 @@ if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -2355,11 +2458,21 @@ main () _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_cxx_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2372,7 +2485,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cxx_g=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 @@ -2392,8 +2505,7 @@ else fi fi for ac_declaration in \ - ''\ - '#include ' \ + '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ @@ -2401,14 +2513,13 @@ for ac_declaration in \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include $ac_declaration +#include int main () { @@ -2419,11 +2530,21 @@ exit (42); _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_cxx_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2436,9 +2557,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 continue fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -2455,11 +2575,21 @@ exit (42); _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_cxx_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2471,7 +2601,7 @@ else sed 's/^/| /' conftest.$ac_ext >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then @@ -2605,7 +2735,6 @@ if test "${ac_cv_cxx_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -2625,11 +2754,21 @@ main () _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_cxx_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2642,7 +2781,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi @@ -2658,7 +2797,6 @@ if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -2675,11 +2813,21 @@ main () _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_cxx_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2692,7 +2840,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cxx_g=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 @@ -2712,8 +2860,7 @@ else fi fi for ac_declaration in \ - ''\ - '#include ' \ + '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ @@ -2721,14 +2868,13 @@ for ac_declaration in \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include $ac_declaration +#include int main () { @@ -2739,11 +2885,21 @@ exit (42); _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_cxx_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2756,9 +2912,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 continue fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -2775,11 +2930,21 @@ exit (42); _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_cxx_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2791,7 +2956,7 @@ else sed 's/^/| /' conftest.$ac_ext >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then @@ -2837,7 +3002,6 @@ do # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -2848,7 +3012,7 @@ cat >>conftest.$ac_ext <<_ACEOF #else # include #endif - Syntax error + Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 @@ -2860,6 +3024,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi @@ -2880,7 +3045,6 @@ rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -2898,6 +3062,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi @@ -2944,7 +3109,6 @@ do # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -2955,7 +3119,7 @@ cat >>conftest.$ac_ext <<_ACEOF #else # include #endif - Syntax error + Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 @@ -2967,6 +3131,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi @@ -2987,7 +3152,6 @@ rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3005,6 +3169,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi @@ -3065,7 +3230,6 @@ if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3086,11 +3250,21 @@ main () _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3103,12 +3277,11 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3130,7 +3303,6 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3155,7 +3327,6 @@ if test $ac_cv_header_stdc = yes; then : else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3167,9 +3338,9 @@ cat >>conftest.$ac_ext <<_ACEOF # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif @@ -3180,7 +3351,7 @@ main () int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) + || toupper (i) != TOUPPER (i)) exit(2); exit (0); } @@ -3205,7 +3376,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi @@ -3230,7 +3401,7 @@ fi for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h + inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_header" >&5 @@ -3239,7 +3410,6 @@ if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3251,11 +3421,21 @@ $ac_includes_default _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3268,7 +3448,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 @@ -3303,7 +3483,6 @@ else echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3314,11 +3493,21 @@ $ac_includes_default _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3331,7 +3520,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 @@ -3339,7 +3528,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6 echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3357,6 +3545,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi @@ -3376,33 +3565,32 @@ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@gnu.org. ## -## ------------------------------------ ## -_ASBOX - ) | - sed "s/^/$as_me: WARNING: /" >&2 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes ;; - no:yes ) + no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@gnu.org. ## -## ------------------------------------ ## +## ----------------------------------- ## +## Report this to gary@music.mcgill.ca ## +## ----------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 @@ -3413,7 +3601,7 @@ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - eval "$as_ac_Header=$ac_header_preproc" + eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 @@ -3436,7 +3624,6 @@ if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3499,11 +3686,21 @@ main () _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3516,7 +3713,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_c_const=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 @@ -3534,7 +3731,6 @@ if test "${ac_cv_type_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3554,11 +3750,21 @@ if (sizeof (size_t)) _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3571,7 +3777,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_size_t=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 echo "${ECHO_T}$ac_cv_type_size_t" >&6 @@ -3591,7 +3797,6 @@ if test "${ac_cv_header_time+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3612,11 +3817,21 @@ return 0; _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3629,7 +3844,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_time=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6 @@ -3648,7 +3863,6 @@ if test "${ac_cv_c_bigendian+set}" = set; then else # See if sys/param.h defines the BYTE_ORDER macro. cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3670,11 +3884,21 @@ main () _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3682,7 +3906,6 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (exit $ac_status); }; }; then # It does; now see whether it defined to BIG_ENDIAN or not. cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3704,11 +3927,21 @@ main () _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3721,7 +3954,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_c_bigendian=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 @@ -3731,7 +3964,6 @@ if test "$cross_compiling" = yes; then # try to guess the endianness by grepping values into an object file ac_cv_c_bigendian=unknown cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3753,11 +3985,21 @@ main () _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3779,10 +4021,9 @@ else sed 's/^/| /' conftest.$ac_ext >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3821,10 +4062,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_c_bigendian=yes fi -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 @@ -3846,7 +4087,6 @@ presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} esac cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3905,7 +4145,6 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3929,11 +4168,21 @@ cos (); _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3946,7 +4195,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_m_cos=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5 @@ -3975,7 +4225,6 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -3999,11 +4248,21 @@ pthread_create (); _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -4016,7 +4275,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_pthread_pthread_create=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 @@ -4046,21 +4306,28 @@ if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ + #ifdef __STDC__ # include #else # include #endif + +#undef $ac_func + /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" @@ -4091,11 +4358,21 @@ return f != $ac_func; _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -4108,7 +4385,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 @@ -4143,7 +4421,7 @@ fi; # Check compiler and use -Wall if gnu. if test $GXX = "yes" ; then - warn="-Wall -g -Woverloaded-virtual -D__GXX__" + warn="-Wall -g -D__GXX__" fi @@ -4245,7 +4523,6 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lasound $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -4269,11 +4546,21 @@ snd_pcm_open (); _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -4286,7 +4573,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_asound_snd_pcm_open=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5 @@ -4326,7 +4614,6 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ljack $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -4350,11 +4637,21 @@ jack_client_new (); _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -4367,7 +4664,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_jack_jack_client_new=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_jack_jack_client_new" >&5 @@ -4437,7 +4735,6 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-laudio $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -4461,11 +4758,21 @@ alOpenPort (); _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -4478,7 +4785,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_audio_alOpenPort=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_audio_alOpenPort" >&5 @@ -4505,7 +4813,6 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lmd $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -4529,11 +4836,21 @@ mdOpenInPort (); _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -4546,7 +4863,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_md_mdOpenInPort=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_md_mdOpenInPort" >&5 @@ -4587,7 +4905,6 @@ else echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -4598,11 +4915,21 @@ $ac_includes_default _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -4615,7 +4942,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 @@ -4623,7 +4950,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6 echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -4641,6 +4967,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi @@ -4660,33 +4987,32 @@ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? -case $ac_header_compiler:$ac_header_preproc in - yes:no ) +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@gnu.org. ## -## ------------------------------------ ## -_ASBOX - ) | - sed "s/^/$as_me: WARNING: /" >&2 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes ;; - no:yes ) + no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ------------------------------------ ## -## Report this to bug-autoconf@gnu.org. ## -## ------------------------------------ ## +## ----------------------------------- ## +## Report this to gary@music.mcgill.ca ## +## ----------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 @@ -4697,7 +5023,7 @@ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - eval "$as_ac_Header=$ac_header_preproc" + eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 @@ -4739,7 +5065,6 @@ if test "${ac_cv_prog_gcc_traditional+set}" = set; then else ac_pattern="Autoconf.*'x'" cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -4759,7 +5084,6 @@ rm -f conftest* if test $ac_cv_prog_gcc_traditional = no; then cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -4793,21 +5117,28 @@ if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ + #ifdef __STDC__ # include #else # include #endif + +#undef $ac_func + /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" @@ -4838,11 +5169,21 @@ return f != $ac_func; _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 + (eval $ac_link) 2>conftest.er1 ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -4855,7 +5196,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 @@ -4896,13 +5238,13 @@ _ACEOF # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n \ - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | @@ -4932,13 +5274,13 @@ test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ + ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/; s/:*\${srcdir}:*/:/; s/:*@srcdir@:*/:/; -s/^\([^=]*=[ ]*\):*/\1/; +s/^\([^=]*=[ ]*\):*/\1/; s/:*$//; -s/^[^=]*=[ ]*$//; +s/^[^=]*=[ ]*$//; }' fi @@ -4952,13 +5294,13 @@ fi cat >confdef2opt.sed <<\_ACEOF t clear : clear -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g t quote -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g t quote d : quote -s,[ `~#$^&*(){}\\|;'"<>?],\\&,g +s,[ `~#$^&*(){}\\|;'"<>?],\\&,g s,\[,\\&,g s,\],\\&,g s,\$,$$,g @@ -4980,7 +5322,7 @@ ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | - sed 's/\$U\././;s/\.o$//;s/\.obj$//'` + sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' @@ -5024,9 +5366,10 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi +DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false @@ -5045,7 +5388,7 @@ for as_var in \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do - if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var @@ -5224,16 +5567,17 @@ rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else + test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS @@ -5259,8 +5603,8 @@ _ASBOX } >&5 cat >&5 <<_CSEOF -This file was extended by STK $as_me 4.2.0, which was -generated by GNU Autoconf 2.57. Invocation command line was +This file was extended by STK $as_me 4.2.1, which was +generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -5304,7 +5648,7 @@ Usage: $0 [OPTIONS] [FILE]... -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] - instantiate the configuration file FILE + instantiate the configuration file FILE Configuration files: $config_files @@ -5314,12 +5658,11 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -STK config.status 4.2.0 -configured by $0, generated by GNU Autoconf 2.57, +STK config.status 4.2.1 +configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. +Copyright (C) 2003 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." srcdir=$srcdir @@ -5422,6 +5765,7 @@ do "projects/effects/Makefile" ) CONFIG_FILES="$CONFIG_FILES projects/effects/Makefile" ;; "projects/ragamatic/Makefile" ) CONFIG_FILES="$CONFIG_FILES projects/ragamatic/Makefile" ;; "projects/examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES projects/examples/Makefile" ;; + "projects/examples/libMakefile" ) CONFIG_FILES="$CONFIG_FILES projects/examples/libMakefile" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; @@ -5567,9 +5911,9 @@ _ACEOF (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end @@ -5587,21 +5931,21 @@ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin - cat >$tmp/stdin - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } @@ -5617,10 +5961,10 @@ echo X"$ac_file" | as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } @@ -5658,12 +6002,45 @@ case $srcdir in ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be -# absolute. -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` + +# Do not use `cd foo && pwd` to compute absolute paths, because +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dir";; +*) + case "$ac_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; +esac @@ -5681,7 +6058,7 @@ echo "$as_me: creating $ac_file" >&6;} configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | - sed 's,.*/,,'` by configure." + sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. @@ -5690,24 +6067,24 @@ echo "$as_me: creating $ac_file" >&6;} case $f in -) echo $tmp/stdin ;; [\\/$]*) - # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } - echo $f;; + echo "$f";; *) # Relative - if test -f "$f"; then - # Build tree - echo $f - elif test -f "$srcdir/$f"; then - # Source tree - echo $srcdir/$f - else - # /dev/null tree - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 + if test -f "$f"; then + # Build tree + echo "$f" + elif test -f "$srcdir/$f"; then + # Source tree + echo "$srcdir/$f" + else + # /dev/null tree + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } - fi;; + fi;; esac done` || { (exit 1); exit 1; } _ACEOF diff --git a/doc/html/ADSR_8h-source.html b/doc/html/ADSR_8h-source.html index 7b62705..6db83e2 100644 --- a/doc/html/ADSR_8h-source.html +++ b/doc/html/ADSR_8h-source.html @@ -8,71 +8,69 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

ADSR.h

00001 /***************************************************/
-00016 /***************************************************/
-00017 
-00018 #ifndef STK_ADSR_H
-00019 #define STK_ADSR_H
-00020 
-00021 #include "Envelope.h"
-00022 
+
+
+

ADSR.h

00001 /***************************************************/
+00016 /***************************************************/
+00017 
+00018 #ifndef STK_ADSR_H
+00019 #define STK_ADSR_H
+00020 
+00021 #include "Envelope.h"
+00022 
 00023 class ADSR : public Envelope
-00024 {
-00025  public:
-00026 
-00028   enum { ATTACK, DECAY, SUSTAIN, RELEASE, DONE };
-00029 
-00031   ADSR(void);
-00032 
-00034   ~ADSR(void);
-00035 
-00037   void keyOn(void);
-00038 
-00040   void keyOff(void);
-00041 
-00043   void setAttackRate(StkFloat rate);
-00044 
-00046   void setDecayRate(StkFloat rate);
-00047 
-00049   void setSustainLevel(StkFloat level);
-00050 
-00052   void setReleaseRate(StkFloat rate);
-00053 
-00055   void setAttackTime(StkFloat time);
-00056 
-00058   void setDecayTime(StkFloat time);
-00059 
-00061   void setReleaseTime(StkFloat time);
-00062 
-00064   void setAllTimes(StkFloat aTime, StkFloat dTime, StkFloat sLevel, StkFloat rTime);
-00065 
-00067   void setTarget(StkFloat target);
-00068 
-00070   int getState(void) const;
-00071 
-00073   void setValue(StkFloat value);
-00074 
-00076   StkFloat tick(void);
-00077 
-00079   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00080 
-00082 
-00088   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00089 
-00090  protected:  
-00091   StkFloat attackRate_;
-00092   StkFloat decayRate_;
-00093   StkFloat sustainLevel_;
-00094   StkFloat releaseRate_;
-00095 };
-00096 
-00097 #endif
+00024 {
+00025  public:
+00026 
+00028   enum { ATTACK, DECAY, SUSTAIN, RELEASE, DONE };
+00029 
+00031   ADSR(void);
+00032 
+00034   ~ADSR(void);
+00035 
+00037   void keyOn(void);
+00038 
+00040   void keyOff(void);
+00041 
+00043   void setAttackRate(StkFloat rate);
+00044 
+00046   void setDecayRate(StkFloat rate);
+00047 
+00049   void setSustainLevel(StkFloat level);
+00050 
+00052   void setReleaseRate(StkFloat rate);
+00053 
+00055   void setAttackTime(StkFloat time);
+00056 
+00058   void setDecayTime(StkFloat time);
+00059 
+00061   void setReleaseTime(StkFloat time);
+00062 
+00064   void setAllTimes(StkFloat aTime, StkFloat dTime, StkFloat sLevel, StkFloat rTime);
+00065 
+00067   void setTarget(StkFloat target);
+00068 
+00070   int getState(void) const;
+00071 
+00073   void setValue(StkFloat value);
+00074 
+00075  protected:  
+00076 
+00077   StkFloat computeSample( void );
+00078 
+00079   StkFloat attackRate_;
+00080   StkFloat decayRate_;
+00081   StkFloat sustainLevel_;
+00082   StkFloat releaseRate_;
+00083 };
+00084 
+00085 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Asymp_8h-source.html b/doc/html/Asymp_8h-source.html index b624867..adcb518 100644 --- a/doc/html/Asymp_8h-source.html +++ b/doc/html/Asymp_8h-source.html @@ -8,54 +8,52 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Asymp.h

00001 /***************************************************/
-00024 /***************************************************/
-00025 
-00026 #ifndef STK_ASYMP_H
-00027 #define STK_ASYMP_H
-00028 
-00029 #include "Envelope.h"
-00030 
-00031 const StkFloat TARGET_THRESHOLD = 0.000001;
-00032 
+
+
+

Asymp.h

00001 /***************************************************/
+00024 /***************************************************/
+00025 
+00026 #ifndef STK_ASYMP_H
+00027 #define STK_ASYMP_H
+00028 
+00029 #include "Envelope.h"
+00030 
+00031 const StkFloat TARGET_THRESHOLD = 0.000001;
+00032 
 00033 class Asymp : public Envelope
-00034 {
-00035  public:
-00036 
-00038   Asymp(void);
-00039 
-00041   ~Asymp(void);
-00042 
-00044   void keyOn(void);
-00045 
-00047   void keyOff(void);
-00048 
-00050 
-00056   void setTau(StkFloat tau);
-00057 
-00059   void setTime(StkFloat time);
-00060 
-00062   void setTarget(StkFloat target);
-00063 
-00065   StkFloat tick(void);
-00066 
-00068   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00069 
-00071 
-00077   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00078 
-00079  protected:
-00080   StkFloat factor_;
-00081   StkFloat constant_;
-00082 };
-00083 
-00084 #endif
+00034 {
+00035  public:
+00036 
+00038   Asymp(void);
+00039 
+00041   ~Asymp(void);
+00042 
+00044   void keyOn(void);
+00045 
+00047   void keyOff(void);
+00048 
+00050 
+00056   void setTau(StkFloat tau);
+00057 
+00059   void setTime(StkFloat time);
+00060 
+00062   void setTarget(StkFloat target);
+00063 
+00064  protected:
+00065 
+00066   StkFloat computeSample( void );
+00067 
+00068   StkFloat factor_;
+00069   StkFloat constant_;
+00070 };
+00071 
+00072 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/BandedWG_8h-source.html b/doc/html/BandedWG_8h-source.html index 10d4a52..af30726 100644 --- a/doc/html/BandedWG_8h-source.html +++ b/doc/html/BandedWG_8h-source.html @@ -8,88 +8,85 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

BandedWG.h

00001 /***************************************************/
-00030 /***************************************************/
-00031 
-00032 #ifndef STK_BANDEDWG_H
-00033 #define STK_BANDEDWG_H
-00034 
-00035 const int MAX_BANDED_MODES = 20;
-00036 
-00037 #include "Instrmnt.h"
-00038 #include "DelayL.h"
-00039 #include "BowTable.h"
-00040 #include "ADSR.h"
-00041 #include "BiQuad.h"
-00042 
+
+
+

BandedWG.h

00001 /***************************************************/
+00030 /***************************************************/
+00031 
+00032 #ifndef STK_BANDEDWG_H
+00033 #define STK_BANDEDWG_H
+00034 
+00035 const int MAX_BANDED_MODES = 20;
+00036 
+00037 #include "Instrmnt.h"
+00038 #include "DelayL.h"
+00039 #include "BowTable.h"
+00040 #include "ADSR.h"
+00041 #include "BiQuad.h"
+00042 
 00043 class BandedWG : public Instrmnt
-00044 {
-00045  public:
-00047   BandedWG();
-00048 
-00050   ~BandedWG();
-00051 
-00053   void clear();
-00054 
-00056   void setStrikePosition(StkFloat position);
-00057 
-00059   void setPreset(int preset);
-00060 
-00062   void setFrequency(StkFloat frequency);
-00063 
-00065   void startBowing(StkFloat amplitude, StkFloat rate);
-00066 
-00068   void stopBowing(StkFloat rate);
-00069 
-00071   void pluck(StkFloat amp);
-00072 
-00074   void noteOn(StkFloat frequency, StkFloat amplitude);
-00075 
-00077   void noteOff(StkFloat amplitude);
-00078 
-00080   StkFloat tick();
-00081 
-00083   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00084 
-00086 
-00092   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00093 
-00095   void controlChange(int number, StkFloat value);
-00096 
-00097  protected:
-00098 
-00099   bool doPluck_;
-00100   bool trackVelocity_;
-00101   int nModes_;
-00102   int presetModes_;
-00103   BowTable bowTable_;
-00104   ADSR     adsr_;
-00105   BiQuad   bandpass_[MAX_BANDED_MODES];
-00106   DelayL   delay_[MAX_BANDED_MODES];
-00107   StkFloat maxVelocity_;
-00108   StkFloat modes_[MAX_BANDED_MODES];
-00109   StkFloat frequency_;
-00110   StkFloat baseGain_;
-00111   StkFloat gains_[MAX_BANDED_MODES];
-00112   StkFloat basegains_[MAX_BANDED_MODES];
-00113   StkFloat excitation_[MAX_BANDED_MODES];
-00114   StkFloat integrationConstant_;
-00115   StkFloat velocityInput_;
-00116   StkFloat bowVelocity_;
-00117   StkFloat bowTarget_;
-00118   StkFloat bowPosition_;
-00119   StkFloat strikeAmp_;
-00120   int strikePosition_;
-00121 
-00122 };
-00123 
-00124 #endif
+00044 {
+00045  public:
+00047   BandedWG();
+00048 
+00050   ~BandedWG();
+00051 
+00053   void clear();
+00054 
+00056   void setStrikePosition(StkFloat position);
+00057 
+00059   void setPreset(int preset);
+00060 
+00062   void setFrequency(StkFloat frequency);
+00063 
+00065   void startBowing(StkFloat amplitude, StkFloat rate);
+00066 
+00068   void stopBowing(StkFloat rate);
+00069 
+00071   void pluck(StkFloat amp);
+00072 
+00074   void noteOn(StkFloat frequency, StkFloat amplitude);
+00075 
+00077   void noteOff(StkFloat amplitude);
+00078 
+00080   void controlChange(int number, StkFloat value);
+00081 
+00082  protected:
+00083 
+00084   StkFloat computeSample( void );
+00085 
+00086   bool doPluck_;
+00087   bool trackVelocity_;
+00088   int nModes_;
+00089   int presetModes_;
+00090   BowTable bowTable_;
+00091   ADSR     adsr_;
+00092   BiQuad   bandpass_[MAX_BANDED_MODES];
+00093   DelayL   delay_[MAX_BANDED_MODES];
+00094   StkFloat maxVelocity_;
+00095   StkFloat modes_[MAX_BANDED_MODES];
+00096   StkFloat frequency_;
+00097   StkFloat baseGain_;
+00098   StkFloat gains_[MAX_BANDED_MODES];
+00099   StkFloat basegains_[MAX_BANDED_MODES];
+00100   StkFloat excitation_[MAX_BANDED_MODES];
+00101   StkFloat integrationConstant_;
+00102   StkFloat velocityInput_;
+00103   StkFloat bowVelocity_;
+00104   StkFloat bowTarget_;
+00105   StkFloat bowPosition_;
+00106   StkFloat strikeAmp_;
+00107   int strikePosition_;
+00108 
+00109 };
+00110 
+00111 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/BeeThree_8h-source.html b/doc/html/BeeThree_8h-source.html index e07ad24..cb32a27 100644 --- a/doc/html/BeeThree_8h-source.html +++ b/doc/html/BeeThree_8h-source.html @@ -8,39 +8,38 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

BeeThree.h

00001 /***************************************************/
-00033 /***************************************************/
-00034 
-00035 #ifndef STK_BEETHREE_H
-00036 #define STK_BEETHREE_H
-00037 
-00038 #include "FM.h"
-00039 
+
+
+

BeeThree.h

00001 /***************************************************/
+00033 /***************************************************/
+00034 
+00035 #ifndef STK_BEETHREE_H
+00036 #define STK_BEETHREE_H
+00037 
+00038 #include "FM.h"
+00039 
 00040 class BeeThree : public FM
-00041 {
-00042  public:
-00044 
-00047   BeeThree();
-00048 
-00050   ~BeeThree();
-00051 
-00053   void noteOn(StkFloat frequency, StkFloat amplitude);
-00054 
-00056   StkFloat tick();
-00057 
-00059   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00060 
-00062 
-00068   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00069 };
-00070 
-00071 #endif
+00041 {
+00042  public:
+00044 
+00047   BeeThree();
+00048 
+00050   ~BeeThree();
+00051 
+00053   void noteOn(StkFloat frequency, StkFloat amplitude);
+00054 
+00055  protected:
+00056 
+00057   StkFloat computeSample( void );
+00058 };
+00059 
+00060 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/BiQuad_8h-source.html b/doc/html/BiQuad_8h-source.html index aacb892..cfbd6f2 100644 --- a/doc/html/BiQuad_8h-source.html +++ b/doc/html/BiQuad_8h-source.html @@ -8,65 +8,71 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

BiQuad.h

00001 /***************************************************/
-00013 /***************************************************/
-00014 
-00015 #ifndef STK_BIQUAD_H
-00016 #define STK_BIQUAD_H
-00017 
-00018 #include "Filter.h"
-00019 
+
+
+

BiQuad.h

00001 /***************************************************/
+00013 /***************************************************/
+00014 
+00015 #ifndef STK_BIQUAD_H
+00016 #define STK_BIQUAD_H
+00017 
+00018 #include "Filter.h"
+00019 
 00020 class BiQuad : protected Filter
-00021 {
-00022 public:
-00023 
-00025   BiQuad();
-00026 
-00028   virtual ~BiQuad();
-00029 
-00031   void clear(void);
-00032 
-00034   void setB0(StkFloat b0);
-00035 
-00037   void setB1(StkFloat b1);
-00038 
-00040   void setB2(StkFloat b2);
-00041 
-00043   void setA1(StkFloat a1);
-00044 
-00046   void setA2(StkFloat a2);
-00047 
-00049 
-00060   void setResonance(StkFloat frequency, StkFloat radius, bool normalize = false);
-00061 
-00063 
-00069   void setNotch(StkFloat frequency, StkFloat radius);
-00070 
-00072 
-00078   void setEqualGainZeroes();
-00079 
-00081 
-00085   void setGain(StkFloat gain);
-00086 
-00088   StkFloat getGain(void) const;
-00089 
-00091   StkFloat lastOut(void) const;
-00092 
-00094   virtual StkFloat tick(StkFloat sample);
-00095 
-00097   virtual StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00098 
-00100 
-00106   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00107 };
-00108 
-00109 #endif
+00021 {
+00022 public:
+00023 
+00025   BiQuad();
+00026 
+00028   virtual ~BiQuad();
+00029 
+00031   void clear(void);
+00032 
+00034   void setB0(StkFloat b0);
+00035 
+00037   void setB1(StkFloat b1);
+00038 
+00040   void setB2(StkFloat b2);
+00041 
+00043   void setA1(StkFloat a1);
+00044 
+00046   void setA2(StkFloat a2);
+00047 
+00049 
+00060   void setResonance(StkFloat frequency, StkFloat radius, bool normalize = false);
+00061 
+00063 
+00069   void setNotch(StkFloat frequency, StkFloat radius);
+00070 
+00072 
+00078   void setEqualGainZeroes();
+00079 
+00081 
+00085   void setGain(StkFloat gain);
+00086 
+00088   StkFloat getGain(void) const;
+00089 
+00091   StkFloat lastOut(void) const;
+00092 
+00094   virtual StkFloat tick(StkFloat sample);
+00095 
+00097 
+00103   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 0 );
+00104 
+00105  protected:
+00106 
+00107   // This function must be implemented in all subclasses. It is used
+00108   // to get around a C++ problem with overloaded virtual functions.
+00109   virtual StkFloat computeSample( StkFloat input );
+00110 };
+00111 
+00112 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/BlitSaw_8h-source.html b/doc/html/BlitSaw_8h-source.html new file mode 100644 index 0000000..c771921 --- /dev/null +++ b/doc/html/BlitSaw_8h-source.html @@ -0,0 +1,61 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ + +

BlitSaw.h

00001 /***************************************************/
+00020 /***************************************************/
+00021 
+00022 #ifndef STK_BLITSAW_H
+00023 #define STK_BLITSAW_H
+00024 
+00025 #include "Generator.h"
+00026 
+00027 class BlitSaw: public Generator
+00028 {
+00029  public:
+00031   BlitSaw( StkFloat frequency = 220.0 );
+00032 
+00034   ~BlitSaw();
+00035 
+00037   void reset();
+00038 
+00040   void setFrequency( StkFloat frequency );
+00041 
+00043 
+00055   void setHarmonics( unsigned int nHarmonics = 0 );
+00056 
+00057  protected:
+00058 
+00059   void updateHarmonics( void );
+00060   StkFloat computeSample( void );
+00061 
+00062   unsigned int nHarmonics_;
+00063   unsigned int m_;
+00064   StkFloat rate_;
+00065   StkFloat phase_;
+00066   StkFloat p_;
+00067   StkFloat C2_;
+00068   StkFloat a_;
+00069   StkFloat state_;
+00070 
+00071 };
+00072 
+00073 #endif
+

+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/BlitSquare_8h-source.html b/doc/html/BlitSquare_8h-source.html new file mode 100644 index 0000000..ab3c436 --- /dev/null +++ b/doc/html/BlitSquare_8h-source.html @@ -0,0 +1,64 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ + +

BlitSquare.h

00001 /***************************************************/
+00027 /***************************************************/
+00028 
+00029 #ifndef STK_BLITSQUARE_H
+00030 #define STK_BLITSQUARE_H
+00031 
+00032 #include "Generator.h"
+00033 
+00034 class BlitSquare: public Generator
+00035 {
+00036  public:
+00038   BlitSquare( StkFloat frequency = 220.0 );
+00039 
+00041   ~BlitSquare();
+00042 
+00044   void reset();
+00045 
+00047 
+00050   void setPhase( StkFloat phase ) { phase_ = PI * phase; };
+00051 
+00053 
+00056   StkFloat getPhase() const { return phase_ / PI; };
+00057 
+00059   void setFrequency( StkFloat frequency );
+00060 
+00062 
+00074   void setHarmonics( unsigned int nHarmonics = 0 );
+00075 
+00076  protected:
+00077 
+00078   void updateHarmonics( void );
+00079   StkFloat computeSample( void );
+00080 
+00081   unsigned int nHarmonics_;
+00082   unsigned int m_;
+00083   StkFloat rate_;
+00084   StkFloat phase_;
+00085   StkFloat p_;
+00086   StkFloat offset_;
+00087 };
+00088 
+00089 #endif
+

+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/Blit_8h-source.html b/doc/html/Blit_8h-source.html new file mode 100644 index 0000000..b3b291f --- /dev/null +++ b/doc/html/Blit_8h-source.html @@ -0,0 +1,64 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ + +

Blit.h

00001 /***************************************************/
+00022 /***************************************************/
+00023 
+00024 #ifndef STK_BLIT_H
+00025 #define STK_BLIT_H
+00026 
+00027 #include "Generator.h"
+00028 
+00029 class Blit: public Generator
+00030 {
+00031  public:
+00033   Blit( StkFloat frequency = 220.0 );
+00034 
+00036   ~Blit();
+00037 
+00039   void reset();
+00040 
+00042 
+00045   void setPhase( StkFloat phase ) { phase_ = PI * phase; };
+00046 
+00048 
+00051   StkFloat getPhase() const { return phase_ / PI; };
+00052 
+00054   void setFrequency( StkFloat frequency );
+00055 
+00057 
+00069   void setHarmonics( unsigned int nHarmonics = 0 );
+00070 
+00071  protected:
+00072 
+00073   void updateHarmonics( void );
+00074   StkFloat computeSample( void );
+00075 
+00076   unsigned int nHarmonics_;
+00077   unsigned int m_;
+00078   StkFloat rate_;
+00079   StkFloat phase_;
+00080   StkFloat p_;
+00081 
+00082 };
+00083 
+00084 #endif
+

+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/BlowBotl_8h-source.html b/doc/html/BlowBotl_8h-source.html index 81e252e..5b65202 100644 --- a/doc/html/BlowBotl_8h-source.html +++ b/doc/html/BlowBotl_8h-source.html @@ -8,70 +8,68 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

BlowBotl.h

00001 /***************************************************/
-00017 /***************************************************/
-00018 
-00019 #ifndef STK_BLOWBOTL_H
-00020 #define STK_BLOWBOTL_H
-00021 
-00022 #include "Instrmnt.h"
-00023 #include "JetTable.h"
-00024 #include "BiQuad.h"
-00025 #include "PoleZero.h"
-00026 #include "Noise.h"
-00027 #include "ADSR.h"
-00028 #include "WaveLoop.h"
-00029 
+
+
+

BlowBotl.h

00001 /***************************************************/
+00017 /***************************************************/
+00018 
+00019 #ifndef STK_BLOWBOTL_H
+00020 #define STK_BLOWBOTL_H
+00021 
+00022 #include "Instrmnt.h"
+00023 #include "JetTable.h"
+00024 #include "BiQuad.h"
+00025 #include "PoleZero.h"
+00026 #include "Noise.h"
+00027 #include "ADSR.h"
+00028 #include "SineWave.h"
+00029 
 00030 class BlowBotl : public Instrmnt
-00031 {
-00032  public:
-00034 
-00037   BlowBotl();
-00038 
-00040   ~BlowBotl();
-00041 
-00043   void clear();
-00044 
-00046   void setFrequency(StkFloat frequency);
-00047 
-00049   void startBlowing(StkFloat amplitude, StkFloat rate);
-00050 
-00052   void stopBlowing(StkFloat rate);
-00053 
-00055   void noteOn(StkFloat frequency, StkFloat amplitude);
-00056 
-00058   void noteOff(StkFloat amplitude);
-00059 
-00061   StkFloat tick();
-00062 
-00064   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00065 
-00067 
-00073   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00074 
-00076   void controlChange(int number, StkFloat value);
-00077 
-00078  protected:  
-00079   JetTable jetTable_;
-00080   BiQuad resonator_;
-00081   PoleZero dcBlock_;
-00082   Noise noise_;
-00083   ADSR adsr_;
-00084   WaveLoop *vibrato_;
-00085   StkFloat maxPressure_;
-00086   StkFloat noiseGain_;
-00087   StkFloat vibratoGain_;
-00088   StkFloat outputGain_;
-00089 
-00090 };
-00091 
-00092 #endif
+00031 {
+00032  public:
+00034 
+00037   BlowBotl();
+00038 
+00040   ~BlowBotl();
+00041 
+00043   void clear();
+00044 
+00046   void setFrequency(StkFloat frequency);
+00047 
+00049   void startBlowing(StkFloat amplitude, StkFloat rate);
+00050 
+00052   void stopBlowing(StkFloat rate);
+00053 
+00055   void noteOn(StkFloat frequency, StkFloat amplitude);
+00056 
+00058   void noteOff(StkFloat amplitude);
+00059 
+00061   void controlChange(int number, StkFloat value);
+00062 
+00063  protected:
+00064 
+00065   StkFloat computeSample( void );
+00066   
+00067   JetTable jetTable_;
+00068   BiQuad resonator_;
+00069   PoleZero dcBlock_;
+00070   Noise noise_;
+00071   ADSR adsr_;
+00072   SineWave vibrato_;
+00073   StkFloat maxPressure_;
+00074   StkFloat noiseGain_;
+00075   StkFloat vibratoGain_;
+00076   StkFloat outputGain_;
+00077 
+00078 };
+00079 
+00080 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/BlowHole_8h-source.html b/doc/html/BlowHole_8h-source.html index 2cf469a..db4aca0 100644 --- a/doc/html/BlowHole_8h-source.html +++ b/doc/html/BlowHole_8h-source.html @@ -8,80 +8,78 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

BlowHole.h

00001 /***************************************************/
-00034 /***************************************************/
-00035 
-00036 #ifndef STK_BLOWHOLE_H
-00037 #define STK_BLOWHOLE_H
-00038 
-00039 #include "Instrmnt.h"
-00040 #include "DelayL.h"
-00041 #include "ReedTable.h"
-00042 #include "OneZero.h"
-00043 #include "PoleZero.h"
-00044 #include "Envelope.h"
-00045 #include "Noise.h"
-00046 #include "WaveLoop.h"
-00047 
+
+
+

BlowHole.h

00001 /***************************************************/
+00034 /***************************************************/
+00035 
+00036 #ifndef STK_BLOWHOLE_H
+00037 #define STK_BLOWHOLE_H
+00038 
+00039 #include "Instrmnt.h"
+00040 #include "DelayL.h"
+00041 #include "ReedTable.h"
+00042 #include "OneZero.h"
+00043 #include "PoleZero.h"
+00044 #include "Envelope.h"
+00045 #include "Noise.h"
+00046 #include "SineWave.h"
+00047 
 00048 class BlowHole : public Instrmnt
-00049 {
-00050  public:
-00052 
-00055   BlowHole(StkFloat lowestFrequency);
-00056 
-00058   ~BlowHole();
-00059 
-00061   void clear();
-00062 
-00064   void setFrequency(StkFloat frequency);
-00065 
-00067   void setTonehole(StkFloat newValue);
-00068 
-00070   void setVent(StkFloat newValue);
-00071 
-00073   void startBlowing(StkFloat amplitude, StkFloat rate);
-00074 
-00076   void stopBlowing(StkFloat rate);
-00077 
-00079   void noteOn(StkFloat frequency, StkFloat amplitude);
-00080 
-00082   void noteOff(StkFloat amplitude);
-00083 
-00085   StkFloat tick();
-00086 
-00088   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00089 
-00091 
-00097   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00098 
-00100   void controlChange(int number, StkFloat value);
-00101 
-00102  protected:  
-00103   DelayL    delays_[3];
-00104   ReedTable reedTable_;
-00105   OneZero   filter_;
-00106   PoleZero  tonehole_;
-00107   PoleZero  vent_;
-00108   Envelope  envelope_;
-00109   Noise     noise_;
-00110   WaveLoop *vibrato_;
-00111   unsigned long length_;
-00112   StkFloat scatter_;
-00113   StkFloat thCoeff_;
-00114   StkFloat rhGain_;
-00115   StkFloat outputGain_;
-00116   StkFloat noiseGain_;
-00117   StkFloat vibratoGain_;
-00118 
-00119 };
-00120 
-00121 #endif
+00049 {
+00050  public:
+00052 
+00055   BlowHole(StkFloat lowestFrequency);
+00056 
+00058   ~BlowHole();
+00059 
+00061   void clear();
+00062 
+00064   void setFrequency(StkFloat frequency);
+00065 
+00067   void setTonehole(StkFloat newValue);
+00068 
+00070   void setVent(StkFloat newValue);
+00071 
+00073   void startBlowing(StkFloat amplitude, StkFloat rate);
+00074 
+00076   void stopBlowing(StkFloat rate);
+00077 
+00079   void noteOn(StkFloat frequency, StkFloat amplitude);
+00080 
+00082   void noteOff(StkFloat amplitude);
+00083 
+00085   void controlChange(int number, StkFloat value);
+00086 
+00087  protected:
+00088 
+00089   StkFloat computeSample( void );
+00090 
+00091   DelayL    delays_[3];
+00092   ReedTable reedTable_;
+00093   OneZero   filter_;
+00094   PoleZero  tonehole_;
+00095   PoleZero  vent_;
+00096   Envelope  envelope_;
+00097   Noise     noise_;
+00098   SineWave vibrato_;
+00099   unsigned long length_;
+00100   StkFloat scatter_;
+00101   StkFloat thCoeff_;
+00102   StkFloat rhGain_;
+00103   StkFloat outputGain_;
+00104   StkFloat noiseGain_;
+00105   StkFloat vibratoGain_;
+00106 
+00107 };
+00108 
+00109 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/BowTable_8h-source.html b/doc/html/BowTable_8h-source.html index 3b5a8d3..0d434f7 100644 --- a/doc/html/BowTable_8h-source.html +++ b/doc/html/BowTable_8h-source.html @@ -8,48 +8,45 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

BowTable.h

00001 /***************************************************/
-00010 /***************************************************/
-00011 
-00012 #ifndef STK_BOWTABL_H
-00013 #define STK_BOWTABL_H
-00014 
-00015 #include "Function.h"
-00016 
+
+
+

BowTable.h

00001 /***************************************************/
+00010 /***************************************************/
+00011 
+00012 #ifndef STK_BOWTABL_H
+00013 #define STK_BOWTABL_H
+00014 
+00015 #include "Function.h"
+00016 
 00017 class BowTable : public Function
-00018 {
-00019 public:
-00021   BowTable();
-00022 
-00024   ~BowTable();
-00025 
-00027 
-00033   void setOffset(StkFloat offset);
-00034 
-00036 
-00040   void setSlope(StkFloat slope);
-00041 
-00043 
-00047   StkFloat tick( StkFloat input);
-00048 
-00050   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00051 
-00053 
-00059   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00060 
-00061 protected:  
-00062   StkFloat offset_;
-00063   StkFloat slope_;
-00064 
-00065 };
-00066 
-00067 #endif
+00018 {
+00019 public:
+00021   BowTable();
+00022 
+00024   ~BowTable();
+00025 
+00027 
+00033   void setOffset(StkFloat offset);
+00034 
+00036 
+00040   void setSlope(StkFloat slope);
+00041 
+00042 protected:
+00043 
+00044   StkFloat computeSample( StkFloat input );
+00045 
+00046   StkFloat offset_;
+00047   StkFloat slope_;
+00048 
+00049 };
+00050 
+00051 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Bowed_8h-source.html b/doc/html/Bowed_8h-source.html index 49d46d4..5caf6d7 100644 --- a/doc/html/Bowed_8h-source.html +++ b/doc/html/Bowed_8h-source.html @@ -8,72 +8,70 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Bowed.h

00001 /***************************************************/
-00022 /***************************************************/
-00023 
-00024 #ifndef STK_BOWED_H
-00025 #define STK_BOWED_H
-00026 
-00027 #include "Instrmnt.h"
-00028 #include "DelayL.h"
-00029 #include "BowTable.h"
-00030 #include "OnePole.h"
-00031 #include "BiQuad.h"
-00032 #include "WaveLoop.h"
-00033 #include "ADSR.h"
-00034 
+
+
+

Bowed.h

00001 /***************************************************/
+00022 /***************************************************/
+00023 
+00024 #ifndef STK_BOWED_H
+00025 #define STK_BOWED_H
+00026 
+00027 #include "Instrmnt.h"
+00028 #include "DelayL.h"
+00029 #include "BowTable.h"
+00030 #include "OnePole.h"
+00031 #include "BiQuad.h"
+00032 #include "SineWave.h"
+00033 #include "ADSR.h"
+00034 
 00035 class Bowed : public Instrmnt
-00036 {
-00037  public:
-00039   Bowed(StkFloat lowestFrequency);
-00040 
-00042   ~Bowed();
-00043 
-00045   void clear();
-00046 
-00048   void setFrequency(StkFloat frequency);
-00049 
-00051   void setVibrato(StkFloat gain);
-00052 
-00054   void startBowing(StkFloat amplitude, StkFloat rate);
-00055 
-00057   void stopBowing(StkFloat rate);
-00058 
-00060   void noteOn(StkFloat frequency, StkFloat amplitude);
-00061 
-00063   void noteOff(StkFloat amplitude);
-00064 
-00066   StkFloat tick();
-00067 
-00069   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00070 
-00072 
-00078   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00079 
-00081   void controlChange(int number, StkFloat value);
-00082 
-00083  protected:  
-00084   DelayL   neckDelay_;
-00085   DelayL   bridgeDelay_;
-00086   BowTable bowTable_;
-00087   OnePole  stringFilter_;
-00088   BiQuad   bodyFilter_;
-00089   WaveLoop *vibrato_;
-00090   ADSR     adsr_;
-00091   StkFloat maxVelocity_;
-00092   StkFloat baseDelay_;
-00093   StkFloat vibratoGain_;
-00094   StkFloat betaRatio_;
-00095 
-00096 };
-00097 
-00098 #endif
+00036 {
+00037  public:
+00039   Bowed(StkFloat lowestFrequency);
+00040 
+00042   ~Bowed();
+00043 
+00045   void clear();
+00046 
+00048   void setFrequency(StkFloat frequency);
+00049 
+00051   void setVibrato(StkFloat gain);
+00052 
+00054   void startBowing(StkFloat amplitude, StkFloat rate);
+00055 
+00057   void stopBowing(StkFloat rate);
+00058 
+00060   void noteOn(StkFloat frequency, StkFloat amplitude);
+00061 
+00063   void noteOff(StkFloat amplitude);
+00064 
+00066   void controlChange(int number, StkFloat value);
+00067 
+00068  protected:
+00069 
+00070   StkFloat computeSample( void );
+00071 
+00072   DelayL   neckDelay_;
+00073   DelayL   bridgeDelay_;
+00074   BowTable bowTable_;
+00075   OnePole  stringFilter_;
+00076   BiQuad   bodyFilter_;
+00077   SineWave vibrato_;
+00078   ADSR     adsr_;
+00079   StkFloat maxVelocity_;
+00080   StkFloat baseDelay_;
+00081   StkFloat vibratoGain_;
+00082   StkFloat betaRatio_;
+00083 
+00084 };
+00085 
+00086 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Brass_8h-source.html b/doc/html/Brass_8h-source.html index 6e00338..24e1055 100644 --- a/doc/html/Brass_8h-source.html +++ b/doc/html/Brass_8h-source.html @@ -8,71 +8,69 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Brass.h

00001 /***************************************************/
-00021 /***************************************************/
-00022 
-00023 #ifndef STK_BRASS_H
-00024 #define STK_BRASS_H
-00025 
-00026 #include "Instrmnt.h"
-00027 #include "DelayA.h"
-00028 #include "BiQuad.h"
-00029 #include "PoleZero.h"
-00030 #include "ADSR.h"
-00031 #include "WaveLoop.h"
-00032 
+
+
+

Brass.h

00001 /***************************************************/
+00021 /***************************************************/
+00022 
+00023 #ifndef STK_BRASS_H
+00024 #define STK_BRASS_H
+00025 
+00026 #include "Instrmnt.h"
+00027 #include "DelayA.h"
+00028 #include "BiQuad.h"
+00029 #include "PoleZero.h"
+00030 #include "ADSR.h"
+00031 #include "SineWave.h"
+00032 
 00033 class Brass: public Instrmnt
-00034 {
-00035  public:
-00037 
-00040   Brass(StkFloat lowestFrequency);
-00041 
-00043   ~Brass();
-00044 
-00046   void clear();
-00047 
-00049   void setFrequency(StkFloat frequency);
-00050 
-00052   void setLip(StkFloat frequency);
-00053 
-00055   void startBlowing(StkFloat amplitude, StkFloat rate);
-00056 
-00058   void stopBlowing(StkFloat rate);
-00059 
-00061   void noteOn(StkFloat frequency, StkFloat amplitude);
-00062 
-00064   void noteOff(StkFloat amplitude);
-00065 
-00067   StkFloat tick();
-00068 
-00070   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00071 
-00073 
-00079   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00080 
-00082   void controlChange(int number, StkFloat value);
-00083 
-00084  protected:  
-00085   DelayA   delayLine_;
-00086   BiQuad   lipFilter_;
-00087   PoleZero dcBlock_;
-00088   ADSR     adsr_;
-00089   WaveLoop *vibrato_;
-00090   unsigned long length_;
-00091   StkFloat lipTarget_;
-00092   StkFloat slideTarget_;
-00093   StkFloat vibratoGain_;
-00094   StkFloat maxPressure_;
-00095 
-00096 };
-00097 
-00098 #endif
+00034 {
+00035  public:
+00037 
+00040   Brass(StkFloat lowestFrequency);
+00041 
+00043   ~Brass();
+00044 
+00046   void clear();
+00047 
+00049   void setFrequency(StkFloat frequency);
+00050 
+00052   void setLip(StkFloat frequency);
+00053 
+00055   void startBlowing(StkFloat amplitude, StkFloat rate);
+00056 
+00058   void stopBlowing(StkFloat rate);
+00059 
+00061   void noteOn(StkFloat frequency, StkFloat amplitude);
+00062 
+00064   void noteOff(StkFloat amplitude);
+00065 
+00067   void controlChange(int number, StkFloat value);
+00068 
+00069  protected:
+00070 
+00071   StkFloat computeSample( void );
+00072 
+00073   DelayA   delayLine_;
+00074   BiQuad   lipFilter_;
+00075   PoleZero dcBlock_;
+00076   ADSR     adsr_;
+00077   SineWave vibrato_;
+00078   unsigned long length_;
+00079   StkFloat lipTarget_;
+00080   StkFloat slideTarget_;
+00081   StkFloat vibratoGain_;
+00082   StkFloat maxPressure_;
+00083 
+00084 };
+00085 
+00086 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Chorus_8h-source.html b/doc/html/Chorus_8h-source.html index 917c9b0..4f2e690 100644 --- a/doc/html/Chorus_8h-source.html +++ b/doc/html/Chorus_8h-source.html @@ -8,53 +8,51 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Chorus.h

00001 /***************************************************/
-00009 /***************************************************/
-00010 
-00011 #ifndef STK_CHORUS_H
-00012 #define STK_CHORUS_H
-00013 
-00014 #include "Effect.h" 
-00015 #include "DelayL.h" 
-00016 #include "WaveLoop.h" 
-00017 
+
+
+

Chorus.h

00001 /***************************************************/
+00009 /***************************************************/
+00010 
+00011 #ifndef STK_CHORUS_H
+00012 #define STK_CHORUS_H
+00013 
+00014 #include "Effect.h" 
+00015 #include "DelayL.h" 
+00016 #include "SineWave.h" 
+00017 
 00018 class Chorus : public Effect
-00019 {
-00020  public:
-00022 
-00025   Chorus( StkFloat baseDelay = 6000 );
-00026 
-00028   ~Chorus();
-00029 
-00031   void clear();
-00032 
-00034   void setModDepth(StkFloat depth);
-00035 
-00037   void setModFrequency(StkFloat frequency);
-00038 
-00040   StkFloat tick(StkFloat input);
-00041 
-00043   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00044 
-00046 
-00052   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00053 
-00054  protected:  
-00055   DelayL delayLine_[2];
-00056   WaveLoop *mods_[2];
-00057   StkFloat baseLength_;
-00058   StkFloat modDepth_;
-00059 
-00060 };
-00061 
-00062 #endif
-00063 
+00019 {
+00020  public:
+00022 
+00025   Chorus( StkFloat baseDelay = 6000 );
+00026 
+00028   ~Chorus();
+00029 
+00031   void clear();
+00032 
+00034   void setModDepth(StkFloat depth);
+00035 
+00037   void setModFrequency(StkFloat frequency);
+00038 
+00039  protected:
+00040 
+00041   StkFloat computeSample( StkFloat input );
+00042 
+00043   DelayL delayLine_[2];
+00044   SineWave mods_[2];
+00045   StkFloat baseLength_;
+00046   StkFloat modDepth_;
+00047 
+00048 };
+00049 
+00050 #endif
+00051 
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Clarinet_8h-source.html b/doc/html/Clarinet_8h-source.html index eef8792..c7123f2 100644 --- a/doc/html/Clarinet_8h-source.html +++ b/doc/html/Clarinet_8h-source.html @@ -8,70 +8,68 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Clarinet.h

00001 /***************************************************/
-00023 /***************************************************/
-00024 
-00025 #ifndef STK_CLARINET_H
-00026 #define STK_CLARINET_H
-00027 
-00028 #include "Instrmnt.h"
-00029 #include "DelayL.h"
-00030 #include "ReedTable.h"
-00031 #include "OneZero.h"
-00032 #include "Envelope.h"
-00033 #include "Noise.h"
-00034 #include "WaveLoop.h"
-00035 
+
+
+

Clarinet.h

00001 /***************************************************/
+00023 /***************************************************/
+00024 
+00025 #ifndef STK_CLARINET_H
+00026 #define STK_CLARINET_H
+00027 
+00028 #include "Instrmnt.h"
+00029 #include "DelayL.h"
+00030 #include "ReedTable.h"
+00031 #include "OneZero.h"
+00032 #include "Envelope.h"
+00033 #include "Noise.h"
+00034 #include "SineWave.h"
+00035 
 00036 class Clarinet : public Instrmnt
-00037 {
-00038  public:
-00040 
-00043   Clarinet(StkFloat lowestFrequency);
-00044 
-00046   ~Clarinet();
-00047 
-00049   void clear();
-00050 
-00052   void setFrequency(StkFloat frequency);
-00053 
-00055   void startBlowing(StkFloat amplitude, StkFloat rate);
-00056 
-00058   void stopBlowing(StkFloat rate);
-00059 
-00061   void noteOn(StkFloat frequency, StkFloat amplitude);
-00062 
-00064   void noteOff(StkFloat amplitude);
-00065 
-00067   StkFloat tick();
-00068 
-00070   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00071 
-00073 
-00079   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00080 
-00082   void controlChange(int number, StkFloat value);
-00083 
-00084  protected:
-00085   DelayL delayLine_;
-00086   ReedTable reedTable_;
-00087   OneZero filter_;
-00088   Envelope envelope_;
-00089   Noise noise_;
-00090   WaveLoop *vibrato_;
-00091   long length_;
-00092   StkFloat outputGain_;
-00093   StkFloat noiseGain_;
-00094   StkFloat vibratoGain_;
-00095 
-00096 };
-00097 
-00098 #endif
+00037 {
+00038  public:
+00040 
+00043   Clarinet(StkFloat lowestFrequency);
+00044 
+00046   ~Clarinet();
+00047 
+00049   void clear();
+00050 
+00052   void setFrequency(StkFloat frequency);
+00053 
+00055   void startBlowing(StkFloat amplitude, StkFloat rate);
+00056 
+00058   void stopBlowing(StkFloat rate);
+00059 
+00061   void noteOn(StkFloat frequency, StkFloat amplitude);
+00062 
+00064   void noteOff(StkFloat amplitude);
+00065 
+00067   void controlChange(int number, StkFloat value);
+00068 
+00069  protected:
+00070 
+00071   StkFloat computeSample( void );
+00072 
+00073   DelayL delayLine_;
+00074   ReedTable reedTable_;
+00075   OneZero filter_;
+00076   Envelope envelope_;
+00077   Noise noise_;
+00078   SineWave vibrato_;
+00079   long length_;
+00080   StkFloat outputGain_;
+00081   StkFloat noiseGain_;
+00082   StkFloat vibratoGain_;
+00083 
+00084 };
+00085 
+00086 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/DelayA_8h-source.html b/doc/html/DelayA_8h-source.html index cd55e81..7e58249 100644 --- a/doc/html/DelayA_8h-source.html +++ b/doc/html/DelayA_8h-source.html @@ -8,57 +8,55 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

DelayA.h

00001 /***************************************************/
-00023 /***************************************************/
-00024 
-00025 #ifndef STK_DELAYA_H
-00026 #define STK_DELAYA_H
-00027 
-00028 #include "Delay.h"
-00029 
-00030 class DelayA : public Delay
-00031 {
-00032 public:
-00033 
-00035   DelayA();
-00036 
-00038 
-00043   DelayA(StkFloat delay, unsigned long maxDelay);
-00044 
-00046   ~DelayA();
-00047 
-00049   void clear();
-00050 
-00052 
-00055   void setDelay(StkFloat delay);
-00056 
-00058   StkFloat getDelay(void);
-00059 
-00061 
-00064   StkFloat nextOut(void);
-00065 
-00067   StkFloat tick(StkFloat sample);
-00068 
-00070   virtual StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00071 
-00073 
-00079   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00080 
-00081 protected:  
-00082   StkFloat alpha_;
-00083   StkFloat coeff_;
-00084   StkFloat apInput_;
-00085   StkFloat nextOutput_;
-00086   bool doNextOut_;
-00087 };
-00088 
-00089 #endif
+
+
+

DelayA.h

00001 /***************************************************/
+00020 /***************************************************/
+00021 
+00022 #ifndef STK_DELAYA_H
+00023 #define STK_DELAYA_H
+00024 
+00025 #include "Delay.h"
+00026 
+00027 class DelayA : public Delay
+00028 {
+00029 public:
+00030 
+00032   DelayA();
+00033 
+00035 
+00040   DelayA(StkFloat delay, unsigned long maxDelay);
+00041 
+00043   ~DelayA();
+00044 
+00046   void clear();
+00047 
+00049 
+00052   void setDelay(StkFloat delay);
+00053 
+00055   StkFloat getDelay(void) const;
+00056 
+00058 
+00061   StkFloat nextOut(void);
+00062 
+00063 protected:  
+00064 
+00065   StkFloat computeSample( StkFloat input );
+00066 
+00067   StkFloat alpha_;
+00068   StkFloat coeff_;
+00069   StkFloat apInput_;
+00070   StkFloat nextOutput_;
+00071   bool doNextOut_;
+00072 };
+00073 
+00074 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/DelayL_8h-source.html b/doc/html/DelayL_8h-source.html index 842e542..fb58f06 100644 --- a/doc/html/DelayL_8h-source.html +++ b/doc/html/DelayL_8h-source.html @@ -8,54 +8,52 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

DelayL.h

00001 /***************************************************/
-00023 /***************************************************/
-00024 
-00025 #ifndef STK_DELAYL_H
-00026 #define STK_DELAYL_H
-00027 
-00028 #include "Delay.h"
-00029 
+
+
+

DelayL.h

00001 /***************************************************/
+00023 /***************************************************/
+00024 
+00025 #ifndef STK_DELAYL_H
+00026 #define STK_DELAYL_H
+00027 
+00028 #include "Delay.h"
+00029 
 00030 class DelayL : public Delay
-00031 {
-00032 public:
-00033 
-00035   DelayL();
-00036 
-00038 
-00043   DelayL(StkFloat delay, unsigned long maxDelay);
-00044 
-00046   ~DelayL();
-00047 
-00049 
-00052   void setDelay(StkFloat delay);
-00053 
-00055   StkFloat getDelay(void) const;
-00056 
-00058 
-00061   StkFloat nextOut(void);
-00062 
-00064   StkFloat tick(StkFloat sample);
-00065 
-00067   virtual StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00068 
-00070 
-00076   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00077 
-00078  protected:  
-00079   StkFloat alpha_;
-00080   StkFloat omAlpha_;
-00081   StkFloat nextOutput_;
-00082   bool doNextOut_;
-00083 };
-00084 
-00085 #endif
+00031 {
+00032 public:
+00033 
+00035   DelayL();
+00036 
+00038 
+00043   DelayL(StkFloat delay, unsigned long maxDelay);
+00044 
+00046   ~DelayL();
+00047 
+00049 
+00052   void setDelay(StkFloat delay);
+00053 
+00055   StkFloat getDelay(void) const;
+00056 
+00058 
+00061   StkFloat nextOut(void);
+00062 
+00063  protected:
+00064 
+00065   StkFloat computeSample( StkFloat input );
+00066 
+00067   StkFloat alpha_;
+00068   StkFloat omAlpha_;
+00069   StkFloat nextOutput_;
+00070   bool doNextOut_;
+00071 };
+00072 
+00073 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Delay_8h-source.html b/doc/html/Delay_8h-source.html index 9b53f8a..b0168ee 100644 --- a/doc/html/Delay_8h-source.html +++ b/doc/html/Delay_8h-source.html @@ -8,66 +8,71 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Delay.h

00001 /***************************************************/
-00019 /***************************************************/
-00020 
-00021 #ifndef STK_DELAY_H
-00022 #define STK_DELAY_H
-00023 
-00024 #include "Filter.h"
-00025 
+
+
+

Delay.h

00001 /***************************************************/
+00019 /***************************************************/
+00020 
+00021 #ifndef STK_DELAY_H
+00022 #define STK_DELAY_H
+00023 
+00024 #include "Filter.h"
+00025 
 00026 class Delay : protected Filter
-00027 {
-00028 public:
-00029 
-00031   Delay();
-00032 
-00034 
-00039   Delay(unsigned long delay, unsigned long maxDelay);
-00040 
-00042   virtual ~Delay();
-00043 
-00045   void clear();
-00046 
-00048 
-00055   void setMaximumDelay(unsigned long delay);
-00056 
-00058 
-00061   void setDelay(unsigned long delay);
-00062 
-00064   unsigned long getDelay(void) const;
-00065 
-00067   StkFloat energy(void) const;
-00068 
-00070 
-00075   StkFloat contentsAt(unsigned long tapDelay);
-00076 
-00078   StkFloat lastOut(void) const;
-00079 
-00081 
-00084   virtual StkFloat nextOut(void);
-00085 
-00087   virtual StkFloat tick(StkFloat sample);
-00088 
-00090   virtual StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00091 
-00093 
-00099   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00100 
-00101 protected:
-00102   unsigned long inPoint_;
-00103   unsigned long outPoint_;
-00104   StkFloat delay_;
-00105 };
-00106 
-00107 #endif
-00108 
+00027 {
+00028 public:
+00029 
+00031   Delay();
+00032 
+00034 
+00039   Delay(unsigned long delay, unsigned long maxDelay);
+00040 
+00042   virtual ~Delay();
+00043 
+00045   void clear();
+00046 
+00048 
+00055   void setMaximumDelay(unsigned long delay);
+00056 
+00058 
+00061   void setDelay(unsigned long delay);
+00062 
+00064   unsigned long getDelay(void) const;
+00065 
+00067   StkFloat energy(void) const;
+00068 
+00070 
+00075   StkFloat contentsAt(unsigned long tapDelay);
+00076 
+00078   StkFloat lastOut(void) const;
+00079 
+00081 
+00084   virtual StkFloat nextOut(void);
+00085 
+00087   virtual StkFloat tick(StkFloat sample);
+00088 
+00090 
+00096   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 0 );
+00097 
+00098 protected:
+00099 
+00100   // This function must be implemented in all subclasses. It is used
+00101   // to get around a C++ problem with overloaded virtual functions.
+00102   virtual StkFloat computeSample( StkFloat input );
+00103 
+00104   unsigned long inPoint_;
+00105   unsigned long outPoint_;
+00106   StkFloat delay_;
+00107 };
+00108 
+00109 #endif
+00110 
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Drummer_8h-source.html b/doc/html/Drummer_8h-source.html index cb407c5..b8efc7b 100644 --- a/doc/html/Drummer_8h-source.html +++ b/doc/html/Drummer_8h-source.html @@ -8,53 +8,52 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Drummer.h

00001 /***************************************************/
-00016 /***************************************************/
-00017 
-00018 #ifndef STK_DRUMMER_H
-00019 #define STK_DRUMMER_H
-00020 
-00021 #include "Instrmnt.h"
-00022 #include "WvIn.h"
-00023 #include "OnePole.h"
-00024 
-00025 const int DRUM_NUMWAVES = 11;
-00026 const int DRUM_POLYPHONY = 4;
-00027 
+
+
+

Drummer.h

00001 /***************************************************/
+00016 /***************************************************/
+00017 
+00018 #ifndef STK_DRUMMER_H
+00019 #define STK_DRUMMER_H
+00020 
+00021 #include "Instrmnt.h"
+00022 #include "FileWvIn.h"
+00023 #include "OnePole.h"
+00024 
+00025 const int DRUM_NUMWAVES = 11;
+00026 const int DRUM_POLYPHONY = 4;
+00027 
 00028 class Drummer : public Instrmnt
-00029 {
-00030  public:
-00032 
-00035   Drummer();
-00036 
-00038   ~Drummer();
-00039 
-00041 
-00047   void noteOn(StkFloat instrument, StkFloat amplitude);
-00048 
-00050   void noteOff(StkFloat amplitude);
-00051 
-00053   StkFloat tick();
-00054 
-00056   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00057 
-00059 
-00065   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00066 
-00067  protected:  
-00068   WvIn    *waves_[DRUM_POLYPHONY];
-00069   OnePole *filters_[DRUM_POLYPHONY];
-00070   int      sounding_[DRUM_POLYPHONY];
-00071   int      nSounding_;
-00072 };
-00073 
-00074 #endif
+00029 {
+00030  public:
+00032 
+00035   Drummer();
+00036 
+00038   ~Drummer();
+00039 
+00041 
+00047   void noteOn(StkFloat instrument, StkFloat amplitude);
+00048 
+00050   void noteOff(StkFloat amplitude);
+00051 
+00052  protected:
+00053 
+00054   StkFloat computeSample( void );
+00055 
+00056   FileWvIn waves_[DRUM_POLYPHONY];
+00057   OnePole  filters_[DRUM_POLYPHONY];
+00058   std::vector<int> soundOrder_;
+00059   std::vector<int> soundNumber_;
+00060   int      nSounding_;
+00061 };
+00062 
+00063 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Echo_8h-source.html b/doc/html/Echo_8h-source.html index 8dc8e7d..5d479f9 100644 --- a/doc/html/Echo_8h-source.html +++ b/doc/html/Echo_8h-source.html @@ -8,50 +8,48 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Echo.h

00001 /***************************************************/
-00009 /***************************************************/
-00010 
-00011 #ifndef STK_ECHO_H
-00012 #define STK_ECHO_H
-00013 
-00014 #include "Effect.h" 
-00015 #include "Delay.h" 
-00016 
+
+
+

Echo.h

00001 /***************************************************/
+00009 /***************************************************/
+00010 
+00011 #ifndef STK_ECHO_H
+00012 #define STK_ECHO_H
+00013 
+00014 #include "Effect.h" 
+00015 #include "Delay.h" 
+00016 
 00017 class Echo : public Effect
-00018 {
-00019  public:
-00021 
-00024   Echo( unsigned long maximumDelay = (unsigned long) Stk::sampleRate() );
-00025 
-00027   ~Echo();
-00028 
-00030   void clear();
-00031 
-00033   void setMaximumDelay( unsigned long delay );
-00034 
-00036   void setDelay( unsigned long delay );
-00037 
-00039   StkFloat tick(StkFloat input);
-00040 
-00042   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00043 
-00045 
-00051   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00052 
-00053  protected:  
-00054   Delay delayLine_;
-00055   unsigned long length_;
-00056 
-00057 };
-00058 
-00059 #endif
-00060 
+00018 {
+00019  public:
+00021 
+00024   Echo( unsigned long maximumDelay = (unsigned long) Stk::sampleRate() );
+00025 
+00027   ~Echo();
+00028 
+00030   void clear();
+00031 
+00033   void setMaximumDelay( unsigned long delay );
+00034 
+00036   void setDelay( unsigned long delay );
+00037 
+00038  protected:
+00039 
+00040   StkFloat computeSample( StkFloat input );
+00041 
+00042   Delay delayLine_;
+00043   unsigned long length_;
+00044 
+00045 };
+00046 
+00047 #endif
+00048 
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Effect_8h-source.html b/doc/html/Effect_8h-source.html index ae50928..36cbf8b 100644 --- a/doc/html/Effect_8h-source.html +++ b/doc/html/Effect_8h-source.html @@ -8,56 +8,61 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Effect.h

00001 /***************************************************/
-00010 /***************************************************/
-00011 
-00012 #include "Stk.h"
-00013 
-00014 #ifndef STK_EFFECT_H
-00015 #define STK_EFFECT_H
-00016 
+
+
+

Effect.h

00001 /***************************************************/
+00010 /***************************************************/
+00011 
+00012 #include "Stk.h"
+00013 
+00014 #ifndef STK_EFFECT_H
+00015 #define STK_EFFECT_H
+00016 
 00017 class Effect : public Stk
-00018 {
-00019  public:
-00021   Effect();
-00022 
-00024   virtual ~Effect();
-00025 
-00027   virtual void clear() = 0;
-00028 
-00030   void setEffectMix(StkFloat mix);
-00031 
-00033   StkFloat lastOut() const;
-00034 
-00036   StkFloat lastOutLeft() const;
-00037 
-00039   StkFloat lastOutRight() const;
-00040 
-00042   virtual StkFloat tick( StkFloat input ) = 0;
-00043 
-00045   virtual StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00046 
-00048 
-00054   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00055 
-00056  protected:
-00057 
-00058   // Returns true if argument value is prime.
-00059   bool isPrime( int number );
-00060 
-00061   StkFloat lastOutput_[2];
-00062   StkFloat effectMix_;
-00063 
-00064 };
-00065 
-00066 #endif
-00067 
+00018 {
+00019  public:
+00021   Effect();
+00022 
+00024   virtual ~Effect();
+00025 
+00027   virtual void clear() = 0;
+00028 
+00030   void setEffectMix(StkFloat mix);
+00031 
+00033   StkFloat lastOut() const;
+00034 
+00036   StkFloat lastOutLeft() const;
+00037 
+00039   StkFloat lastOutRight() const;
+00040 
+00042   StkFloat tick( StkFloat input );
+00043 
+00045 
+00051   StkFrames& tick( StkFrames& frames, unsigned int channel = 0 );
+00052 
+00053  protected:
+00054 
+00055   // This abstract function must be implemented in all subclasses.
+00056   // It is used to get around a C++ problem with overloaded virtual
+00057   // functions.
+00058   virtual StkFloat computeSample( StkFloat input ) = 0;
+00059 
+00060   // Returns true if argument value is prime.
+00061   bool isPrime( int number );
+00062 
+00063   StkFloat lastOutput_[2];
+00064   StkFloat effectMix_;
+00065 
+00066 };
+00067 
+00068 #endif
+00069 
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Envelope_8h-source.html b/doc/html/Envelope_8h-source.html index d229c61..9f65d60 100644 --- a/doc/html/Envelope_8h-source.html +++ b/doc/html/Envelope_8h-source.html @@ -8,57 +8,59 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Envelope.h

00001 /***************************************************/
-00014 /***************************************************/
-00015 
-00016 #ifndef STK_ENVELOPE_H
-00017 #define STK_ENVELOPE_H
-00018 
-00019 #include "Generator.h"
-00020 
+
+
+

Envelope.h

00001 /***************************************************/
+00014 /***************************************************/
+00015 
+00016 #ifndef STK_ENVELOPE_H
+00017 #define STK_ENVELOPE_H
+00018 
+00019 #include "Generator.h"
+00020 
 00021 class Envelope : public Generator
-00022 {
-00023  public:
-00024 
-00026   Envelope(void);
-00027 
-00029   virtual ~Envelope(void);
-00030 
-00032   virtual void keyOn(void);
-00033 
-00035   virtual void keyOff(void);
-00036 
-00038   void setRate(StkFloat rate);
-00039 
-00041   void setTime(StkFloat time);
-00042 
-00044   virtual void setTarget(StkFloat target);
-00045 
-00047   virtual void setValue(StkFloat value);
-00048 
-00050   virtual int getState(void) const;
-00051 
-00053   virtual StkFloat tick(void);
-00054 
-00056   virtual StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00057 
-00059 
-00065   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00066 
-00067  protected:
-00068   StkFloat value_;
-00069   StkFloat target_;
-00070   StkFloat rate_;
-00071   int state_;
-00072 };
-00073 
-00074 #endif
+00022 {
+00023  public:
+00024 
+00026   Envelope(void);
+00027 
+00029   Envelope( const Envelope& e );
+00030 
+00032   virtual ~Envelope(void);
+00033 
+00035   Envelope& operator= ( const Envelope& e );
+00036 
+00038   virtual void keyOn(void);
+00039 
+00041   virtual void keyOff(void);
+00042 
+00044   void setRate(StkFloat rate);
+00045 
+00047   void setTime(StkFloat time);
+00048 
+00050   virtual void setTarget(StkFloat target);
+00051 
+00053   virtual void setValue(StkFloat value);
+00054 
+00056   virtual int getState(void) const;
+00057 
+00058  protected:
+00059 
+00060   virtual StkFloat computeSample( void );
+00061 
+00062   StkFloat value_;
+00063   StkFloat target_;
+00064   StkFloat rate_;
+00065   int state_;
+00066 };
+00067 
+00068 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/FMVoices_8h-source.html b/doc/html/FMVoices_8h-source.html index 06a7d5c..53c531a 100644 --- a/doc/html/FMVoices_8h-source.html +++ b/doc/html/FMVoices_8h-source.html @@ -8,48 +8,46 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

FMVoices.h

00001 /***************************************************/
-00031 /***************************************************/
-00032 
-00033 #ifndef STK_FMVOICES_H
-00034 #define STK_FMVOICES_H
-00035 
-00036 #include "FM.h"
-00037 
+
+
+

FMVoices.h

00001 /***************************************************/
+00031 /***************************************************/
+00032 
+00033 #ifndef STK_FMVOICES_H
+00034 #define STK_FMVOICES_H
+00035 
+00036 #include "FM.h"
+00037 
 00038 class FMVoices : public FM
-00039 {
-00040  public:
-00042 
-00045   FMVoices();
-00046 
-00048   ~FMVoices();
-00049 
-00051   virtual void setFrequency(StkFloat frequency);
-00052 
-00054   void noteOn(StkFloat frequency, StkFloat amplitude);
-00055 
-00057   StkFloat tick();
-00058 
-00060   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00061 
-00063 
-00069   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00070 
-00072   virtual void controlChange(int number, StkFloat value);
-00073 
-00074  protected:
-00075   int currentVowel_;
-00076   StkFloat tilt_[3];
-00077   StkFloat mods_[3];
-00078 };
-00079 
-00080 #endif
+00039 {
+00040  public:
+00042 
+00045   FMVoices();
+00046 
+00048   ~FMVoices();
+00049 
+00051   virtual void setFrequency(StkFloat frequency);
+00052 
+00054   void noteOn(StkFloat frequency, StkFloat amplitude);
+00055 
+00057   virtual void controlChange(int number, StkFloat value);
+00058 
+00059  protected:
+00060 
+00061   StkFloat computeSample( void );
+00062 
+00063   int currentVowel_;
+00064   StkFloat tilt_[3];
+00065   StkFloat mods_[3];
+00066 };
+00067 
+00068 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/FM_8h-source.html b/doc/html/FM_8h-source.html index e44d8cc..d794bb4 100644 --- a/doc/html/FM_8h-source.html +++ b/doc/html/FM_8h-source.html @@ -8,83 +8,82 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

FM.h

00001 /***************************************************/
-00024 /***************************************************/
-00025 
-00026 #ifndef STK_FM_H
-00027 #define STK_FM_H
-00028 
-00029 #include "Instrmnt.h"
-00030 #include "ADSR.h"
-00031 #include "WaveLoop.h"
-00032 #include "TwoZero.h"
-00033 
-00034 class FM : public Instrmnt
-00035 {
-00036  public:
-00038 
-00041   FM( unsigned int operators = 4 );
-00042 
-00044   virtual ~FM();
-00045 
-00047   void clear();
-00048 
-00050   void loadWaves(const char **filenames);
-00051 
-00053   virtual void setFrequency(StkFloat frequency);
-00054 
-00056   void setRatio(unsigned int waveIndex, StkFloat ratio);
-00057 
-00059   void setGain(unsigned int waveIndex, StkFloat gain);
-00060 
-00062   void setModulationSpeed(StkFloat mSpeed);
-00063 
-00065   void setModulationDepth(StkFloat mDepth);
-00066 
-00068   void setControl1(StkFloat cVal);
-00069 
-00071   void setControl2(StkFloat cVal);
-00072 
-00074   void keyOn();
-00075 
-00077   void keyOff();
-00078 
-00080   void noteOff(StkFloat amplitude);
-00081 
-00083   virtual StkFloat tick() = 0;
-00084 
-00086   virtual StkFloat *tick(StkFloat *vector, unsigned int vectorSize) = 0;
-00087 
-00089 
-00095   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 ) = 0;
-00096 
-00098   virtual void controlChange(int number, StkFloat value);
-00099 
-00100  protected:  
-00101   std::vector<ADSR *> adsr_; 
-00102   std::vector<WaveLoop *> waves_;
-00103   WaveLoop *vibrato_;
-00104   TwoZero  twozero_;
-00105   unsigned int nOperators_;
-00106   StkFloat baseFrequency_;
-00107   std::vector<StkFloat> ratios_;
-00108   std::vector<StkFloat> gains_;
-00109   StkFloat modDepth_;
-00110   StkFloat control1_;
-00111   StkFloat control2_;
-00112   StkFloat fmGains_[100];
-00113   StkFloat fmSusLevels_[16];
-00114   StkFloat fmAttTimes_[32];
-00115 
-00116 };
-00117 
-00118 #endif
+
+
+

FM.h

00001 /***************************************************/
+00024 /***************************************************/
+00025 
+00026 #ifndef STK_FM_H
+00027 #define STK_FM_H
+00028 
+00029 #include "Instrmnt.h"
+00030 #include "ADSR.h"
+00031 #include "WaveLoop.h"
+00032 #include "SineWave.h"
+00033 #include "TwoZero.h"
+00034 
+00035 class FM : public Instrmnt
+00036 {
+00037  public:
+00039 
+00042   FM( unsigned int operators = 4 );
+00043 
+00045   virtual ~FM();
+00046 
+00048   void clear();
+00049 
+00051   void loadWaves(const char **filenames);
+00052 
+00054   virtual void setFrequency(StkFloat frequency);
+00055 
+00057   void setRatio(unsigned int waveIndex, StkFloat ratio);
+00058 
+00060   void setGain(unsigned int waveIndex, StkFloat gain);
+00061 
+00063   void setModulationSpeed(StkFloat mSpeed);
+00064 
+00066   void setModulationDepth(StkFloat mDepth);
+00067 
+00069   void setControl1(StkFloat cVal);
+00070 
+00072   void setControl2(StkFloat cVal);
+00073 
+00075   void keyOn();
+00076 
+00078   void keyOff();
+00079 
+00081   void noteOff(StkFloat amplitude);
+00082 
+00084   virtual void controlChange(int number, StkFloat value);
+00085 
+00086  protected:
+00087 
+00088   virtual StkFloat computeSample( void ) = 0;
+00089 
+00090   std::vector<ADSR *> adsr_; 
+00091   std::vector<WaveLoop *> waves_;
+00092   SineWave vibrato_;
+00093   TwoZero  twozero_;
+00094   unsigned int nOperators_;
+00095   StkFloat baseFrequency_;
+00096   std::vector<StkFloat> ratios_;
+00097   std::vector<StkFloat> gains_;
+00098   StkFloat modDepth_;
+00099   StkFloat control1_;
+00100   StkFloat control2_;
+00101   StkFloat fmGains_[100];
+00102   StkFloat fmSusLevels_[16];
+00103   StkFloat fmAttTimes_[32];
+00104 
+00105 };
+00106 
+00107 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/FileRead_8h-source.html b/doc/html/FileRead_8h-source.html new file mode 100644 index 0000000..108fa53 --- /dev/null +++ b/doc/html/FileRead_8h-source.html @@ -0,0 +1,85 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ + +

FileRead.h

00001 /***************************************************/
+00030 /***************************************************/
+00031 
+00032 #ifndef STK_FILEREAD_H
+00033 #define STK_FILEREAD_H
+00034 
+00035 #include "Stk.h"
+00036 
+00037 class FileRead : public Stk
+00038 {
+00039 public:
+00041   FileRead();
+00042 
+00044 
+00048   FileRead( std::string fileName, bool typeRaw = false );
+00049 
+00051   ~FileRead();
+00052 
+00054 
+00060   void open( std::string fileName, bool typeRaw = false );
+00061 
+00063   void close( void );
+00064 
+00066   bool isOpen( void );
+00067 
+00069   unsigned long fileSize( void ) const { return fileSize_; };
+00070 
+00072   unsigned int channels( void ) const { return channels_; };
+00073 
+00075 
+00080   StkFloat fileRate( void ) const { return fileRate_; };
+00081 
+00083 
+00095   void read( StkFrames& buffer, unsigned long startFrame = 0, bool doNormalize = true );
+00096 
+00097 protected:
+00098 
+00099   // Get STK RAW file information.
+00100   bool getRawInfo( const char *fileName );
+00101 
+00102   // Get WAV file header information.
+00103   bool getWavInfo( const char *fileName );
+00104 
+00105   // Get SND (AU) file header information.
+00106   bool getSndInfo( const char *fileName );
+00107 
+00108   // Get AIFF file header information.
+00109   bool getAifInfo( const char *fileName );
+00110 
+00111   // Get MAT-file header information.
+00112   bool getMatInfo( const char *fileName );
+00113 
+00114   FILE *fd_;
+00115   bool byteswap_;
+00116   bool wavFile_;
+00117   unsigned long fileSize_;
+00118   unsigned long dataOffset_;
+00119   unsigned int channels_;
+00120   StkFormat dataType_;
+00121   StkFloat fileRate_;
+00122 };
+00123 
+00124 #endif
+

+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/FileWrite_8h-source.html b/doc/html/FileWrite_8h-source.html new file mode 100644 index 0000000..7f27f47 --- /dev/null +++ b/doc/html/FileWrite_8h-source.html @@ -0,0 +1,99 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ + +

FileWrite.h

00001 /***************************************************/
+00022 /***************************************************/
+00023 
+00024 #ifndef STK_FILEWRITE_H
+00025 #define STK_FILEWRITE_H
+00026 
+00027 #include "Stk.h"
+00028 
+00029 class FileWrite : public Stk
+00030 {
+00031  public:
+00032 
+00033   typedef unsigned long FILE_TYPE;
+00034 
+00035   static const FILE_TYPE FILE_RAW; 
+00036   static const FILE_TYPE FILE_WAV; 
+00037   static const FILE_TYPE FILE_SND; 
+00038   static const FILE_TYPE FILE_AIF; 
+00039   static const FILE_TYPE FILE_MAT; 
+00041 
+00042   FileWrite();
+00043 
+00045 
+00048   FileWrite( std::string fileName, unsigned int nChannels = 1, FILE_TYPE type = FILE_WAV, Stk::StkFormat format = STK_SINT16 );
+00049 
+00051   virtual ~FileWrite();
+00052 
+00054 
+00057   void open( std::string fileName, unsigned int nChannels = 1,
+00058              FileWrite::FILE_TYPE type = FILE_WAV, Stk::StkFormat format = STK_SINT16 );
+00059 
+00061   void close( void );
+00062 
+00064   bool isOpen( void );
+00065 
+00067 
+00072   void write( StkFrames& buffer );
+00073 
+00074  protected:
+00075 
+00076   // Write STK RAW file header.
+00077   bool setRawFile( const char *fileName );
+00078 
+00079   // Write WAV file header.
+00080   bool setWavFile( const char *fileName );
+00081 
+00082   // Close WAV file, updating the header.
+00083   void closeWavFile( void );
+00084 
+00085   // Write SND (AU) file header.
+00086   bool setSndFile( const char *fileName );
+00087 
+00088   // Close SND file, updating the header.
+00089   void closeSndFile( void );
+00090 
+00091   // Write AIFF file header.
+00092   bool setAifFile( const char *fileName );
+00093 
+00094   // Close AIFF file, updating the header.
+00095   void closeAifFile( void );
+00096 
+00097   // Write MAT-file header.
+00098   bool setMatFile( const char *fileName );
+00099 
+00100   // Close MAT-file, updating the header.
+00101   void closeMatFile( void );
+00102 
+00103   FILE *fd_;
+00104   FILE_TYPE fileType_;
+00105   StkFormat dataType_;
+00106   unsigned int channels_;
+00107   unsigned long frameCounter_;
+00108   bool byteswap_;
+00109 
+00110 };
+00111 
+00112 #endif
+

+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/FileWvIn_8h-source.html b/doc/html/FileWvIn_8h-source.html new file mode 100644 index 0000000..6e2abde --- /dev/null +++ b/doc/html/FileWvIn_8h-source.html @@ -0,0 +1,91 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ + +

FileWvIn.h

00001 /***************************************************/
+00032 /***************************************************/
+00033 
+00034 #ifndef STK_FILEWVIN_H
+00035 #define STK_FILEWVIN_H
+00036 
+00037 #include "WvIn.h"
+00038 #include "FileRead.h"
+00039 
+00040 class FileWvIn : public WvIn
+00041 {
+00042 public:
+00044   FileWvIn( unsigned long chunkThreshold = 1000000, unsigned long chunkSize = 1024 );
+00045 
+00047 
+00051   FileWvIn( std::string fileName, bool raw = false, bool doNormalize = true,
+00052             unsigned long chunkThreshold = 1000000, unsigned long chunkSize = 1024 );
+00053 
+00055   virtual ~FileWvIn();
+00056 
+00058 
+00067   void openFile( std::string fileName, bool raw = false, bool doNormalize = true );
+00068 
+00070   void closeFile( void );
+00071 
+00073   void reset( void );
+00074 
+00076 
+00080   void normalize( void );
+00081 
+00083 
+00087   void normalize( StkFloat peak );
+00088 
+00090   unsigned long getSize( void ) const { return data_.frames(); };
+00091 
+00093 
+00098   StkFloat getFileRate( void ) const { return data_.dataRate(); };
+00099 
+00101   bool isFinished( void ) const { return finished_; };
+00102 
+00104 
+00107   void setRate( StkFloat rate );
+00108 
+00110 
+00113   virtual void addTime( StkFloat time );
+00114 
+00116 
+00122   void setInterpolate( bool doInterpolate ) { interpolate_ = doInterpolate; };
+00123 
+00124   StkFloat lastOut( void ) const;
+00125 
+00126 protected:
+00127 
+00128   virtual void computeFrame( void );
+00129 
+00130   FileRead file_;
+00131   bool finished_;
+00132   bool interpolate_;
+00133   bool normalizing_;
+00134   bool chunking_;
+00135   StkFloat time_;
+00136   StkFloat rate_;
+00137   unsigned long chunkThreshold_;
+00138   unsigned long chunkSize_;
+00139   long chunkPointer_;
+00140 
+00141 };
+00142 
+00143 #endif
+

+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/FileWvOut_8h-source.html b/doc/html/FileWvOut_8h-source.html new file mode 100644 index 0000000..c46d65b --- /dev/null +++ b/doc/html/FileWvOut_8h-source.html @@ -0,0 +1,72 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ + +

FileWvOut.h

00001 /***************************************************/
+00022 /***************************************************/
+00023 
+00024 #ifndef STK_FILEWVOUT_H
+00025 #define STK_FILEWVOUT_H
+00026 
+00027 #include "WvOut.h"
+00028 #include "FileWrite.h"
+00029 
+00030 class FileWvOut : public WvOut
+00031 {
+00032  public:
+00033 
+00035 
+00039   FileWvOut( unsigned int bufferFrames = 1024 );
+00040 
+00042 
+00045   FileWvOut( std::string fileName,
+00046              unsigned int nChannels = 1,
+00047              FileWrite::FILE_TYPE type = FileWrite::FILE_WAV,
+00048              Stk::StkFormat format = STK_SINT16,
+00049              unsigned int bufferFrames = 1024 );
+00050 
+00052   virtual ~FileWvOut();
+00053 
+00055 
+00060   void openFile( std::string fileName,
+00061                  unsigned int nChannels,
+00062                  FileWrite::FILE_TYPE type,
+00063                  Stk::StkFormat format );
+00064 
+00066 
+00070   void closeFile( void );
+00071 
+00072  protected:
+00073 
+00074   void computeSample( const StkFloat sample );
+00075 
+00076   void computeFrames( const StkFrames& frames );
+00077 
+00078   void incrementFrame( void );
+00079 
+00080   FileWrite file_;
+00081   unsigned int bufferFrames_;
+00082   unsigned int bufferIndex_;
+00083   unsigned int iData_;
+00084 
+00085 };
+00086 
+00087 #endif
+

+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/Filter_8h-source.html b/doc/html/Filter_8h-source.html index c76a422..2fe10cf 100644 --- a/doc/html/Filter_8h-source.html +++ b/doc/html/Filter_8h-source.html @@ -8,67 +8,67 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Filter.h

00001 /***************************************************/
-00028 /***************************************************/
-00029 
-00030 #ifndef STK_FILTER_H
-00031 #define STK_FILTER_H
-00032 
-00033 #include "Stk.h"
-00034 #include <vector>
-00035 #include <valarray>
-00036 
-00037 class Filter : public Stk
-00038 {
-00039 public:
-00041   Filter(void);
-00042 
-00044 
-00048   Filter( std::vector<StkFloat> &bCoefficients, std::vector<StkFloat> &aCoefficients );
-00049 
-00051   virtual ~Filter(void);
-00052 
-00054   void clear(void);
-00055 
-00057 
-00063   void setCoefficients( std::vector<StkFloat> &bCoefficients, std::vector<StkFloat> &aCoefficients );
-00064 
-00066 
-00073   void setNumerator( std::vector<StkFloat> &bCoefficients );
-00074 
-00076 
-00084   void setDenominator( std::vector<StkFloat> &aCoefficients );
-00085 
-00087 
-00091   virtual void setGain(StkFloat gain);
-00092 
-00094   virtual StkFloat getGain(void) const;
-00095 
-00097   virtual StkFloat lastOut(void) const;
-00098 
-00100   virtual StkFloat tick(StkFloat sample);
-00101 
-00103   virtual StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00104 
-00106 
-00112   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00113 
-00114 protected:
-00115   StkFloat gain_;
-00116   std::vector<StkFloat> b_;
-00117   std::vector<StkFloat> a_;
-00118   std::vector<StkFloat> outputs_;
-00119   std::vector<StkFloat> inputs_;
-00120 
-00121 };
-00122 
-00123 #endif
+
+
+

Filter.h

00001 /***************************************************/
+00028 /***************************************************/
+00029 
+00030 #ifndef STK_FILTER_H
+00031 #define STK_FILTER_H
+00032 
+00033 #include "Stk.h"
+00034 #include <vector>
+00035 
+00036 class Filter : public Stk
+00037 {
+00038 public:
+00040   Filter(void);
+00041 
+00043 
+00047   Filter( std::vector<StkFloat> &bCoefficients, std::vector<StkFloat> &aCoefficients );
+00048 
+00050   virtual ~Filter(void);
+00051 
+00053   void clear(void);
+00054 
+00056 
+00063   void setCoefficients( std::vector<StkFloat> &bCoefficients, std::vector<StkFloat> &aCoefficients, bool clearState = false );
+00064 
+00066 
+00073   void setNumerator( std::vector<StkFloat> &bCoefficients, bool clearState = false );
+00074 
+00076 
+00085   void setDenominator( std::vector<StkFloat> &aCoefficients, bool clearState = false );
+00086 
+00088 
+00092   virtual void setGain(StkFloat gain);
+00093 
+00095   virtual StkFloat getGain(void) const;
+00096 
+00098   virtual StkFloat lastOut(void) const;
+00099 
+00101   virtual StkFloat tick( StkFloat input );
+00102 
+00104 
+00110   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 0 );
+00111 
+00112 protected:
+00113 
+00114   StkFloat gain_;
+00115   std::vector<StkFloat> b_;
+00116   std::vector<StkFloat> a_;
+00117   std::vector<StkFloat> outputs_;
+00118   std::vector<StkFloat> inputs_;
+00119 
+00120 };
+00121 
+00122 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Flute_8h-source.html b/doc/html/Flute_8h-source.html index 9332c64..3822e69 100644 --- a/doc/html/Flute_8h-source.html +++ b/doc/html/Flute_8h-source.html @@ -8,84 +8,82 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Flute.h

00001 /***************************************************/
-00023 /***************************************************/
-00024 
-00025 #ifndef STK_FLUTE_H
-00026 #define STK_FLUTE_H
-00027 
-00028 #include "Instrmnt.h"
-00029 #include "JetTable.h"
-00030 #include "DelayL.h"
-00031 #include "OnePole.h"
-00032 #include "PoleZero.h"
-00033 #include "Noise.h"
-00034 #include "ADSR.h"
-00035 #include "WaveLoop.h"
-00036 
+
+
+

Flute.h

00001 /***************************************************/
+00023 /***************************************************/
+00024 
+00025 #ifndef STK_FLUTE_H
+00026 #define STK_FLUTE_H
+00027 
+00028 #include "Instrmnt.h"
+00029 #include "JetTable.h"
+00030 #include "DelayL.h"
+00031 #include "OnePole.h"
+00032 #include "PoleZero.h"
+00033 #include "Noise.h"
+00034 #include "ADSR.h"
+00035 #include "SineWave.h"
+00036 
 00037 class Flute : public Instrmnt
-00038 {
-00039  public:
-00041 
-00044   Flute(StkFloat lowestFrequency);
-00045 
-00047   ~Flute();
-00048 
-00050   void clear();
-00051 
-00053   void setFrequency(StkFloat frequency);
-00054 
-00056   void setJetReflection(StkFloat coefficient);
-00057 
-00059   void setEndReflection(StkFloat coefficient);
-00060 
-00062   void setJetDelay(StkFloat aRatio);
-00063 
-00065   void startBlowing(StkFloat amplitude, StkFloat rate);
-00066 
-00068   void stopBlowing(StkFloat rate);
-00069 
-00071   void noteOn(StkFloat frequency, StkFloat amplitude);
-00072 
-00074   void noteOff(StkFloat amplitude);
-00075 
-00077   StkFloat tick();
-00078 
-00080   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00081 
-00083 
-00089   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00090 
-00092   void controlChange(int number, StkFloat value);
-00093 
-00094  protected:  
-00095   DelayL   jetDelay_;
-00096   DelayL   boreDelay_;
-00097   JetTable jetTable_;
-00098   OnePole  filter_;
-00099   PoleZero dcBlock_;
-00100   Noise    noise_;
-00101   ADSR     adsr_;
-00102   WaveLoop *vibrato_;
-00103   unsigned long length_;
-00104   StkFloat lastFrequency_;
-00105   StkFloat maxPressure_;
-00106   StkFloat jetReflection_;
-00107   StkFloat endReflection_;
-00108   StkFloat noiseGain_;
-00109   StkFloat vibratoGain_;
-00110   StkFloat outputGain_;
-00111   StkFloat jetRatio_;
-00112 
-00113 };
-00114 
-00115 #endif
+00038 {
+00039  public:
+00041 
+00044   Flute(StkFloat lowestFrequency);
+00045 
+00047   ~Flute();
+00048 
+00050   void clear();
+00051 
+00053   void setFrequency(StkFloat frequency);
+00054 
+00056   void setJetReflection(StkFloat coefficient);
+00057 
+00059   void setEndReflection(StkFloat coefficient);
+00060 
+00062   void setJetDelay(StkFloat aRatio);
+00063 
+00065   void startBlowing(StkFloat amplitude, StkFloat rate);
+00066 
+00068   void stopBlowing(StkFloat rate);
+00069 
+00071   void noteOn(StkFloat frequency, StkFloat amplitude);
+00072 
+00074   void noteOff(StkFloat amplitude);
+00075 
+00077   void controlChange(int number, StkFloat value);
+00078 
+00079  protected:
+00080 
+00081   StkFloat computeSample( void );
+00082 
+00083   DelayL   jetDelay_;
+00084   DelayL   boreDelay_;
+00085   JetTable jetTable_;
+00086   OnePole  filter_;
+00087   PoleZero dcBlock_;
+00088   Noise    noise_;
+00089   ADSR     adsr_;
+00090   SineWave vibrato_;
+00091   unsigned long length_;
+00092   StkFloat lastFrequency_;
+00093   StkFloat maxPressure_;
+00094   StkFloat jetReflection_;
+00095   StkFloat endReflection_;
+00096   StkFloat noiseGain_;
+00097   StkFloat vibratoGain_;
+00098   StkFloat outputGain_;
+00099   StkFloat jetRatio_;
+00100 
+00101 };
+00102 
+00103 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/FormSwep_8h-source.html b/doc/html/FormSwep_8h-source.html index d7cbb85..4e113a6 100644 --- a/doc/html/FormSwep_8h-source.html +++ b/doc/html/FormSwep_8h-source.html @@ -8,67 +8,65 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

FormSwep.h

00001 /***************************************************/
-00013 /***************************************************/
-00014 
-00015 #ifndef STK_FORMSWEP_H
-00016 #define STK_FORMSWEP_H
-00017 
-00018 #include "BiQuad.h"
-00019 
+
+
+

FormSwep.h

00001 /***************************************************/
+00013 /***************************************************/
+00014 
+00015 #ifndef STK_FORMSWEP_H
+00016 #define STK_FORMSWEP_H
+00017 
+00018 #include "BiQuad.h"
+00019 
 00020 class FormSwep : public BiQuad
-00021 {
-00022  public:
-00023 
-00025   FormSwep();
-00026 
-00028   ~FormSwep();
-00029 
-00031 
-00042   void setResonance(StkFloat frequency, StkFloat radius);
-00043 
-00045   void setStates(StkFloat frequency, StkFloat radius, StkFloat gain = 1.0);
-00046 
-00048   void setTargets(StkFloat frequency, StkFloat radius, StkFloat gain = 1.0);
-00049 
-00051 
-00059   void setSweepRate(StkFloat rate);    
-00060 
-00062 
-00067   void setSweepTime(StkFloat time);    
-00068 
-00070   StkFloat tick(StkFloat sample);
-00071 
-00073   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00074 
-00076 
-00082   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00083 
-00084  protected:  
-00085   bool dirty_;
-00086   StkFloat frequency_;
-00087   StkFloat radius_;
-00088   StkFloat startFrequency_;
-00089   StkFloat startRadius_;
-00090   StkFloat startGain_;
-00091   StkFloat targetFrequency_;
-00092   StkFloat targetRadius_;
-00093   StkFloat targetGain_;
-00094   StkFloat deltaFrequency_;
-00095   StkFloat deltaRadius_;
-00096   StkFloat deltaGain_;
-00097   StkFloat sweepState_;
-00098   StkFloat sweepRate_;
-00099 
-00100 };
-00101 
-00102 #endif
+00021 {
+00022  public:
+00023 
+00025   FormSwep();
+00026 
+00028   ~FormSwep();
+00029 
+00031 
+00042   void setResonance(StkFloat frequency, StkFloat radius);
+00043 
+00045   void setStates(StkFloat frequency, StkFloat radius, StkFloat gain = 1.0);
+00046 
+00048   void setTargets(StkFloat frequency, StkFloat radius, StkFloat gain = 1.0);
+00049 
+00051 
+00059   void setSweepRate(StkFloat rate);
+00060 
+00062 
+00067   void setSweepTime(StkFloat time);
+00068 
+00069  protected:
+00070 
+00071   StkFloat computeSample( StkFloat input );
+00072 
+00073   bool dirty_;
+00074   StkFloat frequency_;
+00075   StkFloat radius_;
+00076   StkFloat startFrequency_;
+00077   StkFloat startRadius_;
+00078   StkFloat startGain_;
+00079   StkFloat targetFrequency_;
+00080   StkFloat targetRadius_;
+00081   StkFloat targetGain_;
+00082   StkFloat deltaFrequency_;
+00083   StkFloat deltaRadius_;
+00084   StkFloat deltaGain_;
+00085   StkFloat sweepState_;
+00086   StkFloat sweepRate_;
+00087 
+00088 };
+00089 
+00090 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Function_8h-source.html b/doc/html/Function_8h-source.html index 3dd691a..40c8429 100644 --- a/doc/html/Function_8h-source.html +++ b/doc/html/Function_8h-source.html @@ -8,44 +8,49 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Function.h

00001 /***************************************************/
-00011 /***************************************************/
-00012 
-00013 #include "Stk.h"
-00014 
-00015 #ifndef STK_FUNCTION_H
-00016 #define STK_FUNCTION_H
-00017 
+
+
+

Function.h

00001 /***************************************************/
+00011 /***************************************************/
+00012 
+00013 #include "Stk.h"
+00014 
+00015 #ifndef STK_FUNCTION_H
+00016 #define STK_FUNCTION_H
+00017 
 00018 class Function : public Stk
-00019 {
-00020  public:
-00022   Function();
-00023 
-00025   virtual ~Function();
-00026 
+00019 {
+00020  public:
+00022   Function();
+00023 
+00025   virtual ~Function();
+00026 
 00028   virtual StkFloat lastOut() const { return lastOutput_; };
-00029 
-00031   virtual StkFloat tick( StkFloat input ) = 0;
-00032 
-00034   virtual StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00035 
-00037 
-00043   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00044 
-00045  protected:
-00046 
-00047   StkFloat lastOutput_;
-00048 
-00049 };
-00050 
-00051 #endif
-00052 
+00029 
+00031   StkFloat tick( StkFloat input );
+00032 
+00034 
+00040   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 0 );
+00041 
+00042  protected:
+00043 
+00044   // This abstract function must be implemented in all subclasses.
+00045   // It is used to get around a C++ problem with overloaded virtual
+00046   // functions.
+00047   virtual StkFloat computeSample( StkFloat input ) = 0;
+00048 
+00049   StkFloat lastOutput_;
+00050 
+00051 };
+00052 
+00053 #endif
+00054 
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Generator_8h-source.html b/doc/html/Generator_8h-source.html index e6e98af..da97d2d 100644 --- a/doc/html/Generator_8h-source.html +++ b/doc/html/Generator_8h-source.html @@ -8,44 +8,49 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Generator.h

00001 /***************************************************/
-00010 /***************************************************/
-00011 
-00012 #ifndef STK_GENERATOR_H
-00013 #define STK_GENERATOR_H
-00014 
-00015 #include "Stk.h"
-00016 
+
+
+

Generator.h

00001 /***************************************************/
+00010 /***************************************************/
+00011 
+00012 #ifndef STK_GENERATOR_H
+00013 #define STK_GENERATOR_H
+00014 
+00015 #include "Stk.h"
+00016 
 00017 class Generator : public Stk
-00018 {
-00019  public:
-00021   Generator();
-00022 
-00024   virtual ~Generator();
-00025 
-00027   virtual StkFloat lastOut() const { return lastOutput_; };
-00028 
-00030   virtual StkFloat tick( void ) = 0;
-00031 
-00033   virtual StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00034 
-00036 
-00042   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00043 
-00044  protected:
-00045 
-00046   StkFloat lastOutput_;
-00047 
-00048 };
-00049 
-00050 #endif
-00051 
+00018 {
+00019  public:
+00021   Generator( void );
+00022 
+00024   virtual ~Generator( void );
+00025 
+00027   virtual StkFloat lastOut( void ) const { return lastOutput_; };
+00028 
+00030   StkFloat tick( void );
+00031 
+00033 
+00039   StkFrames& tick( StkFrames& frames, unsigned int channel = 0 );
+00040 
+00041  protected:
+00042 
+00043   // This abstract function must be implemented in all subclasses.
+00044   // It is used to get around a C++ problem with overloaded virtual
+00045   // functions.
+00046   virtual StkFloat computeSample( void ) = 0;
+00047 
+00048   StkFloat lastOutput_;
+00049 
+00050 };
+00051 
+00052 #endif
+00053 
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Granulate_8h-source.html b/doc/html/Granulate_8h-source.html new file mode 100644 index 0000000..d3fdb74 --- /dev/null +++ b/doc/html/Granulate_8h-source.html @@ -0,0 +1,110 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ + +

Granulate.h

00001 /***************************************************/
+00016 /***************************************************/
+00017 
+00018 #ifndef STK_GRANULATE_H
+00019 #define STK_GRANULATE_H
+00020 
+00021 #include <vector>
+00022 #include "Generator.h"
+00023 #include "Envelope.h"
+00024 #include "Noise.h"
+00025 
+00026 class Granulate: public Generator
+00027 {
+00028  public:
+00030   Granulate( void );
+00031 
+00033   Granulate( unsigned int nVoices, std::string fileName, bool typeRaw = false );
+00034 
+00036   ~Granulate();
+00037 
+00039 
+00043   void openFile( std::string fileName, bool typeRaw = false );
+00044 
+00046 
+00050   void reset();
+00051 
+00053 
+00058   void setVoices( unsigned int nVoices = 1 );
+00059 
+00061 
+00067   void setStretch( unsigned int stretchFactor = 1 );
+00068 
+00070 
+00083   void setGrainParameters( unsigned int duration = 30, unsigned int rampPercent = 50,
+00084                            int offset = 0, unsigned int delay = 0 );
+00085 
+00087 
+00095   void setRandomFactor( StkFloat randomness = 0.1 );
+00096 
+00097   enum GrainState {
+00098     GRAIN_STOPPED,
+00099     GRAIN_FADEIN,
+00100     GRAIN_SUSTAIN,
+00101     GRAIN_FADEOUT
+00102   };
+00103 
+00104  protected:
+00105 
+00106   struct Grain {
+00107     StkFloat eScaler;
+00108     StkFloat eRate;
+00109     unsigned long attackCount;
+00110     unsigned long sustainCount;
+00111     unsigned long decayCount;
+00112     unsigned long delayCount;
+00113     unsigned long counter;
+00114     unsigned long pointer;
+00115     unsigned long startPointer;
+00116     unsigned int repeats;
+00117     GrainState state;
+00118 
+00119     // Default constructor.
+00120     Grain()
+00121       :eScaler(0.0), eRate(0.0), attackCount(0), sustainCount(0), decayCount(0),
+00122        delayCount(0), counter(0), pointer(0), startPointer(0), repeats(0), state(GRAIN_STOPPED) {}
+00123   };
+00124 
+00125   StkFloat computeSample( void );
+00126   void calculateGrain( Granulate::Grain& grain );
+00127 
+00128   StkFrames data_;
+00129   std::vector<Grain> grains_;
+00130   Noise noise;
+00131   long gPointer_;
+00132 
+00133   // Global grain parameters.
+00134   unsigned int gDuration_;
+00135   unsigned int gRampPercent_;
+00136   unsigned int gDelay_;
+00137   unsigned int gStretch_;
+00138   unsigned int stretchCounter_;
+00139   int gOffset_;
+00140   StkFloat gRandomFactor_;
+00141   StkFloat gain_;
+00142 
+00143 };
+00144 
+00145 #endif
+

+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/HevyMetl_8h-source.html b/doc/html/HevyMetl_8h-source.html index 8654b6a..c28af74 100644 --- a/doc/html/HevyMetl_8h-source.html +++ b/doc/html/HevyMetl_8h-source.html @@ -8,39 +8,38 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

HevyMetl.h

00001 /***************************************************/
-00029 /***************************************************/
-00030 
-00031 #ifndef STK_HEVYMETL_H
-00032 #define STK_HEVYMETL_H
-00033 
-00034 #include "FM.h"
-00035 
+
+
+

HevyMetl.h

00001 /***************************************************/
+00029 /***************************************************/
+00030 
+00031 #ifndef STK_HEVYMETL_H
+00032 #define STK_HEVYMETL_H
+00033 
+00034 #include "FM.h"
+00035 
 00036 class HevyMetl : public FM
-00037 {
-00038  public:
-00040 
-00043   HevyMetl();
-00044 
-00046   ~HevyMetl();
-00047 
-00049   void noteOn(StkFloat frequency, StkFloat amplitude);
-00050 
-00052   StkFloat tick();
-00053 
-00055   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00056 
-00058 
-00064   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00065 };
-00066 
-00067 #endif
+00037 {
+00038  public:
+00040 
+00043   HevyMetl();
+00044 
+00046   ~HevyMetl();
+00047 
+00049   void noteOn(StkFloat frequency, StkFloat amplitude);
+00050 
+00051  protected:
+00052 
+00053   StkFloat computeSample( void );
+00054 };
+00055 
+00056 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/InetWvIn_8h-source.html b/doc/html/InetWvIn_8h-source.html new file mode 100644 index 0000000..57ef294 --- /dev/null +++ b/doc/html/InetWvIn_8h-source.html @@ -0,0 +1,87 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ + +

InetWvIn.h

00001 /***************************************************/
+00025 /***************************************************/
+00026 
+00027 #ifndef STK_INETWVIN_H
+00028 #define STK_INETWVIN_H
+00029 
+00030 #include "WvIn.h"
+00031 #include "TcpServer.h"
+00032 #include "UdpSocket.h"
+00033 #include "Thread.h"
+00034 #include "Mutex.h"
+00035 
+00036 typedef struct {
+00037   bool finished;
+00038   void *object;
+00039 } ThreadInfo;
+00040 
+00041 class InetWvIn : public WvIn
+00042 {
+00043 public:
+00045 
+00048   InetWvIn( unsigned long bufferFrames = 1024, unsigned int nBuffers = 8 );
+00049 
+00051   ~InetWvIn();
+00052 
+00054 
+00061   void listen( int port = 2006, unsigned int nChannels = 1,
+00062                Stk::StkFormat format = STK_SINT16,
+00063                Socket::ProtocolType protocol = Socket::PROTO_TCP );
+00064 
+00066 
+00070   bool isConnected( void );
+00071 
+00072   // Called by the thread routine to receive data via the socket connection
+00073   // and fill the socket buffer.  This is not intended for general use but
+00074   // had to be made public for access from the thread.
+00075   void receive( void );
+00076 
+00077 protected:
+00078 
+00079   // Read buffered socket data into the data buffer ... will block if none available.
+00080   int readData( void );
+00081 
+00082   void computeFrame( void );
+00083 
+00084   Socket *soket_;
+00085   Thread thread_;
+00086   Mutex mutex_;
+00087   char *buffer_;
+00088   unsigned long bufferFrames_;
+00089   unsigned long bufferBytes_;
+00090   unsigned long bytesFilled_;
+00091   unsigned int nBuffers_;
+00092   unsigned long writePoint_;
+00093   unsigned long readPoint_;
+00094   long bufferCounter_;
+00095   int dataBytes_;
+00096   bool connected_;
+00097   int fd_;
+00098   ThreadInfo threadInfo_;
+00099   Stk::StkFormat dataType_;
+00100 
+00101 };
+00102 
+00103 #endif
+

+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/InetWvOut_8h-source.html b/doc/html/InetWvOut_8h-source.html new file mode 100644 index 0000000..24a9969 --- /dev/null +++ b/doc/html/InetWvOut_8h-source.html @@ -0,0 +1,71 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ + +

InetWvOut.h

00001 /***************************************************/
+00021 /***************************************************/
+00022 
+00023 #ifndef STK_INETWVOUT_H
+00024 #define STK_INETWVOUT_H
+00025 
+00026 #include "WvOut.h"
+00027 #include "Socket.h"
+00028 
+00029 class InetWvOut : public WvOut
+00030 {
+00031  public:
+00033   InetWvOut( unsigned long packetFrames = 1024 );
+00034 
+00036 
+00039   InetWvOut( int port, Socket::ProtocolType protocol = Socket::PROTO_TCP,
+00040              std::string hostname = "localhost", unsigned int nChannels = 1, Stk::StkFormat format = STK_SINT16,
+00041              unsigned long packetFrames = 1024 );
+00042 
+00044   ~InetWvOut();
+00045 
+00047 
+00050   void connect( int port, Socket::ProtocolType protocol = Socket::PROTO_TCP,
+00051                 std::string hostname = "localhost", unsigned int nChannels = 1, Stk::StkFormat format = STK_SINT16 );
+00052 
+00054   void disconnect(void);
+00055 
+00056  protected:
+00057 
+00058   void computeSample( const StkFloat sample );
+00059 
+00060   void computeFrames( const StkFrames& frames );
+00061 
+00062   void incrementFrame( void );
+00063 
+00064   // Write a buffer of length frames via the socket connection.
+00065   void writeData( unsigned long frames );
+00066 
+00067   char *buffer_;
+00068   Socket *soket_;
+00069   unsigned long bufferFrames_;
+00070   unsigned long bufferBytes_;
+00071   unsigned long bufferIndex_;
+00072   unsigned long iData_;
+00073   unsigned int dataBytes_;
+00074   Stk::StkFormat dataType_;
+00075 };
+00076 
+00077 #endif
+

+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/Instrmnt_8h-source.html b/doc/html/Instrmnt_8h-source.html index 61a294c..02c343a 100644 --- a/doc/html/Instrmnt_8h-source.html +++ b/doc/html/Instrmnt_8h-source.html @@ -8,54 +8,60 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Instrmnt.h

00001 /***************************************************/
-00010 /***************************************************/
-00011 
-00012 #ifndef STK_INSTRMNT_H
-00013 #define STK_INSTRMNT_H
-00014 
-00015 #include "Stk.h"
-00016 
+
+
+

Instrmnt.h

00001 /***************************************************/
+00010 /***************************************************/
+00011 
+00012 #ifndef STK_INSTRMNT_H
+00013 #define STK_INSTRMNT_H
+00014 
+00015 #include "Stk.h"
+00016 
 00017 class Instrmnt : public Stk
-00018 {
-00019  public:
-00021   Instrmnt();
-00022 
-00024   virtual ~Instrmnt();
-00025 
-00027   virtual void noteOn(StkFloat frequency, StkFloat amplitude) = 0;
-00028 
-00030   virtual void noteOff(StkFloat amplitude) = 0;
-00031 
-00033   virtual void setFrequency(StkFloat frequency);
-00034 
-00036   StkFloat lastOut() const;
-00037 
-00039   StkFloat lastOutLeft() const;
-00040 
-00042   StkFloat lastOutRight() const;
-00043 
-00045   virtual StkFloat tick() = 0;
-00046 
-00048   virtual StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00049 
-00051 
-00057   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00058 
-00060   virtual void controlChange(int number, StkFloat value);
-00061 
-00062   protected:
-00063     StkFloat lastOutput_;
-00064 
-00065 };
-00066 
-00067 #endif
+00018 {
+00019  public:
+00021   Instrmnt();
+00022 
+00024   virtual ~Instrmnt();
+00025 
+00027   virtual void noteOn(StkFloat frequency, StkFloat amplitude) = 0;
+00028 
+00030   virtual void noteOff(StkFloat amplitude) = 0;
+00031 
+00033   virtual void setFrequency(StkFloat frequency);
+00034 
+00036   StkFloat lastOut() const;
+00037 
+00039   StkFloat lastOutLeft() const;
+00040 
+00042   StkFloat lastOutRight() const;
+00043 
+00045   StkFloat tick( void );
+00046 
+00048 
+00054   StkFrames& tick( StkFrames& frames, unsigned int channel = 0 );
+00055 
+00057   virtual void controlChange(int number, StkFloat value);
+00058 
+00059  protected:
+00060 
+00061   // This abstract function must be implemented in all subclasses.
+00062   // It is used to get around a C++ problem with overloaded virtual
+00063   // functions.
+00064   virtual StkFloat computeSample( void ) = 0;
+00065 
+00066   StkFloat lastOutput_;
+00067 
+00068 };
+00069 
+00070 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/JCRev_8h-source.html b/doc/html/JCRev_8h-source.html index ccdc281..437f565 100644 --- a/doc/html/JCRev_8h-source.html +++ b/doc/html/JCRev_8h-source.html @@ -8,51 +8,49 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

JCRev.h

00001 /***************************************************/
-00015 /***************************************************/
-00016 
-00017 #ifndef STK_JCREV_H
-00018 #define STK_JCREV_H
-00019 
-00020 #include "Effect.h"
-00021 #include "Delay.h" 
-00022 
+
+
+

JCRev.h

00001 /***************************************************/
+00015 /***************************************************/
+00016 
+00017 #ifndef STK_JCREV_H
+00018 #define STK_JCREV_H
+00019 
+00020 #include "Effect.h"
+00021 #include "Delay.h" 
+00022 
 00023 class JCRev : public Effect
-00024 {
-00025  public:
-00027   JCRev( StkFloat T60 = 1.0 );
-00028 
-00030   ~JCRev();
-00031 
-00033   void clear();
-00034 
-00036   void setT60( StkFloat T60 );
-00037 
-00039   StkFloat tick(StkFloat input);
-00040 
-00042   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00043 
-00045 
-00051   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00052 
-00053  protected:
-00054   Delay allpassDelays_[3];
-00055   Delay combDelays_[4];
-00056   Delay outLeftDelay_;
-00057   Delay outRightDelay_;
-00058   StkFloat allpassCoefficient_;
-00059   StkFloat combCoefficient_[4];
-00060 
-00061 };
-00062 
-00063 #endif
-00064 
+00024 {
+00025  public:
+00027   JCRev( StkFloat T60 = 1.0 );
+00028 
+00030   ~JCRev();
+00031 
+00033   void clear();
+00034 
+00036   void setT60( StkFloat T60 );
+00037 
+00038  protected:
+00039 
+00040   StkFloat computeSample( StkFloat input );
+00041 
+00042   Delay allpassDelays_[3];
+00043   Delay combDelays_[4];
+00044   Delay outLeftDelay_;
+00045   Delay outRightDelay_;
+00046   StkFloat allpassCoefficient_;
+00047   StkFloat combCoefficient_[4];
+00048 
+00049 };
+00050 
+00051 #endif
+00052 
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/JetTable_8h-source.html b/doc/html/JetTable_8h-source.html index 39bc5e1..a2d1ead 100644 --- a/doc/html/JetTable_8h-source.html +++ b/doc/html/JetTable_8h-source.html @@ -8,39 +8,36 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

JetTable.h

00001 /***************************************************/
-00014 /***************************************************/
-00015 
-00016 #ifndef STK_JETTABL_H
-00017 #define STK_JETTABL_H
-00018 
-00019 #include "Function.h"
-00020 
+
+
+

JetTable.h

00001 /***************************************************/
+00014 /***************************************************/
+00015 
+00016 #ifndef STK_JETTABL_H
+00017 #define STK_JETTABL_H
+00018 
+00019 #include "Function.h"
+00020 
 00021 class JetTable : public Function
-00022 {
-00023 public:
-00025   JetTable();
-00026 
-00028   ~JetTable();
-00029 
-00031   StkFloat tick(StkFloat input);
-00032 
-00034   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00035 
-00037 
-00043   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00044 
-00045 protected:  
-00046 
-00047 };
-00048 
-00049 #endif
+00022 {
+00023 public:
+00025   JetTable();
+00026 
+00028   ~JetTable();
+00029 
+00030 protected:
+00031 
+00032   StkFloat computeSample( StkFloat input );
+00033 
+00034 };
+00035 
+00036 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Mandolin_8h-source.html b/doc/html/Mandolin_8h-source.html index c00f610..146e892 100644 --- a/doc/html/Mandolin_8h-source.html +++ b/doc/html/Mandolin_8h-source.html @@ -8,53 +8,51 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Mandolin.h

00001 /***************************************************/
-00028 /***************************************************/
-00029 
-00030 #ifndef STK_MANDOLIN_H
-00031 #define STK_MANDOLIN_H
-00032 
-00033 #include "PluckTwo.h"
-00034 #include "WvIn.h"
-00035 
+
+
+

Mandolin.h

00001 /***************************************************/
+00028 /***************************************************/
+00029 
+00030 #ifndef STK_MANDOLIN_H
+00031 #define STK_MANDOLIN_H
+00032 
+00033 #include "PluckTwo.h"
+00034 #include "FileWvIn.h"
+00035 
 00036 class Mandolin : public PluckTwo
-00037 {
-00038  public:
-00040   Mandolin(StkFloat lowestFrequency);
-00041 
-00043   ~Mandolin();
-00044 
-00046   void pluck(StkFloat amplitude);
-00047 
-00049   void pluck(StkFloat amplitude,StkFloat position);
-00050 
-00052   void noteOn(StkFloat frequency, StkFloat amplitude);
-00053 
-00055   void setBodySize(StkFloat size);
-00056 
-00058   StkFloat tick();
-00059 
-00061   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00062 
-00064 
-00070   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00071 
-00073   void controlChange(int number, StkFloat value);
-00074 
-00075   protected:  
-00076     WvIn *soundfile_[12];
-00077     int mic_;
-00078     long dampTime_;
-00079     bool waveDone_;
-00080 };
-00081 
-00082 #endif
+00037 {
+00038  public:
+00040   Mandolin(StkFloat lowestFrequency);
+00041 
+00043   ~Mandolin();
+00044 
+00046   void pluck(StkFloat amplitude);
+00047 
+00049   void pluck(StkFloat amplitude,StkFloat position);
+00050 
+00052   void noteOn(StkFloat frequency, StkFloat amplitude);
+00053 
+00055   void setBodySize(StkFloat size);
+00056 
+00058   void controlChange(int number, StkFloat value);
+00059 
+00060   protected:
+00061 
+00062   StkFloat computeSample( void );
+00063 
+00064   FileWvIn *soundfile_[12];
+00065   int mic_;
+00066   long dampTime_;
+00067   bool waveDone_;
+00068 };
+00069 
+00070 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Mesh2D_8h-source.html b/doc/html/Mesh2D_8h-source.html index 13d7407..b968667 100644 --- a/doc/html/Mesh2D_8h-source.html +++ b/doc/html/Mesh2D_8h-source.html @@ -8,84 +8,81 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Mesh2D.h

00001 /***************************************************/
-00025 /***************************************************/
-00026 
-00027 #ifndef STK_MESH2D_H
-00028 #define STK_MESH2D_H
-00029 
-00030 #include "Instrmnt.h"
-00031 #include "OnePole.h"
-00032 
-00033 const short NXMAX = 12;
-00034 const short NYMAX = 12;
-00035 
+
+
+

Mesh2D.h

00001 /***************************************************/
+00025 /***************************************************/
+00026 
+00027 #ifndef STK_MESH2D_H
+00028 #define STK_MESH2D_H
+00029 
+00030 #include "Instrmnt.h"
+00031 #include "OnePole.h"
+00032 
+00033 const short NXMAX = 12;
+00034 const short NYMAX = 12;
+00035 
 00036 class Mesh2D : public Instrmnt
-00037 {
-00038  public:
-00040   Mesh2D(short nX, short nY);
-00041 
-00043   ~Mesh2D();
-00044 
-00046   void clear(); 
-00047 
-00049   void setNX(short lenX);
-00050 
-00052   void setNY(short lenY);
-00053 
-00055   void setInputPosition(StkFloat xFactor, StkFloat yFactor);
-00056 
-00058   void setDecay(StkFloat decayFactor);
-00059 
-00061   void noteOn(StkFloat frequency, StkFloat amplitude);
-00062 
-00064   void noteOff(StkFloat amplitude);
-00065 
-00067   StkFloat energy();
-00068 
-00070   StkFloat tick();
-00071 
-00073   StkFloat tick(StkFloat input);
-00074 
-00076   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00077 
-00079 
-00085   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00086 
-00088   void controlChange(int number, StkFloat value);
-00089 
-00090  protected:
-00091 
-00092   StkFloat tick0();
-00093   StkFloat tick1();
-00094   void clearMesh();
-00095 
-00096   short NX_, NY_;
-00097   short xInput_, yInput_;
-00098   OnePole  filterX_[NXMAX];
-00099   OnePole  filterY_[NYMAX];
-00100   StkFloat v_[NXMAX-1][NYMAX-1]; // junction velocities
-00101   StkFloat vxp_[NXMAX][NYMAX];   // positive-x velocity wave
-00102   StkFloat vxm_[NXMAX][NYMAX];   // negative-x velocity wave
-00103   StkFloat vyp_[NXMAX][NYMAX];   // positive-y velocity wave
-00104   StkFloat vym_[NXMAX][NYMAX];   // negative-y velocity wave
-00105 
-00106   // Alternate buffers
-00107   StkFloat vxp1_[NXMAX][NYMAX];  // positive-x velocity wave
-00108   StkFloat vxm1_[NXMAX][NYMAX];  // negative-x velocity wave
-00109   StkFloat vyp1_[NXMAX][NYMAX];  // positive-y velocity wave
-00110   StkFloat vym1_[NXMAX][NYMAX];  // negative-y velocity wave
-00111 
-00112   int counter_; // time in samples
-00113 };
-00114 
-00115 #endif
+00037 {
+00038  public:
+00040   Mesh2D(short nX, short nY);
+00041 
+00043   ~Mesh2D();
+00044 
+00046   void clear(); 
+00047 
+00049   void setNX(short lenX);
+00050 
+00052   void setNY(short lenY);
+00053 
+00055   void setInputPosition(StkFloat xFactor, StkFloat yFactor);
+00056 
+00058   void setDecay(StkFloat decayFactor);
+00059 
+00061   void noteOn(StkFloat frequency, StkFloat amplitude);
+00062 
+00064   void noteOff(StkFloat amplitude);
+00065 
+00067   StkFloat energy();
+00068 
+00070   StkFloat inputTick( StkFloat input );
+00071 
+00073   void controlChange(int number, StkFloat value);
+00074 
+00075  protected:
+00076 
+00077   StkFloat computeSample( void );
+00078 
+00079   StkFloat tick0();
+00080   StkFloat tick1();
+00081   void clearMesh();
+00082 
+00083   short NX_, NY_;
+00084   short xInput_, yInput_;
+00085   OnePole  filterX_[NXMAX];
+00086   OnePole  filterY_[NYMAX];
+00087   StkFloat v_[NXMAX-1][NYMAX-1]; // junction velocities
+00088   StkFloat vxp_[NXMAX][NYMAX];   // positive-x velocity wave
+00089   StkFloat vxm_[NXMAX][NYMAX];   // negative-x velocity wave
+00090   StkFloat vyp_[NXMAX][NYMAX];   // positive-y velocity wave
+00091   StkFloat vym_[NXMAX][NYMAX];   // negative-y velocity wave
+00092 
+00093   // Alternate buffers
+00094   StkFloat vxp1_[NXMAX][NYMAX];  // positive-x velocity wave
+00095   StkFloat vxm1_[NXMAX][NYMAX];  // negative-x velocity wave
+00096   StkFloat vyp1_[NXMAX][NYMAX];  // positive-y velocity wave
+00097   StkFloat vym1_[NXMAX][NYMAX];  // negative-y velocity wave
+00098 
+00099   int counter_; // time in samples
+00100 };
+00101 
+00102 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Messager_8h-source.html b/doc/html/Messager_8h-source.html index 0aae454..8bb3da6 100644 --- a/doc/html/Messager_8h-source.html +++ b/doc/html/Messager_8h-source.html @@ -8,99 +8,101 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Messager.h

00001 /***************************************************/
-00033 /***************************************************/
-00034 
-00035 #ifndef STK_MESSAGER_H
-00036 #define STK_MESSAGER_H
-00037 
-00038 #include "Stk.h"
-00039 #include "Skini.h"
-00040 #include <queue>
-00041 
-00042 const int DEFAULT_QUEUE_LIMIT = 200;
-00043 
-00044 #if defined(__STK_REALTIME__)
-00045 
-00046 #include "Mutex.h"
-00047 #include "Thread.h"
-00048 #include "Socket.h"
-00049 #include "RtMidi.h"
-00050 
-00051 extern "C" THREAD_RETURN THREAD_TYPE stdinHandler(void * ptr);
-00052 
-00053 extern "C" THREAD_RETURN THREAD_TYPE socketHandler(void * ptr);
-00054 
-00055 #endif // __STK_REALTIME__
-00056 
+
+
+

Messager.h

00001 /***************************************************/
+00033 /***************************************************/
+00034 
+00035 #ifndef STK_MESSAGER_H
+00036 #define STK_MESSAGER_H
+00037 
+00038 #include "Stk.h"
+00039 #include "Skini.h"
+00040 #include <queue>
+00041 
+00042 const int DEFAULT_QUEUE_LIMIT = 200;
+00043 
+00044 #if defined(__STK_REALTIME__)
+00045 
+00046 #include "Mutex.h"
+00047 #include "Thread.h"
+00048 #include "TcpServer.h"
+00049 #include "RtMidi.h"
+00050 
+00051 extern "C" THREAD_RETURN THREAD_TYPE stdinHandler(void * ptr);
+00052 
+00053 extern "C" THREAD_RETURN THREAD_TYPE socketHandler(void * ptr);
+00054 
+00055 #endif // __STK_REALTIME__
+00056 
 00057 class Messager : public Stk
-00058 {
-00059  public:
-00060 
-00061   // This structure is used to share data among the various realtime
-00062   // messager threads.  It must be public.
-00063   struct MessagerData {
-00064     Skini skini;
-00065     std::queue<Skini::Message> queue;
-00066     unsigned int queueLimit;
-00067     int sources;
-00068 
-00069 #if defined(__STK_REALTIME__)
-00070     Mutex mutex;
-00071     RtMidiIn *midi;
-00072     Socket *socket;
-00073     std::vector<int> fd;
-00074     fd_set mask;
-00075 #endif
-00076 
-00077     // Default constructor.
-00078     MessagerData()
-00079       :queueLimit(0), sources(0) {}
-00080   };
-00081 
-00083   Messager();
-00084 
-00086   ~Messager();
-00087 
-00089 
-00095   void popMessage( Skini::Message& message );
-00096 
-00098   void pushMessage( Skini::Message& message );
-00099 
-00101 
-00109   bool setScoreFile( const char* filename );
-00110 
-00111 #if defined(__STK_REALTIME__)
-00112 
-00113 
-00122   bool startStdInput();
-00123 
-00125 
-00136   bool startSocketInput( int port=2001 );
-00137 
-00139 
-00151   bool startMidiInput( int port=0 );
-00152 
-00153 #endif
-00154 
-00155  protected:
-00156 
-00157   MessagerData data_;
-00158 
-00159 #if defined(__STK_REALTIME__)
-00160   Thread stdinThread_;
-00161   Thread socketThread_;
-00162 #endif
-00163 
-00164 };
-00165 
-00166 #endif
+00058 {
+00059  public:
+00060 
+00061   // This structure is used to share data among the various realtime
+00062   // messager threads.  It must be public.
+00063   struct MessagerData {
+00064     Skini skini;
+00065     std::queue<Skini::Message> queue;
+00066     unsigned int queueLimit;
+00067     int sources;
+00068 
+00069 #if defined(__STK_REALTIME__)
+00070     Mutex mutex;
+00071     RtMidiIn *midi;
+00072     TcpServer *socket;
+00073     std::vector<int> fd;
+00074     fd_set mask;
+00075 #endif
+00076 
+00077     // Default constructor.
+00078     MessagerData()
+00079       :queueLimit(0), sources(0) {}
+00080   };
+00081 
+00083   Messager();
+00084 
+00086   ~Messager();
+00087 
+00089 
+00095   void popMessage( Skini::Message& message );
+00096 
+00098   void pushMessage( Skini::Message& message );
+00099 
+00101 
+00109   bool setScoreFile( const char* filename );
+00110 
+00111 #if defined(__STK_REALTIME__)
+00112 
+00113 
+00122   bool startStdInput();
+00123 
+00125 
+00136   bool startSocketInput( int port=2001 );
+00137 
+00139 
+00151   bool startMidiInput( int port=0 );
+00152 
+00153 #endif
+00154 
+00155  protected:
+00156 
+00157   MessagerData data_;
+00158 
+00159 #if defined(__STK_REALTIME__)
+00160   Thread stdinThread_;
+00161   Thread socketThread_;
+00162 #endif
+00163 
+00164 };
+00165 
+00166 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/MidiFileIn_8h-source.html b/doc/html/MidiFileIn_8h-source.html index 4e2b258..b975329 100644 --- a/doc/html/MidiFileIn_8h-source.html +++ b/doc/html/MidiFileIn_8h-source.html @@ -8,84 +8,86 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

MidiFileIn.h

00001 /**********************************************************************/
-00016 /**********************************************************************/
-00017 
-00018 #ifndef STK_MIDIFILEIN_H
-00019 #define STK_MIDIFILEIN_H
-00020 
-00021 #include "Stk.h"
-00022 #include <string>
-00023 #include <vector>
-00024 #include <fstream>
-00025 #include <sstream>
-00026 
+
+
+

MidiFileIn.h

00001 /**********************************************************************/
+00016 /**********************************************************************/
+00017 
+00018 #ifndef STK_MIDIFILEIN_H
+00019 #define STK_MIDIFILEIN_H
+00020 
+00021 #include "Stk.h"
+00022 #include <string>
+00023 #include <vector>
+00024 #include <fstream>
+00025 #include <sstream>
+00026 
 00027 class MidiFileIn : public Stk
-00028 {
-00029  public:
-00031 
-00035   MidiFileIn( std::string fileName );
-00036 
-00038   ~MidiFileIn();
-00039 
-00041   int getFileFormat() const;
-00042 
-00044   unsigned int getNumberOfTracks() const;
-00045 
-00047 
-00052   int getDivision() const;
-00053 
-00055 
-00059   void rewindTrack( unsigned int track = 0 );
-00060 
-00062 
-00069   double getTickSeconds( unsigned int track = 0 );
-00070 
-00072 
-00084   unsigned long getNextEvent( std::vector<unsigned char> *event, unsigned int track = 0 );
-00085 
-00087 
-00097   unsigned long getNextMidiEvent( std::vector<unsigned char> *midiEvent, unsigned int track = 0 );
-00098 
-00099  protected:
-00100 
-00101   // This protected class function is used for reading variable-length
-00102   // MIDI file values. It is assumed that this function is called with
-00103   // the file read pointer positioned at the start of a
-00104   // variable-length value.  The function returns true if the value is
-00105   // successfully parsed.  Otherwise, it returns false.
-00106   bool readVariableLength( unsigned long *value );
-00107 
-00108   std::ifstream file_;
-00109   unsigned int nTracks_;
-00110   int format_;
-00111   int division_;
-00112   bool usingTimeCode_;
-00113   std::vector<double> tickSeconds_;
-00114   std::vector<long> trackPointers_;
-00115   std::vector<long> trackOffsets_;
-00116   std::vector<long> trackLengths_;
-00117   std::vector<char> trackStatus_;
-00118 
-00119   // This structure and the following variables are used to save and
-00120   // keep track of a format 1 tempo map (and the initial tickSeconds
-00121   // parameter for formats 0 and 2).
-00122   struct TempoChange { 
-00123     unsigned long count;
-00124     double tickSeconds;
-00125   };
-00126   std::vector<TempoChange> tempoEvents_;
-00127   std::vector<unsigned long> trackCounters_;
-00128   std::vector<unsigned int> trackTempoIndex_;
-00129 };
-00130 
-00131 #endif
+00028 {
+00029  public:
+00031 
+00035   MidiFileIn( std::string fileName );
+00036 
+00038   ~MidiFileIn();
+00039 
+00041   int getFileFormat() const;
+00042 
+00044   unsigned int getNumberOfTracks() const;
+00045 
+00047 
+00052   int getDivision() const;
+00053 
+00055 
+00059   void rewindTrack( unsigned int track = 0 );
+00060 
+00062 
+00069   double getTickSeconds( unsigned int track = 0 );
+00070 
+00072 
+00084   unsigned long getNextEvent( std::vector<unsigned char> *event, unsigned int track = 0 );
+00085 
+00087 
+00097   unsigned long getNextMidiEvent( std::vector<unsigned char> *midiEvent, unsigned int track = 0 );
+00098 
+00099  protected:
+00100 
+00101   // This protected class function is used for reading variable-length
+00102   // MIDI file values. It is assumed that this function is called with
+00103   // the file read pointer positioned at the start of a
+00104   // variable-length value.  The function returns true if the value is
+00105   // successfully parsed.  Otherwise, it returns false.
+00106   bool readVariableLength( unsigned long *value );
+00107 
+00108   std::ifstream file_;
+00109   unsigned int nTracks_;
+00110   int format_;
+00111   int division_;
+00112   bool usingTimeCode_;
+00113   std::vector<double> tickSeconds_;
+00114   std::vector<long> trackPointers_;
+00115   std::vector<long> trackOffsets_;
+00116   std::vector<long> trackLengths_;
+00117   std::vector<char> trackStatus_;
+00118 
+00119   // This structure and the following variables are used to save and
+00120   // keep track of a format 1 tempo map (and the initial tickSeconds
+00121   // parameter for formats 0 and 2).
+00122   struct TempoChange { 
+00123     unsigned long count;
+00124     double tickSeconds;
+00125   };
+00126   std::vector<TempoChange> tempoEvents_;
+00127   std::vector<unsigned long> trackCounters_;
+00128   std::vector<unsigned int> trackTempoIndex_;
+00129 };
+00130 
+00131 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/ModalBar_8h-source.html b/doc/html/ModalBar_8h-source.html index a445e61..1f506ec 100644 --- a/doc/html/ModalBar_8h-source.html +++ b/doc/html/ModalBar_8h-source.html @@ -8,39 +8,41 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

ModalBar.h

00001 /***************************************************/
-00029 /***************************************************/
-00030 
-00031 #ifndef STK_MODALBAR_H
-00032 #define STK_MODALBAR_H
-00033 
-00034 #include "Modal.h"
-00035 
+
+
+

ModalBar.h

00001 /***************************************************/
+00029 /***************************************************/
+00030 
+00031 #ifndef STK_MODALBAR_H
+00032 #define STK_MODALBAR_H
+00033 
+00034 #include "Modal.h"
+00035 
 00036 class ModalBar : public Modal
-00037 {
-00038 public:
-00040   ModalBar();
-00041 
-00043   ~ModalBar();
-00044 
-00046   void setStickHardness(StkFloat hardness);
-00047 
-00049   void setStrikePosition(StkFloat position);
-00050 
-00052   void setPreset(int preset);
-00053 
-00055   void setModulationDepth(StkFloat mDepth);
-00056 
-00058   void controlChange(int number, StkFloat value);
-00059 };
-00060 
-00061 #endif
+00037 {
+00038 public:
+00040   ModalBar();
+00041 
+00043   ~ModalBar();
+00044 
+00046   void setStickHardness(StkFloat hardness);
+00047 
+00049   void setStrikePosition(StkFloat position);
+00050 
+00052   void setPreset(int preset);
+00053 
+00055   void setModulationDepth(StkFloat mDepth);
+00056 
+00058   void controlChange(int number, StkFloat value);
+00059 };
+00060 
+00061 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Modal_8h-source.html b/doc/html/Modal_8h-source.html index 1cb15bc..a268ca9 100644 --- a/doc/html/Modal_8h-source.html +++ b/doc/html/Modal_8h-source.html @@ -8,81 +8,80 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Modal.h

00001 /***************************************************/
-00012 /***************************************************/
-00013 
-00014 #ifndef STK_MODAL_H
-00015 #define STK_MODAL_H
-00016 
-00017 #include "Instrmnt.h"
-00018 #include "Envelope.h"
-00019 #include "WaveLoop.h"
-00020 #include "BiQuad.h"
-00021 #include "OnePole.h"
-00022 
-00023 class Modal : public Instrmnt
-00024 {
-00025 public:
-00027 
-00030   Modal( unsigned int modes = 4 );
-00031 
-00033   virtual ~Modal();
-00034 
-00036   void clear();
-00037 
-00039   virtual void setFrequency(StkFloat frequency);
-00040 
-00042   void setRatioAndRadius(unsigned int modeIndex, StkFloat ratio, StkFloat radius);
-00043 
-00045   void setMasterGain(StkFloat aGain);
-00046 
-00048   void setDirectGain(StkFloat aGain);
-00049 
-00051   void setModeGain(unsigned int modeIndex, StkFloat gain);
-00052 
-00054   virtual void strike(StkFloat amplitude);
-00055 
-00057   void damp(StkFloat amplitude);
-00058 
-00060   void noteOn(StkFloat frequency, StkFloat amplitude);
-00061 
-00063   void noteOff(StkFloat amplitude);
-00064 
-00066   virtual StkFloat tick();
-00067 
-00069   virtual StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00070 
-00072 
-00078   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00079 
-00081   virtual void controlChange(int number, StkFloat value) = 0;
-00082 
-00083 protected:  
-00084   Envelope envelope_; 
-00085   WvIn    *wave_;
-00086   BiQuad **filters_;
-00087   OnePole  onepole_;
-00088   WaveLoop *vibrato_;
-00089 
-00090   unsigned int nModes_;
-00091   std::vector<StkFloat> ratios_;
-00092   std::vector<StkFloat> radii_;
-00093 
-00094   StkFloat vibratoGain_;
-00095   StkFloat masterGain_;
-00096   StkFloat directGain_;
-00097   StkFloat stickHardness_;
-00098   StkFloat strikePosition_;
-00099   StkFloat baseFrequency_;
-00100 };
-00101 
-00102 #endif
+
+
+

Modal.h

00001 /***************************************************/
+00012 /***************************************************/
+00013 
+00014 #ifndef STK_MODAL_H
+00015 #define STK_MODAL_H
+00016 
+00017 #include "Instrmnt.h"
+00018 #include "Envelope.h"
+00019 #include "WaveLoop.h"
+00020 #include "SineWave.h"
+00021 #include "BiQuad.h"
+00022 #include "OnePole.h"
+00023 
+00024 class Modal : public Instrmnt
+00025 {
+00026 public:
+00028 
+00031   Modal( unsigned int modes = 4 );
+00032 
+00034   virtual ~Modal();
+00035 
+00037   void clear();
+00038 
+00040   virtual void setFrequency(StkFloat frequency);
+00041 
+00043   void setRatioAndRadius(unsigned int modeIndex, StkFloat ratio, StkFloat radius);
+00044 
+00046   void setMasterGain(StkFloat aGain);
+00047 
+00049   void setDirectGain(StkFloat aGain);
+00050 
+00052   void setModeGain(unsigned int modeIndex, StkFloat gain);
+00053 
+00055   virtual void strike(StkFloat amplitude);
+00056 
+00058   void damp(StkFloat amplitude);
+00059 
+00061   void noteOn(StkFloat frequency, StkFloat amplitude);
+00062 
+00064   void noteOff(StkFloat amplitude);
+00065 
+00067   virtual void controlChange(int number, StkFloat value) = 0;
+00068 
+00069 protected:
+00070 
+00071   StkFloat computeSample( void );
+00072 
+00073   Envelope envelope_; 
+00074   FileWvIn *wave_;
+00075   BiQuad **filters_;
+00076   OnePole  onepole_;
+00077   SineWave vibrato_;
+00078 
+00079   unsigned int nModes_;
+00080   std::vector<StkFloat> ratios_;
+00081   std::vector<StkFloat> radii_;
+00082 
+00083   StkFloat vibratoGain_;
+00084   StkFloat masterGain_;
+00085   StkFloat directGain_;
+00086   StkFloat stickHardness_;
+00087   StkFloat strikePosition_;
+00088   StkFloat baseFrequency_;
+00089 };
+00090 
+00091 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Modulate_8h-source.html b/doc/html/Modulate_8h-source.html index a270b0c..c99427a 100644 --- a/doc/html/Modulate_8h-source.html +++ b/doc/html/Modulate_8h-source.html @@ -8,56 +8,54 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Modulate.h

00001 /***************************************************/
-00011 /***************************************************/
-00012 
-00013 #ifndef STK_MODULATE_H
-00014 #define STK_MODULATE_H
-00015 
-00016 #include "Generator.h"
-00017 #include "WaveLoop.h"
-00018 #include "SubNoise.h"
-00019 #include "OnePole.h"
-00020 
+
+
+

Modulate.h

00001 /***************************************************/
+00011 /***************************************************/
+00012 
+00013 #ifndef STK_MODULATE_H
+00014 #define STK_MODULATE_H
+00015 
+00016 #include "Generator.h"
+00017 #include "SineWave.h"
+00018 #include "SubNoise.h"
+00019 #include "OnePole.h"
+00020 
 00021 class Modulate : public Generator
-00022 {
-00023  public:
-00025 
-00028   Modulate();
-00029 
-00031   ~Modulate();
-00032 
-00034   void reset();
-00035 
-00037   void setVibratoRate(StkFloat rate);
-00038 
-00040   void setVibratoGain(StkFloat gain);
-00041 
-00043   void setRandomGain(StkFloat gain);
-00044 
-00046   StkFloat tick();
-00047 
-00049   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00050 
-00052 
-00058   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00059 
-00060  protected:
-00061   WaveLoop *vibrato_;
-00062   SubNoise noise_;
-00063   OnePole  filter_;
-00064   StkFloat vibratoGain_;
-00065   StkFloat randomGain_;
-00066 
-00067 };
-00068 
-00069 #endif
+00022 {
+00023  public:
+00025 
+00028   Modulate();
+00029 
+00031   ~Modulate();
+00032 
+00034   void reset();
+00035 
+00037   void setVibratoRate(StkFloat rate);
+00038 
+00040   void setVibratoGain(StkFloat gain);
+00041 
+00043   void setRandomGain(StkFloat gain);
+00044 
+00045  protected:
+00046 
+00047   StkFloat computeSample( void );
+00048 
+00049   SineWave vibrato_;
+00050   SubNoise noise_;
+00051   OnePole  filter_;
+00052   StkFloat vibratoGain_;
+00053   StkFloat randomGain_;
+00054 
+00055 };
+00056 
+00057 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Moog_8h-source.html b/doc/html/Moog_8h-source.html index 693d8af..8b0c32b 100644 --- a/doc/html/Moog_8h-source.html +++ b/doc/html/Moog_8h-source.html @@ -8,55 +8,53 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Moog.h

00001 /***************************************************/
-00019 /***************************************************/
-00020 
-00021 #ifndef STK_MOOG_H
-00022 #define STK_MOOG_H
-00023 
-00024 #include "Sampler.h"
-00025 #include "FormSwep.h"
-00026 
+
+
+

Moog.h

00001 /***************************************************/
+00019 /***************************************************/
+00020 
+00021 #ifndef STK_MOOG_H
+00022 #define STK_MOOG_H
+00023 
+00024 #include "Sampler.h"
+00025 #include "FormSwep.h"
+00026 
 00027 class Moog : public Sampler
-00028 {
-00029  public:
-00031 
-00034   Moog();
-00035 
-00037   ~Moog();
-00038 
-00040   void setFrequency(StkFloat frequency);
-00041 
-00043   void noteOn(StkFloat frequency, StkFloat amplitude);
-00044 
-00046   void setModulationSpeed(StkFloat mSpeed);
-00047 
-00049   void setModulationDepth(StkFloat mDepth);
-00050 
-00052   StkFloat tick();
-00053 
-00055   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00056 
-00058 
-00064   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00065 
-00067   void controlChange(int number, StkFloat value);
-00068 
-00069  protected:
-00070   FormSwep filters_[2];
-00071   StkFloat modDepth_;
-00072   StkFloat filterQ_;
-00073   StkFloat filterRate_;
-00074 
-00075 };
-00076 
-00077 #endif
+00028 {
+00029  public:
+00031 
+00034   Moog();
+00035 
+00037   ~Moog();
+00038 
+00040   void setFrequency(StkFloat frequency);
+00041 
+00043   void noteOn(StkFloat frequency, StkFloat amplitude);
+00044 
+00046   void setModulationSpeed(StkFloat mSpeed);
+00047 
+00049   void setModulationDepth(StkFloat mDepth);
+00050 
+00052   void controlChange(int number, StkFloat value);
+00053 
+00054  protected:
+00055 
+00056   StkFloat computeSample( void );
+00057 
+00058   FormSwep filters_[2];
+00059   StkFloat modDepth_;
+00060   StkFloat filterQ_;
+00061   StkFloat filterRate_;
+00062 
+00063 };
+00064 
+00065 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Mutex_8h-source.html b/doc/html/Mutex_8h-source.html index 295e9e6..43de6b1 100644 --- a/doc/html/Mutex_8h-source.html +++ b/doc/html/Mutex_8h-source.html @@ -8,60 +8,62 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Mutex.h

00001 /***************************************************/
-00012 /***************************************************/
-00013 
-00014 #ifndef STK_MUTEX_H
-00015 #define STK_MUTEX_H
-00016 
-00017 #include "Stk.h"
-00018 
-00019 #if (defined(__OS_IRIX__) || defined(__OS_LINUX__) || defined(__OS_MACOSX__))
-00020 
-00021   #include <pthread.h>
-00022   typedef pthread_mutex_t MUTEX;
-00023   typedef pthread_cond_t CONDITION;
-00024 
-00025 #elif defined(__OS_WINDOWS__)
-00026 
-00027   #include <windows.h>
-00028   #include <process.h>
-00029   typedef CRITICAL_SECTION MUTEX;
-00030   typedef HANDLE CONDITION;
-00031 
-00032 #endif
-00033 
+
+
+

Mutex.h

00001 /***************************************************/
+00012 /***************************************************/
+00013 
+00014 #ifndef STK_MUTEX_H
+00015 #define STK_MUTEX_H
+00016 
+00017 #include "Stk.h"
+00018 
+00019 #if (defined(__OS_IRIX__) || defined(__OS_LINUX__) || defined(__OS_MACOSX__))
+00020 
+00021   #include <pthread.h>
+00022   typedef pthread_mutex_t MUTEX;
+00023   typedef pthread_cond_t CONDITION;
+00024 
+00025 #elif defined(__OS_WINDOWS__)
+00026 
+00027   #include <windows.h>
+00028   #include <process.h>
+00029   typedef CRITICAL_SECTION MUTEX;
+00030   typedef HANDLE CONDITION;
+00031 
+00032 #endif
+00033 
 00034 class Mutex : public Stk
-00035 {
-00036  public:
-00038   Mutex();
-00039 
-00041   ~Mutex();
-00042 
-00044   void lock(void);
-00045 
-00047   void unlock(void);
-00048 
-00050 
-00054   void wait(void);
-00055 
-00057 
-00061   void signal(void);
-00062 
-00063  protected:
-00064 
-00065   MUTEX mutex_;
-00066   CONDITION condition_;
-00067 
-00068 };
-00069 
-00070 #endif
+00035 {
+00036  public:
+00038   Mutex();
+00039 
+00041   ~Mutex();
+00042 
+00044   void lock(void);
+00045 
+00047   void unlock(void);
+00048 
+00050 
+00054   void wait(void);
+00055 
+00057 
+00061   void signal(void);
+00062 
+00063  protected:
+00064 
+00065   MUTEX mutex_;
+00066   CONDITION condition_;
+00067 
+00068 };
+00069 
+00070 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/NRev_8h-source.html b/doc/html/NRev_8h-source.html index 0264ddf..2068664 100644 --- a/doc/html/NRev_8h-source.html +++ b/doc/html/NRev_8h-source.html @@ -8,50 +8,48 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

NRev.h

00001 /***************************************************/
-00017 /***************************************************/
-00018 
-00019 #ifndef STK_NREV_H
-00020 #define STK_NREV_H
-00021 
-00022 #include "Effect.h" 
-00023 #include "Delay.h" 
-00024 
+
+
+

NRev.h

00001 /***************************************************/
+00017 /***************************************************/
+00018 
+00019 #ifndef STK_NREV_H
+00020 #define STK_NREV_H
+00021 
+00022 #include "Effect.h" 
+00023 #include "Delay.h" 
+00024 
 00025 class NRev : public Effect
-00026 {
-00027  public:
-00029   NRev( StkFloat T60 = 1.0 );
-00030 
-00032   ~NRev();
-00033 
-00035   void clear();
-00036 
-00038   void setT60( StkFloat T60 );
-00039 
-00041   StkFloat tick(StkFloat input);
-00042 
-00044   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00045 
-00047 
-00053   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00054 
-00055  protected:  
-00056   Delay allpassDelays_[8];
-00057   Delay combDelays_[6];
-00058   StkFloat allpassCoefficient_;
-00059   StkFloat combCoefficient_[6];
-00060          StkFloat lowpassState_;
-00061 
-00062 };
-00063 
-00064 #endif
-00065 
+00026 {
+00027  public:
+00029   NRev( StkFloat T60 = 1.0 );
+00030 
+00032   ~NRev();
+00033 
+00035   void clear();
+00036 
+00038   void setT60( StkFloat T60 );
+00039 
+00040  protected:
+00041 
+00042   StkFloat computeSample( StkFloat input );
+00043 
+00044   Delay allpassDelays_[8];
+00045   Delay combDelays_[6];
+00046   StkFloat allpassCoefficient_;
+00047   StkFloat combCoefficient_[6];
+00048          StkFloat lowpassState_;
+00049 
+00050 };
+00051 
+00052 #endif
+00053 
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Noise_8h-source.html b/doc/html/Noise_8h-source.html index 457dcbc..764cd5e 100644 --- a/doc/html/Noise_8h-source.html +++ b/doc/html/Noise_8h-source.html @@ -8,46 +8,43 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Noise.h

00001 /***************************************************/
-00011 /***************************************************/
-00012 
-00013 #ifndef STK_NOISE_H
-00014 #define STK_NOISE_H
-00015 
-00016 #include "Generator.h"
-00017 
+
+
+

Noise.h

00001 /***************************************************/
+00011 /***************************************************/
+00012 
+00013 #ifndef STK_NOISE_H
+00014 #define STK_NOISE_H
+00015 
+00016 #include "Generator.h"
+00017 
 00018 class Noise : public Generator
-00019 {
-00020 public:
-00021 
-00023   Noise();
-00024 
-00026 
-00030   Noise( unsigned int seed );
-00031 
-00033   virtual ~Noise();
-00034 
-00036 
-00040   void setSeed( unsigned int seed = 0 );
-00041 
-00043   virtual StkFloat tick();
-00044 
-00046   virtual StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00047 
-00049 
-00055   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00056 
-00057 protected:
-00058 
-00059 };
-00060 
-00061 #endif
+00019 {
+00020 public:
+00021 
+00023   Noise();
+00024 
+00026 
+00030   Noise( unsigned int seed );
+00031 
+00033   virtual ~Noise();
+00034 
+00036 
+00040   void setSeed( unsigned int seed = 0 );
+00041 
+00042 protected:
+00043 
+00044   virtual StkFloat computeSample( void );
+00045 
+00046 };
+00047 
+00048 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/OnePole_8h-source.html b/doc/html/OnePole_8h-source.html index 6022ceb..8b787ca 100644 --- a/doc/html/OnePole_8h-source.html +++ b/doc/html/OnePole_8h-source.html @@ -8,56 +8,56 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

OnePole.h

00001 /***************************************************/
-00013 /***************************************************/
-00014 
-00015 #ifndef STK_ONEPOLE_H
-00016 #define STK_ONEPOLE_H
-00017 
-00018 #include "Filter.h"
-00019 
+
+
+

OnePole.h

00001 /***************************************************/
+00013 /***************************************************/
+00014 
+00015 #ifndef STK_ONEPOLE_H
+00016 #define STK_ONEPOLE_H
+00017 
+00018 #include "Filter.h"
+00019 
 00020 class OnePole : protected Filter
-00021 {
-00022 public:
-00023 
-00025   OnePole();
-00026 
-00028   OnePole(StkFloat thePole);
-00029 
-00031   ~OnePole();
-00032 
-00034   void clear(void);
-00035 
-00037   void setB0(StkFloat b0);
-00038 
-00040   void setA1(StkFloat a1);
-00041 
-00043 
-00050   void setPole(StkFloat thePole);
-00051 
-00053 
-00057   void setGain(StkFloat gain);
-00058 
-00060   StkFloat getGain(void) const;
-00061 
-00063   StkFloat lastOut(void) const;
-00064 
-00066   StkFloat tick(StkFloat sample);
-00067 
-00069   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00070 
-00072 
-00078   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00079 
-00080 };
-00081 
-00082 #endif
+00021 {
+00022 public:
+00023 
+00025   OnePole();
+00026 
+00028   OnePole( StkFloat thePole );
+00029 
+00031   ~OnePole();
+00032 
+00034   void clear(void);
+00035 
+00037   void setB0(StkFloat b0);
+00038 
+00040   void setA1(StkFloat a1);
+00041 
+00043 
+00050   void setPole(StkFloat thePole);
+00051 
+00053 
+00057   void setGain(StkFloat gain);
+00058 
+00060   StkFloat getGain(void) const;
+00061 
+00063   StkFloat lastOut(void) const;
+00064 
+00066   StkFloat tick(StkFloat sample);
+00067 
+00069 
+00075   StkFrames& tick( StkFrames& frames, unsigned int channel = 0 );
+00076 
+00077 };
+00078 
+00079 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/OneZero_8h-source.html b/doc/html/OneZero_8h-source.html index e7da91c..fdef7ee 100644 --- a/doc/html/OneZero_8h-source.html +++ b/doc/html/OneZero_8h-source.html @@ -8,56 +8,56 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

OneZero.h

00001 /***************************************************/
-00013 /***************************************************/
-00014 
-00015 #ifndef STK_ONEZERO_H
-00016 #define STK_ONEZERO_H
-00017 
-00018 #include "Filter.h"
-00019 
+
+
+

OneZero.h

00001 /***************************************************/
+00013 /***************************************************/
+00014 
+00015 #ifndef STK_ONEZERO_H
+00016 #define STK_ONEZERO_H
+00017 
+00018 #include "Filter.h"
+00019 
 00020 class OneZero : protected Filter
-00021 {
-00022  public:
-00023 
-00025   OneZero();
-00026 
-00028   OneZero(StkFloat theZero);
-00029 
-00031   ~OneZero();
-00032 
-00034   void clear(void);
-00035 
-00037   void setB0(StkFloat b0);
-00038 
-00040   void setB1(StkFloat b1);
-00041 
-00043 
-00050   void setZero(StkFloat theZero);
-00051 
-00053 
-00057   void setGain(StkFloat gain);
-00058 
-00060   StkFloat getGain(void) const;
-00061 
-00063   StkFloat lastOut(void) const;
-00064 
-00066   StkFloat tick(StkFloat sample);
-00067 
-00069   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00070 
-00072 
-00078   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00079 
-00080 };
-00081 
-00082 #endif
+00021 {
+00022  public:
+00023 
+00025   OneZero();
+00026 
+00028   OneZero(StkFloat theZero);
+00029 
+00031   ~OneZero();
+00032 
+00034   void clear(void);
+00035 
+00037   void setB0(StkFloat b0);
+00038 
+00040   void setB1(StkFloat b1);
+00041 
+00043 
+00050   void setZero(StkFloat theZero);
+00051 
+00053 
+00057   void setGain(StkFloat gain);
+00058 
+00060   StkFloat getGain(void) const;
+00061 
+00063   StkFloat lastOut(void) const;
+00064 
+00066   StkFloat tick(StkFloat sample);
+00067 
+00069 
+00075   StkFrames& tick( StkFrames& frames, unsigned int channel = 0 );
+00076 
+00077 };
+00078 
+00079 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/PRCRev_8h-source.html b/doc/html/PRCRev_8h-source.html index a76faeb..6c09970 100644 --- a/doc/html/PRCRev_8h-source.html +++ b/doc/html/PRCRev_8h-source.html @@ -8,49 +8,47 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

PRCRev.h

00001 /***************************************************/
-00015 /***************************************************/
-00016 
-00017 #ifndef STK_PRCREV_H
-00018 #define STK_PRCREV_H
-00019 
-00020 #include "Effect.h" 
-00021 #include "Delay.h" 
-00022 
+
+
+

PRCRev.h

00001 /***************************************************/
+00015 /***************************************************/
+00016 
+00017 #ifndef STK_PRCREV_H
+00018 #define STK_PRCREV_H
+00019 
+00020 #include "Effect.h" 
+00021 #include "Delay.h" 
+00022 
 00023 class PRCRev : public Effect
-00024 {
-00025 public:
-00027   PRCRev( StkFloat T60 = 1.0 );
-00028 
-00030   ~PRCRev();
-00031 
-00033   void clear();
-00034 
-00036   void setT60( StkFloat T60 );
-00037 
-00039   StkFloat tick(StkFloat input);
-00040 
-00042   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00043 
-00045 
-00051   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00052 
-00053 protected:  
-00054   Delay allpassDelays_[2];
-00055   Delay combDelays_[2];
-00056   StkFloat allpassCoefficient_;
-00057   StkFloat combCoefficient_[2];
-00058 
-00059 };
-00060 
-00061 #endif
-00062 
+00024 {
+00025 public:
+00027   PRCRev( StkFloat T60 = 1.0 );
+00028 
+00030   ~PRCRev();
+00031 
+00033   void clear();
+00034 
+00036   void setT60( StkFloat T60 );
+00037 
+00038 protected:
+00039 
+00040   StkFloat computeSample( StkFloat input );
+00041 
+00042   Delay allpassDelays_[2];
+00043   Delay combDelays_[2];
+00044   StkFloat allpassCoefficient_;
+00045   StkFloat combCoefficient_[2];
+00046 
+00047 };
+00048 
+00049 #endif
+00050 
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/PercFlut_8h-source.html b/doc/html/PercFlut_8h-source.html index bcd6402..f902aab 100644 --- a/doc/html/PercFlut_8h-source.html +++ b/doc/html/PercFlut_8h-source.html @@ -8,41 +8,40 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

PercFlut.h

00001 /***************************************************/
-00027 /***************************************************/
-00028 
-00029 #ifndef STK_PERCFLUT_H
-00030 #define STK_PERCFLUT_H
-00031 
-00032 #include "FM.h"
-00033 
+
+
+

PercFlut.h

00001 /***************************************************/
+00027 /***************************************************/
+00028 
+00029 #ifndef STK_PERCFLUT_H
+00030 #define STK_PERCFLUT_H
+00031 
+00032 #include "FM.h"
+00033 
 00034 class PercFlut : public FM
-00035 {
-00036  public:
-00038 
-00041   PercFlut();
-00042 
-00044   ~PercFlut();
-00045 
-00047   void setFrequency(StkFloat frequency);
-00048 
-00050   void noteOn(StkFloat frequency, StkFloat amplitude);
-00051 
-00053   StkFloat tick();
-00054 
-00056   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00057 
-00059 
-00065   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00066 };
-00067 
-00068 #endif
+00035 {
+00036  public:
+00038 
+00041   PercFlut();
+00042 
+00044   ~PercFlut();
+00045 
+00047   void setFrequency(StkFloat frequency);
+00048 
+00050   void noteOn(StkFloat frequency, StkFloat amplitude);
+00051 
+00052  protected:
+00053 
+00054   StkFloat computeSample( void );
+00055 };
+00056 
+00057 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Phonemes_8h-source.html b/doc/html/Phonemes_8h-source.html index af5f142..704d709 100644 --- a/doc/html/Phonemes_8h-source.html +++ b/doc/html/Phonemes_8h-source.html @@ -8,47 +8,49 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Phonemes.h

00001 /***************************************************/
-00011 /***************************************************/
-00012 
-00013 #ifndef STK_PHONEMES_H
-00014 #define STK_PHONEMES_H
-00015 
-00016 #include "Stk.h"
-00017 
+
+
+

Phonemes.h

00001 /***************************************************/
+00011 /***************************************************/
+00012 
+00013 #ifndef STK_PHONEMES_H
+00014 #define STK_PHONEMES_H
+00015 
+00016 #include "Stk.h"
+00017 
 00018 class Phonemes : public Stk
-00019 {
-00020 public:
-00021 
-00022   Phonemes(void);
-00023   ~Phonemes(void);
-00024 
-00026   static const char *name( unsigned int index );
-00027 
-00029   static StkFloat voiceGain( unsigned int index );
-00030 
-00032   static StkFloat noiseGain( unsigned int index );
-00033 
-00035   static StkFloat formantFrequency( unsigned int index, unsigned int partial );
-00036 
-00038   static StkFloat formantRadius( unsigned int index, unsigned int partial );
-00039 
-00041   static StkFloat formantGain( unsigned int index, unsigned int partial );
-00042 
-00043 private:
-00044 
-00045   static const char phonemeNames[][4];
-00046   static const StkFloat phonemeGains[][2];
-00047   static const StkFloat phonemeParameters[][4][3];
-00048 };
-00049 
-00050 #endif
+00019 {
+00020 public:
+00021 
+00022   Phonemes(void);
+00023   ~Phonemes(void);
+00024 
+00026   static const char *name( unsigned int index );
+00027 
+00029   static StkFloat voiceGain( unsigned int index );
+00030 
+00032   static StkFloat noiseGain( unsigned int index );
+00033 
+00035   static StkFloat formantFrequency( unsigned int index, unsigned int partial );
+00036 
+00038   static StkFloat formantRadius( unsigned int index, unsigned int partial );
+00039 
+00041   static StkFloat formantGain( unsigned int index, unsigned int partial );
+00042 
+00043 private:
+00044 
+00045   static const char phonemeNames[][4];
+00046   static const StkFloat phonemeGains[][2];
+00047   static const StkFloat phonemeParameters[][4][3];
+00048 };
+00049 
+00050 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/PitShift_8h-source.html b/doc/html/PitShift_8h-source.html index 7fbdd0e..21345cf 100644 --- a/doc/html/PitShift_8h-source.html +++ b/doc/html/PitShift_8h-source.html @@ -8,51 +8,49 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

PitShift.h

00001 /***************************************************/
-00010 /***************************************************/
-00011 
-00012 #ifndef STK_PITSHIFT_H
-00013 #define STK_PITSHIFT_H
-00014 
-00015 #include "Effect.h" 
-00016 #include "DelayL.h" 
-00017 
+
+
+

PitShift.h

00001 /***************************************************/
+00010 /***************************************************/
+00011 
+00012 #ifndef STK_PITSHIFT_H
+00013 #define STK_PITSHIFT_H
+00014 
+00015 #include "Effect.h" 
+00016 #include "DelayL.h" 
+00017 
 00018 class PitShift : public Effect
-00019 {
-00020  public:
-00022   PitShift();
-00023 
-00025   ~PitShift();
-00026 
-00028   void clear();
-00029 
-00031   void setShift(StkFloat shift);
-00032 
-00034   StkFloat tick(StkFloat input);
-00035 
-00037   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00038 
-00040 
-00046   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00047 
-00048  protected:  
-00049   DelayL delayLine_[2];
-00050   StkFloat delay_[2];
-00051   StkFloat env_[2];
-00052   StkFloat rate_;
-00053   unsigned long delayLength;
-00054   unsigned long halfLength;
-00055 
-00056 };
-00057 
-00058 #endif
-00059 
+00019 {
+00020  public:
+00022   PitShift();
+00023 
+00025   ~PitShift();
+00026 
+00028   void clear();
+00029 
+00031   void setShift(StkFloat shift);
+00032 
+00033  protected:
+00034 
+00035   StkFloat computeSample( StkFloat input );
+00036 
+00037   DelayL delayLine_[2];
+00038   StkFloat delay_[2];
+00039   StkFloat env_[2];
+00040   StkFloat rate_;
+00041   unsigned long delayLength;
+00042   unsigned long halfLength;
+00043 
+00044 };
+00045 
+00046 #endif
+00047 
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/PluckTwo_8h-source.html b/doc/html/PluckTwo_8h-source.html index 7a4a88c..6f170a7 100644 --- a/doc/html/PluckTwo_8h-source.html +++ b/doc/html/PluckTwo_8h-source.html @@ -8,71 +8,69 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

PluckTwo.h

00001 /***************************************************/
-00019 /***************************************************/
-00020 
-00021 #ifndef STK_PLUCKTWO_H
-00022 #define STK_PLUCKTWO_H
-00023 
-00024 #include "Instrmnt.h"
-00025 #include "DelayL.h"
-00026 #include "DelayA.h"
-00027 #include "OneZero.h"
-00028 
+
+
+

PluckTwo.h

00001 /***************************************************/
+00019 /***************************************************/
+00020 
+00021 #ifndef STK_PLUCKTWO_H
+00022 #define STK_PLUCKTWO_H
+00023 
+00024 #include "Instrmnt.h"
+00025 #include "DelayL.h"
+00026 #include "DelayA.h"
+00027 #include "OneZero.h"
+00028 
 00029 class PluckTwo : public Instrmnt
-00030 {
-00031  public:
-00033   PluckTwo(StkFloat lowestFrequency);
-00034 
-00036   virtual ~PluckTwo();
-00037 
-00039   void clear();
-00040 
-00042   virtual void setFrequency(StkFloat frequency);
-00043 
-00045   void setDetune(StkFloat detune);
-00046 
-00048   void setFreqAndDetune(StkFloat frequency, StkFloat detune);
-00049 
-00051   void setPluckPosition(StkFloat position);
-00052 
-00054 
-00059   void setBaseLoopGain(StkFloat aGain);
-00060 
-00062   virtual void noteOff(StkFloat amplitude);
-00063 
-00065   virtual StkFloat tick() = 0;
-00066 
-00068   virtual StkFloat *tick(StkFloat *vector, unsigned int vectorSize) = 0;
-00069 
-00071 
-00077   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 ) = 0;
-00078 
-00079  protected:  
-00080     DelayA  delayLine_;
-00081     DelayA  delayLine2_;
-00082     DelayL  combDelay_;
-00083     OneZero filter_;
-00084     OneZero filter2_;
-00085 
-00086     unsigned long length_;
-00087     StkFloat loopGain_;
-00088     StkFloat baseLoopGain_;
-00089     StkFloat lastFrequency_;
-00090     StkFloat lastLength_;
-00091     StkFloat detuning_;
-00092     StkFloat pluckAmplitude_;
-00093     StkFloat pluckPosition_;
-00094 
-00095 };
-00096 
-00097 #endif
+00030 {
+00031  public:
+00033   PluckTwo(StkFloat lowestFrequency);
+00034 
+00036   virtual ~PluckTwo();
+00037 
+00039   void clear();
+00040 
+00042   virtual void setFrequency(StkFloat frequency);
+00043 
+00045   void setDetune(StkFloat detune);
+00046 
+00048   void setFreqAndDetune(StkFloat frequency, StkFloat detune);
+00049 
+00051   void setPluckPosition(StkFloat position);
+00052 
+00054 
+00059   void setBaseLoopGain(StkFloat aGain);
+00060 
+00062   virtual void noteOff(StkFloat amplitude);
+00063 
+00064  protected:
+00065 
+00066   virtual StkFloat computeSample( void ) = 0;
+00067 
+00068   DelayA  delayLine_;
+00069   DelayA  delayLine2_;
+00070   DelayL  combDelay_;
+00071   OneZero filter_;
+00072   OneZero filter2_;
+00073 
+00074   unsigned long length_;
+00075   StkFloat loopGain_;
+00076   StkFloat baseLoopGain_;
+00077   StkFloat lastFrequency_;
+00078   StkFloat lastLength_;
+00079   StkFloat detuning_;
+00080   StkFloat pluckAmplitude_;
+00081   StkFloat pluckPosition_;
+00082 
+00083 };
+00084 
+00085 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Plucked_8h-source.html b/doc/html/Plucked_8h-source.html index 932c542..2e46443 100644 --- a/doc/html/Plucked_8h-source.html +++ b/doc/html/Plucked_8h-source.html @@ -8,60 +8,58 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Plucked.h

00001 /***************************************************/
-00018 /***************************************************/
-00019 
-00020 #ifndef STK_PLUCKED_H
-00021 #define STK_PLUCKED_H
-00022 
-00023 #include "Instrmnt.h"
-00024 #include "DelayA.h"
-00025 #include "OneZero.h"
-00026 #include "OnePole.h"
-00027 #include "Noise.h"
-00028 
+
+
+

Plucked.h

00001 /***************************************************/
+00018 /***************************************************/
+00019 
+00020 #ifndef STK_PLUCKED_H
+00021 #define STK_PLUCKED_H
+00022 
+00023 #include "Instrmnt.h"
+00024 #include "DelayA.h"
+00025 #include "OneZero.h"
+00026 #include "OnePole.h"
+00027 #include "Noise.h"
+00028 
 00029 class Plucked : public Instrmnt
-00030 {
-00031  public:
-00033   Plucked(StkFloat lowestFrequency);
-00034 
-00036   ~Plucked();
-00037 
-00039   void clear();
-00040 
-00042   virtual void setFrequency(StkFloat frequency);
-00043 
-00045   void pluck(StkFloat amplitude);
-00046 
-00048   virtual void noteOn(StkFloat frequency, StkFloat amplitude);
-00049 
-00051   virtual void noteOff(StkFloat amplitude);
-00052 
-00054   virtual StkFloat tick();
-00055 
-00057   virtual StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00058 
-00060 
-00066   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00067 
-00068  protected:  
-00069   DelayA   delayLine_;
-00070   OneZero  loopFilter_;
-00071   OnePole  pickFilter_;
-00072   Noise    noise_;
-00073   StkFloat loopGain_;
-00074   unsigned long length_;
-00075 
-00076 };
-00077 
-00078 #endif
-00079 
+00030 {
+00031  public:
+00033   Plucked(StkFloat lowestFrequency);
+00034 
+00036   ~Plucked();
+00037 
+00039   void clear();
+00040 
+00042   virtual void setFrequency(StkFloat frequency);
+00043 
+00045   void pluck(StkFloat amplitude);
+00046 
+00048   virtual void noteOn(StkFloat frequency, StkFloat amplitude);
+00049 
+00051   virtual void noteOff(StkFloat amplitude);
+00052 
+00053  protected:  
+00054 
+00055   StkFloat computeSample( void );
+00056 
+00057   DelayA   delayLine_;
+00058   OneZero  loopFilter_;
+00059   OnePole  pickFilter_;
+00060   Noise    noise_;
+00061   StkFloat loopGain_;
+00062   unsigned long length_;
+00063 
+00064 };
+00065 
+00066 #endif
+00067 
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/PoleZero_8h-source.html b/doc/html/PoleZero_8h-source.html index a98aa80..e83c2b7 100644 --- a/doc/html/PoleZero_8h-source.html +++ b/doc/html/PoleZero_8h-source.html @@ -8,59 +8,59 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

PoleZero.h

00001 /***************************************************/
-00013 /***************************************************/
-00014 
-00015 #ifndef STK_POLEZERO_H
-00016 #define STK_POLEZERO_H
-00017 
-00018 #include "Filter.h"
-00019 
+
+
+

PoleZero.h

00001 /***************************************************/
+00013 /***************************************************/
+00014 
+00015 #ifndef STK_POLEZERO_H
+00016 #define STK_POLEZERO_H
+00017 
+00018 #include "Filter.h"
+00019 
 00020 class PoleZero : protected Filter
-00021 {
-00022  public:
-00023 
-00025   PoleZero();
-00026 
-00028   ~PoleZero();
-00029 
-00031   void clear(void);
-00032 
-00034   void setB0(StkFloat b0);
-00035 
-00037   void setB1(StkFloat b1);
-00038 
-00040   void setA1(StkFloat a1);
-00041 
-00043 
-00048   void setAllpass(StkFloat coefficient);
-00049 
-00051 
-00057   void setBlockZero(StkFloat thePole = 0.99);
-00058 
-00060 
-00064   void setGain(StkFloat gain);
-00065 
-00067   StkFloat getGain(void) const;
-00068 
-00070   StkFloat lastOut(void) const;
-00071 
-00073   StkFloat tick(StkFloat sample);
-00074 
-00076   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00077 
-00079 
-00085   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00086 
-00087 };
-00088 
-00089 #endif
+00021 {
+00022  public:
+00023 
+00025   PoleZero();
+00026 
+00028   ~PoleZero();
+00029 
+00031   void clear(void);
+00032 
+00034   void setB0(StkFloat b0);
+00035 
+00037   void setB1(StkFloat b1);
+00038 
+00040   void setA1(StkFloat a1);
+00041 
+00043 
+00048   void setAllpass(StkFloat coefficient);
+00049 
+00051 
+00057   void setBlockZero(StkFloat thePole = 0.99);
+00058 
+00060 
+00064   void setGain( StkFloat gain );
+00065 
+00067   StkFloat getGain( void ) const;
+00068 
+00070   StkFloat lastOut( void ) const;
+00071 
+00073   StkFloat tick( StkFloat sample );
+00074 
+00076 
+00082   StkFrames& tick( StkFrames& frames, unsigned int channel = 0 );
+00083 
+00084 };
+00085 
+00086 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/ReedTable_8h-source.html b/doc/html/ReedTable_8h-source.html index 11e75c6..3a48063 100644 --- a/doc/html/ReedTable_8h-source.html +++ b/doc/html/ReedTable_8h-source.html @@ -8,48 +8,45 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

ReedTable.h

00001 /***************************************************/
-00018 /***************************************************/
-00019 
-00020 #ifndef STK_REEDTABLE_H
-00021 #define STK_REEDTABLE_H
-00022 
-00023 #include "Function.h"
-00024 
+
+
+

ReedTable.h

00001 /***************************************************/
+00018 /***************************************************/
+00019 
+00020 #ifndef STK_REEDTABLE_H
+00021 #define STK_REEDTABLE_H
+00022 
+00023 #include "Function.h"
+00024 
 00025 class ReedTable : public Function
-00026 {
-00027 public:
-00029   ReedTable();
-00030 
-00032   ~ReedTable();
-00033 
-00035 
-00040   void setOffset(StkFloat offset);
-00041 
-00043 
-00048   void setSlope(StkFloat slope);
-00049 
-00051 
-00055   StkFloat tick(StkFloat input);
-00056 
-00058   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00059 
-00061 
-00067   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00068 
-00069 protected:  
-00070   StkFloat offset_;
-00071   StkFloat slope_;
-00072 
-00073 };
-00074 
-00075 #endif
+00026 {
+00027 public:
+00029   ReedTable();
+00030 
+00032   ~ReedTable();
+00033 
+00035 
+00040   void setOffset(StkFloat offset);
+00041 
+00043 
+00048   void setSlope(StkFloat slope);
+00049 
+00050 protected:
+00051 
+00052   StkFloat computeSample( StkFloat input );
+00053 
+00054   StkFloat offset_;
+00055   StkFloat slope_;
+00056 
+00057 };
+00058 
+00059 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Resonate_8h-source.html b/doc/html/Resonate_8h-source.html index ccffecd..ab76689 100644 --- a/doc/html/Resonate_8h-source.html +++ b/doc/html/Resonate_8h-source.html @@ -8,67 +8,65 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Resonate.h

00001 /***************************************************/
-00018 /***************************************************/
-00019 
-00020 #ifndef STK_RESONATE_H
-00021 #define STK_RESONATE_H
-00022 
-00023 #include "Instrmnt.h"
-00024 #include "ADSR.h"
-00025 #include "BiQuad.h"
-00026 #include "Noise.h"
-00027 
+
+
+

Resonate.h

00001 /***************************************************/
+00018 /***************************************************/
+00019 
+00020 #ifndef STK_RESONATE_H
+00021 #define STK_RESONATE_H
+00022 
+00023 #include "Instrmnt.h"
+00024 #include "ADSR.h"
+00025 #include "BiQuad.h"
+00026 #include "Noise.h"
+00027 
 00028 class Resonate : public Instrmnt
-00029 {
-00030  public:
-00032   Resonate();
-00033 
-00035   ~Resonate();
-00036 
-00038   void clear();
-00039 
-00041   void setResonance(StkFloat frequency, StkFloat radius);
-00042 
-00044   void setNotch(StkFloat frequency, StkFloat radius);
-00045 
-00047   void setEqualGainZeroes();
-00048 
-00050   void keyOn();
-00051 
-00053   void keyOff();
-00054 
-00056   void noteOn(StkFloat frequency, StkFloat amplitude);
-00057 
-00059   void noteOff(StkFloat amplitude);
-00060 
-00062   StkFloat tick();
-00063 
-00065   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00066 
-00068 
-00074   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00075 
-00077   void controlChange(int number, StkFloat value);
-00078 
-00079  protected:  
-00080   ADSR     adsr_;
-00081   BiQuad   filter_;
-00082   Noise    noise_;
-00083   StkFloat poleFrequency_;
-00084   StkFloat poleRadius_;
-00085   StkFloat zeroFrequency_;
-00086   StkFloat zeroRadius_;
-00087 
-00088 };
-00089 
-00090 #endif
+00029 {
+00030  public:
+00032   Resonate();
+00033 
+00035   ~Resonate();
+00036 
+00038   void clear();
+00039 
+00041   void setResonance(StkFloat frequency, StkFloat radius);
+00042 
+00044   void setNotch(StkFloat frequency, StkFloat radius);
+00045 
+00047   void setEqualGainZeroes();
+00048 
+00050   void keyOn();
+00051 
+00053   void keyOff();
+00054 
+00056   void noteOn(StkFloat frequency, StkFloat amplitude);
+00057 
+00059   void noteOff(StkFloat amplitude);
+00060 
+00062   void controlChange(int number, StkFloat value);
+00063 
+00064  protected:
+00065 
+00066   StkFloat computeSample( void );
+00067 
+00068   ADSR     adsr_;
+00069   BiQuad   filter_;
+00070   Noise    noise_;
+00071   StkFloat poleFrequency_;
+00072   StkFloat poleRadius_;
+00073   StkFloat zeroFrequency_;
+00074   StkFloat zeroRadius_;
+00075 
+00076 };
+00077 
+00078 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Rhodey_8h-source.html b/doc/html/Rhodey_8h-source.html index 3591e4d..a943d0d 100644 --- a/doc/html/Rhodey_8h-source.html +++ b/doc/html/Rhodey_8h-source.html @@ -8,41 +8,40 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Rhodey.h

00001 /***************************************************/
-00031 /***************************************************/
-00032 
-00033 #ifndef STK_RHODEY_H
-00034 #define STK_RHODEY_H
-00035 
-00036 #include "FM.h"
-00037 
+
+
+

Rhodey.h

00001 /***************************************************/
+00031 /***************************************************/
+00032 
+00033 #ifndef STK_RHODEY_H
+00034 #define STK_RHODEY_H
+00035 
+00036 #include "FM.h"
+00037 
 00038 class Rhodey : public FM
-00039 {
-00040  public:
-00042 
-00045   Rhodey();
-00046 
-00048   ~Rhodey();
-00049 
-00051   void setFrequency(StkFloat frequency);
-00052 
-00054   void noteOn(StkFloat frequency, StkFloat amplitude);
-00055 
-00057   StkFloat tick();
-00058 
-00060   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00061 
-00063 
-00069   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00070 };
-00071 
-00072 #endif
+00039 {
+00040  public:
+00042 
+00045   Rhodey();
+00046 
+00048   ~Rhodey();
+00049 
+00051   void setFrequency(StkFloat frequency);
+00052 
+00054   void noteOn(StkFloat frequency, StkFloat amplitude);
+00055 
+00056  protected:
+00057 
+00058   StkFloat computeSample( void );
+00059 };
+00060 
+00061 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/RtAudio_8h-source.html b/doc/html/RtAudio_8h-source.html index 656e93c..3d67d17 100644 --- a/doc/html/RtAudio_8h-source.html +++ b/doc/html/RtAudio_8h-source.html @@ -8,67 +8,69 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

RtAudio.h

00001 /************************************************************************/
-00038 /************************************************************************/
-00039 
-00040 // RtAudio: Version 3.0.2, pre-release for STK 4.2.0
-00041 
-00042 #ifndef __RTAUDIO_H
-00043 #define __RTAUDIO_H
-00044 
-00045 #include "RtError.h"
-00046 #include <string>
-00047 #include <vector>
-00048 
-00049 // Operating system dependent thread functionality.
-00050 #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__)
-00051   #include <windows.h>
-00052   #include <process.h>
-00053 
-00054   typedef unsigned long ThreadHandle;
-00055   typedef CRITICAL_SECTION StreamMutex;
-00056 
-00057 #else // Various unix flavors with pthread support.
-00058   #include <pthread.h>
-00059 
-00060   typedef pthread_t ThreadHandle;
-00061   typedef pthread_mutex_t StreamMutex;
-00062 
-00063 #endif
-00064 
-00065 // This global structure type is used to pass callback information
-00066 // between the private RtAudio stream structure and global callback
-00067 // handling functions.
-00068 struct CallbackInfo {
-00069   void *object;    // Used as a "this" pointer.
-00070   ThreadHandle thread;
-00071   bool usingCallback;
-00072   void *callback;
-00073   void *userData;
-00074   void *apiInfo;   // void pointer for API specific callback information
-00075 
-00076   // Default constructor.
-00077   CallbackInfo()
-00078     :object(0), usingCallback(false), callback(0),
-00079      userData(0), apiInfo(0) {}
-00080 };
-00081 
-00082 // Support for signed integers and floats.  Audio data fed to/from
-00083 // the tickStream() routine is assumed to ALWAYS be in host
-00084 // byte order.  The internal routines will automatically take care of
-00085 // any necessary byte-swapping between the host format and the
-00086 // soundcard.  Thus, endian-ness is not a concern in the following
-00087 // format definitions.
-00088 typedef unsigned long RtAudioFormat;
-00089 static const RtAudioFormat RTAUDIO_SINT8 = 0x1;    
-00090 static const RtAudioFormat RTAUDIO_SINT16 = 0x2;   
-00091 static const RtAudioFormat RTAUDIO_SINT24 = 0x4;   
-00092 static const RtAudioFormat RTAUDIO_SINT32 = 0x8;   
-00093 static const RtAudioFormat RTAUDIO_FLOAT32 = 0x10; 
-00094 static const RtAudioFormat RTAUDIO_FLOAT64 = 0x20; 
-00096 typedef int (*RtAudioCallback)(char *buffer, int bufferSize, void *userData);
-00097 
+
+
+

RtAudio.h

00001 /************************************************************************/
+00038 /************************************************************************/
+00039 
+00040 // RtAudio: Version 3.0.2 (13 October 2005)
+00041 
+00042 #ifndef __RTAUDIO_H
+00043 #define __RTAUDIO_H
+00044 
+00045 #include "RtError.h"
+00046 #include <string>
+00047 #include <vector>
+00048 
+00049 // Operating system dependent thread functionality.
+00050 #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__)
+00051   #include <windows.h>
+00052   #include <process.h>
+00053 
+00054   typedef unsigned long ThreadHandle;
+00055   typedef CRITICAL_SECTION StreamMutex;
+00056 
+00057 #else // Various unix flavors with pthread support.
+00058   #include <pthread.h>
+00059 
+00060   typedef pthread_t ThreadHandle;
+00061   typedef pthread_mutex_t StreamMutex;
+00062 
+00063 #endif
+00064 
+00065 // This global structure type is used to pass callback information
+00066 // between the private RtAudio stream structure and global callback
+00067 // handling functions.
+00068 struct CallbackInfo {
+00069   void *object;    // Used as a "this" pointer.
+00070   ThreadHandle thread;
+00071   bool usingCallback;
+00072   void *callback;
+00073   void *userData;
+00074   void *apiInfo;   // void pointer for API specific callback information
+00075 
+00076   // Default constructor.
+00077   CallbackInfo()
+00078     :object(0), usingCallback(false), callback(0),
+00079      userData(0), apiInfo(0) {}
+00080 };
+00081 
+00082 // Support for signed integers and floats.  Audio data fed to/from
+00083 // the tickStream() routine is assumed to ALWAYS be in host
+00084 // byte order.  The internal routines will automatically take care of
+00085 // any necessary byte-swapping between the host format and the
+00086 // soundcard.  Thus, endian-ness is not a concern in the following
+00087 // format definitions.
+00088 typedef unsigned long RtAudioFormat;
+00089 static const RtAudioFormat RTAUDIO_SINT8 = 0x1;    
+00090 static const RtAudioFormat RTAUDIO_SINT16 = 0x2;   
+00091 static const RtAudioFormat RTAUDIO_SINT24 = 0x4;   
+00092 static const RtAudioFormat RTAUDIO_SINT32 = 0x8;   
+00093 static const RtAudioFormat RTAUDIO_FLOAT32 = 0x10; 
+00094 static const RtAudioFormat RTAUDIO_FLOAT64 = 0x20; 
+00096 typedef int (*RtAudioCallback)(char *buffer, int bufferSize, void *userData);
+00097 
 00099 struct RtAudioDeviceInfo {
 00100   std::string name;      
 00101   bool probed;          
@@ -78,488 +80,544 @@
 00105   bool isDefault;       
 00106   std::vector<int> sampleRates; 
 00107   RtAudioFormat nativeFormats;  
-00109   // Default constructor.
-00110   RtAudioDeviceInfo()
-00111     :probed(false), outputChannels(0), inputChannels(0),
-00112        duplexChannels(0), isDefault(false), nativeFormats(0) {}
-00113 };
-00114 
-00115 // **************************************************************** //
-00116 //
-00117 // RtApi class declaration.
-00118 //
-00119 // Note that RtApi is an abstract base class and cannot be
-00120 // explicitly instantiated.  The class RtAudio will create an
-00121 // instance of an RtApi subclass (RtApiOss, RtApiAlsa,
-00122 // RtApiJack, RtApiCore, RtApiAl, RtApiDs, or RtApiAsio).
-00123 //
-00124 // **************************************************************** //
-00125 
-00126 class RtApi
-00127 {
-00128 public:
-00129 
-00130   enum StreamState {
-00131     STREAM_STOPPED,
-00132     STREAM_RUNNING
-00133   };
-00134 
-00135   RtApi();
-00136   virtual ~RtApi();
-00137   void openStream( int outputDevice, int outputChannels,
-00138                    int inputDevice, int inputChannels,
-00139                    RtAudioFormat format, int sampleRate,
-00140                    int *bufferSize, int numberOfBuffers );
-00141   void openStream( int outputDevice, int outputChannels,
-00142                    int inputDevice, int inputChannels,
-00143                    RtAudioFormat format, int sampleRate,
-00144                    int *bufferSize, int *numberOfBuffers );
-00145   virtual void setStreamCallback( RtAudioCallback callback, void *userData ) = 0;
-00146   virtual void cancelStreamCallback() = 0;
-00147   int getDeviceCount(void);
-00148   RtAudioDeviceInfo getDeviceInfo( int device );
-00149   char * const getStreamBuffer();
-00150   RtApi::StreamState getStreamState() const;
-00151   virtual void tickStream() = 0;
-00152   virtual void closeStream();
-00153   virtual void startStream() = 0;
-00154   virtual void stopStream() = 0;
-00155   virtual void abortStream() = 0;
-00156 
-00157 protected:
-00158 
-00159   static const unsigned int MAX_SAMPLE_RATES;
-00160   static const unsigned int SAMPLE_RATES[];
-00161 
-00162   enum { FAILURE, SUCCESS };
-00163 
-00164   enum StreamMode {
-00165     OUTPUT,
-00166     INPUT,
-00167     DUPLEX,
-00168     UNINITIALIZED = -75
-00169   };
-00170 
-00171   // A protected structure used for buffer conversion.
-00172   struct ConvertInfo {
-00173     int channels;
-00174     int inJump, outJump;
-00175     RtAudioFormat inFormat, outFormat;
-00176     std::vector<int> inOffset;
-00177     std::vector<int> outOffset;
-00178   };
-00179 
-00180   // A protected structure for audio streams.
-00181   struct RtApiStream {
-00182     int device[2];          // Playback and record, respectively.
-00183     void *apiHandle;        // void pointer for API specific stream handle information
-00184     StreamMode mode;         // OUTPUT, INPUT, or DUPLEX.
-00185     StreamState state;       // STOPPED or RUNNING
-00186     char *userBuffer;
-00187     char *deviceBuffer;
-00188     bool doConvertBuffer[2]; // Playback and record, respectively.
-00189     bool deInterleave[2];    // Playback and record, respectively.
-00190     bool doByteSwap[2];      // Playback and record, respectively.
-00191     int sampleRate;
-00192     int bufferSize;
-00193     int nBuffers;
-00194     int nUserChannels[2];    // Playback and record, respectively.
-00195     int nDeviceChannels[2];  // Playback and record channels, respectively.
-00196     RtAudioFormat userFormat;
-00197     RtAudioFormat deviceFormat[2]; // Playback and record, respectively.
-00198     StreamMutex mutex;
-00199     CallbackInfo callbackInfo;
-00200     ConvertInfo convertInfo[2];
-00201 
-00202     RtApiStream()
-00203       :apiHandle(0), userBuffer(0), deviceBuffer(0) {}
-00204   };
-00205 
-00206   // A protected device structure for audio devices.
-00207   struct RtApiDevice {
-00208     std::string name;      
-00209     bool probed;           
-00210     void *apiDeviceId;     // void pointer for API specific device information
-00211     int maxOutputChannels; 
-00212     int maxInputChannels;  
-00213     int maxDuplexChannels; 
-00214     int minOutputChannels; 
-00215     int minInputChannels;  
-00216     int minDuplexChannels; 
-00217     bool hasDuplexSupport; 
-00218     bool isDefault;        
-00219     std::vector<int> sampleRates; 
-00220     RtAudioFormat nativeFormats;  
-00222     // Default constructor.
-00223     RtApiDevice()
-00224       :probed(false), apiDeviceId(0), maxOutputChannels(0), maxInputChannels(0),
-00225        maxDuplexChannels(0), minOutputChannels(0), minInputChannels(0),
-00226        minDuplexChannels(0), isDefault(false), nativeFormats(0) {}
-00227   };
-00228 
-00229   typedef signed short Int16;
-00230   typedef signed int Int32;
-00231   typedef float Float32;
-00232   typedef double Float64;
-00233 
-00234   char message_[1024];
-00235   int nDevices_;
-00236   std::vector<RtApiDevice> devices_;
-00237   RtApiStream stream_;
-00238 
-00243   virtual void initialize(void) = 0;
-00244 
-00253   virtual void probeDeviceInfo( RtApiDevice *info );
-00254 
-00263   virtual bool probeDeviceOpen( int device, StreamMode mode, int channels, 
-00264                                 int sampleRate, RtAudioFormat format,
-00265                                 int *bufferSize, int numberOfBuffers );
-00266 
-00271   virtual int getDefaultInputDevice(void);
-00272 
-00277   virtual int getDefaultOutputDevice(void);
-00278 
-00280   void clearDeviceInfo( RtApiDevice *info );
-00281 
-00283   void clearStreamInfo();
-00284 
-00286   void error( RtError::Type type );
-00287 
-00292   void verifyStream();
-00293 
-00298   void convertBuffer( char *outBuffer, char *inBuffer, ConvertInfo &info );
-00299 
-00301   void byteSwapBuffer( char *buffer, int samples, RtAudioFormat format );
-00302 
-00304   int formatBytes( RtAudioFormat format );
-00305 };
-00306 
-00307 
-00308 // **************************************************************** //
-00309 //
-00310 // RtAudio class declaration.
-00311 //
-00312 // RtAudio is a "controller" used to select an available audio i/o
-00313 // interface.  It presents a common API for the user to call but all
-00314 // functionality is implemented by the class RtAudioApi and its
-00315 // subclasses.  RtAudio creates an instance of an RtAudioApi subclass
-00316 // based on the user's API choice.  If no choice is made, RtAudio
-00317 // attempts to make a "logical" API selection.
-00318 //
-00319 // **************************************************************** //
-00320 
+00109   // Default constructor.
+00110   RtAudioDeviceInfo()
+00111     :probed(false), outputChannels(0), inputChannels(0),
+00112        duplexChannels(0), isDefault(false), nativeFormats(0) {}
+00113 };
+00114 
+00115 // **************************************************************** //
+00116 //
+00117 // RtApi class declaration.
+00118 //
+00119 // Note that RtApi is an abstract base class and cannot be
+00120 // explicitly instantiated.  The class RtAudio will create an
+00121 // instance of an RtApi subclass (RtApiOss, RtApiAlsa,
+00122 // RtApiJack, RtApiCore, RtApiAl, RtApiDs, or RtApiAsio).
+00123 //
+00124 // **************************************************************** //
+00125 
+00126 class RtApi
+00127 {
+00128 public:
+00129 
+00130   enum StreamState {
+00131     STREAM_STOPPED,
+00132     STREAM_RUNNING
+00133   };
+00134 
+00135   RtApi();
+00136   virtual ~RtApi();
+00137   void openStream( int outputDevice, int outputChannels,
+00138                    int inputDevice, int inputChannels,
+00139                    RtAudioFormat format, int sampleRate,
+00140                    int *bufferSize, int numberOfBuffers );
+00141   void openStream( int outputDevice, int outputChannels,
+00142                    int inputDevice, int inputChannels,
+00143                    RtAudioFormat format, int sampleRate,
+00144                    int *bufferSize, int *numberOfBuffers );
+00145   virtual void setStreamCallback( RtAudioCallback callback, void *userData ) = 0;
+00146   virtual void cancelStreamCallback() = 0;
+00147   int getDeviceCount(void);
+00148   RtAudioDeviceInfo getDeviceInfo( int device );
+00149   char * const getStreamBuffer();
+00150   RtApi::StreamState getStreamState() const;
+00151   virtual void tickStream() = 0;
+00152   virtual void closeStream();
+00153   virtual void startStream() = 0;
+00154   virtual void stopStream() = 0;
+00155   virtual void abortStream() = 0;
+00156 
+00157 protected:
+00158 
+00159   static const unsigned int MAX_SAMPLE_RATES;
+00160   static const unsigned int SAMPLE_RATES[];
+00161 
+00162   enum { FAILURE, SUCCESS };
+00163 
+00164   enum StreamMode {
+00165     OUTPUT,
+00166     INPUT,
+00167     DUPLEX,
+00168     UNINITIALIZED = -75
+00169   };
+00170 
+00171   // A protected structure used for buffer conversion.
+00172   struct ConvertInfo {
+00173     int channels;
+00174     int inJump, outJump;
+00175     RtAudioFormat inFormat, outFormat;
+00176     std::vector<int> inOffset;
+00177     std::vector<int> outOffset;
+00178   };
+00179 
+00180   // A protected structure for audio streams.
+00181   struct RtApiStream {
+00182     int device[2];          // Playback and record, respectively.
+00183     void *apiHandle;        // void pointer for API specific stream handle information
+00184     StreamMode mode;         // OUTPUT, INPUT, or DUPLEX.
+00185     StreamState state;       // STOPPED or RUNNING
+00186     char *userBuffer;
+00187     char *deviceBuffer;
+00188     bool doConvertBuffer[2]; // Playback and record, respectively.
+00189     bool deInterleave[2];    // Playback and record, respectively.
+00190     bool doByteSwap[2];      // Playback and record, respectively.
+00191     int sampleRate;
+00192     int bufferSize;
+00193     int nBuffers;
+00194     int nUserChannels[2];    // Playback and record, respectively.
+00195     int nDeviceChannels[2];  // Playback and record channels, respectively.
+00196     RtAudioFormat userFormat;
+00197     RtAudioFormat deviceFormat[2]; // Playback and record, respectively.
+00198     StreamMutex mutex;
+00199     CallbackInfo callbackInfo;
+00200     ConvertInfo convertInfo[2];
+00201 
+00202     RtApiStream()
+00203       :apiHandle(0), userBuffer(0), deviceBuffer(0) {}
+00204   };
+00205 
+00206   // A protected device structure for audio devices.
+00207   struct RtApiDevice {
+00208     std::string name;      
+00209     bool probed;           
+00210     void *apiDeviceId;     // void pointer for API specific device information
+00211     int maxOutputChannels; 
+00212     int maxInputChannels;  
+00213     int maxDuplexChannels; 
+00214     int minOutputChannels; 
+00215     int minInputChannels;  
+00216     int minDuplexChannels; 
+00217     bool hasDuplexSupport; 
+00218     bool isDefault;        
+00219     std::vector<int> sampleRates; 
+00220     RtAudioFormat nativeFormats;  
+00222     // Default constructor.
+00223     RtApiDevice()
+00224       :probed(false), apiDeviceId(0), maxOutputChannels(0), maxInputChannels(0),
+00225        maxDuplexChannels(0), minOutputChannels(0), minInputChannels(0),
+00226        minDuplexChannels(0), isDefault(false), nativeFormats(0) {}
+00227   };
+00228 
+00229   typedef signed short Int16;
+00230   typedef signed int Int32;
+00231   typedef float Float32;
+00232   typedef double Float64;
+00233 
+00234   char message_[1024];
+00235   int nDevices_;
+00236   std::vector<RtApiDevice> devices_;
+00237   RtApiStream stream_;
+00238 
+00243   virtual void initialize(void) = 0;
+00244 
+00253   virtual void probeDeviceInfo( RtApiDevice *info );
+00254 
+00263   virtual bool probeDeviceOpen( int device, StreamMode mode, int channels, 
+00264                                 int sampleRate, RtAudioFormat format,
+00265                                 int *bufferSize, int numberOfBuffers );
+00266 
+00271   virtual int getDefaultInputDevice(void);
+00272 
+00277   virtual int getDefaultOutputDevice(void);
+00278 
+00280   void clearDeviceInfo( RtApiDevice *info );
+00281 
+00283   void clearStreamInfo();
+00284 
+00286   void error( RtError::Type type );
+00287 
+00292   void verifyStream();
+00293 
+00298   void convertBuffer( char *outBuffer, char *inBuffer, ConvertInfo &info );
+00299 
+00301   void byteSwapBuffer( char *buffer, int samples, RtAudioFormat format );
+00302 
+00304   int formatBytes( RtAudioFormat format );
+00305 };
+00306 
+00307 
+00308 // **************************************************************** //
+00309 //
+00310 // RtAudio class declaration.
+00311 //
+00312 // RtAudio is a "controller" used to select an available audio i/o
+00313 // interface.  It presents a common API for the user to call but all
+00314 // functionality is implemented by the class RtAudioApi and its
+00315 // subclasses.  RtAudio creates an instance of an RtAudioApi subclass
+00316 // based on the user's API choice.  If no choice is made, RtAudio
+00317 // attempts to make a "logical" API selection.
+00318 //
+00319 // **************************************************************** //
+00320 
 00321 class RtAudio
-00322 {
-00323 public:
-00324 
+00322 {
+00323 public:
+00324 
 00326   enum RtAudioApi {
-00327     UNSPECIFIED,    
-00328     LINUX_ALSA,     
-00329     LINUX_OSS,      
-00330     LINUX_JACK,     
-00331     MACOSX_CORE,    
-00332     IRIX_AL,        
-00333     WINDOWS_ASIO,   
-00334     WINDOWS_DS      
-00335   };
-00336 
-00338 
-00348   RtAudio( RtAudioApi api=UNSPECIFIED );
-00349 
-00351 
-00362   RtAudio( int outputDevice, int outputChannels,
-00363            int inputDevice, int inputChannels,
-00364            RtAudioFormat format, int sampleRate,
-00365            int *bufferSize, int numberOfBuffers, RtAudioApi api=UNSPECIFIED );
-00366 
-00368 
-00376   RtAudio( int outputDevice, int outputChannels,
-00377            int inputDevice, int inputChannels,
-00378            RtAudioFormat format, int sampleRate,
-00379            int *bufferSize, int *numberOfBuffers, RtAudioApi api=UNSPECIFIED );
-00380 
-00382 
-00386   ~RtAudio();
-00387 
-00389 
-00415   void openStream( int outputDevice, int outputChannels,
-00416                    int inputDevice, int inputChannels,
-00417                    RtAudioFormat format, int sampleRate,
-00418                    int *bufferSize, int numberOfBuffers );
-00419 
-00421 
-00429   void openStream( int outputDevice, int outputChannels,
-00430                    int inputDevice, int inputChannels,
-00431                    RtAudioFormat format, int sampleRate,
-00432                    int *bufferSize, int *numberOfBuffers );
-00433 
-00435 
+00327     UNSPECIFIED,    
+00328     LINUX_ALSA,     
+00329     LINUX_OSS,      
+00330     LINUX_JACK,     
+00331     MACOSX_CORE,    
+00332     IRIX_AL,        
+00333     WINDOWS_ASIO,   
+00334     WINDOWS_DS      
+00335   };
+00336 
+00338 
+00348   RtAudio( RtAudioApi api=UNSPECIFIED );
+00349 
+00351 
+00362   RtAudio( int outputDevice, int outputChannels,
+00363            int inputDevice, int inputChannels,
+00364            RtAudioFormat format, int sampleRate,
+00365            int *bufferSize, int numberOfBuffers, RtAudioApi api=UNSPECIFIED );
+00366 
+00368 
+00376   RtAudio( int outputDevice, int outputChannels,
+00377            int inputDevice, int inputChannels,
+00378            RtAudioFormat format, int sampleRate,
+00379            int *bufferSize, int *numberOfBuffers, RtAudioApi api=UNSPECIFIED );
+00380 
+00382 
+00386   ~RtAudio();
+00387 
+00389 
+00415   void openStream( int outputDevice, int outputChannels,
+00416                    int inputDevice, int inputChannels,
+00417                    RtAudioFormat format, int sampleRate,
+00418                    int *bufferSize, int numberOfBuffers );
+00419 
+00421 
+00429   void openStream( int outputDevice, int outputChannels,
+00430                    int inputDevice, int inputChannels,
+00431                    RtAudioFormat format, int sampleRate,
+00432                    int *bufferSize, int *numberOfBuffers );
+00433 
+00435 
 00454   void setStreamCallback(RtAudioCallback callback, void *userData) { rtapi_->setStreamCallback( callback, userData ); };
-00455 
-00457 
+00455 
+00457 
 00464   void cancelStreamCallback() { rtapi_->cancelStreamCallback(); };
-00465 
+00465 
 00467   int getDeviceCount(void) { return rtapi_->getDeviceCount(); };
-00468 
-00470 
+00468 
+00470 
 00478   RtAudioDeviceInfo getDeviceInfo(int device) { return rtapi_->getDeviceInfo( device ); };
-00479 
-00481 
+00479 
+00481 
 00486   char * const getStreamBuffer() { return rtapi_->getStreamBuffer(); };
-00487 
-00489 
+00487 
+00489 
 00494   void tickStream() { rtapi_->tickStream(); };
-00495 
-00497 
+00495 
+00497 
 00501   void closeStream()  { rtapi_->closeStream(); };
-00502 
-00504 
+00502 
+00504 
 00508   void startStream() { rtapi_->startStream(); };
-00509 
-00511 
+00509 
+00511 
 00515   void stopStream() { rtapi_->stopStream(); };
-00516 
-00518 
+00516 
+00518 
 00522   void abortStream() { rtapi_->abortStream(); };
-00523 
-00524 
-00525  protected:
-00526 
-00527   void initialize( RtAudioApi api );
-00528 
-00529   RtApi *rtapi_;
-00530 };
-00531 
-00532 
-00533 // RtApi Subclass prototypes.
-00534 
-00535 #if defined(__LINUX_ALSA__)
-00536 
-00537 class RtApiAlsa: public RtApi
-00538 {
-00539 public:
-00540 
-00541   RtApiAlsa();
-00542   ~RtApiAlsa();
-00543   void tickStream();
-00544   void closeStream();
-00545   void startStream();
-00546   void stopStream();
-00547   void abortStream();
-00548   int streamWillBlock();
-00549   void setStreamCallback( RtAudioCallback callback, void *userData );
-00550   void cancelStreamCallback();
-00551 
-00552   private:
-00553 
-00554   void initialize(void);
-00555   void probeDeviceInfo( RtApiDevice *info );
-00556   bool probeDeviceOpen( int device, StreamMode mode, int channels, 
-00557                         int sampleRate, RtAudioFormat format,
-00558                         int *bufferSize, int numberOfBuffers );
-00559 };
-00560 
-00561 #endif
-00562 
-00563 #if defined(__LINUX_JACK__)
-00564 
-00565 class RtApiJack: public RtApi
-00566 {
-00567 public:
-00568 
-00569   RtApiJack();
-00570   ~RtApiJack();
-00571   void tickStream();
-00572   void closeStream();
-00573   void startStream();
-00574   void stopStream();
-00575   void abortStream();
-00576   void setStreamCallback( RtAudioCallback callback, void *userData );
-00577   void cancelStreamCallback();
-00578   // This function is intended for internal use only.  It must be
-00579   // public because it is called by the internal callback handler,
-00580   // which is not a member of RtAudio.  External use of this function
-00581   // will most likely produce highly undesireable results!
-00582   void callbackEvent( unsigned long nframes );
-00583 
-00584   private:
-00585 
-00586   void initialize(void);
-00587   void probeDeviceInfo( RtApiDevice *info );
-00588   bool probeDeviceOpen( int device, StreamMode mode, int channels, 
-00589                         int sampleRate, RtAudioFormat format,
-00590                         int *bufferSize, int numberOfBuffers );
-00591 };
-00592 
-00593 #endif
-00594 
-00595 #if defined(__LINUX_OSS__)
-00596 
-00597 class RtApiOss: public RtApi
-00598 {
-00599 public:
-00600 
-00601   RtApiOss();
-00602   ~RtApiOss();
-00603   void tickStream();
-00604   void closeStream();
-00605   void startStream();
-00606   void stopStream();
-00607   void abortStream();
-00608   int streamWillBlock();
-00609   void setStreamCallback( RtAudioCallback callback, void *userData );
-00610   void cancelStreamCallback();
-00611 
-00612   private:
-00613 
-00614   void initialize(void);
-00615   void probeDeviceInfo( RtApiDevice *info );
-00616   bool probeDeviceOpen( int device, StreamMode mode, int channels, 
-00617                         int sampleRate, RtAudioFormat format,
-00618                         int *bufferSize, int numberOfBuffers );
-00619 };
-00620 
-00621 #endif
-00622 
-00623 #if defined(__MACOSX_CORE__)
-00624 
-00625 #include <CoreAudio/AudioHardware.h>
-00626 
-00627 class RtApiCore: public RtApi
-00628 {
-00629 public:
-00630 
-00631   RtApiCore();
-00632   ~RtApiCore();
-00633   int getDefaultOutputDevice(void);
-00634   int getDefaultInputDevice(void);
-00635   void tickStream();
-00636   void closeStream();
-00637   void startStream();
-00638   void stopStream();
-00639   void abortStream();
-00640   void setStreamCallback( RtAudioCallback callback, void *userData );
-00641   void cancelStreamCallback();
-00642 
-00643   // This function is intended for internal use only.  It must be
-00644   // public because it is called by the internal callback handler,
-00645   // which is not a member of RtAudio.  External use of this function
-00646   // will most likely produce highly undesireable results!
-00647   void callbackEvent( AudioDeviceID deviceId, void *inData, void *outData );
-00648 
-00649   private:
-00650 
-00651   void initialize(void);
-00652   void probeDeviceInfo( RtApiDevice *info );
-00653   bool probeDeviceOpen( int device, StreamMode mode, int channels, 
-00654                         int sampleRate, RtAudioFormat format,
-00655                         int *bufferSize, int numberOfBuffers );
-00656 };
-00657 
-00658 #endif
-00659 
-00660 #if defined(__WINDOWS_DS__)
-00661 
-00662 class RtApiDs: public RtApi
-00663 {
-00664 public:
-00665 
-00666   RtApiDs();
-00667   ~RtApiDs();
-00668   int getDefaultOutputDevice(void);
-00669   int getDefaultInputDevice(void);
-00670   void tickStream();
-00671   void closeStream();
-00672   void startStream();
-00673   void stopStream();
-00674   void abortStream();
-00675   int streamWillBlock();
-00676   void setStreamCallback( RtAudioCallback callback, void *userData );
-00677   void cancelStreamCallback();
-00678 
-00679   private:
-00680 
-00681   void initialize(void);
-00682   void probeDeviceInfo( RtApiDevice *info );
-00683   bool probeDeviceOpen( int device, StreamMode mode, int channels, 
-00684                         int sampleRate, RtAudioFormat format,
-00685                         int *bufferSize, int numberOfBuffers );
-00686 };
-00687 
-00688 #endif
-00689 
-00690 #if defined(__WINDOWS_ASIO__)
-00691 
-00692 class RtApiAsio: public RtApi
-00693 {
-00694 public:
-00695 
-00696   RtApiAsio();
-00697   ~RtApiAsio();
-00698   void tickStream();
-00699   void closeStream();
-00700   void startStream();
-00701   void stopStream();
-00702   void abortStream();
-00703   void setStreamCallback( RtAudioCallback callback, void *userData );
-00704   void cancelStreamCallback();
-00705 
-00706   // This function is intended for internal use only.  It must be
-00707   // public because it is called by the internal callback handler,
-00708   // which is not a member of RtAudio.  External use of this function
-00709   // will most likely produce highly undesireable results!
-00710   void callbackEvent( long bufferIndex );
-00711 
-00712   private:
-00713 
-00714   void initialize(void);
-00715   void probeDeviceInfo( RtApiDevice *info );
-00716   bool probeDeviceOpen( int device, StreamMode mode, int channels, 
-00717                         int sampleRate, RtAudioFormat format,
-00718                         int *bufferSize, int numberOfBuffers );
-00719 };
-00720 
-00721 #endif
-00722 
-00723 #if defined(__IRIX_AL__)
-00724 
-00725 class RtApiAl: public RtApi
-00726 {
-00727 public:
-00728 
-00729   RtApiAl();
-00730   ~RtApiAl();
-00731   int getDefaultOutputDevice(void);
-00732   int getDefaultInputDevice(void);
-00733   void tickStream();
-00734   void closeStream();
-00735   void startStream();
-00736   void stopStream();
-00737   void abortStream();
-00738   int streamWillBlock();
-00739   void setStreamCallback( RtAudioCallback callback, void *userData );
-00740   void cancelStreamCallback();
-00741 
-00742   private:
-00743 
-00744   void initialize(void);
-00745   void probeDeviceInfo( RtApiDevice *info );
-00746   bool probeDeviceOpen( int device, StreamMode mode, int channels, 
-00747                         int sampleRate, RtAudioFormat format,
-00748                         int *bufferSize, int numberOfBuffers );
-00749 };
-00750 
-00751 #endif
-00752 
-00753 // Define the following flag to have extra information spewed to stderr.
-00754 //#define __RTAUDIO_DEBUG__
-00755 
-00756 #endif
+00523 
+00524 
+00525  protected:
+00526 
+00527   void initialize( RtAudioApi api );
+00528 
+00529   RtApi *rtapi_;
+00530 };
+00531 
+00532 
+00533 // RtApi Subclass prototypes.
+00534 
+00535 #if defined(__LINUX_ALSA__)
+00536 
+00537 class RtApiAlsa: public RtApi
+00538 {
+00539 public:
+00540 
+00541   RtApiAlsa();
+00542   ~RtApiAlsa();
+00543   void tickStream();
+00544   void closeStream();
+00545   void startStream();
+00546   void stopStream();
+00547   void abortStream();
+00548   int streamWillBlock();
+00549   void setStreamCallback( RtAudioCallback callback, void *userData );
+00550   void cancelStreamCallback();
+00551 
+00552   private:
+00553 
+00554   void initialize(void);
+00555   void probeDeviceInfo( RtApiDevice *info );
+00556   bool probeDeviceOpen( int device, StreamMode mode, int channels, 
+00557                         int sampleRate, RtAudioFormat format,
+00558                         int *bufferSize, int numberOfBuffers );
+00559 };
+00560 
+00561 #endif
+00562 
+00563 #if defined(__LINUX_JACK__)
+00564 
+00565 class RtApiJack: public RtApi
+00566 {
+00567 public:
+00568 
+00569   RtApiJack();
+00570   ~RtApiJack();
+00571   void tickStream();
+00572   void closeStream();
+00573   void startStream();
+00574   void stopStream();
+00575   void abortStream();
+00576   void setStreamCallback( RtAudioCallback callback, void *userData );
+00577   void cancelStreamCallback();
+00578   // This function is intended for internal use only.  It must be
+00579   // public because it is called by the internal callback handler,
+00580   // which is not a member of RtAudio.  External use of this function
+00581   // will most likely produce highly undesireable results!
+00582   void callbackEvent( unsigned long nframes );
+00583 
+00584   private:
+00585 
+00586   void initialize(void);
+00587   void probeDeviceInfo( RtApiDevice *info );
+00588   bool probeDeviceOpen( int device, StreamMode mode, int channels, 
+00589                         int sampleRate, RtAudioFormat format,
+00590                         int *bufferSize, int numberOfBuffers );
+00591 };
+00592 
+00593 #endif
+00594 
+00595 #if defined(__LINUX_OSS__)
+00596 
+00597 class RtApiOss: public RtApi
+00598 {
+00599 public:
+00600 
+00601   RtApiOss();
+00602   ~RtApiOss();
+00603   void tickStream();
+00604   void closeStream();
+00605   void startStream();
+00606   void stopStream();
+00607   void abortStream();
+00608   int streamWillBlock();
+00609   void setStreamCallback( RtAudioCallback callback, void *userData );
+00610   void cancelStreamCallback();
+00611 
+00612   private:
+00613 
+00614   void initialize(void);
+00615   void probeDeviceInfo( RtApiDevice *info );
+00616   bool probeDeviceOpen( int device, StreamMode mode, int channels, 
+00617                         int sampleRate, RtAudioFormat format,
+00618                         int *bufferSize, int numberOfBuffers );
+00619 };
+00620 
+00621 #endif
+00622 
+00623 #if defined(__MACOSX_CORE__)
+00624 
+00625 #include <CoreAudio/AudioHardware.h>
+00626 
+00627 class RtApiCore: public RtApi
+00628 {
+00629 public:
+00630 
+00631   RtApiCore();
+00632   ~RtApiCore();
+00633   int getDefaultOutputDevice(void);
+00634   int getDefaultInputDevice(void);
+00635   void tickStream();
+00636   void closeStream();
+00637   void startStream();
+00638   void stopStream();
+00639   void abortStream();
+00640   void setStreamCallback( RtAudioCallback callback, void *userData );
+00641   void cancelStreamCallback();
+00642 
+00643   // This function is intended for internal use only.  It must be
+00644   // public because it is called by the internal callback handler,
+00645   // which is not a member of RtAudio.  External use of this function
+00646   // will most likely produce highly undesireable results!
+00647   void callbackEvent( AudioDeviceID deviceId, void *inData, void *outData );
+00648 
+00649   private:
+00650 
+00651   void initialize(void);
+00652   void probeDeviceInfo( RtApiDevice *info );
+00653   bool probeDeviceOpen( int device, StreamMode mode, int channels, 
+00654                         int sampleRate, RtAudioFormat format,
+00655                         int *bufferSize, int numberOfBuffers );
+00656 };
+00657 
+00658 #endif
+00659 
+00660 #if defined(__WINDOWS_DS__)
+00661 
+00662 class RtApiDs: public RtApi
+00663 {
+00664 public:
+00665 
+00666   RtApiDs();
+00667   ~RtApiDs();
+00668   int getDefaultOutputDevice(void);
+00669   int getDefaultInputDevice(void);
+00670   void tickStream();
+00671   void closeStream();
+00672   void startStream();
+00673   void stopStream();
+00674   void abortStream();
+00675   int streamWillBlock();
+00676   void setStreamCallback( RtAudioCallback callback, void *userData );
+00677   void cancelStreamCallback();
+00678 
+00679   public:
+00680   // \brief Internal structure that provide debug information on the state of a running DSound device.
+00681   struct RtDsStatistics {
+00682     // \brief Sample Rate.
+00683     long sampleRate;
+00684     // \brief The size of one sample * number of channels on the input device.
+00685     int inputFrameSize; 
+00686     // \brief The size of one sample * number of channels on the output device.
+00687     int outputFrameSize; 
+00688     /* \brief The number of times the read pointer had to be adjusted to avoid reading from an unsafe buffer position.
+00689      *
+00690      * This field is only used when running in DUPLEX mode. INPUT mode devices just wait until the data is 
+00691      * available.
+00692      */
+00693     int numberOfReadOverruns;
+00694     // \brief The number of times the write pointer had to be adjusted to avoid writing in an unsafe buffer position.
+00695     int numberOfWriteUnderruns;
+00696     // \brief Number of bytes by attribute to buffer configuration by which writing must lead the current write pointer.
+00697     int writeDeviceBufferLeadBytes;
+00698     // \brief Number of bytes by attributable to the device driver by which writing must lead the current write pointer on this output device.
+00699     unsigned long writeDeviceSafeLeadBytes;
+00700     // \brief Number of bytes by which reading must trail the current read pointer on this input device.
+00701     unsigned long readDeviceSafeLeadBytes; 
+00702     /* \brief Estimated latency in seconds. 
+00703     *
+00704     * For INPUT mode devices, based the latency of the device's safe read pointer, plus one buffer's
+00705     * worth of additional latency.
+00706     *
+00707     * For OUTPUT mode devices, the latency of the device's safe write pointer, plus N buffers of 
+00708     * additional buffer latency.
+00709     *
+00710     * For DUPLEX devices, the sum of latencies for both input and output devices. DUPLEX devices
+00711     * also back off the read pointers an additional amount in order to maintain synchronization 
+00712     * between out-of-phase read and write pointers. This time is also included.
+00713     *
+00714     * Note that most software packages report latency between the safe write pointer 
+00715     * and the software lead pointer, excluding the hardware device's safe write pointer 
+00716     * latency. Figures of 1 or 2ms of latency on Windows audio devices are invariably of this type.
+00717     * The reality is that hardware devices often have latencies of 30ms or more (often much 
+00718     * higher for duplex operation).
+00719     */
+00720 
+00721     double latency;
+00722   };
+00723   // \brief Report on the current state of a running DSound device.
+00724   static RtDsStatistics getDsStatistics();
+00725 
+00726   private:
+00727 
+00728   void initialize(void);
+00729   void probeDeviceInfo( RtApiDevice *info );
+00730   bool probeDeviceOpen( int device, StreamMode mode, int channels, 
+00731                         int sampleRate, RtAudioFormat format,
+00732                         int *bufferSize, int numberOfBuffers );
+00733 
+00734   bool coInitialized;
+00735   bool buffersRolling;
+00736   long duplexPrerollBytes;
+00737   static RtDsStatistics statistics;
+00738 
+00739 };
+00740 
+00741 #endif
+00742 
+00743 #if defined(__WINDOWS_ASIO__)
+00744 
+00745 class RtApiAsio: public RtApi
+00746 {
+00747 public:
+00748 
+00749   RtApiAsio();
+00750   ~RtApiAsio();
+00751   void tickStream();
+00752   void closeStream();
+00753   void startStream();
+00754   void stopStream();
+00755   void abortStream();
+00756   void setStreamCallback( RtAudioCallback callback, void *userData );
+00757   void cancelStreamCallback();
+00758 
+00759   // This function is intended for internal use only.  It must be
+00760   // public because it is called by the internal callback handler,
+00761   // which is not a member of RtAudio.  External use of this function
+00762   // will most likely produce highly undesireable results!
+00763   void callbackEvent( long bufferIndex );
+00764 
+00765   private:
+00766 
+00767   void initialize(void);
+00768   void probeDeviceInfo( RtApiDevice *info );
+00769   bool probeDeviceOpen( int device, StreamMode mode, int channels, 
+00770                         int sampleRate, RtAudioFormat format,
+00771                         int *bufferSize, int numberOfBuffers );
+00772 
+00773   bool coInitialized;
+00774 
+00775 };
+00776 
+00777 #endif
+00778 
+00779 #if defined(__IRIX_AL__)
+00780 
+00781 class RtApiAl: public RtApi
+00782 {
+00783 public:
+00784 
+00785   RtApiAl();
+00786   ~RtApiAl();
+00787   int getDefaultOutputDevice(void);
+00788   int getDefaultInputDevice(void);
+00789   void tickStream();
+00790   void closeStream();
+00791   void startStream();
+00792   void stopStream();
+00793   void abortStream();
+00794   int streamWillBlock();
+00795   void setStreamCallback( RtAudioCallback callback, void *userData );
+00796   void cancelStreamCallback();
+00797 
+00798   private:
+00799 
+00800   void initialize(void);
+00801   void probeDeviceInfo( RtApiDevice *info );
+00802   bool probeDeviceOpen( int device, StreamMode mode, int channels, 
+00803                         int sampleRate, RtAudioFormat format,
+00804                         int *bufferSize, int numberOfBuffers );
+00805 };
+00806 
+00807 #endif
+00808 
+00809 // Define the following flag to have extra information spewed to stderr.
+00810 //#define __RTAUDIO_DEBUG__
+00811 
+00812 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/RtDuplex_8h-source.html b/doc/html/RtDuplex_8h-source.html index cc3b2de..f6f1f04 100644 --- a/doc/html/RtDuplex_8h-source.html +++ b/doc/html/RtDuplex_8h-source.html @@ -8,67 +8,69 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

RtDuplex.h

00001 /***************************************************/
-00029 /***************************************************/
-00030 
-00031 #ifndef STK_RTDUPLEX_H
-00032 #define STK_RTDUPLEX_H
-00033 
-00034 #include "Stk.h"
-00035 #include "RtAudio.h"
-00036 
+
+
+

RtDuplex.h

00001 /***************************************************/
+00029 /***************************************************/
+00030 
+00031 #ifndef STK_RTDUPLEX_H
+00032 #define STK_RTDUPLEX_H
+00033 
+00034 #include "Stk.h"
+00035 #include "RtAudio.h"
+00036 
 00037 class RtDuplex : public Stk
-00038 {
-00039 public:
-00041 
-00052   RtDuplex(int nChannels = 1, StkFloat sampleRate = Stk::sampleRate(), int device = 0, int bufferFrames = RT_BUFFER_SIZE, int nBuffers = 2);
-00053 
-00055   ~RtDuplex();
-00056 
-00058 
-00061   void start(void);
-00062 
-00064 
-00067   void stop(void);
-00068 
-00070   StkFloat lastOut(void) const;
-00071 
-00073 
-00076   StkFloat tick(const StkFloat sample);
-00077 
-00079 
-00082   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00083 
-00085 
-00092   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00093 
-00095   const StkFloat *lastFrame(void) const;
-00096 
-00098 
-00101   StkFloat *tickFrame(StkFloat *frameVector, unsigned int frames = 1);
-00102 
-00104 
-00110   StkFrames& tickFrame( StkFrames& frames );
-00111 
-00112 protected:
-00113 
-00114          RtAudio *audio_;
-00115   StkFloat *data_;
-00116   StkFloat *lastOutput_;
-00117   int bufferSize_;
-00118   bool stopped_;
-00119   long counter_;
-00120   unsigned int channels_;
-00121 
-00122 };
-00123 
-00124 #endif
+00038 {
+00039 public:
+00041 
+00052   RtDuplex(int nChannels = 1, StkFloat sampleRate = Stk::sampleRate(), int device = 0, int bufferFrames = RT_BUFFER_SIZE, int nBuffers = 2);
+00053 
+00055   ~RtDuplex();
+00056 
+00058 
+00061   void start(void);
+00062 
+00064 
+00067   void stop(void);
+00068 
+00070   StkFloat lastOut(void) const;
+00071 
+00073 
+00076   StkFloat tick(const StkFloat sample);
+00077 
+00079 
+00082   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
+00083 
+00085 
+00092   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
+00093 
+00095   const StkFloat *lastFrame(void) const;
+00096 
+00098 
+00101   StkFloat *tickFrame(StkFloat *frameVector, unsigned int frames = 1);
+00102 
+00104 
+00110   StkFrames& tickFrame( StkFrames& frames );
+00111 
+00112 protected:
+00113 
+00114          RtAudio *audio_;
+00115   StkFloat *data_;
+00116   StkFloat *lastOutput_;
+00117   int bufferSize_;
+00118   bool stopped_;
+00119   long counter_;
+00120   unsigned int channels_;
+00121 
+00122 };
+00123 
+00124 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/RtError_8h-source.html b/doc/html/RtError_8h-source.html index a341baf..9b826cd 100644 --- a/doc/html/RtError_8h-source.html +++ b/doc/html/RtError_8h-source.html @@ -8,57 +8,59 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

RtError.h

00001 /************************************************************************/
-00010 /************************************************************************/
-00011 
-00012 #ifndef RTERROR_H
-00013 #define RTERROR_H
-00014 
-00015 #include <iostream>
-00016 #include <string>
-00017 
+
+
+

RtError.h

00001 /************************************************************************/
+00010 /************************************************************************/
+00011 
+00012 #ifndef RTERROR_H
+00013 #define RTERROR_H
+00014 
+00015 #include <iostream>
+00016 #include <string>
+00017 
 00018 class RtError
-00019 {
-00020 public:
+00019 {
+00020 public:
 00022   enum Type {
-00023     WARNING,           
-00024     DEBUG_WARNING,     
-00025     UNSPECIFIED,       
-00026     NO_DEVICES_FOUND,  
-00027     INVALID_DEVICE,    
-00028     INVALID_STREAM,    
-00029     MEMORY_ERROR,      
-00030     INVALID_PARAMETER, 
-00031     DRIVER_ERROR,      
-00032     SYSTEM_ERROR,      
-00033     THREAD_ERROR       
-00034   };
-00035 
-00036 protected:
-00037   std::string message_;
-00038   Type type_;
-00039 
-00040 public:
-00042   RtError(const std::string& message, Type type = RtError::UNSPECIFIED) : message_(message), type_(type) {}
-00043 
+00023     WARNING,           
+00024     DEBUG_WARNING,     
+00025     UNSPECIFIED,       
+00026     NO_DEVICES_FOUND,  
+00027     INVALID_DEVICE,    
+00028     INVALID_STREAM,    
+00029     MEMORY_ERROR,      
+00030     INVALID_PARAMETER, 
+00031     DRIVER_ERROR,      
+00032     SYSTEM_ERROR,      
+00033     THREAD_ERROR       
+00034   };
+00035 
+00036 protected:
+00037   std::string message_;
+00038   Type type_;
+00039 
+00040 public:
+00042   RtError(const std::string& message, Type type = RtError::UNSPECIFIED) : message_(message), type_(type) {}
+00043 
 00045   virtual ~RtError(void) {};
-00046 
+00046 
 00048   virtual void printMessage(void) { std::cerr << '\n' << message_ << "\n\n"; }
-00049 
+00049 
 00051   virtual const Type& getType(void) { return type_; }
-00052 
+00052 
 00054   virtual const std::string& getMessage(void) { return message_; }
-00055 
+00055 
 00057   virtual const char *getMessageString(void) { return message_.c_str(); }
-00058 };
-00059 
-00060 #endif
+00058 };
+00059 
+00060 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/RtMidi_8h-source.html b/doc/html/RtMidi_8h-source.html index 24761a5..5d71466 100644 --- a/doc/html/RtMidi_8h-source.html +++ b/doc/html/RtMidi_8h-source.html @@ -8,159 +8,170 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

RtMidi.h

00001 /**********************************************************************/
-00036 /**********************************************************************/
-00037 
-00038 // RtMidi: Version 1.0.2, 21 September 2004
-00039 
-00040 #ifndef RTMIDI_H
-00041 #define RTMIDI_H
-00042 
-00043 #include "RtError.h"
-00044 #include <string>
-00045 
+
+
+

RtMidi.h

00001 /**********************************************************************/
+00036 /**********************************************************************/
+00037 
+00038 // RtMidi: Version 1.0.4, 13 October 2005
+00039 
+00040 #ifndef RTMIDI_H
+00041 #define RTMIDI_H
+00042 
+00043 #include "RtError.h"
+00044 #include <string>
+00045 
 00046 class RtMidi
-00047 {
-00048  protected:
-00049 
-00050   RtMidi();
-00051 
-00052   virtual ~RtMidi() {};
-00053 
-00054   // A basic error reporting function for internal use in the RtMidi
-00055   // subclasses.  The behavior of this function can be modified to
-00056   // suit specific needs.
-00057   void error( RtError::Type type );
-00058 
-00059   virtual void openPort( unsigned int portNumber = 0 ) = 0;
-00060 
-00061   void *apiData_;
-00062   bool connected_;
-00063   std::string errorString_;
-00064 };
-00065 
-00066 /**********************************************************************/
-00082 /**********************************************************************/
-00083 
-00084 #include <vector>
-00085 #include <queue>
-00086 
-00087 class RtMidiIn : public RtMidi
-00088 {
-00089  public:
-00090 
-00092   typedef void (*RtMidiCallback)( double timeStamp, std::vector<unsigned char> *message, void *userData);
-00093 
-00095 
-00098   RtMidiIn();
-00099 
-00101   ~RtMidiIn();
-00102 
-00104 
-00108   void openPort( unsigned int portNumber = 0 );
-00109 
-00111 
-00117   void openVirtualPort();
-00118 
-00120 
-00126   void setCallback( RtMidiCallback callback, void *userData = 0 );
-00127 
-00129 
-00133   void cancelCallback();
-00134 
-00136   void closePort( void );
-00137 
-00139   unsigned int getPortCount();
-00140 
-00142 
-00145   std::string getPortName( unsigned int portNumber = 0 );
-00146 
-00148 
-00152   void setQueueSizeLimit( unsigned int queueSize );
-00153 
-00155 
-00162   void ignoreTypes( bool midiSysex = true, bool midiTime = true, bool midiSense = true );
-00163 
-00165 
-00172   double getMessage( std::vector<unsigned char> *message );
-00173 
-00174   // A MIDI structure used internally by the class to store incoming
-00175   // messages.  Each message represents one and only one MIDI message.
-00176   struct MidiMessage { 
-00177     std::vector<unsigned char> bytes; 
-00178     double timeStamp;
-00179 
-00180     // Default constructor.
-00181     MidiMessage()
-00182       :bytes(3), timeStamp(0.0) {}
-00183   };
-00184 
-00185   // The RtMidiInData structure is used to pass private class data to
-00186   // the MIDI input handling function or thread.
-00187   struct RtMidiInData {
-00188     std::queue<MidiMessage> queue;
-00189     unsigned int queueLimit;
-00190     unsigned char ignoreFlags;
-00191     bool doInput;
-00192     bool firstMessage;
-00193     void *apiData;
-00194     bool usingCallback;
-00195     void *userCallback;
-00196     void *userData;
-00197 
-00198     // Default constructor.
-00199     RtMidiInData()
-00200       : queueLimit(1024), ignoreFlags(7), doInput(false), firstMessage(true),
-00201         apiData(0), usingCallback(false), userCallback(0), userData(0) {}
-00202   };
-00203 
-00204  private:
-00205 
-00206   void initialize( void );
-00207   RtMidiInData inputData_;
-00208 
-00209 };
-00210 
-00211 /**********************************************************************/
-00223 /**********************************************************************/
-00224 
-00225 class RtMidiOut : public RtMidi
-00226 {
-00227  public:
-00228 
-00230 
-00233   RtMidiOut();
-00234 
-00236   ~RtMidiOut();
-00237 
-00239 
-00245   void openPort( unsigned int portNumber = 0 );
-00246 
-00248   void closePort();
-00249 
-00251 
-00259   void openVirtualPort();
-00260 
-00262   unsigned int getPortCount();
-00263 
-00265 
-00268   std::string getPortName( unsigned int portNumber );
-00269 
-00271 
-00275   void sendMessage( std::vector<unsigned char> *message );
-00276 
-00277  private:
-00278 
-00279   void initialize( void );
-00280 };
-00281 
-00282 #endif
+00047 {
+00048  public:
+00049 
+00051   virtual void openPort( unsigned int portNumber = 0 ) = 0;
+00052 
+00054   virtual void openVirtualPort() = 0;
+00055 
+00057   virtual unsigned int getPortCount() = 0;
+00058 
+00060   virtual std::string getPortName( unsigned int portNumber = 0 ) = 0;
+00061 
+00063   virtual void closePort( void ) = 0;
+00064 
+00065  protected:
+00066 
+00067   RtMidi();
+00068   virtual ~RtMidi() {};
+00069 
+00070   // A basic error reporting function for internal use in the RtMidi
+00071   // subclasses.  The behavior of this function can be modified to
+00072   // suit specific needs.
+00073   void error( RtError::Type type );
+00074 
+00075   void *apiData_;
+00076   bool connected_;
+00077   std::string errorString_;
+00078 };
+00079 
+00080 /**********************************************************************/
+00096 /**********************************************************************/
+00097 
+00098 #include <vector>
+00099 #include <queue>
+00100 
+00101 class RtMidiIn : public RtMidi
+00102 {
+00103  public:
+00104 
+00106   typedef void (*RtMidiCallback)( double timeStamp, std::vector<unsigned char> *message, void *userData);
+00107 
+00109 
+00112   RtMidiIn();
+00113 
+00115   ~RtMidiIn();
+00116 
+00118 
+00122   void openPort( unsigned int portNumber = 0 );
+00123 
+00125 
+00131   void openVirtualPort();
+00132 
+00134 
+00140   void setCallback( RtMidiCallback callback, void *userData = 0 );
+00141 
+00143 
+00147   void cancelCallback();
+00148 
+00150   void closePort( void );
+00151 
+00153   unsigned int getPortCount();
+00154 
+00156 
+00159   std::string getPortName( unsigned int portNumber = 0 );
+00160 
+00162 
+00166   void setQueueSizeLimit( unsigned int queueSize );
+00167 
+00169 
+00176   void ignoreTypes( bool midiSysex = true, bool midiTime = true, bool midiSense = true );
+00177 
+00179 
+00186   double getMessage( std::vector<unsigned char> *message );
+00187 
+00188   // A MIDI structure used internally by the class to store incoming
+00189   // messages.  Each message represents one and only one MIDI message.
+00190   struct MidiMessage { 
+00191     std::vector<unsigned char> bytes; 
+00192     double timeStamp;
+00193 
+00194     // Default constructor.
+00195     MidiMessage()
+00196       :bytes(3), timeStamp(0.0) {}
+00197   };
+00198 
+00199   // The RtMidiInData structure is used to pass private class data to
+00200   // the MIDI input handling function or thread.
+00201   struct RtMidiInData {
+00202     std::queue<MidiMessage> queue;
+00203     unsigned int queueLimit;
+00204     unsigned char ignoreFlags;
+00205     bool doInput;
+00206     bool firstMessage;
+00207     void *apiData;
+00208     bool usingCallback;
+00209     void *userCallback;
+00210     void *userData;
+00211 
+00212     // Default constructor.
+00213     RtMidiInData()
+00214       : queueLimit(1024), ignoreFlags(7), doInput(false), firstMessage(true),
+00215         apiData(0), usingCallback(false), userCallback(0), userData(0) {}
+00216   };
+00217 
+00218  private:
+00219 
+00220   void initialize( void );
+00221   RtMidiInData inputData_;
+00222 
+00223 };
+00224 
+00225 /**********************************************************************/
+00237 /**********************************************************************/
+00238 
+00239 class RtMidiOut : public RtMidi
+00240 {
+00241  public:
+00242 
+00244 
+00247   RtMidiOut();
+00248 
+00250   ~RtMidiOut();
+00251 
+00253 
+00259   void openPort( unsigned int portNumber = 0 );
+00260 
+00262   void closePort();
+00263 
+00265 
+00273   void openVirtualPort();
+00274 
+00276   unsigned int getPortCount();
+00277 
+00279 
+00282   std::string getPortName( unsigned int portNumber );
+00283 
+00285 
+00289   void sendMessage( std::vector<unsigned char> *message );
+00290 
+00291  private:
+00292 
+00293   void initialize( void );
+00294 };
+00295 
+00296 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/RtWvIn_8h-source.html b/doc/html/RtWvIn_8h-source.html index e00b687..6cf3f47 100644 --- a/doc/html/RtWvIn_8h-source.html +++ b/doc/html/RtWvIn_8h-source.html @@ -8,66 +8,51 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

RtWvIn.h

00001 /***************************************************/
-00024 /***************************************************/
-00025 
-00026 #ifndef STK_RTWVIN_H
-00027 #define STK_RTWVIN_H
-00028 
-00029 #include "WvIn.h"
-00030 #include "RtAudio.h"
-00031 
-00032 class RtWvIn : protected WvIn
-00033 {
-00034 public:
-00036 
-00047   RtWvIn(int nChannels = 1, StkFloat sampleRate = Stk::sampleRate(), int device = 0, int bufferFrames = RT_BUFFER_SIZE, int nBuffers = 2);
-00048 
-00050   ~RtWvIn();
-00051 
-00053 
-00056   void start(void);
-00057 
-00059 
-00062   void stop(void);
-00063 
-00065   StkFloat lastOut(void) const;
-00066 
-00068 
-00071   StkFloat tick(void);
-00072 
-00074 
-00077   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00078 
-00080 
-00086   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00087 
-00089   const StkFloat *lastFrame(void) const;
-00090 
-00092 
-00095   const StkFloat *tickFrame(void);
-00096 
-00098 
-00101   StkFloat *tickFrame(StkFloat *frameVector, unsigned int frames);
-00102 
-00104 
-00109   StkFrames& tickFrame( StkFrames& frames );
-00110 
-00111 protected:
-00112 
-00113          RtAudio *audio_;
-00114   bool stopped_;
-00115   long counter_;
-00116 
-00117 };
-00118 
-00119 #endif
+
+
+

RtWvIn.h

00001 /***************************************************/
+00019 /***************************************************/
+00020 
+00021 #ifndef STK_RTWVIN_H
+00022 #define STK_RTWVIN_H
+00023 
+00024 #include "WvIn.h"
+00025 #include "RtAudio.h"
+00026 
+00027 class RtWvIn : public WvIn
+00028 {
+00029 public:
+00031 
+00042   RtWvIn( unsigned int nChannels = 1, StkFloat sampleRate = Stk::sampleRate(),
+00043           int device = 0, int bufferFrames = RT_BUFFER_SIZE, int nBuffers = 4 );
+00044 
+00046   ~RtWvIn();
+00047 
+00049 
+00053   void start( void );
+00054 
+00056 
+00060   void stop( void );
+00061 
+00062 protected:
+00063 
+00064   void computeFrame( void );
+00065 
+00066          RtAudio *adc_;
+00067   StkFloat *buffer_;
+00068   bool stopped_;
+00069   unsigned int bufferFrames_;
+00070   unsigned int bufferIndex_;
+00071 
+00072 };
+00073 
+00074 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/RtWvOut_8h-source.html b/doc/html/RtWvOut_8h-source.html index dc7f153..6ae1a5f 100644 --- a/doc/html/RtWvOut_8h-source.html +++ b/doc/html/RtWvOut_8h-source.html @@ -8,65 +8,58 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

RtWvOut.h

00001 /***************************************************/
-00023 /***************************************************/
-00024 
-00025 #ifndef STK_RTWVOUT_H
-00026 #define STK_RTWVOUT_H
-00027 
-00028 #include "WvOut.h"
-00029 #include "RtAudio.h"
-00030 
-00031 class RtWvOut : protected WvOut
-00032 {
-00033  public:
-00034 
-00036 
-00047   RtWvOut(unsigned int nChannels = 1, StkFloat sampleRate = Stk::sampleRate(), int device = 0, int bufferFrames = RT_BUFFER_SIZE, int nBuffers = 4 );
-00048 
-00050   ~RtWvOut();
-00051 
-00053 
-00056   void start(void);
-00057 
-00059 
-00062   void stop(void);
-00063 
-00065   unsigned long getFrames( void ) const;
-00066 
-00068   StkFloat getTime( void ) const;
-00069 
-00071 
-00074   void tick( const StkFloat sample );
-00075 
-00077 
-00080   void tick( const StkFloat *vector, unsigned int vectorSize );
-00081 
-00083 
-00089   void tick( const StkFrames& frames, unsigned int channel = 1 );
-00090 
-00092 
-00095   void tickFrame( const StkFloat *frameVector, unsigned int frames = 1 );
-00096 
-00098 
-00103   void tickFrame( const StkFrames& frames );
-00104 
-00105  protected:
-00106 
-00107   RtAudio *audio_;
-00108   StkFloat *dataPtr_;
-00109   bool stopped_;
-00110   int bufferSize_;
-00111 
-00112 };
-00113 
-00114 #endif
+
+
+

RtWvOut.h

00001 /***************************************************/
+00019 /***************************************************/
+00020 
+00021 #ifndef STK_RTWVOUT_H
+00022 #define STK_RTWVOUT_H
+00023 
+00024 #include "WvOut.h"
+00025 #include "RtAudio.h"
+00026 
+00027 class RtWvOut : public WvOut
+00028 {
+00029  public:
+00030 
+00032 
+00043   RtWvOut( unsigned int nChannels = 1, StkFloat sampleRate = Stk::sampleRate(),
+00044            int device = 0, int bufferFrames = RT_BUFFER_SIZE, int nBuffers = 4 );
+00045 
+00047   ~RtWvOut();
+00048 
+00050 
+00054   void start(void);
+00055 
+00057 
+00061   void stop(void);
+00062 
+00063  protected:
+00064 
+00065   void computeSample( const StkFloat sample );
+00066 
+00067   void computeFrames( const StkFrames& frames );
+00068 
+00069   void incrementFrame( void );
+00070 
+00071   RtAudio *dac_;
+00072   StkFloat *buffer_;
+00073   bool stopped_;
+00074   unsigned int nChannels_;
+00075   unsigned int bufferIndex_;
+00076   unsigned int iBuffer_;
+00077   unsigned int bufferFrames_;
+00078 
+00079 };
+00080 
+00081 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/SKINI_8msg-source.html b/doc/html/SKINI_8msg-source.html index e691112..c3f047b 100644 --- a/doc/html/SKINI_8msg-source.html +++ b/doc/html/SKINI_8msg-source.html @@ -8,139 +8,141 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

SKINI.msg

00001 /*********************************************************/
-00002 /*
-00003   Definition of SKINI Message Types and Special Symbols
-00004      Synthesis toolKit Instrument Network Interface
-00005 
-00006   These symbols should have the form:
-00007 
-00008    \c __SK_<name>_
-00009 
-00010   where <name> is the string used in the SKINI stream.
-00011 
-00012   by Perry R. Cook, 1995 - 2004.
-00013 */
-00014 /*********************************************************/
-00015 
-00016 #define NOPE        -32767
-00017 #define YEP         1
-00018 #define SK_DBL      -32766
-00019 #define SK_INT      -32765
-00020 #define SK_STR      -32764
-00021 #define __SK_Exit_  999
-00022 
-00023 /***** MIDI COMPATIBLE MESSAGES *****/
-00024 /*** (Status bytes for channel=0) ***/
-00025 
-00026 #define __SK_NoteOff_                128
-00027 #define __SK_NoteOn_                 144
-00028 #define __SK_PolyPressure_           160
-00029 #define __SK_ControlChange_          176
-00030 #define __SK_ProgramChange_          192
-00031 #define __SK_AfterTouch_             208
-00032 #define __SK_ChannelPressure_        __SK_AfterTouch_
-00033 #define __SK_PitchWheel_             224
-00034 #define __SK_PitchBend_              __SK_PitchWheel_
-00035 #define __SK_PitchChange_            49
-00036 
-00037 #define __SK_Clock_                  248
-00038 #define __SK_SongStart_              250
-00039 #define __SK_Continue_               251
-00040 #define __SK_SongStop_               252
-00041 #define __SK_ActiveSensing_          254
-00042 #define __SK_SystemReset_            255
-00043 
-00044 #define __SK_Volume_                 7
-00045 #define __SK_ModWheel_               1
-00046 #define __SK_Modulation_             __SK_ModWheel_
-00047 #define __SK_Breath_                 2
-00048 #define __SK_FootControl_            4
-00049 #define __SK_Portamento_             65
-00050 #define __SK_Balance_                8
-00051 #define __SK_Pan_                    10
-00052 #define __SK_Sustain_                64
-00053 #define __SK_Damper_                 __SK_Sustain_
-00054 #define __SK_Expression_             11 
-00055 
-00056 #define __SK_AfterTouch_Cont_        128
-00057 #define __SK_ModFrequency_           __SK_Expression_
-00058 
-00059 #define __SK_ProphesyRibbon_         16
-00060 #define __SK_ProphesyWheelUp_        2
-00061 #define __SK_ProphesyWheelDown_      3
-00062 #define __SK_ProphesyPedal_          18
-00063 #define __SK_ProphesyKnob1_          21
-00064 #define __SK_ProphesyKnob2_          22
-00065 
-00066 /***  Instrument Family Specific ***/
-00067 
-00068 #define __SK_NoiseLevel_             __SK_FootControl_
-00069 
-00070 #define __SK_PickPosition_           __SK_FootControl_
-00071 #define __SK_StringDamping_          __SK_Expression_
-00072 #define __SK_StringDetune_           __SK_ModWheel_
-00073 #define __SK_BodySize_               __SK_Breath_
-00074 #define __SK_BowPressure_            __SK_Breath_
-00075 #define __SK_BowPosition_            __SK_PickPosition_
-00076 #define __SK_BowBeta_                __SK_BowPosition_
-00077 
-00078 #define __SK_ReedStiffness_          __SK_Breath_
-00079 #define __SK_ReedRestPos_            __SK_FootControl_
-00080 
-00081 #define __SK_FluteEmbouchure_        __SK_Breath_
-00082 #define __SK_JetDelay_               __SK_FluteEmbouchure_
-00083 
-00084 #define __SK_LipTension_             __SK_Breath_
-00085 #define __SK_SlideLength_            __SK_FootControl_
-00086 
-00087 #define __SK_StrikePosition_         __SK_PickPosition_
-00088 #define __SK_StickHardness_          __SK_Breath_
-00089 
-00090 #define __SK_TrillDepth_             1051
-00091 #define __SK_TrillSpeed_             1052
-00092 #define __SK_StrumSpeed_             __SK_TrillSpeed_
-00093 #define __SK_RollSpeed_              __SK_TrillSpeed_
-00094 
-00095 #define __SK_FilterQ_                __SK_Breath_
-00096 #define __SK_FilterFreq_             1062
-00097 #define __SK_FilterSweepRate_        __SK_FootControl_
-00098 
-00099 #define __SK_ShakerInst_             1071 
-00100 #define __SK_ShakerEnergy_           __SK_Breath_
-00101 #define __SK_ShakerDamping_          __SK_ModFrequency_
-00102 #define __SK_ShakerNumObjects_       __SK_FootControl_
-00103 
-00104 #define __SK_Strumming_              1090
-00105 #define __SK_NotStrumming_           1091
-00106 #define __SK_Trilling_               1092
-00107 #define __SK_NotTrilling_            1093
-00108 #define __SK_Rolling_                __SK_Strumming_
-00109 #define __SK_NotRolling_             __SK_NotStrumming_
-00110 
-00111 #define __SK_PlayerSkill_            2001
-00112 #define __SK_Chord_                  2002
-00113 #define __SK_ChordOff_               2003
-00114 
-00115 #define __SK_SINGER_FilePath_        3000
-00116 #define __SK_SINGER_Frequency_       3001
-00117 #define __SK_SINGER_NoteName_        3002
-00118 #define __SK_SINGER_Shape_           3003
-00119 #define __SK_SINGER_Glot_            3004
-00120 #define __SK_SINGER_VoicedUnVoiced_  3005
-00121 #define __SK_SINGER_Synthesize_      3006
-00122 #define __SK_SINGER_Silence_         3007
-00123 #define __SK_SINGER_VibratoAmt_      __SK_ModWheel_
-00124 #define __SK_SINGER_RndVibAmt_       3008
-00125 #define __SK_SINGER_VibFreq_         __SK_Expression_
-00126 
-00127 
+
+
+

SKINI.msg

00001 /*********************************************************/
+00002 /*
+00003   Definition of SKINI Message Types and Special Symbols
+00004      Synthesis toolKit Instrument Network Interface
+00005 
+00006   These symbols should have the form:
+00007 
+00008    \c __SK_<name>_
+00009 
+00010   where <name> is the string used in the SKINI stream.
+00011 
+00012   by Perry R. Cook, 1995 - 2004.
+00013 */
+00014 /*********************************************************/
+00015 
+00016 #define NOPE        -32767
+00017 #define YEP         1
+00018 #define SK_DBL      -32766
+00019 #define SK_INT      -32765
+00020 #define SK_STR      -32764
+00021 #define __SK_Exit_  999
+00022 
+00023 /***** MIDI COMPATIBLE MESSAGES *****/
+00024 /*** (Status bytes for channel=0) ***/
+00025 
+00026 #define __SK_NoteOff_                128
+00027 #define __SK_NoteOn_                 144
+00028 #define __SK_PolyPressure_           160
+00029 #define __SK_ControlChange_          176
+00030 #define __SK_ProgramChange_          192
+00031 #define __SK_AfterTouch_             208
+00032 #define __SK_ChannelPressure_        __SK_AfterTouch_
+00033 #define __SK_PitchWheel_             224
+00034 #define __SK_PitchBend_              __SK_PitchWheel_
+00035 #define __SK_PitchChange_            49
+00036 
+00037 #define __SK_Clock_                  248
+00038 #define __SK_SongStart_              250
+00039 #define __SK_Continue_               251
+00040 #define __SK_SongStop_               252
+00041 #define __SK_ActiveSensing_          254
+00042 #define __SK_SystemReset_            255
+00043 
+00044 #define __SK_Volume_                 7
+00045 #define __SK_ModWheel_               1
+00046 #define __SK_Modulation_             __SK_ModWheel_
+00047 #define __SK_Breath_                 2
+00048 #define __SK_FootControl_            4
+00049 #define __SK_Portamento_             65
+00050 #define __SK_Balance_                8
+00051 #define __SK_Pan_                    10
+00052 #define __SK_Sustain_                64
+00053 #define __SK_Damper_                 __SK_Sustain_
+00054 #define __SK_Expression_             11 
+00055 
+00056 #define __SK_AfterTouch_Cont_        128
+00057 #define __SK_ModFrequency_           __SK_Expression_
+00058 
+00059 #define __SK_ProphesyRibbon_         16
+00060 #define __SK_ProphesyWheelUp_        2
+00061 #define __SK_ProphesyWheelDown_      3
+00062 #define __SK_ProphesyPedal_          18
+00063 #define __SK_ProphesyKnob1_          21
+00064 #define __SK_ProphesyKnob2_          22
+00065 
+00066 /***  Instrument Family Specific ***/
+00067 
+00068 #define __SK_NoiseLevel_             __SK_FootControl_
+00069 
+00070 #define __SK_PickPosition_           __SK_FootControl_
+00071 #define __SK_StringDamping_          __SK_Expression_
+00072 #define __SK_StringDetune_           __SK_ModWheel_
+00073 #define __SK_BodySize_               __SK_Breath_
+00074 #define __SK_BowPressure_            __SK_Breath_
+00075 #define __SK_BowPosition_            __SK_PickPosition_
+00076 #define __SK_BowBeta_                __SK_BowPosition_
+00077 
+00078 #define __SK_ReedStiffness_          __SK_Breath_
+00079 #define __SK_ReedRestPos_            __SK_FootControl_
+00080 
+00081 #define __SK_FluteEmbouchure_        __SK_Breath_
+00082 #define __SK_JetDelay_               __SK_FluteEmbouchure_
+00083 
+00084 #define __SK_LipTension_             __SK_Breath_
+00085 #define __SK_SlideLength_            __SK_FootControl_
+00086 
+00087 #define __SK_StrikePosition_         __SK_PickPosition_
+00088 #define __SK_StickHardness_          __SK_Breath_
+00089 
+00090 #define __SK_TrillDepth_             1051
+00091 #define __SK_TrillSpeed_             1052
+00092 #define __SK_StrumSpeed_             __SK_TrillSpeed_
+00093 #define __SK_RollSpeed_              __SK_TrillSpeed_
+00094 
+00095 #define __SK_FilterQ_                __SK_Breath_
+00096 #define __SK_FilterFreq_             1062
+00097 #define __SK_FilterSweepRate_        __SK_FootControl_
+00098 
+00099 #define __SK_ShakerInst_             1071 
+00100 #define __SK_ShakerEnergy_           __SK_Breath_
+00101 #define __SK_ShakerDamping_          __SK_ModFrequency_
+00102 #define __SK_ShakerNumObjects_       __SK_FootControl_
+00103 
+00104 #define __SK_Strumming_              1090
+00105 #define __SK_NotStrumming_           1091
+00106 #define __SK_Trilling_               1092
+00107 #define __SK_NotTrilling_            1093
+00108 #define __SK_Rolling_                __SK_Strumming_
+00109 #define __SK_NotRolling_             __SK_NotStrumming_
+00110 
+00111 #define __SK_PlayerSkill_            2001
+00112 #define __SK_Chord_                  2002
+00113 #define __SK_ChordOff_               2003
+00114 
+00115 #define __SK_SINGER_FilePath_        3000
+00116 #define __SK_SINGER_Frequency_       3001
+00117 #define __SK_SINGER_NoteName_        3002
+00118 #define __SK_SINGER_Shape_           3003
+00119 #define __SK_SINGER_Glot_            3004
+00120 #define __SK_SINGER_VoicedUnVoiced_  3005
+00121 #define __SK_SINGER_Synthesize_      3006
+00122 #define __SK_SINGER_Silence_         3007
+00123 #define __SK_SINGER_VibratoAmt_      __SK_ModWheel_
+00124 #define __SK_SINGER_RndVibAmt_       3008
+00125 #define __SK_SINGER_VibFreq_         __SK_Expression_
+00126 
+00127 
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Sampler_8h-source.html b/doc/html/Sampler_8h-source.html index 51aa49d..5569322 100644 --- a/doc/html/Sampler_8h-source.html +++ b/doc/html/Sampler_8h-source.html @@ -8,64 +8,61 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Sampler.h

00001 /***************************************************/
-00010 /***************************************************/
-00011 
-00012 #ifndef STK_SAMPLER_H
-00013 #define STK_SAMPLER_H
-00014 
-00015 #include "Instrmnt.h"
-00016 #include "ADSR.h"
-00017 #include "WvIn.h"
-00018 #include "WaveLoop.h"
-00019 #include "OnePole.h"
-00020 
-00021 class Sampler : public Instrmnt
-00022 {
-00023  public:
-00025   Sampler();
-00026 
-00028   virtual ~Sampler();
-00029 
-00031   void clear();
-00032 
-00034   virtual void setFrequency(StkFloat frequency) = 0;
-00035 
-00037   void keyOn();
-00038 
-00040   void keyOff();
-00041 
-00043   virtual void noteOff(StkFloat amplitude);
-00044 
-00046   virtual StkFloat tick() = 0;
-00047 
-00049   virtual StkFloat *tick(StkFloat *vector, unsigned int vectorSize) = 0;
-00050 
-00052 
-00058   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 ) = 0;
-00059 
-00061   virtual void controlChange(int number, StkFloat value) = 0;
-00062 
-00063  protected:  
-00064   ADSR adsr_;
-00065   std::vector<WvIn *> attacks_;
-00066   std::vector<WaveLoop *> loops_;
-00067   OnePole filter_;
-00068   StkFloat baseFrequency_;
-00069   std::vector<StkFloat> attackRatios_;
-00070   std::vector<StkFloat> loopRatios_;
-00071   StkFloat attackGain_;
-00072   StkFloat loopGain_;
-00073 
-00074 };
-00075 
-00076 #endif
+
+
+

Sampler.h

00001 /***************************************************/
+00010 /***************************************************/
+00011 
+00012 #ifndef STK_SAMPLER_H
+00013 #define STK_SAMPLER_H
+00014 
+00015 #include "Instrmnt.h"
+00016 #include "ADSR.h"
+00017 #include "WaveLoop.h"
+00018 #include "OnePole.h"
+00019 
+00020 class Sampler : public Instrmnt
+00021 {
+00022  public:
+00024   Sampler();
+00025 
+00027   virtual ~Sampler();
+00028 
+00030   void clear();
+00031 
+00033   virtual void setFrequency(StkFloat frequency) = 0;
+00034 
+00036   void keyOn();
+00037 
+00039   void keyOff();
+00040 
+00042   virtual void noteOff(StkFloat amplitude);
+00043 
+00045   virtual void controlChange(int number, StkFloat value) = 0;
+00046 
+00047  protected:
+00048 
+00049   virtual StkFloat computeSample( void ) = 0;
+00050 
+00051   ADSR adsr_;
+00052   std::vector<FileWvIn *> attacks_;
+00053   std::vector<WaveLoop *> loops_;
+00054   OnePole filter_;
+00055   StkFloat baseFrequency_;
+00056   std::vector<StkFloat> attackRatios_;
+00057   std::vector<StkFloat> loopRatios_;
+00058   StkFloat attackGain_;
+00059   StkFloat loopGain_;
+00060 
+00061 };
+00062 
+00063 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Saxofony_8h-source.html b/doc/html/Saxofony_8h-source.html index 46a703f..894f695 100644 --- a/doc/html/Saxofony_8h-source.html +++ b/doc/html/Saxofony_8h-source.html @@ -8,73 +8,71 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Saxofony.h

00001 /***************************************************/
-00036 /***************************************************/
-00037 
-00038 #ifndef STK_SAXOFONY_H
-00039 #define STK_SAXOFONY_H
-00040 
-00041 #include "Instrmnt.h"
-00042 #include "DelayL.h"
-00043 #include "ReedTable.h"
-00044 #include "OneZero.h"
-00045 #include "Envelope.h"
-00046 #include "Noise.h"
-00047 #include "WaveLoop.h"
-00048 
+
+
+

Saxofony.h

00001 /***************************************************/
+00036 /***************************************************/
+00037 
+00038 #ifndef STK_SAXOFONY_H
+00039 #define STK_SAXOFONY_H
+00040 
+00041 #include "Instrmnt.h"
+00042 #include "DelayL.h"
+00043 #include "ReedTable.h"
+00044 #include "OneZero.h"
+00045 #include "Envelope.h"
+00046 #include "Noise.h"
+00047 #include "SineWave.h"
+00048 
 00049 class Saxofony : public Instrmnt
-00050 {
-00051  public:
-00053 
-00056   Saxofony(StkFloat lowestFrequency);
-00057 
-00059   ~Saxofony();
-00060 
-00062   void clear();
-00063 
-00065   void setFrequency(StkFloat frequency);
-00066 
-00068   void setBlowPosition(StkFloat aPosition);
-00069 
-00071   void startBlowing(StkFloat amplitude, StkFloat rate);
-00072 
-00074   void stopBlowing(StkFloat rate);
-00075 
-00077   void noteOn(StkFloat frequency, StkFloat amplitude);
-00078 
-00080   void noteOff(StkFloat amplitude);
-00081 
-00083   StkFloat tick();
-00084 
-00086   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00087 
-00089 
-00095   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00096 
-00098   void controlChange(int number, StkFloat value);
-00099 
-00100  protected:
-00101   DelayL    delays_[2];
-00102   ReedTable reedTable_;
-00103   OneZero   filter_;
-00104   Envelope  envelope_;
-00105   Noise     noise_;
-00106   WaveLoop *vibrato_;
-00107   unsigned long length_;
-00108   StkFloat outputGain_;
-00109   StkFloat noiseGain_;
-00110   StkFloat vibratoGain_;
-00111   StkFloat position_;
-00112 
-00113 };
-00114 
-00115 #endif
+00050 {
+00051  public:
+00053 
+00056   Saxofony(StkFloat lowestFrequency);
+00057 
+00059   ~Saxofony();
+00060 
+00062   void clear();
+00063 
+00065   void setFrequency(StkFloat frequency);
+00066 
+00068   void setBlowPosition(StkFloat aPosition);
+00069 
+00071   void startBlowing(StkFloat amplitude, StkFloat rate);
+00072 
+00074   void stopBlowing(StkFloat rate);
+00075 
+00077   void noteOn(StkFloat frequency, StkFloat amplitude);
+00078 
+00080   void noteOff(StkFloat amplitude);
+00081 
+00083   void controlChange(int number, StkFloat value);
+00084 
+00085  protected:
+00086 
+00087   StkFloat computeSample( void );
+00088 
+00089   DelayL    delays_[2];
+00090   ReedTable reedTable_;
+00091   OneZero   filter_;
+00092   Envelope  envelope_;
+00093   Noise     noise_;
+00094   SineWave vibrato_;
+00095   unsigned long length_;
+00096   StkFloat outputGain_;
+00097   StkFloat noiseGain_;
+00098   StkFloat vibratoGain_;
+00099   StkFloat position_;
+00100 
+00101 };
+00102 
+00103 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Shakers_8h-source.html b/doc/html/Shakers_8h-source.html index 35e95da..dee4f4d 100644 --- a/doc/html/Shakers_8h-source.html +++ b/doc/html/Shakers_8h-source.html @@ -8,84 +8,80 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Shakers.h

00001 /***************************************************/
-00053 /***************************************************/
-00054 
-00055 #ifndef STK_SHAKERS_H
-00056 #define STK_SHAKERS_H
-00057 
-00058 #include "Instrmnt.h"
-00059 
-00060 const int MAX_FREQS = 8;
-00061 const int NUM_INSTR = 24;
-00062 
+
+
+

Shakers.h

00001 /***************************************************/
+00053 /***************************************************/
+00054 
+00055 #ifndef STK_SHAKERS_H
+00056 #define STK_SHAKERS_H
+00057 
+00058 #include "Instrmnt.h"
+00059 
+00060 const int MAX_FREQS = 8;
+00061 const int NUM_INSTR = 24;
+00062 
 00063 class Shakers : public Instrmnt
-00064 {
-00065  public:
-00067   Shakers();
-00068 
-00070   ~Shakers();
-00071 
-00073 
-00077   void noteOn(StkFloat instrument, StkFloat amplitude);
-00078 
-00080   void noteOff(StkFloat amplitude);
-00081 
-00083   StkFloat tick();
-00084 
-00086   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00087 
-00089 
-00095   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00096 
-00098   void controlChange(int number, StkFloat value);
-00099 
-00100  protected:
-00101 
-00102   int setupName(char* instr);
-00103   int setupNum(int inst);
-00104   int setFreqAndReson(int which, StkFloat freq, StkFloat reson);
-00105   void setDecays(StkFloat sndDecay, StkFloat sysDecay);
-00106   void setFinalZs(StkFloat z0, StkFloat z1, StkFloat z2);
-00107   StkFloat wuter_tick();
-00108   StkFloat tbamb_tick();
-00109   StkFloat ratchet_tick();
-00110 
-00111   int instType_;
-00112   int ratchetPos_, lastRatchetPos_;
-00113   StkFloat shakeEnergy_;
-00114   StkFloat inputs_[MAX_FREQS];
-00115   StkFloat outputs_[MAX_FREQS][2];
-00116   StkFloat coeffs_[MAX_FREQS][2];
-00117   StkFloat sndLevel_;
-00118   StkFloat baseGain_;
-00119   StkFloat gains_[MAX_FREQS];
-00120   int nFreqs_;
-00121   StkFloat t_center_freqs_[MAX_FREQS];
-00122   StkFloat center_freqs_[MAX_FREQS];
-00123   StkFloat resons_[MAX_FREQS];
-00124   StkFloat freq_rand_[MAX_FREQS];
-00125   int freqalloc_[MAX_FREQS];
-00126   StkFloat soundDecay_;
-00127   StkFloat systemDecay_;
-00128   StkFloat nObjects_;
-00129   StkFloat totalEnergy_;
-00130   StkFloat ratchet_, ratchetDelta_;
-00131   StkFloat finalZ_[3];
-00132   StkFloat finalZCoeffs_[3];
-00133   StkFloat defObjs_[NUM_INSTR];
-00134   StkFloat defDecays_[NUM_INSTR];
-00135   StkFloat decayScale_[NUM_INSTR];
-00136 
-00137 };
-00138 
-00139 #endif
+00064 {
+00065  public:
+00067   Shakers();
+00068 
+00070   ~Shakers();
+00071 
+00073 
+00077   void noteOn(StkFloat instrument, StkFloat amplitude);
+00078 
+00080   void noteOff(StkFloat amplitude);
+00081 
+00083   void controlChange(int number, StkFloat value);
+00084 
+00085  protected:
+00086 
+00087   StkFloat computeSample( void );
+00088   int setupName(char* instr);
+00089   int setupNum(int inst);
+00090   int setFreqAndReson(int which, StkFloat freq, StkFloat reson);
+00091   void setDecays(StkFloat sndDecay, StkFloat sysDecay);
+00092   void setFinalZs(StkFloat z0, StkFloat z1, StkFloat z2);
+00093   StkFloat wuter_tick();
+00094   StkFloat tbamb_tick();
+00095   StkFloat ratchet_tick();
+00096 
+00097   int instType_;
+00098   int ratchetPos_, lastRatchetPos_;
+00099   StkFloat shakeEnergy_;
+00100   StkFloat inputs_[MAX_FREQS];
+00101   StkFloat outputs_[MAX_FREQS][2];
+00102   StkFloat coeffs_[MAX_FREQS][2];
+00103   StkFloat sndLevel_;
+00104   StkFloat baseGain_;
+00105   StkFloat gains_[MAX_FREQS];
+00106   int nFreqs_;
+00107   StkFloat t_center_freqs_[MAX_FREQS];
+00108   StkFloat center_freqs_[MAX_FREQS];
+00109   StkFloat resons_[MAX_FREQS];
+00110   StkFloat freq_rand_[MAX_FREQS];
+00111   int freqalloc_[MAX_FREQS];
+00112   StkFloat soundDecay_;
+00113   StkFloat systemDecay_;
+00114   StkFloat nObjects_;
+00115   StkFloat totalEnergy_;
+00116   StkFloat ratchet_, ratchetDelta_;
+00117   StkFloat finalZ_[3];
+00118   StkFloat finalZCoeffs_[3];
+00119   StkFloat defObjs_[NUM_INSTR];
+00120   StkFloat defDecays_[NUM_INSTR];
+00121   StkFloat decayScale_[NUM_INSTR];
+00122 
+00123 };
+00124 
+00125 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Simple_8h-source.html b/doc/html/Simple_8h-source.html index b9e754e..6e7b00e 100644 --- a/doc/html/Simple_8h-source.html +++ b/doc/html/Simple_8h-source.html @@ -8,66 +8,64 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Simple.h

00001 /***************************************************/
-00018 /***************************************************/
-00019 
-00020 #ifndef STK_SIMPLE_H
-00021 #define STK_SIMPLE_H
-00022 
-00023 #include "Instrmnt.h"
-00024 #include "ADSR.h"
-00025 #include "WaveLoop.h"
-00026 #include "OnePole.h"
-00027 #include "BiQuad.h"
-00028 #include "Noise.h"
-00029 
+
+
+

Simple.h

00001 /***************************************************/
+00018 /***************************************************/
+00019 
+00020 #ifndef STK_SIMPLE_H
+00021 #define STK_SIMPLE_H
+00022 
+00023 #include "Instrmnt.h"
+00024 #include "ADSR.h"
+00025 #include "WaveLoop.h"
+00026 #include "OnePole.h"
+00027 #include "BiQuad.h"
+00028 #include "Noise.h"
+00029 
 00030 class Simple : public Instrmnt
-00031 {
-00032  public:
-00034 
-00037   Simple();
-00038 
-00040   ~Simple();
-00041 
-00043   void clear();
-00044 
-00046   void setFrequency(StkFloat frequency);
-00047 
-00049   void keyOn();
-00050 
-00052   void keyOff();
-00053 
-00055   void noteOn(StkFloat frequency, StkFloat amplitude);
-00056 
-00058   void noteOff(StkFloat amplitude);
-00059 
-00061   StkFloat tick();
-00062 
-00064   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00065 
-00067 
-00073   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00074 
-00076   void controlChange(int number, StkFloat value);
-00077 
-00078  protected:  
-00079   ADSR      adsr_; 
-00080   WaveLoop *loop_;
-00081   OnePole   filter_;
-00082   BiQuad    biquad_;
-00083   Noise     noise_;
-00084   StkFloat  baseFrequency_;
-00085   StkFloat  loopGain_;
-00086 
-00087 };
-00088 
-00089 #endif
+00031 {
+00032  public:
+00034 
+00037   Simple();
+00038 
+00040   ~Simple();
+00041 
+00043   void clear();
+00044 
+00046   void setFrequency(StkFloat frequency);
+00047 
+00049   void keyOn();
+00050 
+00052   void keyOff();
+00053 
+00055   void noteOn(StkFloat frequency, StkFloat amplitude);
+00056 
+00058   void noteOff(StkFloat amplitude);
+00059 
+00061   void controlChange(int number, StkFloat value);
+00062 
+00063  protected:
+00064 
+00065   StkFloat computeSample( void );
+00066 
+00067   ADSR      adsr_; 
+00068   WaveLoop *loop_;
+00069   OnePole   filter_;
+00070   BiQuad    biquad_;
+00071   Noise     noise_;
+00072   StkFloat  baseFrequency_;
+00073   StkFloat  loopGain_;
+00074 
+00075 };
+00076 
+00077 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/SineWave_8h-source.html b/doc/html/SineWave_8h-source.html new file mode 100644 index 0000000..c49a6b4 --- /dev/null +++ b/doc/html/SineWave_8h-source.html @@ -0,0 +1,67 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ + +

SineWave.h

00001 /***************************************************/
+00014 /***************************************************/
+00015 
+00016 #ifndef STK_SINEWAVE_H
+00017 #define STK_SINEWAVE_H
+00018 
+00019 const unsigned long TABLE_SIZE = 2048;
+00020 
+00021 #include "Generator.h"
+00022 
+00023 class SineWave : public Generator
+00024 {
+00025 public:
+00027   SineWave( void );
+00028 
+00030   virtual ~SineWave( void );
+00031 
+00033   void reset( void );
+00034 
+00036 
+00039   void setRate( StkFloat rate ) { rate_ = rate; };
+00040 
+00042 
+00048   void setFrequency( StkFloat frequency );
+00049 
+00051   void addTime( StkFloat time );
+00052 
+00054 
+00059   void addPhase( StkFloat angle );
+00060 
+00062 
+00067   void addPhaseOffset( StkFloat angle );
+00068 
+00069 protected:
+00070 
+00071   StkFloat computeSample( void );
+00072 
+00073   static StkFrames table_;
+00074   StkFloat time_;
+00075   StkFloat rate_;
+00076   StkFloat phaseOffset_;
+00077 
+00078 };
+00079 
+00080 #endif
+

+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/SingWave_8h-source.html b/doc/html/SingWave_8h-source.html index b849914..deb7a74 100644 --- a/doc/html/SingWave_8h-source.html +++ b/doc/html/SingWave_8h-source.html @@ -8,73 +8,70 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

SingWave.h

00001 /***************************************************/
-00014 /***************************************************/
-00015 
-00016 #ifndef STK_SINGWAVE_H
-00017 #define STK_SINGWAVE_H
-00018 
-00019 #include "WaveLoop.h"
-00020 #include "Modulate.h"
-00021 #include "Envelope.h"
-00022 
+
+
+

SingWave.h

00001 /***************************************************/
+00014 /***************************************************/
+00015 
+00016 #ifndef STK_SINGWAVE_H
+00017 #define STK_SINGWAVE_H
+00018 
+00019 #include "WaveLoop.h"
+00020 #include "Modulate.h"
+00021 #include "Envelope.h"
+00022 
 00023 class SingWave : public Generator
-00024 {
-00025  public:
-00027 
-00031   SingWave( std::string fileName, bool raw=false);
-00032 
-00034   ~SingWave();
-00035 
-00037   void reset();
-00038 
-00040   void normalize();
-00041 
-00043   void normalize(StkFloat peak);
-00044 
-00046   void setFrequency(StkFloat frequency);
-00047 
-00049   void setVibratoRate(StkFloat rate);
-00050 
-00052   void setVibratoGain(StkFloat gain);
-00053 
-00055   void setRandomGain(StkFloat gain);
-00056 
-00058   void setSweepRate(StkFloat rate);
-00059 
-00061   void setGainRate(StkFloat rate);    
-00062 
-00064   void setGainTarget(StkFloat target);
-00065 
-00067   void noteOn();
-00068 
-00070   void noteOff();
-00071 
-00073   StkFloat tick();
-00074 
-00076   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00077 
-00079 
-00085   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00086 
-00087  protected:
-00088 
-00089   WaveLoop *wave_;
-00090   Modulate *modulator_;
-00091   Envelope envelope_;
-00092   Envelope pitchEnvelope_;
-00093   StkFloat rate_;
-00094   StkFloat sweepRate_;
-00095 
-00096 };
-00097 
-00098 #endif
+00024 {
+00025  public:
+00027 
+00031   SingWave( std::string fileName, bool raw = false);
+00032 
+00034   ~SingWave();
+00035 
+00037   void reset();
+00038 
+00040   void normalize();
+00041 
+00043   void normalize(StkFloat peak);
+00044 
+00046   void setFrequency(StkFloat frequency);
+00047 
+00049   void setVibratoRate(StkFloat rate);
+00050 
+00052   void setVibratoGain(StkFloat gain);
+00053 
+00055   void setRandomGain(StkFloat gain);
+00056 
+00058   void setSweepRate(StkFloat rate);
+00059 
+00061   void setGainRate(StkFloat rate);    
+00062 
+00064   void setGainTarget(StkFloat target);
+00065 
+00067   void noteOn();
+00068 
+00070   void noteOff();
+00071 
+00072  protected:
+00073 
+00074   StkFloat computeSample( void );
+00075 
+00076   WaveLoop *wave_;
+00077   Modulate modulator_;
+00078   Envelope envelope_;
+00079   Envelope pitchEnvelope_;
+00080   StkFloat rate_;
+00081   StkFloat sweepRate_;
+00082 
+00083 };
+00084 
+00085 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Sitar_8h-source.html b/doc/html/Sitar_8h-source.html index 97931cc..1dfd4d3 100644 --- a/doc/html/Sitar_8h-source.html +++ b/doc/html/Sitar_8h-source.html @@ -8,63 +8,61 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Sitar.h

00001 /***************************************************/
-00018 /***************************************************/
-00019 
-00020 #ifndef STK_SITAR_H
-00021 #define STK_SITAR_H
-00022 
-00023 #include "Instrmnt.h"
-00024 #include "DelayA.h"
-00025 #include "OneZero.h"
-00026 #include "Noise.h"
-00027 #include "ADSR.h"
-00028 
+
+
+

Sitar.h

00001 /***************************************************/
+00018 /***************************************************/
+00019 
+00020 #ifndef STK_SITAR_H
+00021 #define STK_SITAR_H
+00022 
+00023 #include "Instrmnt.h"
+00024 #include "DelayA.h"
+00025 #include "OneZero.h"
+00026 #include "Noise.h"
+00027 #include "ADSR.h"
+00028 
 00029 class Sitar : public Instrmnt
-00030 {
-00031  public:
-00033   Sitar( StkFloat lowestFrequency = 20 );
-00034 
-00036   ~Sitar();
-00037 
-00039   void clear();
-00040 
-00042   void setFrequency(StkFloat frequency);
-00043 
-00045   void pluck(StkFloat amplitude);
-00046 
-00048   void noteOn(StkFloat frequency, StkFloat amplitude);
-00049 
-00051   void noteOff(StkFloat amplitude);
-00052 
-00054   StkFloat tick();
-00055 
-00057   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00058 
-00060 
-00066   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00067 
-00068  protected:  
-00069   DelayA  delayLine_;
-00070   OneZero loopFilter_;
-00071   Noise   noise_;
-00072   ADSR    envelope_;
-00073 
-00074   StkFloat loopGain_;
-00075   StkFloat amGain_;
-00076   StkFloat delay_;
-00077   StkFloat targetDelay_;
-00078 
-00079 };
-00080 
-00081 #endif
-00082 
+00030 {
+00031  public:
+00033   Sitar( StkFloat lowestFrequency = 20 );
+00034 
+00036   ~Sitar();
+00037 
+00039   void clear();
+00040 
+00042   void setFrequency(StkFloat frequency);
+00043 
+00045   void pluck(StkFloat amplitude);
+00046 
+00048   void noteOn(StkFloat frequency, StkFloat amplitude);
+00049 
+00051   void noteOff(StkFloat amplitude);
+00052 
+00053  protected:
+00054 
+00055   StkFloat computeSample( void );
+00056 
+00057   DelayA  delayLine_;
+00058   OneZero loopFilter_;
+00059   Noise   noise_;
+00060   ADSR    envelope_;
+00061 
+00062   StkFloat loopGain_;
+00063   StkFloat amGain_;
+00064   StkFloat delay_;
+00065   StkFloat targetDelay_;
+00066 
+00067 };
+00068 
+00069 #endif
+00070 
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Skini_8h-source.html b/doc/html/Skini_8h-source.html index 78461d3..1edbb9e 100644 --- a/doc/html/Skini_8h-source.html +++ b/doc/html/Skini_8h-source.html @@ -8,22 +8,24 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Skini.h

00001 /***************************************************/
-00026 /***************************************************/
-00027 
-00028 #ifndef STK_SKINI_H
-00029 #define STK_SKINI_H
-00030 
-00031 #include "Stk.h"
-00032 #include <vector>
-00033 #include <string>
-00034 #include <fstream>
-00035 
+
+
+

Skini.h

00001 /***************************************************/
+00026 /***************************************************/
+00027 
+00028 #ifndef STK_SKINI_H
+00029 #define STK_SKINI_H
+00030 
+00031 #include "Stk.h"
+00032 #include <vector>
+00033 #include <string>
+00034 #include <fstream>
+00035 
 00036 class Skini : public Stk
-00037 {
-00038  public:
-00039 
+00037 {
+00038  public:
+00039 
 00041   struct Message { 
 00042     long type;                         
 00043     long channel;                      
@@ -31,62 +33,62 @@
 00045     std::vector<StkFloat> floatValues; 
 00046     std::vector<long> intValues;       
 00047     std::string remainder;             
-00049     // Default constructor.
-00050     Message()
-00051       :type(0), channel(0), time(0.0), floatValues(2), intValues(2) {}
-00052   };
-00053 
-00055   Skini();
-00056 
-00058   ~Skini();
-00059 
-00061 
-00065   bool setFile( std::string fileName );
-00066 
-00068 
-00074   long nextMessage( Skini::Message& message );
-00075 
-00077 
-00081   long parseString( std::string& line, Skini::Message& message );
-00082 
-00084   static std::string whatsThisType(long type);
-00085 
-00087   static std::string whatsThisController(long number);
-00088 
-00089  protected:
-00090 
-00091   void tokenize( const std::string& str, std::vector<std::string>& tokens, const std::string& delimiters );
-00092 
-00093   std::ifstream file_;
-00094 };
-00095 
-00096 static const double Midi2Pitch[129] = {
-00097 8.18,8.66,9.18,9.72,10.30,10.91,11.56,12.25,
-00098 12.98,13.75,14.57,15.43,16.35,17.32,18.35,19.45,
-00099 20.60,21.83,23.12,24.50,25.96,27.50,29.14,30.87,
-00100 32.70,34.65,36.71,38.89,41.20,43.65,46.25,49.00,
-00101 51.91,55.00,58.27,61.74,65.41,69.30,73.42,77.78,
-00102 82.41,87.31,92.50,98.00,103.83,110.00,116.54,123.47,
-00103 130.81,138.59,146.83,155.56,164.81,174.61,185.00,196.00,
-00104 207.65,220.00,233.08,246.94,261.63,277.18,293.66,311.13,
-00105 329.63,349.23,369.99,392.00,415.30,440.00,466.16,493.88,
-00106 523.25,554.37,587.33,622.25,659.26,698.46,739.99,783.99,
-00107 830.61,880.00,932.33,987.77,1046.50,1108.73,1174.66,1244.51,
-00108 1318.51,1396.91,1479.98,1567.98,1661.22,1760.00,1864.66,1975.53,
-00109 2093.00,2217.46,2349.32,2489.02,2637.02,2793.83,2959.96,3135.96,
-00110 3322.44,3520.00,3729.31,3951.07,4186.01,4434.92,4698.64,4978.03,
-00111 5274.04,5587.65,5919.91,6271.93,6644.88,7040.00,7458.62,7902.13,
-00112 8372.02,8869.84,9397.27,9956.06,10548.08,11175.30,11839.82,12543.85,
-00113 13289.75};
-00114 
-00115 #endif
-00116 
-00117 
+00049     // Default constructor.
+00050     Message()
+00051       :type(0), channel(0), time(0.0), floatValues(2), intValues(2) {}
+00052   };
+00053 
+00055   Skini();
+00056 
+00058   ~Skini();
+00059 
+00061 
+00065   bool setFile( std::string fileName );
+00066 
+00068 
+00074   long nextMessage( Skini::Message& message );
+00075 
+00077 
+00081   long parseString( std::string& line, Skini::Message& message );
+00082 
+00084   static std::string whatsThisType(long type);
+00085 
+00087   static std::string whatsThisController(long number);
+00088 
+00089  protected:
+00090 
+00091   void tokenize( const std::string& str, std::vector<std::string>& tokens, const std::string& delimiters );
+00092 
+00093   std::ifstream file_;
+00094 };
+00095 
+00096 static const double Midi2Pitch[129] = {
+00097 8.18,8.66,9.18,9.72,10.30,10.91,11.56,12.25,
+00098 12.98,13.75,14.57,15.43,16.35,17.32,18.35,19.45,
+00099 20.60,21.83,23.12,24.50,25.96,27.50,29.14,30.87,
+00100 32.70,34.65,36.71,38.89,41.20,43.65,46.25,49.00,
+00101 51.91,55.00,58.27,61.74,65.41,69.30,73.42,77.78,
+00102 82.41,87.31,92.50,98.00,103.83,110.00,116.54,123.47,
+00103 130.81,138.59,146.83,155.56,164.81,174.61,185.00,196.00,
+00104 207.65,220.00,233.08,246.94,261.63,277.18,293.66,311.13,
+00105 329.63,349.23,369.99,392.00,415.30,440.00,466.16,493.88,
+00106 523.25,554.37,587.33,622.25,659.26,698.46,739.99,783.99,
+00107 830.61,880.00,932.33,987.77,1046.50,1108.73,1174.66,1244.51,
+00108 1318.51,1396.91,1479.98,1567.98,1661.22,1760.00,1864.66,1975.53,
+00109 2093.00,2217.46,2349.32,2489.02,2637.02,2793.83,2959.96,3135.96,
+00110 3322.44,3520.00,3729.31,3951.07,4186.01,4434.92,4698.64,4978.03,
+00111 5274.04,5587.65,5919.91,6271.93,6644.88,7040.00,7458.62,7902.13,
+00112 8372.02,8869.84,9397.27,9956.06,10548.08,11175.30,11839.82,12543.85,
+00113 13289.75};
+00114 
+00115 #endif
+00116 
+00117 
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Socket_8h-source.html b/doc/html/Socket_8h-source.html index 3406e01..ab69263 100644 --- a/doc/html/Socket_8h-source.html +++ b/doc/html/Socket_8h-source.html @@ -8,66 +8,78 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Socket.h

00001 /***************************************************/
-00019 /***************************************************/
-00020 
-00021 #ifndef STK_SOCKET_H
-00022 #define STK_SOCKET_H
-00023 
-00024 #include "Stk.h"
-00025 
-00026 class Socket : public Stk
-00027 {
-00028  public:
-00030 
-00033   Socket( int port = 2006 );
-00034 
-00036 
-00039   Socket( int port, const char *hostname );
-00040 
-00042   ~Socket();
-00043 
-00045 
-00053   int connect( int port, const char *hostname = "localhost" );
-00054 
-00056   void close( void );
-00057 
-00059   int id( void ) const;
-00060 
-00062   int port( void ) const;
-00063 
-00065 
-00071   int accept( void );
-00072 
-00074   static void setBlocking( int socket, bool enable );
-00075 
-00077   static void close( int socket );
-00078 
-00080   static bool isValid( int socket );
-00081 
-00083   int writeBuffer(const void *buffer, long bufferSize, int flags = 0);
-00084 
-00086   static int writeBuffer(int socket, const void *buffer, long bufferSize, int flags );
-00087 
-00089   int readBuffer(void *buffer, long bufferSize, int flags = 0);
-00090 
-00092   static int readBuffer(int socket, void *buffer, long bufferSize, int flags );
-00093 
-00094  protected:
-00095 
-00096   int soket_;
-00097   int port_;
-00098   bool server_;
-00099 
-00100 };
-00101 
-00102 #endif // defined(STK_SOCKET_H)
+
+
+

Socket.h

00001 /***************************************************/
+00012 /***************************************************/
+00013 
+00014 #ifndef STK_SOCKET_H
+00015 #define STK_SOCKET_H
+00016 
+00017 #include "Stk.h"
+00018 
+00019 #if (defined(__OS_IRIX__) || defined(__OS_LINUX__) || defined(__OS_MACOSX__))
+00020 
+00021   #include <sys/socket.h>
+00022   #include <sys/types.h>
+00023   #include <arpa/inet.h>
+00024   #include <netdb.h>
+00025   #include <unistd.h>
+00026   #include <fcntl.h>
+00027   #include <netinet/in.h>
+00028   #include <netinet/tcp.h>
+00029 
+00030 #elif defined(__OS_WINDOWS__)
+00031 
+00032   #include <winsock.h>
+00033 
+00034 #endif
+00035 
+00036 class Socket : public Stk
+00037 {
+00038  public:
+00039 
+00040   enum ProtocolType {
+00041     PROTO_TCP,
+00042     PROTO_UDP
+00043   };
+00044 
+00046   Socket();
+00047 
+00049   virtual ~Socket();
+00050 
+00052   static void close( int socket );
+00053 
+00055   int id( void ) const;
+00056 
+00058   int port( void ) const;
+00059 
+00061   static bool isValid( int socket );
+00062 
+00064   static void setBlocking( int socket, bool enable );
+00065 
+00067   virtual int writeBuffer(const void *buffer, long bufferSize, int flags = 0) = 0;
+00068 
+00070   virtual int readBuffer(void *buffer, long bufferSize, int flags = 0) = 0;
+00071 
+00073   static int writeBuffer(int socket, const void *buffer, long bufferSize, int flags );
+00074 
+00076   static int readBuffer(int socket, void *buffer, long bufferSize, int flags );
+00077 
+00078  protected:
+00079 
+00080   int soket_;
+00081   int port_;
+00082 
+00083 };
+00084 
+00085 #endif // defined(STK_SOCKET_H)
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Sphere_8h-source.html b/doc/html/Sphere_8h-source.html index 00780dd..e4d5cf2 100644 --- a/doc/html/Sphere_8h-source.html +++ b/doc/html/Sphere_8h-source.html @@ -8,61 +8,63 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Sphere.h

00001 /***************************************************/
-00010 /***************************************************/
-00011 
-00012 #ifndef STK_SPHERE_H
-00013 #define STK_SPHERE_H
-00014 
-00015 #include "Stk.h"
-00016 #include "Vector3D.h"
-00017 
+
+
+

Sphere.h

00001 /***************************************************/
+00010 /***************************************************/
+00011 
+00012 #ifndef STK_SPHERE_H
+00013 #define STK_SPHERE_H
+00014 
+00015 #include "Stk.h"
+00016 #include "Vector3D.h"
+00017 
 00018 class Sphere : public Stk
-00019 {
-00020 public:
-00022   Sphere(StkFloat radius = 1.0 );
-00023 
-00025   ~Sphere();
-00026 
-00028   void setPosition(StkFloat x, StkFloat y, StkFloat z);
-00029 
-00031   void setVelocity(StkFloat x, StkFloat y, StkFloat z);
-00032 
-00034   void setRadius(StkFloat radius);
-00035 
-00037   void setMass(StkFloat mass);
-00038 
-00040   Vector3D* getPosition();
-00041 
-00043   Vector3D* getRelativePosition(Vector3D *position);
-00044 
-00046   StkFloat getVelocity(Vector3D* velocity);
-00047 
-00049   StkFloat isInside(Vector3D *position);
-00050 
-00052   StkFloat getRadius();
-00053 
-00055   StkFloat getMass();
-00056 
-00058   void addVelocity(StkFloat x, StkFloat y, StkFloat z);
-00059 
-00061   void tick(StkFloat timeIncrement);
-00062    
-00063 private:
-00064   Vector3D position_;
-00065   Vector3D velocity_;
-00066   Vector3D workingVector_;
-00067   StkFloat radius_;
-00068   StkFloat mass_;
-00069 };
-00070 
-00071 #endif
+00019 {
+00020 public:
+00022   Sphere(StkFloat radius = 1.0 );
+00023 
+00025   ~Sphere();
+00026 
+00028   void setPosition(StkFloat x, StkFloat y, StkFloat z);
+00029 
+00031   void setVelocity(StkFloat x, StkFloat y, StkFloat z);
+00032 
+00034   void setRadius(StkFloat radius);
+00035 
+00037   void setMass(StkFloat mass);
+00038 
+00040   Vector3D* getPosition();
+00041 
+00043   Vector3D* getRelativePosition(Vector3D *position);
+00044 
+00046   StkFloat getVelocity(Vector3D* velocity);
+00047 
+00049   StkFloat isInside(Vector3D *position);
+00050 
+00052   StkFloat getRadius();
+00053 
+00055   StkFloat getMass();
+00056 
+00058   void addVelocity(StkFloat x, StkFloat y, StkFloat z);
+00059 
+00061   void tick(StkFloat timeIncrement);
+00062    
+00063 private:
+00064   Vector3D position_;
+00065   Vector3D velocity_;
+00066   Vector3D workingVector_;
+00067   StkFloat radius_;
+00068   StkFloat mass_;
+00069 };
+00070 
+00071 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/StifKarp_8h-source.html b/doc/html/StifKarp_8h-source.html index 69c70c2..f8233d5 100644 --- a/doc/html/StifKarp_8h-source.html +++ b/doc/html/StifKarp_8h-source.html @@ -8,77 +8,75 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

StifKarp.h

00001 /***************************************************/
-00022 /***************************************************/
-00023 
-00024 #ifndef STK_STIFKARP_H
-00025 #define STK_STIFKARP_H
-00026 
-00027 #include "Instrmnt.h"
-00028 #include "DelayL.h"
-00029 #include "DelayA.h"
-00030 #include "OneZero.h"
-00031 #include "Noise.h"
-00032 #include "BiQuad.h"
-00033 
+
+
+

StifKarp.h

00001 /***************************************************/
+00022 /***************************************************/
+00023 
+00024 #ifndef STK_STIFKARP_H
+00025 #define STK_STIFKARP_H
+00026 
+00027 #include "Instrmnt.h"
+00028 #include "DelayL.h"
+00029 #include "DelayA.h"
+00030 #include "OneZero.h"
+00031 #include "Noise.h"
+00032 #include "BiQuad.h"
+00033 
 00034 class StifKarp : public Instrmnt
-00035 {
-00036  public:
-00038   StifKarp(StkFloat lowestFrequency);
-00039 
-00041   ~StifKarp();
-00042 
-00044   void clear();
-00045 
-00047   void setFrequency(StkFloat frequency);
-00048 
-00050   void setStretch(StkFloat stretch);
-00051 
-00053   void setPickupPosition(StkFloat position);
-00054 
-00056 
-00061   void setBaseLoopGain(StkFloat aGain);
-00062 
-00064   void pluck(StkFloat amplitude);
-00065 
-00067   void noteOn(StkFloat frequency, StkFloat amplitude);
-00068 
-00070   void noteOff(StkFloat amplitude);
-00071 
-00073   StkFloat tick();
-00074 
-00076   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00077 
-00079 
-00085   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00086 
-00088   void controlChange(int number, StkFloat value);
-00089 
-00090  protected:  
-00091     DelayA  delayLine_;
-00092     DelayL  combDelay_;
-00093     OneZero filter_;
-00094     Noise   noise_;
-00095     BiQuad  biquad_[4];
-00096 
-00097     unsigned long length_;
-00098     StkFloat loopGain_;
-00099     StkFloat baseLoopGain_;
-00100     StkFloat lastFrequency_;
-00101     StkFloat lastLength_;
-00102     StkFloat stretching_;
-00103     StkFloat pluckAmplitude_;
-00104     StkFloat pickupPosition_;
-00105 
-00106 };
-00107 
-00108 #endif
+00035 {
+00036  public:
+00038   StifKarp(StkFloat lowestFrequency);
+00039 
+00041   ~StifKarp();
+00042 
+00044   void clear();
+00045 
+00047   void setFrequency(StkFloat frequency);
+00048 
+00050   void setStretch(StkFloat stretch);
+00051 
+00053   void setPickupPosition(StkFloat position);
+00054 
+00056 
+00061   void setBaseLoopGain(StkFloat aGain);
+00062 
+00064   void pluck(StkFloat amplitude);
+00065 
+00067   void noteOn(StkFloat frequency, StkFloat amplitude);
+00068 
+00070   void noteOff(StkFloat amplitude);
+00071 
+00073   void controlChange(int number, StkFloat value);
+00074 
+00075  protected:
+00076 
+00077   StkFloat computeSample( void );
+00078 
+00079   DelayA  delayLine_;
+00080   DelayL  combDelay_;
+00081   OneZero filter_;
+00082   Noise   noise_;
+00083   BiQuad  biquad_[4];
+00084 
+00085   unsigned long length_;
+00086   StkFloat loopGain_;
+00087   StkFloat baseLoopGain_;
+00088   StkFloat lastFrequency_;
+00089   StkFloat lastLength_;
+00090   StkFloat stretching_;
+00091   StkFloat pluckAmplitude_;
+00092   StkFloat pickupPosition_;
+00093 
+00094 };
+00095 
+00096 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Stk_8h-source.html b/doc/html/Stk_8h-source.html index 3a4db6f..c81f8b1 100644 --- a/doc/html/Stk_8h-source.html +++ b/doc/html/Stk_8h-source.html @@ -8,219 +8,257 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Stk.h

00001 /***************************************************/
-00013 /***************************************************/
-00014 
-00015 #ifndef STK_STK_H
-00016 #define STK_STK_H
-00017 
-00018 #include <string>
-00019 #include <iostream>
-00020 #include <sstream>
-00021 #include <valarray>
-00022 
-00023 // Most data in STK is passed and calculated with the
-00024 // following user-definable floating-point type.  You
-00025 // can change this to "float" if you prefer or perhaps
-00026 // a "long double" in the future.
-00027 typedef double StkFloat;
-00028 
-00029 // The "MY_FLOAT" type was deprecated in STK
-00030 // versions higher than 4.1.3 and replaced with the variable
-00031 // "StkFloat".  
-00032 #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__)
-00033   typedef StkFloat MY_FLOAT;
-00034   #pragma deprecated(MY_FLOAT)
-00035 #elif defined(__GXX__) 
-00036   typedef StkFloat MY_FLOAT __attribute__ ((deprecated));
-00037 #else
-00038   typedef StkFloat MY_FLOAT; // temporary
-00039 #endif
-00040 
-00041 
-00043 
-00048 class StkError
-00049 {
-00050 public:
-00051   enum Type {
-00052     STATUS,
-00053     WARNING,
-00054     DEBUG_WARNING,
-00055     FUNCTION_ARGUMENT,
-00056     FILE_NOT_FOUND,
-00057     FILE_UNKNOWN_FORMAT,
-00058     FILE_ERROR,
-00059     PROCESS_THREAD,
-00060     PROCESS_SOCKET,
-00061     PROCESS_SOCKET_IPADDR,
-00062     AUDIO_SYSTEM,
-00063     MIDI_SYSTEM,
-00064     UNSPECIFIED
-00065   };
-00066 
-00067 protected:
-00068   std::string message_;
-00069   Type type_;
-00070 
-00071 public:
-00073   StkError(const std::string& message, Type type = StkError::UNSPECIFIED) : message_(message), type_(type) {}
-00074 
-00076   virtual ~StkError(void) {};
-00077 
-00079   virtual void printMessage(void) { std::cerr << '\n' << message_ << "\n\n"; }
-00080 
-00082   virtual const Type& getType(void) { return type_; }
-00083 
-00085   virtual const std::string& getMessage(void) { return message_; }
-00086 
-00088   virtual const char *getMessageCString(void) { return message_.c_str(); }
-00089 };
-00090 
-00091 
-00092 class Stk
-00093 {
-00094 public:
-00095 
-00096   typedef unsigned long StkFormat;
-00097   static const StkFormat STK_SINT8;   
-00098   static const StkFormat STK_SINT16;  
-00099   static const StkFormat STK_SINT24;  
-00100   static const StkFormat STK_SINT32;  
-00101   static const StkFormat STK_FLOAT32; 
-00102   static const StkFormat STK_FLOAT64; 
-00104 
-00105   static StkFloat sampleRate(void) { return srate_; }
-00106 
-00108 
-00116   static void setSampleRate(StkFloat rate) { if (rate > 0.0) srate_ = rate; }
-00117 
-00119   static std::string rawwavePath(void) { return rawwavepath_; }
-00120 
-00122   static void setRawwavePath(std::string path);
-00123 
-00125   static void swap16(unsigned char *ptr);
-00126 
-00128   static void swap32(unsigned char *ptr);
-00129 
-00131   static void swap64(unsigned char *ptr);
-00132 
-00134   static void sleep(unsigned long milliseconds);
-00135 
-00137   static void handleError( const char *message, StkError::Type type );
-00138 
-00140   static void handleError( std::string message, StkError::Type type );
-00141 
-00142 private:
-00143   static StkFloat srate_;
-00144   static std::string rawwavepath_;
-00145 
-00146 protected:
-00147 
-00148   std::ostringstream errorString_;
-00149 
-00151   Stk(void);
-00152 
-00154   virtual ~Stk(void);
-00155 
-00157   void handleError( StkError::Type type );
-00158 };
-00159 
-00160 
-00161 /***************************************************/
-00175 /***************************************************/
-00176 
-00177 class StkFrames
-00178 {
-00179 public:
-00180 
-00182   StkFrames( unsigned int nFrames = 0, unsigned int nChannels = 1, bool interleaved = true );
-00183 
-00185   StkFrames( const StkFloat& value, unsigned int nFrames, unsigned int nChannels, bool interleaved = true );
-00186 
-00188 
-00194   StkFloat& operator[]( size_t n ) { return data_[n]; };
-00195 
-00197 
-00201   StkFloat operator[]( size_t n ) const { return data_[n]; };
-00202 
-00204   size_t size() const { return size_; }; 
-00205 
-00207 
-00211   void resize( unsigned int nFrames, unsigned int nChannels = 1, StkFloat value = 0.0 );
-00212 
-00214   unsigned int channels( void ) const { return nChannels_; };
-00215 
-00217   unsigned int frames( void ) const { return nFrames_; };
-00218 
-00220   bool interleaved( void ) const { return interleaved_; };
-00221 
-00223   void setInterleaved( bool isInterleaved ) { interleaved_ = isInterleaved; };
-00224 
-00225 private:
-00226   std::valarray<StkFloat> data_;
-00227   unsigned int nFrames_;
-00228   unsigned int nChannels_;
-00229   size_t size_;
-00230   bool interleaved_;
-00231 
-00232 };
-00233 
-00234 
-00235 // Here are a few other useful typedefs.
-00236 typedef signed short SINT16;
-00237 typedef signed int SINT32;
-00238 typedef float FLOAT32;
-00239 typedef double FLOAT64;
-00240 
-00241 // The default sampling rate.
-00242 const StkFloat SRATE = 44100.0;
-00243 
-00244 // The default real-time audio input and output buffer size.  If
-00245 // clicks are occuring in the input and/or output sound stream, a
-00246 // larger buffer size may help.  Larger buffer sizes, however, produce
-00247 // more latency.
-00248 const unsigned int RT_BUFFER_SIZE = 512;
-00249 
-00250 // The default rawwave path value is set with the preprocessor
-00251 // definition RAWWAVE_PATH.  This can be specified as an argument to
-00252 // the configure script, in an integrated development environment, or
-00253 // below.  The global STK rawwave path variable can be dynamically set
-00254 // with the Stk::setRawwavePath() function.  This value is
-00255 // concatenated to the beginning of all references to rawwave files in
-00256 // the various STK core classes (ex. Clarinet.cpp).  If you wish to
-00257 // move the rawwaves directory to a different location in your file
-00258 // system, you will need to set this path definition appropriately.
-00259 #if !defined(RAWWAVE_PATH)
-00260   #define RAWWAVE_PATH "../../rawwaves/"
-00261 #endif
-00262 
-00263 const StkFloat PI           = 3.14159265359;
-00264 const StkFloat TWO_PI       = 2 * PI;
-00265 const StkFloat ONE_OVER_128 = 0.0078125;
-00266 
-00267 #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__)
-00268   #define __OS_WINDOWS__
-00269   #define __STK_REALTIME__
-00270 #elif defined(__LINUX_OSS__) || defined(__LINUX_ALSA__) || defined(__LINUX_JACK__)
-00271   #define __OS_LINUX__
-00272   #define __STK_REALTIME__
-00273 #elif defined(__IRIX_AL__)
-00274   #define __OS_IRIX__
-00275   #define __STK_REALTIME__
-00276 #elif defined(__MACOSX_CORE__)
-00277   #define __OS_MACOSX__
-00278   #define __STK_REALTIME__
-00279 #endif
-00280 
-00281 //#define _STK_DEBUG_
-00282 
-00283 #endif
+
+
+

Stk.h

00001 /***************************************************/
+00013 /***************************************************/
+00014 
+00015 #ifndef STK_STK_H
+00016 #define STK_STK_H
+00017 
+00018 #include <string>
+00019 #include <iostream>
+00020 #include <sstream>
+00021 
+00022 // Most data in STK is passed and calculated with the
+00023 // following user-definable floating-point type.  You
+00024 // can change this to "float" if you prefer or perhaps
+00025 // a "long double" in the future.
+00026 typedef double StkFloat;
+00027 
+00028 // The "MY_FLOAT" type was deprecated in STK
+00029 // versions higher than 4.1.3 and replaced with the variable
+00030 // "StkFloat".  
+00031 #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__)
+00032   typedef StkFloat MY_FLOAT;
+00033   #pragma deprecated(MY_FLOAT)
+00034 #elif defined(__GXX__) 
+00035   typedef StkFloat MY_FLOAT __attribute__ ((deprecated));
+00036 #else
+00037   typedef StkFloat MY_FLOAT; // temporary
+00038 #endif
+00039 
+00040 
+00042 
+00047 class StkError
+00048 {
+00049 public:
+00050   enum Type {
+00051     STATUS,
+00052     WARNING,
+00053     DEBUG_WARNING,
+00054     MEMORY_ALLOCATION,
+00055     MEMORY_ACCESS,
+00056     FUNCTION_ARGUMENT,
+00057     FILE_NOT_FOUND,
+00058     FILE_UNKNOWN_FORMAT,
+00059     FILE_ERROR,
+00060     PROCESS_THREAD,
+00061     PROCESS_SOCKET,
+00062     PROCESS_SOCKET_IPADDR,
+00063     AUDIO_SYSTEM,
+00064     MIDI_SYSTEM,
+00065     UNSPECIFIED
+00066   };
+00067 
+00068 protected:
+00069   std::string message_;
+00070   Type type_;
+00071 
+00072 public:
+00074   StkError(const std::string& message, Type type = StkError::UNSPECIFIED)
+00075     : message_(message), type_(type) {}
+00076 
+00078   virtual ~StkError(void) {};
+00079 
+00081   virtual void printMessage(void) { std::cerr << '\n' << message_ << "\n\n"; }
+00082 
+00084   virtual const Type& getType(void) { return type_; }
+00085 
+00087   virtual const std::string& getMessage(void) { return message_; }
+00088 
+00090   virtual const char *getMessageCString(void) { return message_.c_str(); }
+00091 };
+00092 
+00093 
+00094 class Stk
+00095 {
+00096 public:
+00097 
+00098   typedef unsigned long StkFormat;
+00099   static const StkFormat STK_SINT8;   
+00100   static const StkFormat STK_SINT16;  
+00101   static const StkFormat STK_SINT24;  
+00102   static const StkFormat STK_SINT32;  
+00103   static const StkFormat STK_FLOAT32; 
+00104   static const StkFormat STK_FLOAT64; 
+00106 
+00107   static StkFloat sampleRate(void) { return srate_; }
+00108 
+00110 
+00118   static void setSampleRate(StkFloat rate) { if (rate > 0.0) srate_ = rate; }
+00119 
+00121   static std::string rawwavePath(void) { return rawwavepath_; }
+00122 
+00124   static void setRawwavePath(std::string path);
+00125 
+00127   static void swap16(unsigned char *ptr);
+00128 
+00130   static void swap32(unsigned char *ptr);
+00131 
+00133   static void swap64(unsigned char *ptr);
+00134 
+00136   static void sleep(unsigned long milliseconds);
+00137 
+00139   static void handleError( const char *message, StkError::Type type );
+00140 
+00142   static void handleError( std::string message, StkError::Type type );
+00143 
+00145   static void showWarnings( bool status ) { showWarnings_ = status; }
+00146 
+00148   static void printErrors( bool status ) { printErrors_ = status; }
+00149 
+00150 private:
+00151   static StkFloat srate_;
+00152   static std::string rawwavepath_;
+00153   static bool showWarnings_;
+00154   static bool printErrors_;
+00155 
+00156 protected:
+00157 
+00158   std::ostringstream errorString_;
+00159 
+00161   Stk(void);
+00162 
+00164   virtual ~Stk(void);
+00165 
+00167   void handleError( StkError::Type type );
+00168 };
+00169 
+00170 
+00171 /***************************************************/
+00186 /***************************************************/
+00187 
+00188 class StkFrames
+00189 {
+00190 public:
+00191 
+00193   StkFrames( unsigned int nFrames = 0, unsigned int nChannels = 0, bool interleaved = true );
+00194 
+00196   StkFrames( const StkFloat& value, unsigned int nFrames, unsigned int nChannels, bool interleaved = true );
+00197 
+00199   ~StkFrames();
+00200 
+00202 
+00208   StkFloat& operator[] ( size_t n );
+00209 
+00211 
+00215   StkFloat operator[] ( size_t n ) const;
+00216 
+00218 
+00225   StkFloat& operator() ( size_t frame, unsigned int channel );
+00226 
+00228 
+00233   StkFloat operator() ( size_t frame, unsigned int channel ) const;
+00234 
+00236 
+00242   StkFloat interpolate( StkFloat frame, unsigned int channel = 0 ) const;
+00243 
+00245   size_t size() const { return size_; }; 
+00246 
+00248   bool empty() const;
+00249 
+00251 
+00258   void resize( size_t nFrames, unsigned int nChannels = 1 );
+00259 
+00261 
+00268   void resize( size_t nFrames, unsigned int nChannels, StkFloat value );
+00269 
+00271   unsigned int channels( void ) const { return nChannels_; };
+00272 
+00274   unsigned int frames( void ) const { return nFrames_; };
+00275 
+00277 
+00281   void setDataRate( StkFloat rate ) { dataRate_ = rate; };
+00282 
+00284 
+00288   StkFloat dataRate( void ) const { return dataRate_; };
+00289 
+00291   bool interleaved( void ) const { return interleaved_; };
+00292 
+00294 
+00299   void setInterleaved( bool isInterleaved ) { interleaved_ = isInterleaved; };
+00300 
+00301 private:
+00302 
+00303   StkFloat *data_;
+00304   StkFloat dataRate_;
+00305   size_t nFrames_;
+00306   unsigned int nChannels_;
+00307   size_t size_;
+00308   size_t bufferSize_;
+00309   bool interleaved_;
+00310 
+00311 };
+00312 
+00313 
+00314 // Here are a few other useful typedefs.
+00315 typedef unsigned short UINT16;
+00316 typedef unsigned int UINT32;
+00317 typedef signed short SINT16;
+00318 typedef signed int SINT32;
+00319 typedef float FLOAT32;
+00320 typedef double FLOAT64;
+00321 
+00322 // The default sampling rate.
+00323 const StkFloat SRATE = 44100.0;
+00324 
+00325 // The default real-time audio input and output buffer size.  If
+00326 // clicks are occuring in the input and/or output sound stream, a
+00327 // larger buffer size may help.  Larger buffer sizes, however, produce
+00328 // more latency.
+00329 const unsigned int RT_BUFFER_SIZE = 512;
+00330 
+00331 // The default rawwave path value is set with the preprocessor
+00332 // definition RAWWAVE_PATH.  This can be specified as an argument to
+00333 // the configure script, in an integrated development environment, or
+00334 // below.  The global STK rawwave path variable can be dynamically set
+00335 // with the Stk::setRawwavePath() function.  This value is
+00336 // concatenated to the beginning of all references to rawwave files in
+00337 // the various STK core classes (ex. Clarinet.cpp).  If you wish to
+00338 // move the rawwaves directory to a different location in your file
+00339 // system, you will need to set this path definition appropriately.
+00340 #if !defined(RAWWAVE_PATH)
+00341   #define RAWWAVE_PATH "../../rawwaves/"
+00342 #endif
+00343 
+00344 const StkFloat PI           = 3.14159265358979;
+00345 const StkFloat TWO_PI       = 2 * PI;
+00346 const StkFloat ONE_OVER_128 = 0.0078125;
+00347 
+00348 #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__) || defined(__WINDOWS_MM__)
+00349   #define __OS_WINDOWS__
+00350   #define __STK_REALTIME__
+00351 #elif defined(__LINUX_OSS__) || defined(__LINUX_ALSA__) || defined(__LINUX_JACK__)
+00352   #define __OS_LINUX__
+00353   #define __STK_REALTIME__
+00354 #elif defined(__IRIX_AL__)
+00355   #define __OS_IRIX__
+00356   #define __STK_REALTIME__
+00357 #elif defined(__MACOSX_CORE__)
+00358   #define __OS_MACOSX__
+00359   #define __STK_REALTIME__
+00360 #endif
+00361 
+00362 //#define _STK_DEBUG_
+00363 
+00364 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/SubNoise_8h-source.html b/doc/html/SubNoise_8h-source.html index 39dec01..4712143 100644 --- a/doc/html/SubNoise_8h-source.html +++ b/doc/html/SubNoise_8h-source.html @@ -8,46 +8,44 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

SubNoise.h

00001 /***************************************************/
-00011 /***************************************************/
-00012 
-00013 #ifndef STK_SUBNOISE_H
-00014 #define STK_SUBNOISE_H
-00015 
-00016 #include "Noise.h"
-00017 
+
+
+

SubNoise.h

00001 /***************************************************/
+00011 /***************************************************/
+00012 
+00013 #ifndef STK_SUBNOISE_H
+00014 #define STK_SUBNOISE_H
+00015 
+00016 #include "Noise.h"
+00017 
 00018 class SubNoise : public Noise
-00019 {
-00020  public:
-00021 
-00023   SubNoise(int subRate = 16);
-00024 
-00026   ~SubNoise();
-00027 
-00029   int subRate(void) const;
-00030 
-00032   void setRate(int subRate);
-00033 
-00035   StkFloat tick();
-00036 
-00038   StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
-00039 
-00041 
-00047   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00048 
-00049  protected:  
-00050   int counter_;
-00051   int rate_;
-00052 
-00053 };
-00054 
-00055 #endif
+00019 {
+00020  public:
+00021 
+00023   SubNoise( int subRate = 16 );
+00024 
+00026   ~SubNoise();
+00027 
+00029   int subRate( void ) const { return rate_; };
+00030 
+00032   void setRate( int subRate );
+00033 
+00034  protected:  
+00035 
+00036   StkFloat computeSample( void );
+00037 
+00038   int counter_;
+00039   int rate_;
+00040 
+00041 };
+00042 
+00043 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/TcpClient_8h-source.html b/doc/html/TcpClient_8h-source.html new file mode 100644 index 0000000..2d682a7 --- /dev/null +++ b/doc/html/TcpClient_8h-source.html @@ -0,0 +1,50 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ + +

TcpClient.h

00001 /***************************************************/
+00024 /***************************************************/
+00025 
+00026 #ifndef STK_TCPCLIENT_H
+00027 #define STK_TCPCLIENT_H
+00028 
+00029 #include "Socket.h"
+00030 
+00031 class TcpClient : public Socket
+00032 {
+00033  public:
+00035 
+00038   TcpClient( int port, std::string hostname = "localhost" );
+00039 
+00041   ~TcpClient();
+00042 
+00044 
+00049   int connect( int port, std::string hostname = "localhost" );
+00050 
+00052   int writeBuffer(const void *buffer, long bufferSize, int flags = 0);
+00053 
+00055   int readBuffer(void *buffer, long bufferSize, int flags = 0);
+00056 
+00057  protected:
+00058 
+00059 };
+00060 
+00061 #endif // defined(STK_TCPCLIENT_H)
+

+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/TcpServer_8h-source.html b/doc/html/TcpServer_8h-source.html new file mode 100644 index 0000000..d6708d4 --- /dev/null +++ b/doc/html/TcpServer_8h-source.html @@ -0,0 +1,50 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ + +

TcpServer.h

00001 /***************************************************/
+00024 /***************************************************/
+00025 
+00026 #ifndef STK_TCPSERVER_H
+00027 #define STK_TCPSERVER_H
+00028 
+00029 #include "Socket.h"
+00030 
+00031 class TcpServer : public Socket
+00032 {
+00033  public:
+00035 
+00038   TcpServer( int port = 2006 );
+00039 
+00041   ~TcpServer();
+00042 
+00044 
+00049   int accept( void );
+00050 
+00052   int writeBuffer(const void *buffer, long bufferSize, int flags = 0);
+00053 
+00055   int readBuffer(void *buffer, long bufferSize, int flags = 0);
+00056 
+00057  protected:
+00058 
+00059 };
+00060 
+00061 #endif // defined(STK_TCPSERVER_H)
+

+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/Thread_8h-source.html b/doc/html/Thread_8h-source.html index 6f791ab..60178b8 100644 --- a/doc/html/Thread_8h-source.html +++ b/doc/html/Thread_8h-source.html @@ -8,65 +8,67 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Thread.h

00001 /***************************************************/
-00021 /***************************************************/
-00022 
-00023 #ifndef STK_THREAD_H
-00024 #define STK_THREAD_H
-00025 
-00026 #include "Stk.h"
-00027 
-00028 #if (defined(__OS_IRIX__) || defined(__OS_LINUX__) || defined(__OS_MACOSX__))
-00029 
-00030   #include <pthread.h>
-00031   #define THREAD_TYPE
-00032   typedef pthread_t THREAD_HANDLE;
-00033   typedef void * THREAD_RETURN;
-00034   typedef void * (*THREAD_FUNCTION)(void *);
-00035 
-00036 #elif defined(__OS_WINDOWS__)
-00037 
-00038   #include <windows.h>
-00039   #include <process.h>
-00040   #define THREAD_TYPE __stdcall
-00041   typedef unsigned long THREAD_HANDLE;
-00042   typedef unsigned THREAD_RETURN;
-00043   typedef unsigned (__stdcall *THREAD_FUNCTION)(void *);
-00044 
-00045 #endif
-00046 
+
+
+

Thread.h

00001 /***************************************************/
+00021 /***************************************************/
+00022 
+00023 #ifndef STK_THREAD_H
+00024 #define STK_THREAD_H
+00025 
+00026 #include "Stk.h"
+00027 
+00028 #if (defined(__OS_IRIX__) || defined(__OS_LINUX__) || defined(__OS_MACOSX__))
+00029 
+00030   #include <pthread.h>
+00031   #define THREAD_TYPE
+00032   typedef pthread_t THREAD_HANDLE;
+00033   typedef void * THREAD_RETURN;
+00034   typedef void * (*THREAD_FUNCTION)(void *);
+00035 
+00036 #elif defined(__OS_WINDOWS__)
+00037 
+00038   #include <windows.h>
+00039   #include <process.h>
+00040   #define THREAD_TYPE __stdcall
+00041   typedef unsigned long THREAD_HANDLE;
+00042   typedef unsigned THREAD_RETURN;
+00043   typedef unsigned (__stdcall *THREAD_FUNCTION)(void *);
+00044 
+00045 #endif
+00046 
 00047 class Thread : public Stk
-00048 {
-00049  public:
-00051   Thread();
-00052 
-00054   ~Thread();
-00055 
-00057 
-00062   bool start( THREAD_FUNCTION routine, void * ptr = NULL );
-00063 
-00065 
-00072   bool cancel(void);
-00073 
-00075 
-00078   bool wait(void);
-00079 
-00081 
-00086   void testCancel(void);
-00087 
-00088  protected:
-00089 
-00090   THREAD_HANDLE thread_;
-00091 
-00092 };
-00093 
-00094 #endif
+00048 {
+00049  public:
+00051   Thread();
+00052 
+00054   ~Thread();
+00055 
+00057 
+00062   bool start( THREAD_FUNCTION routine, void * ptr = NULL );
+00063 
+00065 
+00072   bool cancel(void);
+00073 
+00075 
+00078   bool wait(void);
+00079 
+00081 
+00086   void testCancel(void);
+00087 
+00088  protected:
+00089 
+00090   THREAD_HANDLE thread_;
+00091 
+00092 };
+00093 
+00094 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/TubeBell_8h-source.html b/doc/html/TubeBell_8h-source.html index 81491ee..8463775 100644 --- a/doc/html/TubeBell_8h-source.html +++ b/doc/html/TubeBell_8h-source.html @@ -8,39 +8,38 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

TubeBell.h

00001 /***************************************************/
-00031 /***************************************************/
-00032 
-00033 #ifndef STK_TUBEBELL_H
-00034 #define STK_TUBEBELL_H
-00035 
-00036 #include "FM.h"
-00037 
+
+
+

TubeBell.h

00001 /***************************************************/
+00031 /***************************************************/
+00032 
+00033 #ifndef STK_TUBEBELL_H
+00034 #define STK_TUBEBELL_H
+00035 
+00036 #include "FM.h"
+00037 
 00038 class TubeBell : public FM
-00039 {
-00040  public:
-00042 
-00045   TubeBell();
-00046 
-00048   ~TubeBell();
-00049 
-00051   void noteOn(StkFloat frequency, StkFloat amplitude);
-00052 
-00054   StkFloat tick();
-00055 
-00057   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00058 
-00060 
-00066   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00067 };
-00068 
-00069 #endif
+00039 {
+00040  public:
+00042 
+00045   TubeBell();
+00046 
+00048   ~TubeBell();
+00049 
+00051   void noteOn(StkFloat frequency, StkFloat amplitude);
+00052 
+00053  protected:
+00054 
+00055   StkFloat computeSample( void );
+00056 };
+00057 
+00058 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/TwoPole_8h-source.html b/doc/html/TwoPole_8h-source.html index 422e0a5..a839454 100644 --- a/doc/html/TwoPole_8h-source.html +++ b/doc/html/TwoPole_8h-source.html @@ -8,55 +8,55 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

TwoPole.h

00001 /***************************************************/
-00013 /***************************************************/
-00014 
-00015 #ifndef STK_TWOPOLE_H
-00016 #define STK_TWOPOLE_H
-00017 
-00018 #include "Filter.h"
-00019 
+
+
+

TwoPole.h

00001 /***************************************************/
+00013 /***************************************************/
+00014 
+00015 #ifndef STK_TWOPOLE_H
+00016 #define STK_TWOPOLE_H
+00017 
+00018 #include "Filter.h"
+00019 
 00020 class TwoPole : protected Filter
-00021 {
-00022  public:
-00023 
-00025   TwoPole();
-00026 
-00028   ~TwoPole();
-00029 
-00031   void clear(void);
-00032 
-00034   void setB0(StkFloat b0);
-00035 
-00037   void setA1(StkFloat a1);
-00038 
-00040   void setA2(StkFloat a2);
-00041 
-00043 
-00056   void setResonance(StkFloat frequency, StkFloat radius, bool normalize = false);
-00057 
-00059 
-00063   void setGain(StkFloat gain);
-00064 
-00066   StkFloat getGain(void) const;
-00067 
-00069   StkFloat lastOut(void) const;
-00070 
-00072   StkFloat tick(StkFloat sample);
-00073 
-00075   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00076 
-00078 
-00084   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00085 };
-00086 
-00087 #endif
+00021 {
+00022  public:
+00023 
+00025   TwoPole();
+00026 
+00028   ~TwoPole();
+00029 
+00031   void clear(void);
+00032 
+00034   void setB0(StkFloat b0);
+00035 
+00037   void setA1(StkFloat a1);
+00038 
+00040   void setA2(StkFloat a2);
+00041 
+00043 
+00056   void setResonance(StkFloat frequency, StkFloat radius, bool normalize = false);
+00057 
+00059 
+00063   void setGain(StkFloat gain);
+00064 
+00066   StkFloat getGain(void) const;
+00067 
+00069   StkFloat lastOut(void) const;
+00070 
+00072   StkFloat tick(StkFloat sample);
+00073 
+00075 
+00081   StkFrames& tick( StkFrames& frames, unsigned int channel = 0 );
+00082 };
+00083 
+00084 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/TwoZero_8h-source.html b/doc/html/TwoZero_8h-source.html index d262ea8..b79f12b 100644 --- a/doc/html/TwoZero_8h-source.html +++ b/doc/html/TwoZero_8h-source.html @@ -8,54 +8,54 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

TwoZero.h

00001 /***************************************************/
-00013 /***************************************************/
-00014 
-00015 #ifndef STK_TWOZERO_H
-00016 #define STK_TWOZERO_H
-00017 
-00018 #include "Filter.h"
-00019 
+
+
+

TwoZero.h

00001 /***************************************************/
+00013 /***************************************************/
+00014 
+00015 #ifndef STK_TWOZERO_H
+00016 #define STK_TWOZERO_H
+00017 
+00018 #include "Filter.h"
+00019 
 00020 class TwoZero : protected Filter
-00021 {
-00022  public:
-00024   TwoZero();
-00025 
-00027   ~TwoZero();
-00028 
-00030   void clear(void);
-00031 
-00033   void setB0(StkFloat b0);
-00034 
-00036   void setB1(StkFloat b1);
-00037 
-00039   void setB2(StkFloat b2);
-00040 
-00042 
-00052   void setNotch(StkFloat frequency, StkFloat radius);
-00053 
-00055 
-00059   void setGain(StkFloat gain);
-00060 
-00062   StkFloat getGain(void) const;
-00063 
-00065   StkFloat lastOut(void) const;
-00066 
-00068   StkFloat tick(StkFloat sample);
-00069 
-00071   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00072 
-00074 
-00080   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00081 };
-00082 
-00083 #endif
+00021 {
+00022  public:
+00024   TwoZero();
+00025 
+00027   ~TwoZero();
+00028 
+00030   void clear(void);
+00031 
+00033   void setB0(StkFloat b0);
+00034 
+00036   void setB1(StkFloat b1);
+00037 
+00039   void setB2(StkFloat b2);
+00040 
+00042 
+00052   void setNotch(StkFloat frequency, StkFloat radius);
+00053 
+00055 
+00059   void setGain(StkFloat gain);
+00060 
+00062   StkFloat getGain(void) const;
+00063 
+00065   StkFloat lastOut(void) const;
+00066 
+00068   StkFloat tick(StkFloat sample);
+00069 
+00071 
+00077   StkFrames& tick( StkFrames& frames, unsigned int channel = 0 );
+00078 };
+00079 
+00080 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/UdpSocket_8h-source.html b/doc/html/UdpSocket_8h-source.html new file mode 100644 index 0000000..8bf21bf --- /dev/null +++ b/doc/html/UdpSocket_8h-source.html @@ -0,0 +1,59 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ + +

UdpSocket.h

00001 /***************************************************/
+00022 /***************************************************/
+00023 
+00024 #ifndef STK_UDPSOCKET_H
+00025 #define STK_UDPSOCKET_H
+00026 
+00027 #include "Socket.h"
+00028 
+00029 class UdpSocket : public Socket
+00030 {
+00031  public:
+00033 
+00036   UdpSocket( int port = 2006 );
+00037 
+00039   ~UdpSocket();
+00040 
+00042 
+00045   void setDestination( int port = 2006, std::string hostname = "localhost" );
+00046 
+00048 
+00051   int writeBuffer(const void *buffer, long bufferSize, int flags = 0);
+00052 
+00054   int readBuffer(void *buffer, long bufferSize, int flags = 0);
+00055 
+00057   int writeBufferTo(const void *buffer, long bufferSize, int port, std::string hostname = "localhost", int flags = 0 );
+00058 
+00059  protected:
+00060 
+00062 
+00065   void setAddress( struct sockaddr_in *address, int port = 2006, std::string hostname = "localhost" );
+00066 
+00067   struct sockaddr_in address_;
+00068   bool validAddress_;
+00069 
+00070 };
+00071 
+00072 #endif // defined(STK_UDPSOCKET_H)
+

+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/Vector3D_8h-source.html b/doc/html/Vector3D_8h-source.html index 534729e..3bff040 100644 --- a/doc/html/Vector3D_8h-source.html +++ b/doc/html/Vector3D_8h-source.html @@ -8,51 +8,53 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Vector3D.h

00001 /***************************************************/
-00009 /***************************************************/
-00010 
-00011 #ifndef STK_VECTOR3D_H
-00012 #define STK_VECTOR3D_H
-00013 
-00014 #include "Stk.h"
-00015 
+
+
+

Vector3D.h

00001 /***************************************************/
+00009 /***************************************************/
+00010 
+00011 #ifndef STK_VECTOR3D_H
+00012 #define STK_VECTOR3D_H
+00013 
+00014 #include "Stk.h"
+00015 
 00016 class Vector3D : public Stk
-00017 {
-00018 
-00019 public:
-00021   Vector3D(StkFloat initX=0.0, StkFloat initY=0.0, StkFloat initZ=0.0);
-00022 
-00024   ~Vector3D();
-00025 
-00027   StkFloat getX();
-00028 
-00030   StkFloat getY();
-00031 
-00033   StkFloat getZ();
-00034 
-00036   StkFloat getLength();
-00037 
-00039   void setXYZ(StkFloat x, StkFloat y, StkFloat z);
-00040 
-00042   void setX(StkFloat x);
-00043 
-00045   void setY(StkFloat y);
-00046 
-00048   void setZ(StkFloat z);
-00049 
-00050 protected:
-00051   StkFloat myX_;
-00052   StkFloat myY_;
-00053   StkFloat myZ_;
-00054 };
-00055 
-00056 #endif
+00017 {
+00018 
+00019 public:
+00021   Vector3D(StkFloat initX=0.0, StkFloat initY=0.0, StkFloat initZ=0.0);
+00022 
+00024   ~Vector3D();
+00025 
+00027   StkFloat getX();
+00028 
+00030   StkFloat getY();
+00031 
+00033   StkFloat getZ();
+00034 
+00036   StkFloat getLength();
+00037 
+00039   void setXYZ(StkFloat x, StkFloat y, StkFloat z);
+00040 
+00042   void setX(StkFloat x);
+00043 
+00045   void setY(StkFloat y);
+00046 
+00048   void setZ(StkFloat z);
+00049 
+00050 protected:
+00051   StkFloat myX_;
+00052   StkFloat myY_;
+00053   StkFloat myZ_;
+00054 };
+00055 
+00056 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/VoicForm_8h-source.html b/doc/html/VoicForm_8h-source.html index 1fecf4b..197002a 100644 --- a/doc/html/VoicForm_8h-source.html +++ b/doc/html/VoicForm_8h-source.html @@ -8,76 +8,74 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

VoicForm.h

00001 /***************************************************/
-00026 /***************************************************/
-00027 
-00028 #ifndef STK_VOICFORM_H
-00029 #define STK_VOICFORM_H
-00030 
-00031 #include "Instrmnt.h"
-00032 #include "Envelope.h"
-00033 #include "Noise.h"
-00034 #include "SingWave.h"
-00035 #include "FormSwep.h"
-00036 #include "OnePole.h"
-00037 #include "OneZero.h"
-00038 
+
+
+

VoicForm.h

00001 /***************************************************/
+00026 /***************************************************/
+00027 
+00028 #ifndef STK_VOICFORM_H
+00029 #define STK_VOICFORM_H
+00030 
+00031 #include "Instrmnt.h"
+00032 #include "Envelope.h"
+00033 #include "Noise.h"
+00034 #include "SingWave.h"
+00035 #include "FormSwep.h"
+00036 #include "OnePole.h"
+00037 #include "OneZero.h"
+00038 
 00039 class VoicForm : public Instrmnt
-00040 {
-00041   public:
-00043 
-00046   VoicForm();
-00047 
-00049   ~VoicForm();
-00050 
-00052   void clear();
-00053 
-00055   void setFrequency(StkFloat frequency);
-00056 
-00058   bool setPhoneme(const char* phoneme);
-00059 
-00061   void setVoiced(StkFloat vGain);
-00062 
-00064   void setUnVoiced(StkFloat nGain);
-00065 
-00067   void setFilterSweepRate(unsigned int whichOne, StkFloat rate);
-00068 
-00070   void setPitchSweepRate(StkFloat rate);
-00071 
-00073   void speak();
-00074 
-00076   void quiet();
-00077 
-00079   void noteOn(StkFloat frequency, StkFloat amplitude);
-00080 
-00082   void noteOff(StkFloat amplitude);
-00083 
-00085   StkFloat tick();
-00086 
-00088   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00089 
-00091 
-00097   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00098 
-00100   void controlChange(int number, StkFloat value);
-00101 
-00102 protected:
-00103   SingWave *voiced_;
-00104   Noise    noise_;
-00105   Envelope noiseEnv_;
-00106   FormSwep filters_[4];
-00107   OnePole  onepole_;
-00108   OneZero  onezero_;
-00109 
-00110 };
-00111 
-00112 #endif
+00040 {
+00041   public:
+00043 
+00046   VoicForm();
+00047 
+00049   ~VoicForm();
+00050 
+00052   void clear();
+00053 
+00055   void setFrequency(StkFloat frequency);
+00056 
+00058   bool setPhoneme(const char* phoneme);
+00059 
+00061   void setVoiced(StkFloat vGain);
+00062 
+00064   void setUnVoiced(StkFloat nGain);
+00065 
+00067   void setFilterSweepRate(unsigned int whichOne, StkFloat rate);
+00068 
+00070   void setPitchSweepRate(StkFloat rate);
+00071 
+00073   void speak();
+00074 
+00076   void quiet();
+00077 
+00079   void noteOn(StkFloat frequency, StkFloat amplitude);
+00080 
+00082   void noteOff(StkFloat amplitude);
+00083 
+00085   void controlChange(int number, StkFloat value);
+00086 
+00087 protected:
+00088 
+00089   StkFloat computeSample( void );
+00090 
+00091   SingWave *voiced_;
+00092   Noise    noise_;
+00093   Envelope noiseEnv_;
+00094   FormSwep filters_[4];
+00095   OnePole  onepole_;
+00096   OneZero  onezero_;
+00097 
+00098 };
+00099 
+00100 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Voicer_8h-source.html b/doc/html/Voicer_8h-source.html index 095b1e5..c05a9e1 100644 --- a/doc/html/Voicer_8h-source.html +++ b/doc/html/Voicer_8h-source.html @@ -8,97 +8,99 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Voicer.h

00001 /***************************************************/
-00030 /***************************************************/
-00031 
-00032 #ifndef STK_VOICER_H
-00033 #define STK_VOICER_H
-00034 
-00035 #include "Instrmnt.h"
-00036 #include <vector>
-00037 
+
+
+

Voicer.h

00001 /***************************************************/
+00030 /***************************************************/
+00031 
+00032 #ifndef STK_VOICER_H
+00033 #define STK_VOICER_H
+00034 
+00035 #include "Instrmnt.h"
+00036 #include <vector>
+00037 
 00038 class Voicer : public Stk
-00039 {
-00040 public:
-00042   Voicer( StkFloat decayTime=0.2 );
-00043 
-00045   ~Voicer();
-00046 
-00048 
-00052   void addInstrument( Instrmnt *instrument, int channel=0 );
-00053 
-00055 
-00060   void removeInstrument( Instrmnt *instrument );
-00061 
-00063 
-00071   long noteOn( StkFloat noteNumber, StkFloat amplitude, int channel=0 );
-00072 
-00074 
-00077   void noteOff( StkFloat noteNumber, StkFloat amplitude, int channel=0 );
-00078 
-00080 
-00083   void noteOff( long tag, StkFloat amplitude );
-00084 
-00086 
-00089   void setFrequency( StkFloat noteNumber, int channel=0 );
-00090 
-00092 
-00095   void setFrequency( long tag, StkFloat noteNumber );
-00096 
-00098   void pitchBend( StkFloat value, int channel=0 );
-00099 
-00101   void pitchBend( long tag, StkFloat value );
-00102 
-00104   void controlChange( int number, StkFloat value, int channel=0 );
-00105 
-00107   void controlChange( long tag, int number, StkFloat value );
-00108 
-00110   void silence( void );
-00111 
-00113   StkFloat tick();
-00114 
-00116   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00117 
-00119 
-00125   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00126 
-00128   StkFloat lastOut() const;
-00129 
-00131   StkFloat lastOutLeft() const;
-00132 
-00134   StkFloat lastOutRight() const;
-00135 
-00136 protected:
-00137 
-00138   struct Voice {
-00139     Instrmnt *instrument;
-00140     long tag;
-00141     StkFloat noteNumber;
-00142     StkFloat frequency;
-00143     int sounding;
-00144     int channel;
-00145 
-00146     // Default constructor.
-00147     Voice()
-00148       :instrument(0), tag(0), noteNumber(-1.0), frequency(0.0),
-00149          sounding(0), channel(0) {}
-00150   };
-00151 
-00152   std::vector<Voice> voices_;
-00153   long tags_;
-00154   int muteTime_;
-00155   StkFloat lastOutput_;
-00156   StkFloat lastOutputLeft_;
-00157   StkFloat lastOutputRight_;
-00158 };
-00159 
-00160 #endif
+00039 {
+00040 public:
+00042   Voicer( StkFloat decayTime=0.2 );
+00043 
+00045   ~Voicer();
+00046 
+00048 
+00052   void addInstrument( Instrmnt *instrument, int channel=0 );
+00053 
+00055 
+00060   void removeInstrument( Instrmnt *instrument );
+00061 
+00063 
+00071   long noteOn( StkFloat noteNumber, StkFloat amplitude, int channel=0 );
+00072 
+00074 
+00077   void noteOff( StkFloat noteNumber, StkFloat amplitude, int channel=0 );
+00078 
+00080 
+00083   void noteOff( long tag, StkFloat amplitude );
+00084 
+00086 
+00089   void setFrequency( StkFloat noteNumber, int channel=0 );
+00090 
+00092 
+00095   void setFrequency( long tag, StkFloat noteNumber );
+00096 
+00098   void pitchBend( StkFloat value, int channel=0 );
+00099 
+00101   void pitchBend( long tag, StkFloat value );
+00102 
+00104   void controlChange( int number, StkFloat value, int channel=0 );
+00105 
+00107   void controlChange( long tag, int number, StkFloat value );
+00108 
+00110   void silence( void );
+00111 
+00113   StkFloat tick();
+00114 
+00116   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
+00117 
+00119 
+00125   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
+00126 
+00128   StkFloat lastOut() const;
+00129 
+00131   StkFloat lastOutLeft() const;
+00132 
+00134   StkFloat lastOutRight() const;
+00135 
+00136 protected:
+00137 
+00138   struct Voice {
+00139     Instrmnt *instrument;
+00140     long tag;
+00141     StkFloat noteNumber;
+00142     StkFloat frequency;
+00143     int sounding;
+00144     int channel;
+00145 
+00146     // Default constructor.
+00147     Voice()
+00148       :instrument(0), tag(0), noteNumber(-1.0), frequency(0.0),
+00149          sounding(0), channel(0) {}
+00150   };
+00151 
+00152   std::vector<Voice> voices_;
+00153   long tags_;
+00154   int muteTime_;
+00155   StkFloat lastOutput_;
+00156   StkFloat lastOutputLeft_;
+00157   StkFloat lastOutputRight_;
+00158 };
+00159 
+00160 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/WaveLoop_8h-source.html b/doc/html/WaveLoop_8h-source.html index 439f8d0..80b039f 100644 --- a/doc/html/WaveLoop_8h-source.html +++ b/doc/html/WaveLoop_8h-source.html @@ -8,56 +8,59 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

WaveLoop.h

00001 /***************************************************/
-00019 /***************************************************/
-00020 
-00021 #ifndef STK_WAVELOOP_H
-00022 #define STK_WAVELOOP_H
-00023 
-00024 #include "WvIn.h"
-00025 
-00026 class WaveLoop : public WvIn
-00027 {
-00028 public:
-00030   WaveLoop( std::string fileName, bool raw = false );
-00031 
-00033   virtual ~WaveLoop();
-00034 
-00036 
-00042   void setFrequency(StkFloat frequency);
-00043 
-00045   void addTime(StkFloat time);
-00046 
-00048 
-00053   void addPhase(StkFloat angle);
-00054 
-00056 
-00061   void addPhaseOffset(StkFloat angle);
-00062 
-00064   const StkFloat *tickFrame(void);
-00065 
-00067 
-00070   StkFloat *tickFrame(StkFloat *frameVector, unsigned int frames);
-00071 
-00073 
-00079   StkFrames& tickFrame( StkFrames& frames );
-00080 
-00081 protected:
-00082 
-00083   // Read file data.
-00084   void readData(unsigned long index);
-00085 
-00086   StkFloat phaseOffset_;
-00087 
-00088 };
-00089 
-00090 #endif
+
+
+

WaveLoop.h

00001 /***************************************************/
+00017 /***************************************************/
+00018 
+00019 #ifndef STK_WAVELOOP_H
+00020 #define STK_WAVELOOP_H
+00021 
+00022 #include "FileWvIn.h"
+00023 
+00024 class WaveLoop : public FileWvIn
+00025 {
+00026 public:
+00028   WaveLoop( unsigned long chunkThreshold = 1000000, unsigned long chunkSize = 1024 );
+00029 
+00031   WaveLoop( std::string fileName, bool raw = false, bool doNormalize = true,
+00032             unsigned long chunkThreshold = 1000000, unsigned long chunkSize = 1024 );
+00033 
+00035   virtual ~WaveLoop();
+00036 
+00038 
+00047   void openFile( std::string fileName, bool raw = false, bool doNormalize = true );
+00048 
+00050 
+00053   void setRate( StkFloat rate );
+00054 
+00056 
+00062   void setFrequency( StkFloat frequency );
+00063 
+00065   void addTime( StkFloat time );
+00066 
+00068 
+00073   void addPhase( StkFloat angle );
+00074 
+00076 
+00081   void addPhaseOffset( StkFloat angle );
+00082 
+00083 protected:
+00084 
+00085   virtual void computeFrame( void );
+00086 
+00087   StkFrames firstFrame_;
+00088   StkFloat phaseOffset_;
+00089 
+00090 };
+00091 
+00092 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Whistle_8h-source.html b/doc/html/Whistle_8h-source.html index 4bb71a9..b3f6db4 100644 --- a/doc/html/Whistle_8h-source.html +++ b/doc/html/Whistle_8h-source.html @@ -8,78 +8,75 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Whistle.h

00001 /***************************************************/
-00017 /***************************************************/
-00018 
-00019 #ifndef STK_WHISTLE_H
-00020 #define STK_WHISTLE_H
-00021 
-00022 #include "Instrmnt.h"
-00023 #include "Sphere.h"
-00024 #include "Vector3D.h"
-00025 #include "Noise.h"
-00026 #include "WaveLoop.h"
-00027 #include "OnePole.h"
-00028 #include "Envelope.h"
-00029 
+
+
+

Whistle.h

00001 /***************************************************/
+00017 /***************************************************/
+00018 
+00019 #ifndef STK_WHISTLE_H
+00020 #define STK_WHISTLE_H
+00021 
+00022 #include "Instrmnt.h"
+00023 #include "Sphere.h"
+00024 #include "Vector3D.h"
+00025 #include "Noise.h"
+00026 #include "SineWave.h"
+00027 #include "OnePole.h"
+00028 #include "Envelope.h"
+00029 
 00030 class Whistle : public Instrmnt
-00031 {
-00032 public:
-00034 
-00037   Whistle();
-00038 
-00040   ~Whistle();
-00041 
-00043   void clear();
-00044 
-00046   void setFrequency(StkFloat frequency);
-00047 
-00049   void startBlowing(StkFloat amplitude, StkFloat rate);
-00050 
-00052   void stopBlowing(StkFloat rate);
-00053 
-00055   void noteOn(StkFloat frequency, StkFloat amplitude);
-00056 
-00058   void noteOff(StkFloat amplitude);
-00059 
-00061   StkFloat tick();
-00062 
-00064   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00065 
-00067 
-00073   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00074 
-00076   void controlChange(int number, StkFloat value);
-00077 
-00078 protected:  
-00079 
-00080          Vector3D *tempVectorP_;
-00081   Vector3D tempVector_;
-00082   OnePole onepole_;
-00083   Noise noise_;
-00084          Envelope envelope_;
-00085   Sphere can_;           // Declare a Spherical "can".
-00086   Sphere pea_, bumper_;  // One spherical "pea", and a spherical "bumper".
-00087 
-00088   WaveLoop *sine_;
-00089 
-00090   StkFloat baseFrequency_;
-00091   StkFloat noiseGain_;
-00092   StkFloat fippleFreqMod_;
-00093          StkFloat fippleGainMod_;
-00094          StkFloat blowFreqMod_;
-00095          StkFloat tickSize_;
-00096          StkFloat canLoss_;
-00097          int subSample_, subSampCount_;
-00098 };
-00099 
-00100 #endif
+00031 {
+00032 public:
+00034 
+00037   Whistle();
+00038 
+00040   ~Whistle();
+00041 
+00043   void clear();
+00044 
+00046   void setFrequency(StkFloat frequency);
+00047 
+00049   void startBlowing(StkFloat amplitude, StkFloat rate);
+00050 
+00052   void stopBlowing(StkFloat rate);
+00053 
+00055   void noteOn(StkFloat frequency, StkFloat amplitude);
+00056 
+00058   void noteOff(StkFloat amplitude);
+00059 
+00061   void controlChange(int number, StkFloat value);
+00062 
+00063 protected:
+00064 
+00065   StkFloat computeSample( void );
+00066 
+00067          Vector3D *tempVectorP_;
+00068   Vector3D tempVector_;
+00069   OnePole onepole_;
+00070   Noise noise_;
+00071          Envelope envelope_;
+00072   Sphere can_;           // Declare a Spherical "can".
+00073   Sphere pea_, bumper_;  // One spherical "pea", and a spherical "bumper".
+00074 
+00075   SineWave sine_;
+00076 
+00077   StkFloat baseFrequency_;
+00078   StkFloat noiseGain_;
+00079   StkFloat fippleFreqMod_;
+00080          StkFloat fippleGainMod_;
+00081          StkFloat blowFreqMod_;
+00082          StkFloat tickSize_;
+00083          StkFloat canLoss_;
+00084          int subSample_, subSampCount_;
+00085 };
+00086 
+00087 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/Wurley_8h-source.html b/doc/html/Wurley_8h-source.html index be75869..1aa9d26 100644 --- a/doc/html/Wurley_8h-source.html +++ b/doc/html/Wurley_8h-source.html @@ -8,41 +8,40 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Wurley.h

00001 /***************************************************/
-00031 /***************************************************/
-00032 
-00033 #ifndef STK_WURLEY_H
-00034 #define STK_WURLEY_H
-00035 
-00036 #include "FM.h"
-00037 
+
+
+

Wurley.h

00001 /***************************************************/
+00031 /***************************************************/
+00032 
+00033 #ifndef STK_WURLEY_H
+00034 #define STK_WURLEY_H
+00035 
+00036 #include "FM.h"
+00037 
 00038 class Wurley : public FM
-00039 {
-00040  public:
-00042 
-00045   Wurley();
-00046 
-00048   ~Wurley();
-00049 
-00051   void setFrequency(StkFloat frequency);
-00052 
-00054   void noteOn(StkFloat frequency, StkFloat amplitude);
-00055 
-00057   StkFloat tick();
-00058 
-00060   StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00061 
-00063 
-00069   StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00070 };
-00071 
-00072 #endif
+00039 {
+00040  public:
+00042 
+00045   Wurley();
+00046 
+00048   ~Wurley();
+00049 
+00051   void setFrequency(StkFloat frequency);
+00052 
+00054   void noteOn(StkFloat frequency, StkFloat amplitude);
+00055 
+00056  protected:
+00057 
+00058   StkFloat computeSample( void );
+00059 };
+00060 
+00061 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/WvIn_8h-source.html b/doc/html/WvIn_8h-source.html index f9313cb..f47a7b6 100644 --- a/doc/html/WvIn_8h-source.html +++ b/doc/html/WvIn_8h-source.html @@ -8,132 +8,60 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

WvIn.h

00001 /***************************************************/
-00043 /***************************************************/
-00044 
-00045 #ifndef STK_WVIN_H
-00046 #define STK_WVIN_H
-00047 
-00048 // Files larger than CHUNK_THRESHOLD will be copied into memory
-00049 // in CHUNK_SIZE increments, rather than completely loaded into
-00050 // a buffer at once.
-00051 
-00052 const unsigned long CHUNK_THRESHOLD = 5000000;  // 5 Mb
-00053 const long CHUNK_SIZE = 1024;          // sample frames
-00054 
-00055 #include "Stk.h"
-00056 
-00057 class WvIn : public Stk
-00058 {
-00059 public:
-00061   WvIn();
-00062 
-00064 
-00068   WvIn( std::string fileName, bool raw = false, bool doNormalize = true );
-00069 
-00071   virtual ~WvIn();
-00072 
-00074 
-00078   void openFile( std::string fileName, bool raw = false, bool doNormalize = true );
-00079 
-00081   void closeFile(void);
-00082 
-00084   void reset(void);
-00085 
-00087 
-00093   void normalize(void);
-00094 
-00096 
-00102   void normalize(StkFloat peak);
-00103 
-00105   unsigned long getSize(void) const;
-00106 
-00108   unsigned int getChannels(void) const;
-00109 
-00111 
-00116   StkFloat getFileRate(void) const;
-00117 
-00119   bool isFinished(void) const;
-00120 
-00122 
-00125   void setRate(StkFloat aRate);
-00126 
-00128   virtual void addTime(StkFloat aTime);
-00129 
-00131 
-00137   void setInterpolate(bool doInterpolate);
-00138 
-00140   virtual StkFloat lastOut(void) const;
-00141 
-00143 
-00146   virtual StkFloat tick(void);
-00147 
-00149 
-00152   virtual StkFloat *tick(StkFloat *vector, unsigned int vectorSize);
-00153 
-00155 
-00162   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
-00163 
-00165   virtual const StkFloat *lastFrame(void) const;
-00166 
-00168 
-00171   virtual const StkFloat *tickFrame(void);
-00172 
-00174 
-00177   virtual StkFloat *tickFrame(StkFloat *frameVector, unsigned int frames);
-00178 
-00180 
-00186   virtual StkFrames& tickFrame( StkFrames& frames );
-00187 
-00188 protected:
-00189 
-00190   // Initialize class variables.
-00191   void init( void );
-00192 
-00193   // Read file data.
-00194   virtual void readData(unsigned long index);
-00195 
-00196   // Get STK RAW file information.
-00197   bool getRawInfo( const char *fileName );
-00198 
-00199   // Get WAV file header information.
-00200   bool getWavInfo( const char *fileName );
-00201 
-00202   // Get SND (AU) file header information.
-00203   bool getSndInfo( const char *fileName );
-00204 
-00205   // Get AIFF file header information.
-00206   bool getAifInfo( const char *fileName );
-00207 
-00208   // Get MAT-file header information.
-00209   bool getMatInfo( const char *fileName );
-00210 
-00211   FILE *fd_;
-00212   StkFloat *data_;
-00213   StkFloat *lastOutputs_;
-00214   bool chunking_;
-00215   bool finished_;
-00216   bool interpolate_;
-00217   bool byteswap_;
-00218   unsigned long fileSize_;
-00219   unsigned long bufferSize_;
-00220   unsigned long dataOffset_;
-00221   unsigned int channels_;
-00222   long chunkPointer_;
-00223   StkFormat dataType_;
-00224   StkFloat fileRate_;
-00225   StkFloat gain_;
-00226   StkFloat time_;
-00227   StkFloat rate_;
-00228 };
-00229 
-00230 #endif
+
+
+

WvIn.h

00001 /***************************************************/
+00018 /***************************************************/
+00019 
+00020 #ifndef STK_WVIN_H
+00021 #define STK_WVIN_H
+00022 
+00023 #include "Stk.h"
+00024 #include <vector>
+00025 
+00026 class WvIn : public Stk
+00027 {
+00028 public:
+00030   WvIn();
+00031 
+00033   virtual ~WvIn();
+00034 
+00036   unsigned int getChannels( void ) const { return data_.channels(); };
+00037 
+00039 
+00042   StkFloat lastOut( void ) const;
+00043 
+00045 
+00048   const StkFrames& lastFrame( void ) const { return lastOutputs_; };
+00049 
+00051 
+00054   StkFloat tick( void );
+00055 
+00057 
+00064   StkFrames& tick( StkFrames& frames, unsigned int channel = 0 );
+00065 
+00067 
+00073   StkFrames& tickFrame( StkFrames& frames );
+00074 
+00075 protected:
+00076 
+00077   // This abstract function must be implemented in all subclasses.
+00078   // It is used to get around a C++ problem with overloaded virtual
+00079   // functions.
+00080   virtual void computeFrame( void ) = 0;
+00081 
+00082   StkFrames data_;
+00083   StkFrames lastOutputs_;
+00084 
+00085 };
+00086 
+00087 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/WvOut_8h-source.html b/doc/html/WvOut_8h-source.html index 39cafdb..b7422a5 100644 --- a/doc/html/WvOut_8h-source.html +++ b/doc/html/WvOut_8h-source.html @@ -8,121 +8,67 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

WvOut.h

00001 /***************************************************/
-00034 /***************************************************/
-00035 
-00036 #ifndef STK_WVOUT_H
-00037 #define STK_WVOUT_H
-00038 
-00039 #include "Stk.h"
-00040 
-00041 const unsigned long BUFFER_SIZE = 1024;  // sample frames
-00042 
-00043 class WvOut : public Stk
-00044 {
-00045  public:
-00046 
-00047   typedef unsigned long FILE_TYPE;
-00048 
-00049   static const FILE_TYPE WVOUT_RAW; 
-00050   static const FILE_TYPE WVOUT_WAV; 
-00051   static const FILE_TYPE WVOUT_SND; 
-00052   static const FILE_TYPE WVOUT_AIF; 
-00053   static const FILE_TYPE WVOUT_MAT; 
-00055 
-00056   WvOut();
-00057 
-00059 
-00062   WvOut( const char *fileName, unsigned int nChannels = 1, FILE_TYPE type = WVOUT_WAV, Stk::StkFormat format = STK_SINT16 );
-00063 
-00065   virtual ~WvOut();
-00066 
-00068 
-00071   void openFile( const char *fileName, unsigned int nChannels = 1,
-00072                  WvOut::FILE_TYPE type = WVOUT_WAV, Stk::StkFormat format = STK_SINT16 );
-00073 
-00075   void closeFile( void );
-00076 
-00078   unsigned long getFrames( void ) const;
-00079 
-00081   StkFloat getTime( void ) const;
-00082 
-00084   bool getClipStatus( void ) { return clipping_; };
-00085 
-00087   void resetClipStatus( void ) { clipping_ = false; };
-00088 
-00090 
-00093   virtual void tick(const StkFloat sample);
-00094 
-00096 
-00099   virtual void tick( const StkFloat *vector, unsigned int vectorSize );
-00100 
-00102 
-00108   virtual void tick( const StkFrames& frames, unsigned int channel = 1 );
-00109 
-00111 
-00114   virtual void tickFrame( const StkFloat *frameVector, unsigned int frames = 1);
-00115 
-00117 
-00122   virtual void tickFrame( const StkFrames& frames );
-00123 
-00124  protected:
-00125 
-00126   // Initialize class variables.
-00127   void init( void );
-00128 
-00129   // Write data to output file;
-00130   virtual void writeData( unsigned long frames );
-00131 
-00132   // Check for sample clipping and clamp.
-00133   void clipTest( StkFloat& sample );
-00134 
-00135   // Write STK RAW file header.
-00136   bool setRawFile( const char *fileName );
-00137 
-00138   // Write WAV file header.
-00139   bool setWavFile( const char *fileName );
-00140 
-00141   // Close WAV file, updating the header.
-00142   void closeWavFile( void );
-00143 
-00144   // Write SND (AU) file header.
-00145   bool setSndFile( const char *fileName );
-00146 
-00147   // Close SND file, updating the header.
-00148   void closeSndFile( void );
-00149 
-00150   // Write AIFF file header.
-00151   bool setAifFile( const char *fileName );
-00152 
-00153   // Close AIFF file, updating the header.
-00154   void closeAifFile( void );
-00155 
-00156   // Write MAT-file header.
-00157   bool setMatFile( const char *fileName );
-00158 
-00159   // Close MAT-file, updating the header.
-00160   void closeMatFile( void );
-00161 
-00162   FILE *fd_;
-00163   std::valarray<StkFloat> data_;
-00164   FILE_TYPE fileType_;
-00165   StkFormat dataType_;
-00166   unsigned int channels_;
-00167   unsigned long counter_;
-00168   unsigned long totalCount_;
-00169   bool byteswap_;
-00170   bool clipping_;
-00171 
-00172 };
-00173 
-00174 #endif
+
+
+

WvOut.h

00001 /***************************************************/
+00021 /***************************************************/
+00022 
+00023 #ifndef STK_WVOUT_H
+00024 #define STK_WVOUT_H
+00025 
+00026 #include "Stk.h"
+00027 #include <vector>
+00028 
+00029 class WvOut : public Stk
+00030 {
+00031  public:
+00032 
+00034   WvOut();
+00035 
+00037   virtual ~WvOut();
+00038 
+00040   unsigned long getFrameCount( void ) const;
+00041 
+00043   StkFloat getTime( void ) const;
+00044 
+00046   bool clipStatus( void ) { return clipping_; };
+00047 
+00049   void resetClipStatus( void ) { clipping_ = false; };
+00050 
+00052 
+00055   void tick( const StkFloat sample );
+00056 
+00058 
+00064   void tick( const StkFrames& frames, unsigned int channel = 0 );
+00065 
+00067 
+00072   void tickFrame( const StkFrames& frames );
+00073 
+00074  protected:
+00075 
+00076   // These abstract functions must be implemented in all subclasses.
+00077   // They are used to get around a C++ problem with overloaded virtual
+00078   // functions.
+00079   virtual void computeSample( const StkFloat sample ) = 0;
+00080 
+00081   virtual void computeFrames( const StkFrames& frames ) = 0;
+00082 
+00083   // Check for sample clipping and clamp.
+00084   StkFloat& clipTest( StkFloat& sample );
+00085 
+00086   StkFrames data_;
+00087   unsigned long frameCounter_;
+00088   bool clipping_;
+00089 
+00090 };
+00091 
+00092 #endif
 

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 322c563..e0cb394 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -8,13 +8,16 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- +

STK Class List

Here are the classes, structs, unions and interfaces with brief descriptions: + + + @@ -29,6 +32,10 @@ + + + + @@ -36,7 +43,10 @@ + + + @@ -76,38 +86,39 @@ + - + - - - + + + - - + +
ADSRSTK ADSR envelope class
AsympSTK asymptotic curve envelope class
BandedWGBanded waveguide modeling class
BeeThreeSTK Hammond-oid organ FM synthesis instrument
BiQuadSTK biquad (two-pole, two-zero) filter class
BlitSTK band-limited impulse train class
BlitSawSTK band-limited sawtooth wave class
BlitSquareSTK band-limited square wave class
BlowBotlSTK blown bottle instrument class
BlowHoleSTK clarinet physical model with one register hole and one tonehole
BowedSTK bowed string instrument class
EchoSTK echo effect class
EffectSTK abstract effects parent class
EnvelopeSTK envelope base class
FileReadSTK audio file input class
FileWriteSTK audio file output class
FileWvInSTK audio file input class
FileWvOutSTK audio file output class
FilterSTK filter class
FluteSTK flute physical model class
FMSTK abstract FM synthesis base class
FormSwepSTK sweepable formant filter class
FunctionSTK abstract function parent class
GeneratorSTK abstract unit generator parent class
GranulateSTK granular synthesis class
HevyMetlSTK heavy metal FM synthesis instrument
InetWvInSTK internet streaming input class
InetWvOutSTK internet streaming output class
InstrmntSTK instrument abstract base class
JCRevJohn Chowning's reverberator class
JetTableSTK jet table class
SaxofonySTK faux conical bore reed instrument class
ShakersPhISEM and PhOLIES class
SimpleSTK wavetable/noise instrument
SineWaveSTK sinusoid oscillator class
SingWaveSTK "singing" looped soundfile class
SitarSTK sitar string model class
SkiniSTK SKINI parsing class
Skini::MessageA message structure to store and pass parsed SKINI messages
SocketSTK TCP socket client/server class
SocketSTK internet socket abstract base class
SphereSTK sphere class
StifKarpSTK plucked stiff string instrument
StkSTK base class
StkErrorSTK error handling class
StkFramesAn STK class to handle vectorized audio data
SubNoiseSTK sub-sampled noise generator
TableSTK table lookup class
TcpWvInSTK internet streaming input class
TcpWvOutSTK internet streaming output class
TcpClientSTK TCP socket client class
TcpServerSTK TCP socket server class
ThreadSTK thread class
TubeBellSTK tubular bell (orchestral chime) FM synthesis instrument
TwoPoleSTK two-pole filter class
TwoZeroSTK two-zero filter class
UdpSocketSTK UDP socket server/client class
Vector3DSTK 3D vector class
VoicerSTK voice manager class
VoicFormFour formant synthesis instrument
WaveLoopSTK waveform oscillator class
WhistleSTK police/referee whistle instrument class
WurleySTK Wurlitzer electric piano FM synthesis instrument
WvInSTK audio data input base class
WvOutSTK audio data output base class
WvInSTK audio input abstract base class
WvOutSTK audio output abstract base class

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/classADSR-members.html b/doc/html/classADSR-members.html index 58f725a..7285b17 100644 --- a/doc/html/classADSR-members.html +++ b/doc/html/classADSR-members.html @@ -8,18 +8,21 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

ADSR Member List

This is the complete list of members for ADSR, including all inherited members. + +

ADSR Member List

This is the complete list of members for ADSR, including all inherited members.

- + + - + - + + + @@ -27,15 +30,16 @@ - + - + + @@ -47,18 +51,17 @@ - - - + + - - + +
ADSR(void)ADSR
Envelope(void)Envelope
Generator()Generator
Envelope(const Envelope &e)Envelope
Generator(void)Generator
getState(void) const ADSR [virtual]
handleError(const char *message, StkError::Type type)Stk [static]
handleError(const char *message, StkError::Type type)Stk [static]
handleError(std::string message, StkError::Type type)Stk [static]
handleError(StkError::Type type)Stk [protected]
keyOff(void)ADSR [virtual]
keyOn(void)ADSR [virtual]
lastOut() const Generator [inline, virtual]
lastOut(void) const Generator [inline, virtual]
operator=(const Envelope &e)Envelope
printErrors(bool status)Stk [inline, static]
rawwavePath(void)Stk [inline, static]
sampleRate(void)Stk [inline, static]
setAllTimes(StkFloat aTime, StkFloat dTime, StkFloat sLevel, StkFloat rTime)ADSR
setAttackTime(StkFloat time)ADSR
setDecayRate(StkFloat rate)ADSR
setDecayTime(StkFloat time)ADSR
setRate(StkFloat rate)Envelope
setRate(StkFloat rate)Envelope
setRawwavePath(std::string path)Stk [static]
setReleaseRate(StkFloat rate)ADSR
setReleaseTime(StkFloat time)ADSR
setSampleRate(StkFloat rate)Stk [inline, static]
setSustainLevel(StkFloat level)ADSR
setTarget(StkFloat target)ADSR [virtual]
setTime(StkFloat time)Envelope
setTime(StkFloat time)Envelope
setValue(StkFloat value)ADSR [virtual]
showWarnings(bool status)Stk [inline, static]
sleep(unsigned long milliseconds)Stk [static]
Stk(void)Stk [protected]
STK_FLOAT32Stk [static]
swap16(unsigned char *ptr)Stk [static]
swap32(unsigned char *ptr)Stk [static]
swap64(unsigned char *ptr)Stk [static]
tick(void)ADSR [virtual]
tick(StkFloat *vector, unsigned int vectorSize)ADSR [virtual]
tick(StkFrames &frames, unsigned int channel=1)ADSR [virtual]
tick(void)Generator
tick(StkFrames &frames, unsigned int channel=0)Generator
~ADSR(void)ADSR
~Envelope(void)Envelope [virtual]
~Generator()Generator [virtual]
~Envelope(void)Envelope [virtual]
~Generator(void)Generator [virtual]
~Stk(void)Stk [protected, virtual]

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/classADSR.html b/doc/html/classADSR.html index 509423c..3a955f5 100644 --- a/doc/html/classADSR.html +++ b/doc/html/classADSR.html @@ -8,8 +8,8 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

ADSR Class Reference

#include <ADSR.h> + +

ADSR Class Reference

#include <ADSR.h>

Inheritance diagram for ADSR:

@@ -22,131 +22,75 @@ STK ADSR envelope class.

This Envelope subclass implements a traditional ADSR (Attack, Decay, Sustain, Release) envelope. It responds to simple keyOn and keyOff messages, keeping track of its state. The state = ADSR::DONE after the envelope value reaches 0.0 in the ADSR::RELEASE state.

-by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

- -

-Definition at line 23 of file ADSR.h. +
- - + + - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - -

Public Types

enum  

Public Types

enum  
 Envelope states.


Public Member Functions

ADSR (void)
 Envelope states.

Public Member Functions

ADSR (void)
 Default constructor.

~ADSR (void)
 Default constructor.
~ADSR (void)
 Class destructor.

-void keyOn (void)
 Class destructor.
+void keyOn (void)
 Set target = 1, state = ADSR::ATTACK.

-void keyOff (void)
 Set target = 1, state = ADSR::ATTACK.
+void keyOff (void)
 Set target = 0, state = ADSR::RELEASE.

-void setAttackRate (StkFloat rate)
 Set target = 0, state = ADSR::RELEASE.
+void setAttackRate (StkFloat rate)
 Set the attack rate.

-void setDecayRate (StkFloat rate)
 Set the attack rate.
+void setDecayRate (StkFloat rate)
 Set the decay rate.

-void setSustainLevel (StkFloat level)
 Set the decay rate.
+void setSustainLevel (StkFloat level)
 Set the sustain level.

-void setReleaseRate (StkFloat rate)
 Set the sustain level.
+void setReleaseRate (StkFloat rate)
 Set the release rate.

-void setAttackTime (StkFloat time)
 Set the release rate.
+void setAttackTime (StkFloat time)
 Set the attack rate based on a time duration.

-void setDecayTime (StkFloat time)
 Set the attack rate based on a time duration.
+void setDecayTime (StkFloat time)
 Set the decay rate based on a time duration.

-void setReleaseTime (StkFloat time)
 Set the decay rate based on a time duration.
+void setReleaseTime (StkFloat time)
 Set the release rate based on a time duration.

-void setAllTimes (StkFloat aTime, StkFloat dTime, StkFloat sLevel, StkFloat rTime)
 Set the release rate based on a time duration.
+void setAllTimes (StkFloat aTime, StkFloat dTime, StkFloat sLevel, StkFloat rTime)
 Set sustain level and attach, decay, and release time durations.

-void setTarget (StkFloat target)
 Set sustain level and attack, decay, and release time durations.
+void setTarget (StkFloat target)
 Set the target value.

-int getState (void) const
 Set the target value.
+int getState (void) const
 Return the current envelope state (ATTACK, DECAY, SUSTAIN, RELEASE, DONE).

-void setValue (StkFloat value)
 Return the current envelope state (ATTACK, DECAY, SUSTAIN, RELEASE, DONE).
+void setValue (StkFloat value)
 Set to state = ADSR::SUSTAIN with current and target values of aValue.

-StkFloat tick (void)
 Return one envelope output value.

-StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
 Compute vectorSize outputs and return them in vector.

StkFramestick (StkFrames &frames, unsigned int channel=1)
 Fill a channel of the StkFrames object with computed outputs.

-


Member Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
StkFrames& ADSR::tick StkFrames frames,
unsigned int  channel = 1
[virtual]
-
- - - - - +
-   - - -

-Fill a channel of the StkFrames object with computed outputs. -

-The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

-Reimplemented from Envelope.

 Set to state = ADSR::SUSTAIN with current and target values of aValue.


The documentation for this class was generated from the following file: @@ -154,7 +98,7 @@ Reimplemented from Envelope. - +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/classADSR__coll__graph.map b/doc/html/classADSR__coll__graph.map new file mode 100644 index 0000000..9a3afcf --- /dev/null +++ b/doc/html/classADSR__coll__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classEnvelope.html 9,155 73,176 +rect $classGenerator.html 7,86 76,107 +rect $classStk.html 23,16 60,38 diff --git a/doc/html/classADSR__coll__graph.md5 b/doc/html/classADSR__coll__graph.md5 new file mode 100644 index 0000000..1c9258f --- /dev/null +++ b/doc/html/classADSR__coll__graph.md5 @@ -0,0 +1 @@ +a88fb28711921053489fa725d2a75ef5 \ No newline at end of file diff --git a/doc/html/classADSR__coll__graph.png b/doc/html/classADSR__coll__graph.png new file mode 100644 index 0000000..92f5c3a Binary files /dev/null and b/doc/html/classADSR__coll__graph.png differ diff --git a/doc/html/classADSR__inherit__graph.map b/doc/html/classADSR__inherit__graph.map new file mode 100644 index 0000000..9a3afcf --- /dev/null +++ b/doc/html/classADSR__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classEnvelope.html 9,155 73,176 +rect $classGenerator.html 7,86 76,107 +rect $classStk.html 23,16 60,38 diff --git a/doc/html/classADSR__inherit__graph.md5 b/doc/html/classADSR__inherit__graph.md5 new file mode 100644 index 0000000..7ee02ab --- /dev/null +++ b/doc/html/classADSR__inherit__graph.md5 @@ -0,0 +1 @@ +bc6efc045f2030ce7b5bd6dd00eafcf5 \ No newline at end of file diff --git a/doc/html/classADSR__inherit__graph.png b/doc/html/classADSR__inherit__graph.png new file mode 100644 index 0000000..92f5c3a Binary files /dev/null and b/doc/html/classADSR__inherit__graph.png differ diff --git a/doc/html/classAsymp-members.html b/doc/html/classAsymp-members.html index c991715..c978edc 100644 --- a/doc/html/classAsymp-members.html +++ b/doc/html/classAsymp-members.html @@ -8,27 +8,31 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Asymp Member List

This is the complete list of members for Asymp, including all inherited members. + +

Asymp Member List

This is the complete list of members for Asymp, including all inherited members.

- - - + + + + - + + + - + - + + @@ -40,18 +44,17 @@ - - - + + - - + +
Asymp(void)Asymp
Envelope(void)Envelope
Generator()Generator
getState(void) const Envelope [virtual]
handleError(const char *message, StkError::Type type)Stk [static]
Envelope(const Envelope &e)Envelope
Generator(void)Generator
getState(void) const Envelope [virtual]
handleError(const char *message, StkError::Type type)Stk [static]
handleError(std::string message, StkError::Type type)Stk [static]
handleError(StkError::Type type)Stk [protected]
keyOff(void)Asymp [virtual]
keyOn(void)Asymp [virtual]
lastOut() const Generator [inline, virtual]
lastOut(void) const Generator [inline, virtual]
operator=(const Envelope &e)Envelope
printErrors(bool status)Stk [inline, static]
rawwavePath(void)Stk [inline, static]
sampleRate(void)Stk [inline, static]
setRate(StkFloat rate)Envelope
setRate(StkFloat rate)Envelope
setRawwavePath(std::string path)Stk [static]
setSampleRate(StkFloat rate)Stk [inline, static]
setTarget(StkFloat target)Asymp [virtual]
setTau(StkFloat tau)Asymp
setTime(StkFloat time)Asymp
setValue(StkFloat value)Envelope [virtual]
setValue(StkFloat value)Envelope [virtual]
showWarnings(bool status)Stk [inline, static]
sleep(unsigned long milliseconds)Stk [static]
Stk(void)Stk [protected]
STK_FLOAT32Stk [static]
swap16(unsigned char *ptr)Stk [static]
swap32(unsigned char *ptr)Stk [static]
swap64(unsigned char *ptr)Stk [static]
tick(void)Asymp [virtual]
tick(StkFloat *vector, unsigned int vectorSize)Asymp [virtual]
tick(StkFrames &frames, unsigned int channel=1)Asymp [virtual]
tick(void)Generator
tick(StkFrames &frames, unsigned int channel=0)Generator
~Asymp(void)Asymp
~Envelope(void)Envelope [virtual]
~Generator()Generator [virtual]
~Envelope(void)Envelope [virtual]
~Generator(void)Generator [virtual]
~Stk(void)Stk [protected, virtual]

- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/classAsymp.html b/doc/html/classAsymp.html index 318de72..211f093 100644 --- a/doc/html/classAsymp.html +++ b/doc/html/classAsymp.html @@ -8,8 +8,8 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

Asymp Class Reference

#include <Asymp.h> + +

Asymp Class Reference

#include <Asymp.h>

Inheritance diagram for Asymp:

@@ -24,72 +24,58 @@ STK asymptotic curve envelope class. This class implements a simple envelope generator which asymptotically approaches a target value. The algorithm used is of the form:

x[n] = a x[n-1] + (1-a) target,

where a = exp(-T/tau), T is the sample period, and tau is a time constant. The user can set the time constant (default value = 0.3) and target value. Theoretically, this recursion never reaches its target, though the calculations in this class are stopped when the current value gets within a small threshold value of the target (at which time the current value is set to the target). It responds to keyOn and keyOff messages by ramping to 1.0 on keyOn and to 0.0 on keyOff.

-by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

- -

-Definition at line 33 of file Asymp.h. +
- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

Public Member Functions

Asymp (void)

Public Member Functions

Asymp (void)
 Default constructor.

~Asymp (void)
 Default constructor.
~Asymp (void)
 Class destructor.

-void keyOn (void)
 Class destructor.
+void keyOn (void)
 Set target = 1.

-void keyOff (void)
 Set target = 1.
+void keyOff (void)
 Set target = 0.

void setTau (StkFloat tau)
 Set target = 0.
void setTau (StkFloat tau)
 Set the asymptotic rate via the time factor tau (must be > 0).

-void setTime (StkFloat time)
 Set the asymptotic rate via the time factor tau (must be > 0).
+void setTime (StkFloat time)
 Set the asymptotic rate based on a time duration (must be > 0).

-void setTarget (StkFloat target)
 Set the asymptotic rate based on a time duration (must be > 0).
+void setTarget (StkFloat target)
 Set the target value.

-StkFloat tick (void)
 Return one envelope output value.

-StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
 Compute vectorSize outputs and return them in vector.

StkFramestick (StkFrames &frames, unsigned int channel=1)
 Fill a channel of the StkFrames object with computed outputs.

 Set the target value.


Member Function Documentation

-

- +

+

- + -
void Asymp::setTau void Asymp::setTau StkFloat  tau  ) 
- +
  @@ -99,49 +85,7 @@ StkFloat * 

- - - - -
- - - - - - - - - - - - - - - - - - - -
StkFrames& Asymp::tick StkFrames frames,
unsigned int  channel = 1
[virtual]
-
- - - - +The rate is computed as described above. The value of tau must be greater than zero. Values of tau close to zero produce fast approach rates, while values greater than 1.0 produce rather slow rates.
-   - - -

-Fill a channel of the StkFrames object with computed outputs. -

-The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

-Reimplemented from Envelope.


The documentation for this class was generated from the following file:
    @@ -150,7 +94,7 @@ Reimplemented from Envelope. - +
    The Synthesis ToolKit in C++ (STK)
    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
    diff --git a/doc/html/classAsymp__coll__graph.map b/doc/html/classAsymp__coll__graph.map new file mode 100644 index 0000000..9a3afcf --- /dev/null +++ b/doc/html/classAsymp__coll__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classEnvelope.html 9,155 73,176 +rect $classGenerator.html 7,86 76,107 +rect $classStk.html 23,16 60,38 diff --git a/doc/html/classAsymp__coll__graph.md5 b/doc/html/classAsymp__coll__graph.md5 new file mode 100644 index 0000000..c0ebf5e --- /dev/null +++ b/doc/html/classAsymp__coll__graph.md5 @@ -0,0 +1 @@ +5ea5446eaf58c1b6af2b3acd0746c151 \ No newline at end of file diff --git a/doc/html/classAsymp__coll__graph.png b/doc/html/classAsymp__coll__graph.png new file mode 100644 index 0000000..d040609 Binary files /dev/null and b/doc/html/classAsymp__coll__graph.png differ diff --git a/doc/html/classAsymp__inherit__graph.map b/doc/html/classAsymp__inherit__graph.map new file mode 100644 index 0000000..9a3afcf --- /dev/null +++ b/doc/html/classAsymp__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classEnvelope.html 9,155 73,176 +rect $classGenerator.html 7,86 76,107 +rect $classStk.html 23,16 60,38 diff --git a/doc/html/classAsymp__inherit__graph.md5 b/doc/html/classAsymp__inherit__graph.md5 new file mode 100644 index 0000000..6cf3a8b --- /dev/null +++ b/doc/html/classAsymp__inherit__graph.md5 @@ -0,0 +1 @@ +93c5b8b8873243d39320901abc0bdb3e \ No newline at end of file diff --git a/doc/html/classAsymp__inherit__graph.png b/doc/html/classAsymp__inherit__graph.png new file mode 100644 index 0000000..d040609 Binary files /dev/null and b/doc/html/classAsymp__inherit__graph.png differ diff --git a/doc/html/classBandedWG-members.html b/doc/html/classBandedWG-members.html index 0f64f08..b5264bd 100644 --- a/doc/html/classBandedWG-members.html +++ b/doc/html/classBandedWG-members.html @@ -8,12 +8,12 @@    

    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


    - -

    BandedWG Member List

    This is the complete list of members for BandedWG, including all inherited members. + +

    BandedWG Member List

    This is the complete list of members for BandedWG, including all inherited members.

    - - + + @@ -23,6 +23,7 @@ + @@ -30,6 +31,7 @@ + @@ -43,9 +45,8 @@ - - - + + @@ -53,7 +54,7 @@
    BandedWG()BandedWG
    clear()BandedWG
    controlChange(int number, StkFloat value)BandedWG [virtual]
    handleError(const char *message, StkError::Type type)Stk [static]
    controlChange(int number, StkFloat value)BandedWG [virtual]
    handleError(const char *message, StkError::Type type)Stk [static]
    handleError(std::string message, StkError::Type type)Stk [static]
    handleError(StkError::Type type)Stk [protected]
    Instrmnt()Instrmnt
    noteOff(StkFloat amplitude)BandedWG [virtual]
    noteOn(StkFloat frequency, StkFloat amplitude)BandedWG [virtual]
    pluck(StkFloat amp)BandedWG
    printErrors(bool status)Stk [inline, static]
    rawwavePath(void)Stk [inline, static]
    sampleRate(void)Stk [inline, static]
    setFrequency(StkFloat frequency)BandedWG [virtual]
    setRawwavePath(std::string path)Stk [static]
    setSampleRate(StkFloat rate)Stk [inline, static]
    setStrikePosition(StkFloat position)BandedWG
    showWarnings(bool status)Stk [inline, static]
    sleep(unsigned long milliseconds)Stk [static]
    startBowing(StkFloat amplitude, StkFloat rate)BandedWG
    Stk(void)Stk [protected]
    swap16(unsigned char *ptr)Stk [static]
    swap32(unsigned char *ptr)Stk [static]
    swap64(unsigned char *ptr)Stk [static]
    tick()BandedWG [virtual]
    tick(StkFloat *vector, unsigned int vectorSize)BandedWG [virtual]
    tick(StkFrames &frames, unsigned int channel=1)BandedWG [virtual]
    tick(void)Instrmnt
    tick(StkFrames &frames, unsigned int channel=0)Instrmnt
    ~BandedWG()BandedWG
    ~Instrmnt()Instrmnt [virtual]
    ~Stk(void)Stk [protected, virtual]
    - +
    The Synthesis ToolKit in C++ (STK)
    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
    diff --git a/doc/html/classBandedWG.html b/doc/html/classBandedWG.html index 541a09f..99d7999 100644 --- a/doc/html/classBandedWG.html +++ b/doc/html/classBandedWG.html @@ -8,8 +8,8 @@    

    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


    - -

    BandedWG Class Reference

    #include <BandedWG.h> + +

    BandedWG Class Reference

    #include <BandedWG.h>

    Inheritance diagram for BandedWG:

    @@ -26,115 +26,59 @@ Control Change Numbers:
    • Uniform Bar = 0
    • Tuned Bar = 1
    • Glass Harmonica = 2
    • Tibetan Bowl = 3

-by Georg Essl, 1999 - 2004. Modified for Stk 4.0 by Gary Scavone. +by Georg Essl, 1999 - 2004. Modified for Stk 4.0 by Gary Scavone.

- -

-Definition at line 43 of file BandedWG.h. +
- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - -

Public Member Functions

BandedWG ()

Public Member Functions

BandedWG ()
 Class constructor.

~BandedWG ()
 Class constructor.
~BandedWG ()
 Class destructor.

-void clear ()
 Class destructor.
+void clear ()
 Reset and clear all internal state.

-void setStrikePosition (StkFloat position)
 Reset and clear all internal state.
+void setStrikePosition (StkFloat position)
 Set strike position (0.0 - 1.0).

-void setPreset (int preset)
 Set strike position (0.0 - 1.0).
+void setPreset (int preset)
 Select a preset.

-void setFrequency (StkFloat frequency)
 Select a preset.
+void setFrequency (StkFloat frequency)
 Set instrument parameters for a particular frequency.

-void startBowing (StkFloat amplitude, StkFloat rate)
 Set instrument parameters for a particular frequency.
+void startBowing (StkFloat amplitude, StkFloat rate)
 Apply bow velocity/pressure to instrument with given amplitude and rate of increase.

-void stopBowing (StkFloat rate)
 Apply bow velocity/pressure to instrument with given amplitude and rate of increase.
+void stopBowing (StkFloat rate)
 Decrease bow velocity/breath pressure with given rate of decrease.

-void pluck (StkFloat amp)
 Decrease bow velocity/breath pressure with given rate of decrease.
+void pluck (StkFloat amp)
 Pluck the instrument with given amplitude.

-void noteOn (StkFloat frequency, StkFloat amplitude)
 Pluck the instrument with given amplitude.
+void noteOn (StkFloat frequency, StkFloat amplitude)
 Start a note with the given frequency and amplitude.

-void noteOff (StkFloat amplitude)
 Start a note with the given frequency and amplitude.
+void noteOff (StkFloat amplitude)
 Stop a note with the given amplitude (speed of decay).

-StkFloat tick ()
 Stop a note with the given amplitude (speed of decay).
+void controlChange (int number, StkFloat value)
 Compute one output sample.

-StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
 Computer vectorSize outputs and return them in vector.

StkFramestick (StkFrames &frames, unsigned int channel=1)
 Fill a channel of the StkFrames object with computed outputs.

-void controlChange (int number, StkFloat value)
 Perform the control change specified by number and value (0.0 - 128.0).

-


Member Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
StkFrames& BandedWG::tick StkFrames frames,
unsigned int  channel = 1
[virtual]
-
- - - - - +
-   - - -

-Fill a channel of the StkFrames object with computed outputs. -

-The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

-Reimplemented from Instrmnt.

 Perform the control change specified by number and value (0.0 - 128.0).


The documentation for this class was generated from the following file: @@ -142,7 +86,7 @@ Reimplemented from Instrmnt. - +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/classBandedWG__coll__graph.map b/doc/html/classBandedWG__coll__graph.map new file mode 100644 index 0000000..d1600cb --- /dev/null +++ b/doc/html/classBandedWG__coll__graph.map @@ -0,0 +1,12 @@ +base referer +rect $classInstrmnt.html 7,134 63,155 +rect $classStk.html 132,16 169,38 +rect $classGenerator.html 72,88 141,110 +rect $classFunction.html 165,88 227,110 +rect $classFilter.html 284,88 324,110 +rect $classADSR.html 76,270 124,291 +rect $classEnvelope.html 73,179 137,200 +rect $classBowTable.html 147,224 216,246 +rect $classBiQuad.html 277,224 331,246 +rect $classDelay.html 359,179 401,200 +rect $classDelayL.html 404,270 455,291 diff --git a/doc/html/classBandedWG__coll__graph.md5 b/doc/html/classBandedWG__coll__graph.md5 new file mode 100644 index 0000000..cfd7458 --- /dev/null +++ b/doc/html/classBandedWG__coll__graph.md5 @@ -0,0 +1 @@ +eb92a118e38e16802d5a811683b15c12 \ No newline at end of file diff --git a/doc/html/classBandedWG__coll__graph.png b/doc/html/classBandedWG__coll__graph.png new file mode 100644 index 0000000..63b3ab2 Binary files /dev/null and b/doc/html/classBandedWG__coll__graph.png differ diff --git a/doc/html/classBandedWG__inherit__graph.map b/doc/html/classBandedWG__inherit__graph.map new file mode 100644 index 0000000..65a1621 --- /dev/null +++ b/doc/html/classBandedWG__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 17,85 73,106 +rect $classStk.html 27,16 64,37 diff --git a/doc/html/classBandedWG__inherit__graph.md5 b/doc/html/classBandedWG__inherit__graph.md5 new file mode 100644 index 0000000..2c71338 --- /dev/null +++ b/doc/html/classBandedWG__inherit__graph.md5 @@ -0,0 +1 @@ +76af4fa6a6305743853a1bc4b396a63e \ No newline at end of file diff --git a/doc/html/classBandedWG__inherit__graph.png b/doc/html/classBandedWG__inherit__graph.png new file mode 100644 index 0000000..86d1c1b Binary files /dev/null and b/doc/html/classBandedWG__inherit__graph.png differ diff --git a/doc/html/classBeeThree-members.html b/doc/html/classBeeThree-members.html index 3c2d0b2..9e29cdd 100644 --- a/doc/html/classBeeThree-members.html +++ b/doc/html/classBeeThree-members.html @@ -8,13 +8,13 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

BeeThree Member List

This is the complete list of members for BeeThree, including all inherited members. + +

BeeThree Member List

This is the complete list of members for BeeThree, including all inherited members.

- + - + @@ -23,9 +23,10 @@ - + + @@ -37,6 +38,7 @@ + @@ -48,9 +50,8 @@ - - - + + @@ -59,7 +60,7 @@
BeeThree()BeeThree
clear()FM
controlChange(int number, StkFloat value)FM [virtual]
controlChange(int number, StkFloat value)FM [virtual]
FM(unsigned int operators=4)FM
handleError(const char *message, StkError::Type type)Stk [static]
handleError(const char *message, StkError::Type type)Stk [static]
handleError(std::string message, StkError::Type type)Stk [static]
handleError(StkError::Type type)Stk [protected]
Instrmnt()Instrmnt
lastOut() const Instrmnt
lastOutLeft() const Instrmnt
lastOutRight() const Instrmnt
loadWaves(const char **filenames)FM
loadWaves(const char **filenames)FM
noteOff(StkFloat amplitude)FM [virtual]
noteOn(StkFloat frequency, StkFloat amplitude)BeeThree [virtual]
printErrors(bool status)Stk [inline, static]
rawwavePath(void)Stk [inline, static]
sampleRate(void)Stk [inline, static]
setControl1(StkFloat cVal)FM
setRatio(unsigned int waveIndex, StkFloat ratio)FM
setRawwavePath(std::string path)Stk [static]
setSampleRate(StkFloat rate)Stk [inline, static]
showWarnings(bool status)Stk [inline, static]
sleep(unsigned long milliseconds)Stk [static]
Stk(void)Stk [protected]
STK_FLOAT32Stk [static]
swap16(unsigned char *ptr)Stk [static]
swap32(unsigned char *ptr)Stk [static]
swap64(unsigned char *ptr)Stk [static]
tick()BeeThree [virtual]
tick(StkFloat *vector, unsigned int vectorSize)BeeThree [virtual]
tick(StkFrames &frames, unsigned int channel=1)BeeThree [virtual]
tick(void)Instrmnt
tick(StkFrames &frames, unsigned int channel=0)Instrmnt
~BeeThree()BeeThree
~FM()FM [virtual]
~Instrmnt()Instrmnt [virtual]
- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/classBeeThree.html b/doc/html/classBeeThree.html index 5527245..09f83bd 100644 --- a/doc/html/classBeeThree.html +++ b/doc/html/classBeeThree.html @@ -8,8 +8,8 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

BeeThree Class Reference

#include <BeeThree.h> + +

BeeThree Class Reference

#include <BeeThree.h>

Inheritance diagram for BeeThree:

@@ -22,7 +22,7 @@ STK Hammond-oid organ FM synthesis instrument.

This class implements a simple 4 operator topology, also referred to as algorithm 8 of the TX81Z.

-

    Algorithm 8 is :
+
    Algorithm 8 is :
                      1 --.
                      2 -\|
                          +-> Out
@@ -33,55 +33,41 @@ Control Change Numbers:
  • Operator 4 (feedback) Gain = 2
  • Operator 3 Gain = 4
  • LFO Speed = 11
  • LFO Depth = 1
  • ADSR 2 & 4 Target = 128

The basic Chowning/Stanford FM patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.

-by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

- -

-Definition at line 40 of file BeeThree.h. +
- - + + - - + + - - + + - - - - - - - - - - +

Public Member Functions

 BeeThree ()

Public Member Functions

 BeeThree ()
 Class constructor.

~BeeThree ()
 Class constructor.
~BeeThree ()
 Class destructor.

-void noteOn (StkFloat frequency, StkFloat amplitude)
 Class destructor.
+void noteOn (StkFloat frequency, StkFloat amplitude)
 Start a note with the given frequency and amplitude.

-StkFloat tick ()
 Compute one output sample.

-StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
 Computer vectorSize outputs and return them in vector.

StkFramestick (StkFrames &frames, unsigned int channel=1)
 Fill a channel of the StkFrames object with computed outputs.

 Start a note with the given frequency and amplitude.


Constructor & Destructor Documentation

-

- +

+

- + -
BeeThree::BeeThree BeeThree::BeeThree  ) 
- +
- -
  @@ -91,50 +77,7 @@ StkFloat * StkError will be thrown if the rawwave path is incorrectly set.
-


Member Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
StkFrames& BeeThree::tick StkFrames frames,
unsigned int  channel = 1
[virtual]
-
- - - - +An StkError will be thrown if the rawwave path is incorrectly set.
-   - - -

-Fill a channel of the StkFrames object with computed outputs. -

-The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

-Implements FM.


The documentation for this class was generated from the following file:
    @@ -143,7 +86,7 @@ Implements FM.
- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/classBeeThree__coll__graph.map b/doc/html/classBeeThree__coll__graph.map new file mode 100644 index 0000000..2830571 --- /dev/null +++ b/doc/html/classBeeThree__coll__graph.map @@ -0,0 +1,8 @@ +base referer +rect $classFM.html 72,269 109,291 +rect $classInstrmnt.html 7,133 63,155 +rect $classStk.html 85,16 123,37 +rect $classWvIn.html 84,88 124,109 +rect $classFilter.html 156,88 196,109 +rect $classWaveLoop.html 67,179 141,200 +rect $classTwoZero.html 167,179 231,200 diff --git a/doc/html/classBeeThree__coll__graph.md5 b/doc/html/classBeeThree__coll__graph.md5 new file mode 100644 index 0000000..04f39c3 --- /dev/null +++ b/doc/html/classBeeThree__coll__graph.md5 @@ -0,0 +1 @@ +61ccfc176a5ecbde342fe794f606a6a6 \ No newline at end of file diff --git a/doc/html/classBeeThree__coll__graph.png b/doc/html/classBeeThree__coll__graph.png new file mode 100644 index 0000000..c2476b6 Binary files /dev/null and b/doc/html/classBeeThree__coll__graph.png differ diff --git a/doc/html/classBeeThree__inherit__graph.map b/doc/html/classBeeThree__inherit__graph.map new file mode 100644 index 0000000..9bd47b7 --- /dev/null +++ b/doc/html/classBeeThree__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classFM.html 21,155 59,176 +rect $classInstrmnt.html 12,86 68,107 +rect $classStk.html 21,16 59,38 diff --git a/doc/html/classBeeThree__inherit__graph.md5 b/doc/html/classBeeThree__inherit__graph.md5 new file mode 100644 index 0000000..f175268 --- /dev/null +++ b/doc/html/classBeeThree__inherit__graph.md5 @@ -0,0 +1 @@ +3a0b63b742f5e48ed0892f2caef3e73d \ No newline at end of file diff --git a/doc/html/classBeeThree__inherit__graph.png b/doc/html/classBeeThree__inherit__graph.png new file mode 100644 index 0000000..d99210e Binary files /dev/null and b/doc/html/classBeeThree__inherit__graph.png differ diff --git a/doc/html/classBiQuad-members.html b/doc/html/classBiQuad-members.html index fb4057f..52a65ff 100644 --- a/doc/html/classBiQuad-members.html +++ b/doc/html/classBiQuad-members.html @@ -8,17 +8,18 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

BiQuad Member List

This is the complete list of members for BiQuad, including all inherited members. + +

BiQuad Member List

This is the complete list of members for BiQuad, including all inherited members.

- + + @@ -26,15 +27,16 @@ - - + + - + + @@ -47,8 +49,7 @@ - - + @@ -56,7 +57,7 @@
BiQuad()BiQuad
clear(void)BiQuad
Filter(void)Filter [protected]
Filter(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
getGain(void) const BiQuad [virtual]
handleError(const char *message, StkError::Type type)Stk [protected, static]
handleError(const char *message, StkError::Type type)Stk [protected, static]
handleError(std::string message, StkError::Type type)Stk [protected, static]
handleError(StkError::Type type)Stk [protected]
lastOut(void) const BiQuad [virtual]
printErrors(bool status)Stk [inline, protected, static]
rawwavePath(void)Stk [inline, protected, static]
sampleRate(void)Stk [inline, protected, static]
setA1(StkFloat a1)BiQuad
setB0(StkFloat b0)BiQuad
setB1(StkFloat b1)BiQuad
setB2(StkFloat b2)BiQuad
setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
setDenominator(std::vector< StkFloat > &aCoefficients)Filter [protected]
setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
setDenominator(std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
setEqualGainZeroes()BiQuad
setGain(StkFloat gain)BiQuad [virtual]
setNotch(StkFloat frequency, StkFloat radius)BiQuad
setNumerator(std::vector< StkFloat > &bCoefficients)Filter [protected]
setNumerator(std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
setRawwavePath(std::string path)Stk [protected, static]
setResonance(StkFloat frequency, StkFloat radius, bool normalize=false)BiQuad
setSampleRate(StkFloat rate)Stk [inline, protected, static]
showWarnings(bool status)Stk [inline, protected, static]
sleep(unsigned long milliseconds)Stk [protected, static]
Stk(void)Stk [protected]
STK_FLOAT32Stk [protected, static]
swap32(unsigned char *ptr)Stk [protected, static]
swap64(unsigned char *ptr)Stk [protected, static]
tick(StkFloat sample)BiQuad [virtual]
tick(StkFloat *vector, unsigned int vectorSize)BiQuad [virtual]
tick(StkFrames &frames, unsigned int channel=1)BiQuad [virtual]
tick(StkFrames &frames, unsigned int channel=0)BiQuad [virtual]
~BiQuad()BiQuad [virtual]
~Filter(void)Filter [protected, virtual]
~Stk(void)Stk [protected, virtual]
- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/classBiQuad.html b/doc/html/classBiQuad.html index 1ab0154..b1e1dfd 100644 --- a/doc/html/classBiQuad.html +++ b/doc/html/classBiQuad.html @@ -8,8 +8,8 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

BiQuad Class Reference

#include <BiQuad.h> + +

BiQuad Class Reference

#include <BiQuad.h>

Inheritance diagram for BiQuad:

@@ -22,112 +22,105 @@ STK biquad (two-pole, two-zero) filter class.

This protected Filter subclass implements a two-pole, two-zero digital filter. A method is provided for creating a resonance in the frequency response while maintaining a constant filter gain.

-by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

- -

-Definition at line 20 of file BiQuad.h. +
- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - +

Public Member Functions

BiQuad ()

Public Member Functions

BiQuad ()
 Default constructor creates a second-order pass-through filter.

-virtual ~BiQuad ()
 Default constructor creates a second-order pass-through filter.
+virtual ~BiQuad ()
 Class destructor.

-void clear (void)
 Class destructor.
+void clear (void)
 Clears all internal states of the filter.

-void setB0 (StkFloat b0)
 Clears all internal states of the filter.
+void setB0 (StkFloat b0)
 Set the b[0] coefficient value.

-void setB1 (StkFloat b1)
 Set the b[0] coefficient value.
+void setB1 (StkFloat b1)
 Set the b[1] coefficient value.

-void setB2 (StkFloat b2)
 Set the b[1] coefficient value.
+void setB2 (StkFloat b2)
 Set the b[2] coefficient value.

-void setA1 (StkFloat a1)
 Set the b[2] coefficient value.
+void setA1 (StkFloat a1)
 Set the a[1] coefficient value.

-void setA2 (StkFloat a2)
 Set the a[1] coefficient value.
+void setA2 (StkFloat a2)
 Set the a[2] coefficient value.

void setResonance (StkFloat frequency, StkFloat radius, bool normalize=false)
 Set the a[2] coefficient value.
void setResonance (StkFloat frequency, StkFloat radius, bool normalize=false)
 Sets the filter coefficients for a resonance at frequency (in Hz).

void setNotch (StkFloat frequency, StkFloat radius)
 Sets the filter coefficients for a resonance at frequency (in Hz).
void setNotch (StkFloat frequency, StkFloat radius)
 Set the filter coefficients for a notch at frequency (in Hz).

void setEqualGainZeroes ()
 Set the filter coefficients for a notch at frequency (in Hz).
void setEqualGainZeroes ()
 Sets the filter zeroes for equal resonance gain.

void setGain (StkFloat gain)
 Sets the filter zeroes for equal resonance gain.
void setGain (StkFloat gain)
 Set the filter gain.

-StkFloat getGain (void) const
 Set the filter gain.
+StkFloat getGain (void) const
 Return the current filter gain.

-StkFloat lastOut (void) const
 Return the current filter gain.
+StkFloat lastOut (void) const
 Return the last computed output value.

-virtual StkFloat tick (StkFloat sample)
 Return the last computed output value.
+virtual StkFloat tick (StkFloat sample)
 Input one sample to the filter and return one output.

-virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
 Input one sample to the filter and return one output.
virtual StkFramestick (StkFrames &frames, unsigned int channel=0)
 Input vectorSize samples to the filter and return an equal number of outputs in vector.

virtual StkFramestick (StkFrames &frames, unsigned int channel=1)
 Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

 Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.


Member Function Documentation

-

- +

+

- + - - + + - - + + - + - + -
void BiQuad::setResonance void BiQuad::setResonance StkFloat  frequency,
StkFloat  radius,
bool  normalize = false normalize = false
- +
- +
  @@ -137,37 +130,36 @@ virtual StkFloat * 

- +

+

- + - - + + - + -
void BiQuad::setNotch void BiQuad::setNotch StkFloat  frequency,
StkFloat  radius
- +
+This method determines the filter coefficients corresponding to two complex-conjugate zeros with the given frequency (in Hz) and radius from the z-plane origin. No filter normalization is attempted.
  @@ -177,27 +169,26 @@ This method determines the filter coefficients corresponding to two complex-conj

Set the filter coefficients for a notch at frequency (in Hz).

-This method determines the filter coefficients corresponding to two complex-conjugate zeros with the given frequency (in Hz) and radius from the z-plane origin. No filter normalization is attempted.

-

- +

+

- + -
void BiQuad::setEqualGainZeroes void BiQuad::setEqualGainZeroes  ) 
- +
+When using the filter as a resonator, zeroes places at z = 1, z = -1 will result in a constant gain at resonance of 1 / (1 - R), where R is the pole radius setting.
  @@ -207,28 +198,27 @@ This method determines the filter coefficients corresponding to two complex-conj

Sets the filter zeroes for equal resonance gain.

-When using the filter as a resonator, zeroes places at z = 1, z = -1 will result in a constant gain at resonance of 1 / (1 - R), where R is the pole radius setting.

-

- +

+

- + -
void BiQuad::setGain void BiQuad::setGain StkFloat  gain  )  [virtual]
- +
  @@ -238,39 +228,38 @@ When using the filter as a resonator, zeroes places at z = 1, z = -1 will result

Set the filter gain.

-The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0. +The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0.

Reimplemented from Filter.

-

- +

+

- + - - + + - + - + -
virtual StkFrames& BiQuad::tick virtual StkFrames& BiQuad::tick StkFrames frames,
unsigned int  channel = 1 channel = 0
[virtual]
- +

Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

-The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. +The channel argument should be zero or greater (the first channel is specified by 0). An StkError will be thrown if the channel argument is equal to or greater than the number of channels in the StkFrames object.

-Reimplemented from Filter. -

-Reimplemented in FormSwep. +Reimplemented from Filter.

  @@ -280,11 +269,9 @@ Reimplemented from Filter.


The documentation for this class was generated from the following file:
    @@ -293,7 +280,7 @@ Reimplemented in FormSwep.
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/classBiQuad__coll__graph.map b/doc/html/classBiQuad__coll__graph.map new file mode 100644 index 0000000..bebaa3f --- /dev/null +++ b/doc/html/classBiQuad__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFilter.html 13,85 53,106 +rect $classStk.html 15,16 52,37 diff --git a/doc/html/classBiQuad__coll__graph.md5 b/doc/html/classBiQuad__coll__graph.md5 new file mode 100644 index 0000000..86b6184 --- /dev/null +++ b/doc/html/classBiQuad__coll__graph.md5 @@ -0,0 +1 @@ +39dcaa0574a2d2b8be950bd945450e06 \ No newline at end of file diff --git a/doc/html/classBiQuad__coll__graph.png b/doc/html/classBiQuad__coll__graph.png new file mode 100644 index 0000000..25e816b Binary files /dev/null and b/doc/html/classBiQuad__coll__graph.png differ diff --git a/doc/html/classBiQuad__inherit__graph.map b/doc/html/classBiQuad__inherit__graph.map new file mode 100644 index 0000000..494e4ef --- /dev/null +++ b/doc/html/classBiQuad__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classFormSwep.html 7,224 81,246 +rect $classFilter.html 24,86 64,107 +rect $classStk.html 25,16 63,38 diff --git a/doc/html/classBiQuad__inherit__graph.md5 b/doc/html/classBiQuad__inherit__graph.md5 new file mode 100644 index 0000000..fb75707 --- /dev/null +++ b/doc/html/classBiQuad__inherit__graph.md5 @@ -0,0 +1 @@ +01e61d66ac5f0b6a39dca11408788388 \ No newline at end of file diff --git a/doc/html/classBiQuad__inherit__graph.png b/doc/html/classBiQuad__inherit__graph.png new file mode 100644 index 0000000..5fb7e68 Binary files /dev/null and b/doc/html/classBiQuad__inherit__graph.png differ diff --git a/doc/html/classBlit-members.html b/doc/html/classBlit-members.html new file mode 100644 index 0000000..9e78bf0 --- /dev/null +++ b/doc/html/classBlit-members.html @@ -0,0 +1,54 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +

+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ +

Blit Member List

This is the complete list of members for Blit, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Blit(StkFloat frequency=220.0)Blit
Generator(void)Generator
getPhase() const Blit [inline]
handleError(const char *message, StkError::Type type)Stk [static]
handleError(std::string message, StkError::Type type)Stk [static]
handleError(StkError::Type type)Stk [protected]
lastOut(void) const Generator [inline, virtual]
printErrors(bool status)Stk [inline, static]
rawwavePath(void)Stk [inline, static]
reset()Blit
sampleRate(void)Stk [inline, static]
setFrequency(StkFloat frequency)Blit
setHarmonics(unsigned int nHarmonics=0)Blit
setPhase(StkFloat phase)Blit [inline]
setRawwavePath(std::string path)Stk [static]
setSampleRate(StkFloat rate)Stk [inline, static]
showWarnings(bool status)Stk [inline, static]
sleep(unsigned long milliseconds)Stk [static]
Stk(void)Stk [protected]
STK_FLOAT32Stk [static]
STK_FLOAT64Stk [static]
STK_SINT16Stk [static]
STK_SINT24Stk [static]
STK_SINT32Stk [static]
STK_SINT8Stk [static]
swap16(unsigned char *ptr)Stk [static]
swap32(unsigned char *ptr)Stk [static]
swap64(unsigned char *ptr)Stk [static]
tick(void)Generator
tick(StkFrames &frames, unsigned int channel=0)Generator
~Blit()Blit
~Generator(void)Generator [virtual]
~Stk(void)Stk [protected, virtual]


+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/classBlit.html b/doc/html/classBlit.html new file mode 100644 index 0000000..f74cc2e --- /dev/null +++ b/doc/html/classBlit.html @@ -0,0 +1,157 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ +

Blit Class Reference

#include <Blit.h> +

+

Inheritance diagram for Blit: +

+ +Generator +Stk + +List of all members.

Detailed Description

+STK band-limited impulse train class. +

+This class generates a band-limited impulse train using a closed-form algorithm reported by Stilson and Smith in "Alias-Free Digital Synthesis of Classic Analog Waveforms", 1996. The user can specify both the fundamental frequency of the impulse train and the number of harmonics contained in the resulting signal.

+The signal is normalized so that the peak value is +/-1.0.

+If nHarmonics is 0, then the signal will contain all harmonics up to half the sample rate. Note, however, that this setting may produce aliasing in the signal when the frequency is changing (no automatic modification of the number of harmonics is performed by the setFrequency() function).

+Original code by Robin Davies, 2005. Revisions by Gary Scavone for STK, 2005. +

+ + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

Blit (StkFloat frequency=220.0)
 Default constructor that initializes BLIT frequency to 220 Hz.
~Blit ()
 Class destructor.
+void reset ()
 Resets the oscillator state and phase to 0.
void setPhase (StkFloat phase)
 Set the phase of the signal.
StkFloat getPhase () const
 Get the current phase of the signal.
+void setFrequency (StkFloat frequency)
 Set the impulse train rate in terms of a frequency in Hz.
void setHarmonics (unsigned int nHarmonics=0)
 Set the number of harmonics generated in the signal.
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
void Blit::setPhase StkFloat  phase  )  [inline]
+
+ + + + + +
+   + + +

+Set the phase of the signal. +

+Set the phase of the signal, in the range 0 to 1.

+

+ + + + +
+ + + + + + + + +
StkFloat Blit::getPhase  )  const [inline]
+
+ + + + + +
+   + + +

+Get the current phase of the signal. +

+Get the phase of the signal, in the range [0 to 1.0).

+

+ + + + +
+ + + + + + + + + +
void Blit::setHarmonics unsigned int  nHarmonics = 0  ) 
+
+ + + + + +
+   + + +

+Set the number of harmonics generated in the signal. +

+This function sets the number of harmonics contained in the resulting signal. It is equivalent to (2 * M) + 1 in the BLIT algorithm. The default value of 0 sets the algorithm for maximum harmonic content (harmonics up to half the sample rate). This parameter is not checked against the current sample rate and fundamental frequency. Thus, aliasing can result if one or more harmonics for a given fundamental frequency exceeds fs / 2. This behavior was chosen over the potentially more problematic solution of automatically modifying the M parameter, which can produce audible clicks in the signal.

+


The documentation for this class was generated from the following file: +
+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/classBlit.png b/doc/html/classBlit.png new file mode 100644 index 0000000..5edf8a1 Binary files /dev/null and b/doc/html/classBlit.png differ diff --git a/doc/html/classBlitSaw-members.html b/doc/html/classBlitSaw-members.html new file mode 100644 index 0000000..0f6012c --- /dev/null +++ b/doc/html/classBlitSaw-members.html @@ -0,0 +1,52 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ +

BlitSaw Member List

This is the complete list of members for BlitSaw, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BlitSaw(StkFloat frequency=220.0)BlitSaw
Generator(void)Generator
handleError(const char *message, StkError::Type type)Stk [static]
handleError(std::string message, StkError::Type type)Stk [static]
handleError(StkError::Type type)Stk [protected]
lastOut(void) const Generator [inline, virtual]
printErrors(bool status)Stk [inline, static]
rawwavePath(void)Stk [inline, static]
reset()BlitSaw
sampleRate(void)Stk [inline, static]
setFrequency(StkFloat frequency)BlitSaw
setHarmonics(unsigned int nHarmonics=0)BlitSaw
setRawwavePath(std::string path)Stk [static]
setSampleRate(StkFloat rate)Stk [inline, static]
showWarnings(bool status)Stk [inline, static]
sleep(unsigned long milliseconds)Stk [static]
Stk(void)Stk [protected]
STK_FLOAT32Stk [static]
STK_FLOAT64Stk [static]
STK_SINT16Stk [static]
STK_SINT24Stk [static]
STK_SINT32Stk [static]
STK_SINT8Stk [static]
swap16(unsigned char *ptr)Stk [static]
swap32(unsigned char *ptr)Stk [static]
swap64(unsigned char *ptr)Stk [static]
tick(void)Generator
tick(StkFrames &frames, unsigned int channel=0)Generator
~BlitSaw()BlitSaw
~Generator(void)Generator [virtual]
~Stk(void)Stk [protected, virtual]


+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/classBlitSaw.html b/doc/html/classBlitSaw.html new file mode 100644 index 0000000..13a6642 --- /dev/null +++ b/doc/html/classBlitSaw.html @@ -0,0 +1,91 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ +

BlitSaw Class Reference

#include <BlitSaw.h> +

+

Inheritance diagram for BlitSaw: +

+ +Generator +Stk + +List of all members.

Detailed Description

+STK band-limited sawtooth wave class. +

+This class generates a band-limited sawtooth waveform using a closed-form algorithm reported by Stilson and Smith in "Alias-Free Digital Synthesis of Classic Analog Waveforms", 1996. The user can specify both the fundamental frequency of the sawtooth and the number of harmonics contained in the resulting signal.

+If nHarmonics is 0, then the signal will contain all harmonics up to half the sample rate. Note, however, that this setting may produce aliasing in the signal when the frequency is changing (no automatic modification of the number of harmonics is performed by the setFrequency() function).

+Based on initial code of Robin Davies, 2005. Modified algorithm code by Gary Scavone, 2005. +

+ + + + + + + + + + + + + + + + + + +

Public Member Functions

BlitSaw (StkFloat frequency=220.0)
 Class constructor.
~BlitSaw ()
 Class destructor.
+void reset ()
 Resets the oscillator state and phase to 0.
+void setFrequency (StkFloat frequency)
 Set the sawtooth oscillator rate in terms of a frequency in Hz.
void setHarmonics (unsigned int nHarmonics=0)
 Set the number of harmonics generated in the signal.
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
void BlitSaw::setHarmonics unsigned int  nHarmonics = 0  ) 
+
+ + + + + +
+   + + +

+Set the number of harmonics generated in the signal. +

+This function sets the number of harmonics contained in the resulting signal. It is equivalent to (2 * M) + 1 in the BLIT algorithm. The default value of 0 sets the algorithm for maximum harmonic content (harmonics up to half the sample rate). This parameter is not checked against the current sample rate and fundamental frequency. Thus, aliasing can result if one or more harmonics for a given fundamental frequency exceeds fs / 2. This behavior was chosen over the potentially more problematic solution of automatically modifying the M parameter, which can produce audible clicks in the signal.

+


The documentation for this class was generated from the following file: +
+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/classBlitSaw.png b/doc/html/classBlitSaw.png new file mode 100644 index 0000000..59647a9 Binary files /dev/null and b/doc/html/classBlitSaw.png differ diff --git a/doc/html/classBlitSquare-members.html b/doc/html/classBlitSquare-members.html new file mode 100644 index 0000000..0fcd387 --- /dev/null +++ b/doc/html/classBlitSquare-members.html @@ -0,0 +1,54 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ +

BlitSquare Member List

This is the complete list of members for BlitSquare, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BlitSquare(StkFloat frequency=220.0)BlitSquare
Generator(void)Generator
getPhase() const BlitSquare [inline]
handleError(const char *message, StkError::Type type)Stk [static]
handleError(std::string message, StkError::Type type)Stk [static]
handleError(StkError::Type type)Stk [protected]
lastOut(void) const Generator [inline, virtual]
printErrors(bool status)Stk [inline, static]
rawwavePath(void)Stk [inline, static]
reset()BlitSquare
sampleRate(void)Stk [inline, static]
setFrequency(StkFloat frequency)BlitSquare
setHarmonics(unsigned int nHarmonics=0)BlitSquare
setPhase(StkFloat phase)BlitSquare [inline]
setRawwavePath(std::string path)Stk [static]
setSampleRate(StkFloat rate)Stk [inline, static]
showWarnings(bool status)Stk [inline, static]
sleep(unsigned long milliseconds)Stk [static]
Stk(void)Stk [protected]
STK_FLOAT32Stk [static]
STK_FLOAT64Stk [static]
STK_SINT16Stk [static]
STK_SINT24Stk [static]
STK_SINT32Stk [static]
STK_SINT8Stk [static]
swap16(unsigned char *ptr)Stk [static]
swap32(unsigned char *ptr)Stk [static]
swap64(unsigned char *ptr)Stk [static]
tick(void)Generator
tick(StkFrames &frames, unsigned int channel=0)Generator
~BlitSquare()BlitSquare
~Generator(void)Generator [virtual]
~Stk(void)Stk [protected, virtual]


+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/classBlitSquare.html b/doc/html/classBlitSquare.html new file mode 100644 index 0000000..ecb808b --- /dev/null +++ b/doc/html/classBlitSquare.html @@ -0,0 +1,157 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
+    

+Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

+
+ +

BlitSquare Class Reference

#include <BlitSquare.h> +

+

Inheritance diagram for BlitSquare: +

+ +Generator +Stk + +List of all members.

Detailed Description

+STK band-limited square wave class. +

+This class generates a band-limited square wave signal. It is derived in part from the approach reported by Stilson and Smith in "Alias-Free Digital Synthesis of Classic Analog Waveforms", 1996. The algorithm implemented in this class uses a SincM function with an even M value to achieve a bipolar bandlimited impulse train. This signal is then integrated to achieve a square waveform. The integration process has an associated DC offset but that is subtracted off the output signal.

+The user can specify both the fundamental frequency of the waveform and the number of harmonics contained in the resulting signal.

+If nHarmonics is 0, then the signal will contain all harmonics up to half the sample rate. Note, however, that this setting may produce aliasing in the signal when the frequency is changing (no automatic modification of the number of harmonics is performed by the setFrequency() function).

+Based on initial code of Robin Davies, 2005. Modified algorithm code by Gary Scavone, 2005. +

+ + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

BlitSquare (StkFloat frequency=220.0)
 Default constructor that initializes BLIT frequency to 220 Hz.
~BlitSquare ()
 Class destructor.
+void reset ()
 Resets the oscillator state and phase to 0.
void setPhase (StkFloat phase)
 Set the phase of the signal.
StkFloat getPhase () const
 Get the current phase of the signal.
+void setFrequency (StkFloat frequency)
 Set the impulse train rate in terms of a frequency in Hz.
void setHarmonics (unsigned int nHarmonics=0)
 Set the number of harmonics generated in the signal.
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
void BlitSquare::setPhase StkFloat  phase  )  [inline]
+
+ + + + + +
+   + + +

+Set the phase of the signal. +

+Set the phase of the signal, in the range 0 to 1.

+

+ + + + +
+ + + + + + + + +
StkFloat BlitSquare::getPhase  )  const [inline]
+
+ + + + + +
+   + + +

+Get the current phase of the signal. +

+Get the phase of the signal, in the range [0 to 1.0).

+

+ + + + +
+ + + + + + + + + +
void BlitSquare::setHarmonics unsigned int  nHarmonics = 0  ) 
+
+ + + + + +
+   + + +

+Set the number of harmonics generated in the signal. +

+This function sets the number of harmonics contained in the resulting signal. It is equivalent to (2 * M) + 1 in the BLIT algorithm. The default value of 0 sets the algorithm for maximum harmonic content (harmonics up to half the sample rate). This parameter is not checked against the current sample rate and fundamental frequency. Thus, aliasing can result if one or more harmonics for a given fundamental frequency exceeds fs / 2. This behavior was chosen over the potentially more problematic solution of automatically modifying the M parameter, which can produce audible clicks in the signal.

+


The documentation for this class was generated from the following file: +
+ + + + +
The Synthesis ToolKit in C++ (STK)
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
+ + + diff --git a/doc/html/classBlitSquare.png b/doc/html/classBlitSquare.png new file mode 100644 index 0000000..76b2be4 Binary files /dev/null and b/doc/html/classBlitSquare.png differ diff --git a/doc/html/classBlowBotl-members.html b/doc/html/classBlowBotl-members.html index eee2e69..ed3ef38 100644 --- a/doc/html/classBlowBotl-members.html +++ b/doc/html/classBlowBotl-members.html @@ -8,12 +8,12 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

BlowBotl Member List

This is the complete list of members for BlowBotl, including all inherited members. + +

BlowBotl Member List

This is the complete list of members for BlowBotl, including all inherited members.

- - + + @@ -22,11 +22,13 @@ + + @@ -40,9 +42,8 @@ - - - + + @@ -50,7 +51,7 @@
BlowBotl()BlowBotl
clear()BlowBotl
controlChange(int number, StkFloat value)BlowBotl [virtual]
handleError(const char *message, StkError::Type type)Stk [static]
controlChange(int number, StkFloat value)BlowBotl [virtual]
handleError(const char *message, StkError::Type type)Stk [static]
handleError(std::string message, StkError::Type type)Stk [static]
handleError(StkError::Type type)Stk [protected]
Instrmnt()Instrmnt
lastOutRight() const Instrmnt
noteOff(StkFloat amplitude)BlowBotl [virtual]
noteOn(StkFloat frequency, StkFloat amplitude)BlowBotl [virtual]
printErrors(bool status)Stk [inline, static]
rawwavePath(void)Stk [inline, static]
sampleRate(void)Stk [inline, static]
setFrequency(StkFloat frequency)BlowBotl [virtual]
setRawwavePath(std::string path)Stk [static]
setSampleRate(StkFloat rate)Stk [inline, static]
showWarnings(bool status)Stk [inline, static]
sleep(unsigned long milliseconds)Stk [static]
startBlowing(StkFloat amplitude, StkFloat rate)BlowBotl
Stk(void)Stk [protected]
swap16(unsigned char *ptr)Stk [static]
swap32(unsigned char *ptr)Stk [static]
swap64(unsigned char *ptr)Stk [static]
tick()BlowBotl [virtual]
tick(StkFloat *vector, unsigned int vectorSize)BlowBotl [virtual]
tick(StkFrames &frames, unsigned int channel=1)BlowBotl [virtual]
tick(void)Instrmnt
tick(StkFrames &frames, unsigned int channel=0)Instrmnt
~BlowBotl()BlowBotl
~Instrmnt()Instrmnt [virtual]
~Stk(void)Stk [protected, virtual]
- +
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
diff --git a/doc/html/classBlowBotl.html b/doc/html/classBlowBotl.html index 264aaca..5e2c899 100644 --- a/doc/html/classBlowBotl.html +++ b/doc/html/classBlowBotl.html @@ -8,8 +8,8 @@    

Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


- -

BlowBotl Class Reference

#include <BlowBotl.h> + +

BlowBotl Class Reference

#include <BlowBotl.h>

Inheritance diagram for BlowBotl:

@@ -24,79 +24,65 @@ This class implements a helmholtz resonator (biquad filter) with a polynomial je Control Change Numbers:
  • Noise Gain = 4
  • Vibrato Frequency = 11
  • Vibrato Gain = 1
  • Volume = 128

-by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

- -

-Definition at line 30 of file BlowBotl.h. +
- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

Public Member Functions

 BlowBotl ()

Public Member Functions

 BlowBotl ()
 Class constructor.

~BlowBotl ()
 Class constructor.
~BlowBotl ()
 Class destructor.

-void clear ()
 Class destructor.
+void clear ()
 Reset and clear all internal state.

-void setFrequency (StkFloat frequency)
 Reset and clear all internal state.
+void setFrequency (StkFloat frequency)
 Set instrument parameters for a particular frequency.

-void startBlowing (StkFloat amplitude, StkFloat rate)
 Set instrument parameters for a particular frequency.
+void startBlowing (StkFloat amplitude, StkFloat rate)
 Apply breath velocity to instrument with given amplitude and rate of increase.

-void stopBlowing (StkFloat rate)
 Apply breath velocity to instrument with given amplitude and rate of increase.
+void stopBlowing (StkFloat rate)
 Decrease breath velocity with given rate of decrease.

-void noteOn (StkFloat frequency, StkFloat amplitude)
 Decrease breath velocity with given rate of decrease.
+void noteOn (StkFloat frequency, StkFloat amplitude)
 Start a note with the given frequency and amplitude.

-void noteOff (StkFloat amplitude)
 Start a note with the given frequency and amplitude.
+void noteOff (StkFloat amplitude)
 Stop a note with the given amplitude (speed of decay).

-StkFloat tick ()
 Stop a note with the given amplitude (speed of decay).
+void controlChange (int number, StkFloat value)
 Compute one output sample.

-StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
 Computer vectorSize outputs and return them in vector.

StkFramestick (StkFrames &frames, unsigned int channel=1)
 Fill a channel of the StkFrames object with computed outputs.

-void controlChange (int number, StkFloat value)
 Perform the control change specified by number and value (0.0 - 128.0).

 Perform the control change specified by number and value (0.0 - 128.0).


Constructor & Destructor Documentation

-

- +

+

- + -
BlowBotl::BlowBotl BlowBotl::BlowBotl  ) 
- +
- -
  @@ -106,50 +92,7 @@ void StkError will be thrown if the rawwave path is incorrectly set.
-


Member Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
StkFrames& BlowBotl::tick StkFrames frames,
unsigned int  channel = 1
[virtual]
-
- - - - +An StkError will be thrown if the rawwave path is incorrectly set.
-   - - -

-Fill a channel of the StkFrames object with computed outputs. -

-The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

-Reimplemented from Instrmnt.


The documentation for this class was generated from the following file:
    @@ -158,7 +101,7 @@ Reimplemented from Instrmnt. - +
    The Synthesis ToolKit in C++ (STK)
    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
    diff --git a/doc/html/classBlowBotl__coll__graph.map b/doc/html/classBlowBotl__coll__graph.map new file mode 100644 index 0000000..38dce5f --- /dev/null +++ b/doc/html/classBlowBotl__coll__graph.map @@ -0,0 +1,14 @@ +base referer +rect $classInstrmnt.html 7,134 63,155 +rect $classStk.html 244,16 281,38 +rect $classGenerator.html 132,88 201,110 +rect $classFunction.html 232,88 293,110 +rect $classFilter.html 368,179 408,200 +rect $classWvIn.html 435,88 475,110 +rect $classADSR.html 67,270 115,291 +rect $classEnvelope.html 65,179 129,200 +rect $classNoise.html 144,224 187,246 +rect $classJetTable.html 232,224 293,246 +rect $classPoleZero.html 356,270 420,291 +rect $classBiQuad.html 444,270 497,291 +rect $classWaveLoop.html 504,224 579,246 diff --git a/doc/html/classBlowBotl__coll__graph.md5 b/doc/html/classBlowBotl__coll__graph.md5 new file mode 100644 index 0000000..afbcad6 --- /dev/null +++ b/doc/html/classBlowBotl__coll__graph.md5 @@ -0,0 +1 @@ +0ce687e471ec531093e4d1073f1085be \ No newline at end of file diff --git a/doc/html/classBlowBotl__coll__graph.png b/doc/html/classBlowBotl__coll__graph.png new file mode 100644 index 0000000..76fa185 Binary files /dev/null and b/doc/html/classBlowBotl__coll__graph.png differ diff --git a/doc/html/classBlowBotl__inherit__graph.map b/doc/html/classBlowBotl__inherit__graph.map new file mode 100644 index 0000000..dbb187f --- /dev/null +++ b/doc/html/classBlowBotl__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 9,85 65,106 +rect $classStk.html 19,16 56,37 diff --git a/doc/html/classBlowBotl__inherit__graph.md5 b/doc/html/classBlowBotl__inherit__graph.md5 new file mode 100644 index 0000000..c02c345 --- /dev/null +++ b/doc/html/classBlowBotl__inherit__graph.md5 @@ -0,0 +1 @@ +46970f95a23271e5f9cc105b2b04fe78 \ No newline at end of file diff --git a/doc/html/classBlowBotl__inherit__graph.png b/doc/html/classBlowBotl__inherit__graph.png new file mode 100644 index 0000000..c87649d Binary files /dev/null and b/doc/html/classBlowBotl__inherit__graph.png differ diff --git a/doc/html/classBlowHole-members.html b/doc/html/classBlowHole-members.html index 1c43e8e..ef79844 100644 --- a/doc/html/classBlowHole-members.html +++ b/doc/html/classBlowHole-members.html @@ -8,12 +8,12 @@    

    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


    - -

    BlowHole Member List

    This is the complete list of members for BlowHole, including all inherited members. + +

    BlowHole Member List

    This is the complete list of members for BlowHole, including all inherited members.

    - - + + @@ -22,6 +22,7 @@ + @@ -29,6 +30,7 @@ + @@ -42,9 +44,8 @@ - - - + + @@ -52,7 +53,7 @@
    BlowHole(StkFloat lowestFrequency)BlowHole
    clear()BlowHole
    controlChange(int number, StkFloat value)BlowHole [virtual]
    handleError(const char *message, StkError::Type type)Stk [static]
    controlChange(int number, StkFloat value)BlowHole [virtual]
    handleError(const char *message, StkError::Type type)Stk [static]
    handleError(std::string message, StkError::Type type)Stk [static]
    handleError(StkError::Type type)Stk [protected]
    Instrmnt()Instrmnt
    lastOutRight() const Instrmnt
    noteOff(StkFloat amplitude)BlowHole [virtual]
    noteOn(StkFloat frequency, StkFloat amplitude)BlowHole [virtual]
    printErrors(bool status)Stk [inline, static]
    rawwavePath(void)Stk [inline, static]
    sampleRate(void)Stk [inline, static]
    setFrequency(StkFloat frequency)BlowHole [virtual]
    setSampleRate(StkFloat rate)Stk [inline, static]
    setTonehole(StkFloat newValue)BlowHole
    setVent(StkFloat newValue)BlowHole
    showWarnings(bool status)Stk [inline, static]
    sleep(unsigned long milliseconds)Stk [static]
    startBlowing(StkFloat amplitude, StkFloat rate)BlowHole
    Stk(void)Stk [protected]
    swap16(unsigned char *ptr)Stk [static]
    swap32(unsigned char *ptr)Stk [static]
    swap64(unsigned char *ptr)Stk [static]
    tick()BlowHole [virtual]
    tick(StkFloat *vector, unsigned int vectorSize)BlowHole [virtual]
    tick(StkFrames &frames, unsigned int channel=1)BlowHole [virtual]
    tick(void)Instrmnt
    tick(StkFrames &frames, unsigned int channel=0)Instrmnt
    ~BlowHole()BlowHole
    ~Instrmnt()Instrmnt [virtual]
    ~Stk(void)Stk [protected, virtual]
    - +
    The Synthesis ToolKit in C++ (STK)
    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
    diff --git a/doc/html/classBlowHole.html b/doc/html/classBlowHole.html index a26bfee..e0e38e9 100644 --- a/doc/html/classBlowHole.html +++ b/doc/html/classBlowHole.html @@ -8,8 +8,8 @@    

    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


    - -

    BlowHole Class Reference

    #include <BlowHole.h> + +

    BlowHole Class Reference

    #include <BlowHole.h>

    Inheritance diagram for BlowHole:

    @@ -26,88 +26,74 @@ This is a digital waveguide model, making its use possibly subject to patents he Control Change Numbers:
    • Reed Stiffness = 2
    • Noise Gain = 4
    • Tonehole State = 11
    • Register State = 1
    • Breath Pressure = 128

    -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

    - -

    -Definition at line 48 of file BlowHole.h. +
    - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

    Public Member Functions

     BlowHole (StkFloat lowestFrequency)

    Public Member Functions

     BlowHole (StkFloat lowestFrequency)
     Class constructor.

    ~BlowHole ()
     Class constructor.
    ~BlowHole ()
     Class destructor.

    -void clear ()
     Class destructor.
    +void clear ()
     Reset and clear all internal state.

    -void setFrequency (StkFloat frequency)
     Reset and clear all internal state.
    +void setFrequency (StkFloat frequency)
     Set instrument parameters for a particular frequency.

    -void setTonehole (StkFloat newValue)
     Set instrument parameters for a particular frequency.
    +void setTonehole (StkFloat newValue)
     Set the tonehole state (0.0 = closed, 1.0 = fully open).

    -void setVent (StkFloat newValue)
     Set the tonehole state (0.0 = closed, 1.0 = fully open).
    +void setVent (StkFloat newValue)
     Set the register hole state (0.0 = closed, 1.0 = fully open).

    -void startBlowing (StkFloat amplitude, StkFloat rate)
     Set the register hole state (0.0 = closed, 1.0 = fully open).
    +void startBlowing (StkFloat amplitude, StkFloat rate)
     Apply breath pressure to instrument with given amplitude and rate of increase.

    -void stopBlowing (StkFloat rate)
     Apply breath pressure to instrument with given amplitude and rate of increase.
    +void stopBlowing (StkFloat rate)
     Decrease breath pressure with given rate of decrease.

    -void noteOn (StkFloat frequency, StkFloat amplitude)
     Decrease breath pressure with given rate of decrease.
    +void noteOn (StkFloat frequency, StkFloat amplitude)
     Start a note with the given frequency and amplitude.

    -void noteOff (StkFloat amplitude)
     Start a note with the given frequency and amplitude.
    +void noteOff (StkFloat amplitude)
     Stop a note with the given amplitude (speed of decay).

    -StkFloat tick ()
     Stop a note with the given amplitude (speed of decay).
    +void controlChange (int number, StkFloat value)
     Compute one output sample.

    -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
     Computer vectorSize outputs and return them in vector.

    StkFramestick (StkFrames &frames, unsigned int channel=1)
     Fill a channel of the StkFrames object with computed outputs.

    -void controlChange (int number, StkFloat value)
     Perform the control change specified by number and value (0.0 - 128.0).

     Perform the control change specified by number and value (0.0 - 128.0).


    Constructor & Destructor Documentation

    -

    - +

    +

    - + -
    BlowHole::BlowHole BlowHole::BlowHole StkFloat  lowestFrequency  ) 
    - +
    - -
      @@ -117,50 +103,7 @@ void StkError will be thrown if the rawwave path is incorrectly set.
    -


    Member Function Documentation

    -

    - - - - -
    - - - - - - - - - - - - - - - - - - - -
    StkFrames& BlowHole::tick StkFrames frames,
    unsigned int  channel = 1
    [virtual]
    -
    - - - - +An StkError will be thrown if the rawwave path is incorrectly set.
    -   - - -

    -Fill a channel of the StkFrames object with computed outputs. -

    -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

    -Reimplemented from Instrmnt.


    The documentation for this class was generated from the following file:
      @@ -169,7 +112,7 @@ Reimplemented from Instrmnt. - +
      The Synthesis ToolKit in C++ (STK)
      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
      diff --git a/doc/html/classBlowHole__coll__graph.map b/doc/html/classBlowHole__coll__graph.map new file mode 100644 index 0000000..f9e9f65 --- /dev/null +++ b/doc/html/classBlowHole__coll__graph.map @@ -0,0 +1,15 @@ +base referer +rect $classInstrmnt.html 13,134 69,155 +rect $classStk.html 337,16 375,38 +rect $classGenerator.html 124,179 193,200 +rect $classFilter.html 336,88 376,110 +rect $classFunction.html 433,88 495,110 +rect $classWvIn.html 539,88 579,110 +rect $classNoise.html 60,278 103,299 +rect $classEnvelope.html 127,278 191,299 +rect $classPoleZero.html 221,224 285,246 +rect $classOneZero.html 324,224 388,246 +rect $classDelay.html 401,179 444,200 +rect $classReedTable.html 476,224 551,246 +rect $classWaveLoop.html 575,179 649,200 +rect $classDelayL.html 427,278 477,299 diff --git a/doc/html/classBlowHole__coll__graph.md5 b/doc/html/classBlowHole__coll__graph.md5 new file mode 100644 index 0000000..a03568f --- /dev/null +++ b/doc/html/classBlowHole__coll__graph.md5 @@ -0,0 +1 @@ +302e093d8e2de96c4b89953e001d60bb \ No newline at end of file diff --git a/doc/html/classBlowHole__coll__graph.png b/doc/html/classBlowHole__coll__graph.png new file mode 100644 index 0000000..55a6fe4 Binary files /dev/null and b/doc/html/classBlowHole__coll__graph.png differ diff --git a/doc/html/classBlowHole__inherit__graph.map b/doc/html/classBlowHole__inherit__graph.map new file mode 100644 index 0000000..26db36e --- /dev/null +++ b/doc/html/classBlowHole__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 11,85 67,106 +rect $classStk.html 20,16 57,37 diff --git a/doc/html/classBlowHole__inherit__graph.md5 b/doc/html/classBlowHole__inherit__graph.md5 new file mode 100644 index 0000000..db76580 --- /dev/null +++ b/doc/html/classBlowHole__inherit__graph.md5 @@ -0,0 +1 @@ +48d5c706be2c961391f549b27be0888e \ No newline at end of file diff --git a/doc/html/classBlowHole__inherit__graph.png b/doc/html/classBlowHole__inherit__graph.png new file mode 100644 index 0000000..73e0ab9 Binary files /dev/null and b/doc/html/classBlowHole__inherit__graph.png differ diff --git a/doc/html/classBowTable-members.html b/doc/html/classBowTable-members.html index 5a3c938..633f6e9 100644 --- a/doc/html/classBowTable-members.html +++ b/doc/html/classBowTable-members.html @@ -8,20 +8,22 @@    

      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


      - -

      BowTable Member List

      This is the complete list of members for BowTable, including all inherited members. + +

      BowTable Member List

      This is the complete list of members for BowTable, including all inherited members.

      - + + + @@ -33,9 +35,8 @@ - - - + + @@ -43,7 +44,7 @@
      BowTable()BowTable
      Function()Function
      handleError(const char *message, StkError::Type type)Stk [static]
      handleError(const char *message, StkError::Type type)Stk [static]
      handleError(std::string message, StkError::Type type)Stk [static]
      handleError(StkError::Type type)Stk [protected]
      lastOut() const Function [inline, virtual]
      printErrors(bool status)Stk [inline, static]
      rawwavePath(void)Stk [inline, static]
      sampleRate(void)Stk [inline, static]
      setOffset(StkFloat offset)BowTable
      setRawwavePath(std::string path)Stk [static]
      setSampleRate(StkFloat rate)Stk [inline, static]
      setSlope(StkFloat slope)BowTable
      showWarnings(bool status)Stk [inline, static]
      sleep(unsigned long milliseconds)Stk [static]
      Stk(void)Stk [protected]
      STK_FLOAT32Stk [static]
      swap16(unsigned char *ptr)Stk [static]
      swap32(unsigned char *ptr)Stk [static]
      swap64(unsigned char *ptr)Stk [static]
      tick(StkFloat input)BowTable [virtual]
      tick(StkFloat *vector, unsigned int vectorSize)BowTable [virtual]
      tick(StkFrames &frames, unsigned int channel=1)BowTable [virtual]
      tick(StkFloat input)Function
      tick(StkFrames &frames, unsigned int channel=0)Function [virtual]
      ~BowTable()BowTable
      ~Function()Function [virtual]
      ~Stk(void)Stk [protected, virtual]
      - +
      The Synthesis ToolKit in C++ (STK)
      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
      diff --git a/doc/html/classBowTable.html b/doc/html/classBowTable.html index 931d5a8..26eafba 100644 --- a/doc/html/classBowTable.html +++ b/doc/html/classBowTable.html @@ -8,8 +8,8 @@    

      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


      - -

      BowTable Class Reference

      #include <BowTable.h> + +

      BowTable Class Reference

      #include <BowTable.h>

      Inheritance diagram for BowTable:

      @@ -21,58 +21,45 @@ STK bowed string table class.

      This class implements a simple bowed string non-linear function, as described by Smith (1986).

      -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

      - -

      -Definition at line 17 of file BowTable.h. +
      - - + + - - + + - - + + - - + + - - - - - - - - - - +

      Public Member Functions

      BowTable ()

      Public Member Functions

      BowTable ()
       Default constructor.

      ~BowTable ()
       Default constructor.
      ~BowTable ()
       Class destructor.

      void setOffset (StkFloat offset)
       Class destructor.
      void setOffset (StkFloat offset)
       Set the table offset value.

      void setSlope (StkFloat slope)
       Set the table offset value.
      void setSlope (StkFloat slope)
       Set the table slope value.

      StkFloat tick (StkFloat input)
       Return the function value for input.

      -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
       Take vectorSize inputs from vector and replace them with corresponding outputs.

      StkFramestick (StkFrames &frames, unsigned int channel=1)
       Take a channel of the StkFrames object as inputs to the function and replace with corresponding outputs.

       Set the table slope value.


      Member Function Documentation

      -

      - +

      +

      - + -
      void BowTable::setOffset void BowTable::setOffset StkFloat  offset  ) 
      - +
        @@ -82,28 +69,27 @@ StkFloat * 

      - +

      +

      - + -
      void BowTable::setSlope void BowTable::setSlope StkFloat  slope  ) 
      - +
      - -
        @@ -113,82 +99,7 @@ The table offset is a bias which controls the symmetry of the friction. If you w

      Set the table slope value.

      -The table slope controls the width of the friction pulse, which is related to bow force.

      -

      - - - - -
      - - - - - - - - - - -
      StkFloat BowTable::tick StkFloat  input  )  [virtual]
      -
      - - - - - -
      -   - - -

      -Return the function value for input. -

      -The function input represents differential string-to-bow velocity. -

      -Implements Function.

      -

      - - - - -
      - - - - - - - - - - - - - - - - - - - -
      StkFrames& BowTable::tick StkFrames frames,
      unsigned int  channel = 1
      [virtual]
      -
      - - - - +The table slope controls the width of the friction pulse, which is related to bow force.
      -   - - -

      -Take a channel of the StkFrames object as inputs to the function and replace with corresponding outputs. -

      -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

      -Reimplemented from Function.


      The documentation for this class was generated from the following file:
        @@ -197,7 +108,7 @@ Reimplemented from Function. < - +
        The Synthesis ToolKit in C++ (STK)
        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
        diff --git a/doc/html/classBowTable__coll__graph.map b/doc/html/classBowTable__coll__graph.map new file mode 100644 index 0000000..586bb5f --- /dev/null +++ b/doc/html/classBowTable__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFunction.html 11,85 72,106 +rect $classStk.html 23,16 60,37 diff --git a/doc/html/classBowTable__coll__graph.md5 b/doc/html/classBowTable__coll__graph.md5 new file mode 100644 index 0000000..46fbdf4 --- /dev/null +++ b/doc/html/classBowTable__coll__graph.md5 @@ -0,0 +1 @@ +5b73cb5165008340cd953cffba64781a \ No newline at end of file diff --git a/doc/html/classBowTable__coll__graph.png b/doc/html/classBowTable__coll__graph.png new file mode 100644 index 0000000..6895e7a Binary files /dev/null and b/doc/html/classBowTable__coll__graph.png differ diff --git a/doc/html/classBowTable__inherit__graph.map b/doc/html/classBowTable__inherit__graph.map new file mode 100644 index 0000000..586bb5f --- /dev/null +++ b/doc/html/classBowTable__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFunction.html 11,85 72,106 +rect $classStk.html 23,16 60,37 diff --git a/doc/html/classBowTable__inherit__graph.md5 b/doc/html/classBowTable__inherit__graph.md5 new file mode 100644 index 0000000..e04c14e --- /dev/null +++ b/doc/html/classBowTable__inherit__graph.md5 @@ -0,0 +1 @@ +4e134ca41f131d6da265a8be53424ed9 \ No newline at end of file diff --git a/doc/html/classBowTable__inherit__graph.png b/doc/html/classBowTable__inherit__graph.png new file mode 100644 index 0000000..6895e7a Binary files /dev/null and b/doc/html/classBowTable__inherit__graph.png differ diff --git a/doc/html/classBowed-members.html b/doc/html/classBowed-members.html index 5ab6c0d..6a850ff 100644 --- a/doc/html/classBowed-members.html +++ b/doc/html/classBowed-members.html @@ -8,12 +8,12 @@    

        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


        - -

        Bowed Member List

        This is the complete list of members for Bowed, including all inherited members. + +

        Bowed Member List

        This is the complete list of members for Bowed, including all inherited members.

        - - + + @@ -22,12 +22,14 @@ + + @@ -41,9 +43,8 @@ - - - + + @@ -51,7 +52,7 @@
        Bowed(StkFloat lowestFrequency)Bowed
        clear()Bowed
        controlChange(int number, StkFloat value)Bowed [virtual]
        handleError(const char *message, StkError::Type type)Stk [static]
        controlChange(int number, StkFloat value)Bowed [virtual]
        handleError(const char *message, StkError::Type type)Stk [static]
        handleError(std::string message, StkError::Type type)Stk [static]
        handleError(StkError::Type type)Stk [protected]
        Instrmnt()Instrmnt
        lastOutRight() const Instrmnt
        noteOff(StkFloat amplitude)Bowed [virtual]
        noteOn(StkFloat frequency, StkFloat amplitude)Bowed [virtual]
        printErrors(bool status)Stk [inline, static]
        rawwavePath(void)Stk [inline, static]
        sampleRate(void)Stk [inline, static]
        setFrequency(StkFloat frequency)Bowed [virtual]
        setRawwavePath(std::string path)Stk [static]
        setSampleRate(StkFloat rate)Stk [inline, static]
        setVibrato(StkFloat gain)Bowed
        showWarnings(bool status)Stk [inline, static]
        sleep(unsigned long milliseconds)Stk [static]
        startBowing(StkFloat amplitude, StkFloat rate)Bowed
        Stk(void)Stk [protected]
        swap16(unsigned char *ptr)Stk [static]
        swap32(unsigned char *ptr)Stk [static]
        swap64(unsigned char *ptr)Stk [static]
        tick()Bowed [virtual]
        tick(StkFloat *vector, unsigned int vectorSize)Bowed [virtual]
        tick(StkFrames &frames, unsigned int channel=1)Bowed [virtual]
        tick(void)Instrmnt
        tick(StkFrames &frames, unsigned int channel=0)Instrmnt
        ~Bowed()Bowed
        ~Instrmnt()Instrmnt [virtual]
        ~Stk(void)Stk [protected, virtual]
        - +
        The Synthesis ToolKit in C++ (STK)
        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
        diff --git a/doc/html/classBowed.html b/doc/html/classBowed.html index b3aa3ea..e69f0ee 100644 --- a/doc/html/classBowed.html +++ b/doc/html/classBowed.html @@ -8,8 +8,8 @@    

        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


        - -

        Bowed Class Reference

        #include <Bowed.h> + +

        Bowed Class Reference

        #include <Bowed.h>

        Inheritance diagram for Bowed:

        @@ -25,107 +25,51 @@ This is a digital waveguide model, making its use possibly subject to patents he Control Change Numbers:
        • Bow Pressure = 2
        • Bow Position = 4
        • Vibrato Frequency = 11
        • Vibrato Gain = 1
        • Volume = 128

        -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

        - -

        -Definition at line 35 of file Bowed.h. +
        - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - -

        Public Member Functions

        Bowed (StkFloat lowestFrequency)

        Public Member Functions

        Bowed (StkFloat lowestFrequency)
         Class constructor, taking the lowest desired playing frequency.

        ~Bowed ()
         Class constructor, taking the lowest desired playing frequency.
        ~Bowed ()
         Class destructor.

        -void clear ()
         Class destructor.
        +void clear ()
         Reset and clear all internal state.

        -void setFrequency (StkFloat frequency)
         Reset and clear all internal state.
        +void setFrequency (StkFloat frequency)
         Set instrument parameters for a particular frequency.

        -void setVibrato (StkFloat gain)
         Set instrument parameters for a particular frequency.
        +void setVibrato (StkFloat gain)
         Set vibrato gain.

        -void startBowing (StkFloat amplitude, StkFloat rate)
         Set vibrato gain.
        +void startBowing (StkFloat amplitude, StkFloat rate)
         Apply breath pressure to instrument with given amplitude and rate of increase.

        -void stopBowing (StkFloat rate)
         Apply breath pressure to instrument with given amplitude and rate of increase.
        +void stopBowing (StkFloat rate)
         Decrease breath pressure with given rate of decrease.

        -void noteOn (StkFloat frequency, StkFloat amplitude)
         Decrease breath pressure with given rate of decrease.
        +void noteOn (StkFloat frequency, StkFloat amplitude)
         Start a note with the given frequency and amplitude.

        -void noteOff (StkFloat amplitude)
         Start a note with the given frequency and amplitude.
        +void noteOff (StkFloat amplitude)
         Stop a note with the given amplitude (speed of decay).

        -StkFloat tick ()
         Stop a note with the given amplitude (speed of decay).
        +void controlChange (int number, StkFloat value)
         Compute one output sample.

        -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
         Computer vectorSize outputs and return them in vector.

        StkFramestick (StkFrames &frames, unsigned int channel=1)
         Fill a channel of the StkFrames object with computed outputs.

        -void controlChange (int number, StkFloat value)
         Perform the control change specified by number and value (0.0 - 128.0).

        -


        Member Function Documentation

        -

        - - - - -
        - - - - - - - - - - - - - - - - - - - -
        StkFrames& Bowed::tick StkFrames frames,
        unsigned int  channel = 1
        [virtual]
        -
        - - - - - +
        -   - - -

        -Fill a channel of the StkFrames object with computed outputs. -

        -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

        -Reimplemented from Instrmnt.

         Perform the control change specified by number and value (0.0 - 128.0).


        The documentation for this class was generated from the following file: @@ -133,7 +77,7 @@ Reimplemented from Instrmnt. - +
        The Synthesis ToolKit in C++ (STK)
        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
        diff --git a/doc/html/classBowed__coll__graph.map b/doc/html/classBowed__coll__graph.map new file mode 100644 index 0000000..fdb1596 --- /dev/null +++ b/doc/html/classBowed__coll__graph.map @@ -0,0 +1,15 @@ +base referer +rect $classInstrmnt.html 7,134 63,155 +rect $classStk.html 177,16 215,38 +rect $classGenerator.html 72,88 141,110 +rect $classFunction.html 165,88 227,110 +rect $classFilter.html 337,88 377,110 +rect $classWvIn.html 457,88 497,110 +rect $classADSR.html 75,270 123,291 +rect $classEnvelope.html 73,179 137,200 +rect $classBowTable.html 147,224 216,246 +rect $classOnePole.html 283,224 344,246 +rect $classBiQuad.html 392,224 445,246 +rect $classDelay.html 445,179 488,200 +rect $classWaveLoop.html 609,270 684,291 +rect $classDelayL.html 535,270 585,291 diff --git a/doc/html/classBowed__coll__graph.md5 b/doc/html/classBowed__coll__graph.md5 new file mode 100644 index 0000000..6567826 --- /dev/null +++ b/doc/html/classBowed__coll__graph.md5 @@ -0,0 +1 @@ +15353425b4ed3e6203cb9c9d55849301 \ No newline at end of file diff --git a/doc/html/classBowed__coll__graph.png b/doc/html/classBowed__coll__graph.png new file mode 100644 index 0000000..27647a1 Binary files /dev/null and b/doc/html/classBowed__coll__graph.png differ diff --git a/doc/html/classBowed__inherit__graph.map b/doc/html/classBowed__inherit__graph.map new file mode 100644 index 0000000..ba86dfe --- /dev/null +++ b/doc/html/classBowed__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 7,85 63,106 +rect $classStk.html 16,16 53,37 diff --git a/doc/html/classBowed__inherit__graph.md5 b/doc/html/classBowed__inherit__graph.md5 new file mode 100644 index 0000000..5d98dad --- /dev/null +++ b/doc/html/classBowed__inherit__graph.md5 @@ -0,0 +1 @@ +d2e95c65231611fccfb3ee6c5083f6ac \ No newline at end of file diff --git a/doc/html/classBowed__inherit__graph.png b/doc/html/classBowed__inherit__graph.png new file mode 100644 index 0000000..69c7b16 Binary files /dev/null and b/doc/html/classBowed__inherit__graph.png differ diff --git a/doc/html/classBrass-members.html b/doc/html/classBrass-members.html index 232a235..5c3b9fd 100644 --- a/doc/html/classBrass-members.html +++ b/doc/html/classBrass-members.html @@ -8,12 +8,12 @@    

        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


        - -

        Brass Member List

        This is the complete list of members for Brass, including all inherited members. + +

        Brass Member List

        This is the complete list of members for Brass, including all inherited members.

        - - + + @@ -22,12 +22,14 @@ + + @@ -41,9 +43,8 @@ - - - + + @@ -51,7 +52,7 @@
        Brass(StkFloat lowestFrequency)Brass
        clear()Brass
        controlChange(int number, StkFloat value)Brass [virtual]
        handleError(const char *message, StkError::Type type)Stk [static]
        controlChange(int number, StkFloat value)Brass [virtual]
        handleError(const char *message, StkError::Type type)Stk [static]
        handleError(std::string message, StkError::Type type)Stk [static]
        handleError(StkError::Type type)Stk [protected]
        Instrmnt()Instrmnt
        lastOutRight() const Instrmnt
        noteOff(StkFloat amplitude)Brass [virtual]
        noteOn(StkFloat frequency, StkFloat amplitude)Brass [virtual]
        printErrors(bool status)Stk [inline, static]
        rawwavePath(void)Stk [inline, static]
        sampleRate(void)Stk [inline, static]
        setFrequency(StkFloat frequency)Brass [virtual]
        setLip(StkFloat frequency)Brass
        setRawwavePath(std::string path)Stk [static]
        setSampleRate(StkFloat rate)Stk [inline, static]
        showWarnings(bool status)Stk [inline, static]
        sleep(unsigned long milliseconds)Stk [static]
        startBlowing(StkFloat amplitude, StkFloat rate)Brass
        Stk(void)Stk [protected]
        swap16(unsigned char *ptr)Stk [static]
        swap32(unsigned char *ptr)Stk [static]
        swap64(unsigned char *ptr)Stk [static]
        tick()Brass [virtual]
        tick(StkFloat *vector, unsigned int vectorSize)Brass [virtual]
        tick(StkFrames &frames, unsigned int channel=1)Brass [virtual]
        tick(void)Instrmnt
        tick(StkFrames &frames, unsigned int channel=0)Instrmnt
        ~Brass()Brass
        ~Instrmnt()Instrmnt [virtual]
        ~Stk(void)Stk [protected, virtual]
        - +
        The Synthesis ToolKit in C++ (STK)
        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
        diff --git a/doc/html/classBrass.html b/doc/html/classBrass.html index 7b779bf..8219c54 100644 --- a/doc/html/classBrass.html +++ b/doc/html/classBrass.html @@ -8,8 +8,8 @@    

        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


        - -

        Brass Class Reference

        #include <Brass.h> + +

        Brass Class Reference

        #include <Brass.h>

        Inheritance diagram for Brass:

        @@ -25,84 +25,70 @@ This is a digital waveguide model, making its use possibly subject to patents he Control Change Numbers:
        • Lip Tension = 2
        • Slide Length = 4
        • Vibrato Frequency = 11
        • Vibrato Gain = 1
        • Volume = 128

        -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

        - -

        -Definition at line 33 of file Brass.h. +
        - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

        Public Member Functions

         Brass (StkFloat lowestFrequency)

        Public Member Functions

         Brass (StkFloat lowestFrequency)
         Class constructor, taking the lowest desired playing frequency.

        ~Brass ()
         Class constructor, taking the lowest desired playing frequency.
        ~Brass ()
         Class destructor.

        -void clear ()
         Class destructor.
        +void clear ()
         Reset and clear all internal state.

        -void setFrequency (StkFloat frequency)
         Reset and clear all internal state.
        +void setFrequency (StkFloat frequency)
         Set instrument parameters for a particular frequency.

        -void setLip (StkFloat frequency)
         Set instrument parameters for a particular frequency.
        +void setLip (StkFloat frequency)
         Set the lips frequency.

        -void startBlowing (StkFloat amplitude, StkFloat rate)
         Set the lips frequency.
        +void startBlowing (StkFloat amplitude, StkFloat rate)
         Apply breath pressure to instrument with given amplitude and rate of increase.

        -void stopBlowing (StkFloat rate)
         Apply breath pressure to instrument with given amplitude and rate of increase.
        +void stopBlowing (StkFloat rate)
         Decrease breath pressure with given rate of decrease.

        -void noteOn (StkFloat frequency, StkFloat amplitude)
         Decrease breath pressure with given rate of decrease.
        +void noteOn (StkFloat frequency, StkFloat amplitude)
         Start a note with the given frequency and amplitude.

        -void noteOff (StkFloat amplitude)
         Start a note with the given frequency and amplitude.
        +void noteOff (StkFloat amplitude)
         Stop a note with the given amplitude (speed of decay).

        -StkFloat tick ()
         Stop a note with the given amplitude (speed of decay).
        +void controlChange (int number, StkFloat value)
         Compute one output sample.

        -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
         Computer vectorSize outputs and return them in vector.

        StkFramestick (StkFrames &frames, unsigned int channel=1)
         Fill a channel of the StkFrames object with computed outputs.

        -void controlChange (int number, StkFloat value)
         Perform the control change specified by number and value (0.0 - 128.0).

         Perform the control change specified by number and value (0.0 - 128.0).


        Constructor & Destructor Documentation

        -

        - +

        +

        - + -
        Brass::Brass Brass::Brass StkFloat  lowestFrequency  ) 
        - +
        - -
          @@ -112,50 +98,7 @@ void StkError will be thrown if the rawwave path is incorrectly set.
        -


        Member Function Documentation

        -

        - - - - -
        - - - - - - - - - - - - - - - - - - - -
        StkFrames& Brass::tick StkFrames frames,
        unsigned int  channel = 1
        [virtual]
        -
        - - - - +An StkError will be thrown if the rawwave path is incorrectly set.
        -   - - -

        -Fill a channel of the StkFrames object with computed outputs. -

        -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

        -Reimplemented from Instrmnt.


        The documentation for this class was generated from the following file:
          @@ -164,7 +107,7 @@ Reimplemented from Instrmnt. - +
          The Synthesis ToolKit in C++ (STK)
          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          diff --git a/doc/html/classBrass__coll__graph.map b/doc/html/classBrass__coll__graph.map new file mode 100644 index 0000000..6dbdc1d --- /dev/null +++ b/doc/html/classBrass__coll__graph.map @@ -0,0 +1,13 @@ +base referer +rect $classInstrmnt.html 7,134 63,155 +rect $classStk.html 229,16 267,38 +rect $classFilter.html 176,88 216,110 +rect $classGenerator.html 268,88 337,110 +rect $classWvIn.html 400,88 440,110 +rect $classDelayA.html 57,270 111,291 +rect $classDelay.html 93,179 136,200 +rect $classPoleZero.html 135,224 199,246 +rect $classBiQuad.html 240,224 293,246 +rect $classADSR.html 364,270 412,291 +rect $classEnvelope.html 313,179 377,200 +rect $classWaveLoop.html 415,224 489,246 diff --git a/doc/html/classBrass__coll__graph.md5 b/doc/html/classBrass__coll__graph.md5 new file mode 100644 index 0000000..1d07485 --- /dev/null +++ b/doc/html/classBrass__coll__graph.md5 @@ -0,0 +1 @@ +68ce6cfe3b3eb1e12003ce8323c77db3 \ No newline at end of file diff --git a/doc/html/classBrass__coll__graph.png b/doc/html/classBrass__coll__graph.png new file mode 100644 index 0000000..c5fb812 Binary files /dev/null and b/doc/html/classBrass__coll__graph.png differ diff --git a/doc/html/classBrass__inherit__graph.map b/doc/html/classBrass__inherit__graph.map new file mode 100644 index 0000000..ba86dfe --- /dev/null +++ b/doc/html/classBrass__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 7,85 63,106 +rect $classStk.html 16,16 53,37 diff --git a/doc/html/classBrass__inherit__graph.md5 b/doc/html/classBrass__inherit__graph.md5 new file mode 100644 index 0000000..0d6d851 --- /dev/null +++ b/doc/html/classBrass__inherit__graph.md5 @@ -0,0 +1 @@ +4f0b312cf6a050f23752a4c5f7f594f3 \ No newline at end of file diff --git a/doc/html/classBrass__inherit__graph.png b/doc/html/classBrass__inherit__graph.png new file mode 100644 index 0000000..c8204da Binary files /dev/null and b/doc/html/classBrass__inherit__graph.png differ diff --git a/doc/html/classChorus-members.html b/doc/html/classChorus-members.html index 8e459ec..6e2968e 100644 --- a/doc/html/classChorus-members.html +++ b/doc/html/classChorus-members.html @@ -8,17 +8,18 @@    

          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


          - -

          Chorus Member List

          This is the complete list of members for Chorus, including all inherited members. + +

          Chorus Member List

          This is the complete list of members for Chorus, including all inherited members.

          - + + @@ -26,6 +27,7 @@ + @@ -37,9 +39,8 @@ - - - + + @@ -47,7 +48,7 @@
          Chorus(StkFloat baseDelay=6000)Chorus
          clear()Chorus [virtual]
          Effect()Effect
          handleError(const char *message, StkError::Type type)Stk [static]
          handleError(const char *message, StkError::Type type)Stk [static]
          handleError(std::string message, StkError::Type type)Stk [static]
          handleError(StkError::Type type)Stk [protected]
          lastOut() const Effect
          lastOutLeft() const Effect
          lastOutRight() const Effect
          printErrors(bool status)Stk [inline, static]
          rawwavePath(void)Stk [inline, static]
          sampleRate(void)Stk [inline, static]
          setEffectMix(StkFloat mix)Effect
          setModFrequency(StkFloat frequency)Chorus
          setRawwavePath(std::string path)Stk [static]
          setSampleRate(StkFloat rate)Stk [inline, static]
          showWarnings(bool status)Stk [inline, static]
          sleep(unsigned long milliseconds)Stk [static]
          Stk(void)Stk [protected]
          STK_FLOAT32Stk [static]
          swap16(unsigned char *ptr)Stk [static]
          swap32(unsigned char *ptr)Stk [static]
          swap64(unsigned char *ptr)Stk [static]
          tick(StkFloat input)Chorus [virtual]
          tick(StkFloat *vector, unsigned int vectorSize)Chorus [virtual]
          tick(StkFrames &frames, unsigned int channel=1)Chorus [virtual]
          tick(StkFloat input)Effect
          tick(StkFrames &frames, unsigned int channel=0)Effect
          ~Chorus()Chorus
          ~Effect()Effect [virtual]
          ~Stk(void)Stk [protected, virtual]
          - +
          The Synthesis ToolKit in C++ (STK)
          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          diff --git a/doc/html/classChorus.html b/doc/html/classChorus.html index 42470d8..48a645a 100644 --- a/doc/html/classChorus.html +++ b/doc/html/classChorus.html @@ -8,8 +8,8 @@    

          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


          - -

          Chorus Class Reference

          #include <Chorus.h> + +

          Chorus Class Reference

          #include <Chorus.h>

          Inheritance diagram for Chorus:

          @@ -21,64 +21,50 @@ STK chorus effect class.

          This class implements a chorus effect.

          -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

          - -

          -Definition at line 18 of file Chorus.h. +
          - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

          Public Member Functions

           Chorus (StkFloat baseDelay=6000)

          Public Member Functions

           Chorus (StkFloat baseDelay=6000)
           Class constructor, taking the median desired delay length.

          ~Chorus ()
           Class constructor, taking the median desired delay length.
          ~Chorus ()
           Class destructor.

          -void clear ()
           Class destructor.
          +void clear ()
           Reset and clear all internal state.

          -void setModDepth (StkFloat depth)
           Reset and clear all internal state.
          +void setModDepth (StkFloat depth)
           Set modulation depth.

          -void setModFrequency (StkFloat frequency)
           Set modulation depth.
          +void setModFrequency (StkFloat frequency)
           Set modulation frequency.

          -StkFloat tick (StkFloat input)
           Compute one output sample.

          -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
           Take vectorSize inputs, compute the same number of outputs and return them in vector.

          StkFramestick (StkFrames &frames, unsigned int channel=1)
           Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs.

           Set modulation frequency.


          Constructor & Destructor Documentation

          -

          - +

          +

          - + - + -
          Chorus::Chorus Chorus::Chorus StkFloat  baseDelay = 6000 baseDelay = 6000  ) 
          - +
          - -
            @@ -88,50 +74,7 @@ StkFloat * StkError can be thrown if the rawwave path is incorrect.
          -


          Member Function Documentation

          -

          - - - - -
          - - - - - - - - - - - - - - - - - - - -
          StkFrames& Chorus::tick StkFrames frames,
          unsigned int  channel = 1
          [virtual]
          -
          - - - - +An StkError can be thrown if the rawwave path is incorrect.
          -   - - -

          -Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs. -

          -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

          -Reimplemented from Effect.


          The documentation for this class was generated from the following file:
            @@ -140,7 +83,7 @@ Reimplemented from Effect.
      - +
      The Synthesis ToolKit in C++ (STK)
      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
      diff --git a/doc/html/classChorus__coll__graph.map b/doc/html/classChorus__coll__graph.map new file mode 100644 index 0000000..c09d26c --- /dev/null +++ b/doc/html/classChorus__coll__graph.map @@ -0,0 +1,8 @@ +base referer +rect $classEffect.html 7,134 52,155 +rect $classStk.html 77,16 115,38 +rect $classWvIn.html 76,88 116,110 +rect $classFilter.html 141,88 181,110 +rect $classWaveLoop.html 59,224 133,246 +rect $classDelayL.html 157,270 208,291 +rect $classDelay.html 152,179 195,200 diff --git a/doc/html/classChorus__coll__graph.md5 b/doc/html/classChorus__coll__graph.md5 new file mode 100644 index 0000000..1936954 --- /dev/null +++ b/doc/html/classChorus__coll__graph.md5 @@ -0,0 +1 @@ +5cb497a9ca8d6c7a70e61e0bc0a59513 \ No newline at end of file diff --git a/doc/html/classChorus__coll__graph.png b/doc/html/classChorus__coll__graph.png new file mode 100644 index 0000000..970b67c Binary files /dev/null and b/doc/html/classChorus__coll__graph.png differ diff --git a/doc/html/classChorus__inherit__graph.map b/doc/html/classChorus__inherit__graph.map new file mode 100644 index 0000000..f117094 --- /dev/null +++ b/doc/html/classChorus__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classEffect.html 11,85 56,106 +rect $classStk.html 15,16 52,37 diff --git a/doc/html/classChorus__inherit__graph.md5 b/doc/html/classChorus__inherit__graph.md5 new file mode 100644 index 0000000..88ab40b --- /dev/null +++ b/doc/html/classChorus__inherit__graph.md5 @@ -0,0 +1 @@ +8e4971354e6ff0f9427156de63af787a \ No newline at end of file diff --git a/doc/html/classChorus__inherit__graph.png b/doc/html/classChorus__inherit__graph.png new file mode 100644 index 0000000..f885f32 Binary files /dev/null and b/doc/html/classChorus__inherit__graph.png differ diff --git a/doc/html/classClarinet-members.html b/doc/html/classClarinet-members.html index 097f722..3a66ebd 100644 --- a/doc/html/classClarinet-members.html +++ b/doc/html/classClarinet-members.html @@ -8,12 +8,12 @@    

      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


      - -

      Clarinet Member List

      This is the complete list of members for Clarinet, including all inherited members. + +

      Clarinet Member List

      This is the complete list of members for Clarinet, including all inherited members.

      - - + + @@ -22,11 +22,13 @@ + + @@ -40,9 +42,8 @@ - - - + + @@ -50,7 +51,7 @@
      Clarinet(StkFloat lowestFrequency)Clarinet
      clear()Clarinet
      controlChange(int number, StkFloat value)Clarinet [virtual]
      handleError(const char *message, StkError::Type type)Stk [static]
      controlChange(int number, StkFloat value)Clarinet [virtual]
      handleError(const char *message, StkError::Type type)Stk [static]
      handleError(std::string message, StkError::Type type)Stk [static]
      handleError(StkError::Type type)Stk [protected]
      Instrmnt()Instrmnt
      lastOutRight() const Instrmnt
      noteOff(StkFloat amplitude)Clarinet [virtual]
      noteOn(StkFloat frequency, StkFloat amplitude)Clarinet [virtual]
      printErrors(bool status)Stk [inline, static]
      rawwavePath(void)Stk [inline, static]
      sampleRate(void)Stk [inline, static]
      setFrequency(StkFloat frequency)Clarinet [virtual]
      setRawwavePath(std::string path)Stk [static]
      setSampleRate(StkFloat rate)Stk [inline, static]
      showWarnings(bool status)Stk [inline, static]
      sleep(unsigned long milliseconds)Stk [static]
      startBlowing(StkFloat amplitude, StkFloat rate)Clarinet
      Stk(void)Stk [protected]
      swap16(unsigned char *ptr)Stk [static]
      swap32(unsigned char *ptr)Stk [static]
      swap64(unsigned char *ptr)Stk [static]
      tick()Clarinet [virtual]
      tick(StkFloat *vector, unsigned int vectorSize)Clarinet [virtual]
      tick(StkFrames &frames, unsigned int channel=1)Clarinet [virtual]
      tick(void)Instrmnt
      tick(StkFrames &frames, unsigned int channel=0)Instrmnt
      ~Clarinet()Clarinet
      ~Instrmnt()Instrmnt [virtual]
      ~Stk(void)Stk [protected, virtual]
      - +
      The Synthesis ToolKit in C++ (STK)
      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
      diff --git a/doc/html/classClarinet.html b/doc/html/classClarinet.html index cfa0427..a33276f 100644 --- a/doc/html/classClarinet.html +++ b/doc/html/classClarinet.html @@ -8,8 +8,8 @@    

      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


      - -

      Clarinet Class Reference

      #include <Clarinet.h> + +

      Clarinet Class Reference

      #include <Clarinet.h>

      Inheritance diagram for Clarinet:

      @@ -25,80 +25,66 @@ This is a digital waveguide model, making its use possibly subject to patents he Control Change Numbers:
      • Reed Stiffness = 2
      • Noise Gain = 4
      • Vibrato Frequency = 11
      • Vibrato Gain = 1
      • Breath Pressure = 128

      -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

      - -

      -Definition at line 36 of file Clarinet.h. +
      - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

      Public Member Functions

       Clarinet (StkFloat lowestFrequency)

      Public Member Functions

       Clarinet (StkFloat lowestFrequency)
       Class constructor, taking the lowest desired playing frequency.

      ~Clarinet ()
       Class constructor, taking the lowest desired playing frequency.
      ~Clarinet ()
       Class destructor.

      -void clear ()
       Class destructor.
      +void clear ()
       Reset and clear all internal state.

      -void setFrequency (StkFloat frequency)
       Reset and clear all internal state.
      +void setFrequency (StkFloat frequency)
       Set instrument parameters for a particular frequency.

      -void startBlowing (StkFloat amplitude, StkFloat rate)
       Set instrument parameters for a particular frequency.
      +void startBlowing (StkFloat amplitude, StkFloat rate)
       Apply breath pressure to instrument with given amplitude and rate of increase.

      -void stopBlowing (StkFloat rate)
       Apply breath pressure to instrument with given amplitude and rate of increase.
      +void stopBlowing (StkFloat rate)
       Decrease breath pressure with given rate of decrease.

      -void noteOn (StkFloat frequency, StkFloat amplitude)
       Decrease breath pressure with given rate of decrease.
      +void noteOn (StkFloat frequency, StkFloat amplitude)
       Start a note with the given frequency and amplitude.

      -void noteOff (StkFloat amplitude)
       Start a note with the given frequency and amplitude.
      +void noteOff (StkFloat amplitude)
       Stop a note with the given amplitude (speed of decay).

      -StkFloat tick ()
       Stop a note with the given amplitude (speed of decay).
      +void controlChange (int number, StkFloat value)
       Compute one output sample.

      -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
       Computer vectorSize outputs and return them in vector.

      StkFramestick (StkFrames &frames, unsigned int channel=1)
       Fill a channel of the StkFrames object with computed outputs.

      -void controlChange (int number, StkFloat value)
       Perform the control change specified by number and value (0.0 - 128.0).

       Perform the control change specified by number and value (0.0 - 128.0).


      Constructor & Destructor Documentation

      -

      - +

      +

      - + -
      Clarinet::Clarinet Clarinet::Clarinet StkFloat  lowestFrequency  ) 
      - +
      - -
        @@ -108,50 +94,7 @@ void StkError will be thrown if the rawwave path is incorrectly set.
      -


      Member Function Documentation

      -

      - - - - -
      - - - - - - - - - - - - - - - - - - - -
      StkFrames& Clarinet::tick StkFrames frames,
      unsigned int  channel = 1
      [virtual]
      -
      - - - - +An StkError will be thrown if the rawwave path is incorrectly set.
      -   - - -

      -Fill a channel of the StkFrames object with computed outputs. -

      -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

      -Reimplemented from Instrmnt.


      The documentation for this class was generated from the following file:
        @@ -160,7 +103,7 @@ Reimplemented from Instrmnt. - +
        The Synthesis ToolKit in C++ (STK)
        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
        diff --git a/doc/html/classClarinet__coll__graph.map b/doc/html/classClarinet__coll__graph.map new file mode 100644 index 0000000..72824cf --- /dev/null +++ b/doc/html/classClarinet__coll__graph.map @@ -0,0 +1,14 @@ +base referer +rect $classInstrmnt.html 37,134 93,155 +rect $classStk.html 235,16 272,38 +rect $classGenerator.html 139,179 208,200 +rect $classFunction.html 223,88 284,110 +rect $classWvIn.html 319,88 359,110 +rect $classFilter.html 469,88 509,110 +rect $classNoise.html 65,270 108,291 +rect $classEnvelope.html 141,270 205,291 +rect $classReedTable.html 216,224 291,246 +rect $classWaveLoop.html 329,224 404,246 +rect $classOneZero.html 457,224 521,246 +rect $classDelay.html 539,179 581,200 +rect $classDelayL.html 560,270 611,291 diff --git a/doc/html/classClarinet__coll__graph.md5 b/doc/html/classClarinet__coll__graph.md5 new file mode 100644 index 0000000..bd6e98b --- /dev/null +++ b/doc/html/classClarinet__coll__graph.md5 @@ -0,0 +1 @@ +1d21af26e8bef472cf053f9214142c56 \ No newline at end of file diff --git a/doc/html/classClarinet__coll__graph.png b/doc/html/classClarinet__coll__graph.png new file mode 100644 index 0000000..7b70e4d Binary files /dev/null and b/doc/html/classClarinet__coll__graph.png differ diff --git a/doc/html/classClarinet__inherit__graph.map b/doc/html/classClarinet__inherit__graph.map new file mode 100644 index 0000000..ba86dfe --- /dev/null +++ b/doc/html/classClarinet__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 7,85 63,106 +rect $classStk.html 16,16 53,37 diff --git a/doc/html/classClarinet__inherit__graph.md5 b/doc/html/classClarinet__inherit__graph.md5 new file mode 100644 index 0000000..3719ab3 --- /dev/null +++ b/doc/html/classClarinet__inherit__graph.md5 @@ -0,0 +1 @@ +2375b64815cd4fa179483a920bd9c585 \ No newline at end of file diff --git a/doc/html/classClarinet__inherit__graph.png b/doc/html/classClarinet__inherit__graph.png new file mode 100644 index 0000000..7669b81 Binary files /dev/null and b/doc/html/classClarinet__inherit__graph.png differ diff --git a/doc/html/classDelay-members.html b/doc/html/classDelay-members.html index d6ce1cc..82bbc7a 100644 --- a/doc/html/classDelay-members.html +++ b/doc/html/classDelay-members.html @@ -8,8 +8,8 @@    

        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


        - -

        Delay Member List

        This is the complete list of members for Delay, including all inherited members. + +

        Delay Member List

        This is the complete list of members for Delay, including all inherited members.

        @@ -19,21 +19,23 @@ - + + - + - + - + + @@ -46,8 +48,7 @@ - - + @@ -55,7 +56,7 @@
        clear()Delay
        contentsAt(unsigned long tapDelay)Delay
        Delay()Delay
        Filter(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
        getDelay(void) const Delay
        getGain(void) const Filter [protected, virtual]
        handleError(const char *message, StkError::Type type)Stk [protected, static]
        handleError(const char *message, StkError::Type type)Stk [protected, static]
        handleError(std::string message, StkError::Type type)Stk [protected, static]
        handleError(StkError::Type type)Stk [protected]
        lastOut(void) const Delay [virtual]
        nextOut(void)Delay [virtual]
        printErrors(bool status)Stk [inline, protected, static]
        rawwavePath(void)Stk [inline, protected, static]
        sampleRate(void)Stk [inline, protected, static]
        setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
        setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
        setDelay(unsigned long delay)Delay
        setDenominator(std::vector< StkFloat > &aCoefficients)Filter [protected]
        setDenominator(std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
        setGain(StkFloat gain)Filter [protected, virtual]
        setMaximumDelay(unsigned long delay)Delay
        setNumerator(std::vector< StkFloat > &bCoefficients)Filter [protected]
        setNumerator(std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
        setRawwavePath(std::string path)Stk [protected, static]
        setSampleRate(StkFloat rate)Stk [inline, protected, static]
        showWarnings(bool status)Stk [inline, protected, static]
        sleep(unsigned long milliseconds)Stk [protected, static]
        Stk(void)Stk [protected]
        STK_FLOAT32Stk [protected, static]
        swap32(unsigned char *ptr)Stk [protected, static]
        swap64(unsigned char *ptr)Stk [protected, static]
        tick(StkFloat sample)Delay [virtual]
        tick(StkFloat *vector, unsigned int vectorSize)Delay [virtual]
        tick(StkFrames &frames, unsigned int channel=1)Delay [virtual]
        tick(StkFrames &frames, unsigned int channel=0)Delay [virtual]
        ~Delay()Delay [virtual]
        ~Filter(void)Filter [protected, virtual]
        ~Stk(void)Stk [protected, virtual]
        - +
        The Synthesis ToolKit in C++ (STK)
        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
        diff --git a/doc/html/classDelay.html b/doc/html/classDelay.html index bc4b704..3c0d8ad 100644 --- a/doc/html/classDelay.html +++ b/doc/html/classDelay.html @@ -8,8 +8,8 @@    

        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


        - -

        Delay Class Reference

        #include <Delay.h> + +

        Delay Class Reference

        #include <Delay.h>

        Inheritance diagram for Delay:

        @@ -24,93 +24,86 @@ STK non-interpolating delay line class.

        This protected Filter subclass implements a non-interpolating digital delay-line. A fixed maximum length of 4095 and a delay of zero is set using the default constructor. Alternatively, the delay and maximum length can be set during instantiation with an overloaded constructor.

        A non-interpolating delay line is typically used in fixed delay-length applications, such as for reverberation.

        -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

        - -

        -Definition at line 26 of file Delay.h. +
        - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - +

        Public Member Functions

        Delay ()

        Public Member Functions

        Delay ()
         Default constructor creates a delay-line with maximum length of 4095 samples and zero delay.

         Delay (unsigned long delay, unsigned long maxDelay)
         Default constructor creates a delay-line with maximum length of 4095 samples and zero delay.
         Delay (unsigned long delay, unsigned long maxDelay)
         Overloaded constructor which specifies the current and maximum delay-line lengths.

        -virtual ~Delay ()
         Overloaded constructor which specifies the current and maximum delay-line lengths.
        +virtual ~Delay ()
         Class destructor.

        -void clear ()
         Class destructor.
        +void clear ()
         Clears the internal state of the delay line.

        void setMaximumDelay (unsigned long delay)
         Clears the internal state of the delay line.
        void setMaximumDelay (unsigned long delay)
         Set the maximum delay-line length.

        void setDelay (unsigned long delay)
         Set the maximum delay-line length.
        void setDelay (unsigned long delay)
         Set the delay-line length.

        -unsigned long getDelay (void) const
         Set the delay-line length.
        +unsigned long getDelay (void) const
         Return the current delay-line length.

        -StkFloat energy (void) const
         Return the current delay-line length.
        +StkFloat energy (void) const
         Calculate and return the signal energy in the delay-line.

        StkFloat contentsAt (unsigned long tapDelay)
         Calculate and return the signal energy in the delay-line.
        StkFloat contentsAt (unsigned long tapDelay)
         Return the value at tapDelay samples from the delay-line input.

        -StkFloat lastOut (void) const
         Return the value at tapDelay samples from the delay-line input.
        +StkFloat lastOut (void) const
         Return the last computed output value.

        virtual StkFloat nextOut (void)
         Return the last computed output value.
        virtual StkFloat nextOut (void)
         Return the value which will be output by the next call to tick().

        -virtual StkFloat tick (StkFloat sample)
         Return the value which will be output by the next call to tick().
        +virtual StkFloat tick (StkFloat sample)
         Input one sample to the delayline and return one output.

        -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
         Input one sample to the filter and return one output.
        virtual StkFramestick (StkFrames &frames, unsigned int channel=0)
         Input vectorSize samples to the delayline and return an equal number of outputs in vector.

        virtual StkFramestick (StkFrames &frames, unsigned int channel=1)
         Take a channel of the StkFrames object as inputs to the delayline and replace with corresponding outputs.

         Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.


        Constructor & Destructor Documentation

        -

        - +

        +

        - + - - + + - + -
        Delay::Delay Delay::Delay unsigned long  delay,
        unsigned long  maxDelay
        - +
        +An StkError will be thrown if the delay parameter is less than zero, the maximum delay parameter is less than one, or the delay parameter is greater than the maxDelay value.
          @@ -120,29 +113,28 @@ virtual StkFloat * StkError will be thrown if the delay parameter is less than zero, the maximum delay parameter is less than one, or the delay parameter is greater than the maxDelay value.


        Member Function Documentation

        -

        - +

        +

        - + -
        void Delay::setMaximumDelay void Delay::setMaximumDelay unsigned long  delay  ) 
        - +
        +This method should generally only be used during initial setup of the delay line. If it is used between calls to the tick() function, without a call to clear(), a signal discontinuity will likely occur. If the current maximum length is greater than the new length, no change will be made.
          @@ -152,28 +144,27 @@ An StkError will be thrown if the de

        Set the maximum delay-line length.

        -This method should generally only be used during initial setup of the delay line. If it is used between calls to the tick() function, without a call to clear(), a signal discontinuity will likely occur. If the current maximum length is greater than the new length, no change will be made.

        -

        - +

        +

        - + -
        void Delay::setDelay void Delay::setDelay unsigned long  delay  ) 
        - +
        +The valid range for theDelay is from 0 to the maximum delay-line length.
          @@ -183,28 +174,27 @@ This method should generally only be used during initial setup of the delay line

        Set the delay-line length.

        -The valid range for theDelay is from 0 to the maximum delay-line length.

        -

        - +

        +

        - + -
        StkFloat Delay::contentsAt StkFloat Delay::contentsAt unsigned long  tapDelay  ) 
        - +
        +The tap point is determined modulo the delay-line length and is relative to the last input value (i.e., a tapDelay of zero returns the last input value).
          @@ -214,28 +204,27 @@ The valid range for theDelay is from 0 to the maximum delay-line length

        Return the value at tapDelay samples from the delay-line input.

        -The tap point is determined modulo the delay-line length and is relative to the last input value (i.e., a tapDelay of zero returns the last input value).

        -

        - +

        +

        - + -
        virtual StkFloat Delay::nextOut virtual StkFloat Delay::nextOut void   )  [virtual]
        - +
          @@ -245,39 +234,38 @@ The tap point is determined modulo the delay-line length and is relative to the

        Return the value which will be output by the next call to tick().

        -This method is valid only for delay settings greater than zero! +This method is valid only for delay settings greater than zero!

        Reimplemented in DelayA, and DelayL.

        -

        - +

        +

        - + - - + + - + - + -
        virtual StkFrames& Delay::tick virtual StkFrames& Delay::tick StkFrames frames,
        unsigned int  channel = 1 channel = 0
        [virtual]
        - +
        +Reimplemented from Filter.
          @@ -285,13 +273,11 @@ Reimplemented in DelayA, and

        -Take a channel of the StkFrames object as inputs to the delayline and replace with corresponding outputs. +Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

        -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. +The channel argument should be zero or greater (the first channel is specified by 0). An StkError will be thrown if the channel argument is equal to or greater than the number of channels in the StkFrames object.

        -Reimplemented from Filter. -

        -Reimplemented in DelayA, and DelayL.


        The documentation for this class was generated from the following file:
          @@ -300,7 +286,7 @@ Reimplemented in DelayA, and The Synthesis ToolKit in C++ (STK) - ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. + ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved. diff --git a/doc/html/classDelayA-members.html b/doc/html/classDelayA-members.html index fb5fbb4..db3603a 100644 --- a/doc/html/classDelayA-members.html +++ b/doc/html/classDelayA-members.html @@ -8,8 +8,8 @@    

          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


          - -

          DelayA Member List

          This is the complete list of members for DelayA, including all inherited members. + +

          DelayA Member List

          This is the complete list of members for DelayA, including all inherited members.

          @@ -19,25 +19,26 @@ - - + - + + - + - + - + + @@ -49,9 +50,8 @@ - - - + + @@ -60,7 +60,7 @@
          clear()DelayA
          contentsAt(unsigned long tapDelay)Delay
          Delay()Delay
          energy(void) const Delay
          Filter(void)Filter [protected]
          Filter(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
          getDelay(void)DelayA
          Delay::getDelay(void) const Delay
          getDelay(void) const DelayA
          getGain(void) const Filter [protected, virtual]
          handleError(const char *message, StkError::Type type)Stk [protected, static]
          handleError(const char *message, StkError::Type type)Stk [protected, static]
          handleError(std::string message, StkError::Type type)Stk [protected, static]
          handleError(StkError::Type type)Stk [protected]
          lastOut(void) const Delay [virtual]
          nextOut(void)DelayA [virtual]
          printErrors(bool status)Stk [inline, protected, static]
          rawwavePath(void)Stk [inline, protected, static]
          sampleRate(void)Stk [inline, protected, static]
          setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
          setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
          setDelay(StkFloat delay)DelayA
          Delay::setDelay(unsigned long delay)Delay
          setDenominator(std::vector< StkFloat > &aCoefficients)Filter [protected]
          setDenominator(std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
          setGain(StkFloat gain)Filter [protected, virtual]
          setMaximumDelay(unsigned long delay)Delay
          setNumerator(std::vector< StkFloat > &bCoefficients)Filter [protected]
          setNumerator(std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
          setRawwavePath(std::string path)Stk [protected, static]
          setSampleRate(StkFloat rate)Stk [inline, protected, static]
          showWarnings(bool status)Stk [inline, protected, static]
          sleep(unsigned long milliseconds)Stk [protected, static]
          Stk(void)Stk [protected]
          STK_FLOAT32Stk [protected, static]
          swap16(unsigned char *ptr)Stk [protected, static]
          swap32(unsigned char *ptr)Stk [protected, static]
          swap64(unsigned char *ptr)Stk [protected, static]
          tick(StkFloat sample)DelayA [virtual]
          tick(StkFloat *vector, unsigned int vectorSize)DelayA [virtual]
          tick(StkFrames &frames, unsigned int channel=1)DelayA [virtual]
          tick(StkFloat sample)Delay [virtual]
          tick(StkFrames &frames, unsigned int channel=0)Delay [virtual]
          ~Delay()Delay [virtual]
          ~DelayA()DelayA
          ~Filter(void)Filter [protected, virtual]
          - +
          The Synthesis ToolKit in C++ (STK)
          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          diff --git a/doc/html/classDelayA.html b/doc/html/classDelayA.html index d9a9c60..081a568 100644 --- a/doc/html/classDelayA.html +++ b/doc/html/classDelayA.html @@ -8,8 +8,8 @@    

          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


          - -

          DelayA Class Reference

          #include <DelayA.h> + +

          DelayA Class Reference

          #include <DelayA.h>

          Inheritance diagram for DelayA:

          @@ -21,81 +21,67 @@ List of all members.

          Detailed Description

          STK allpass interpolating delay line class.

          -This Delay subclass implements a fractional- length digital delay-line using a first-order allpass filter. A fixed maximum length of 4095 and a delay of 0.5 is set using the default constructor. Alternatively, the delay and maximum length can be set during instantiation with an overloaded constructor.

          +This Delay subclass implements a fractional-length digital delay-line using a first-order allpass filter. A fixed maximum length of 4095 and a delay of 0.5 is set using the default constructor. Alternatively, the delay and maximum length can be set during instantiation with an overloaded constructor.

          An allpass filter has unity magnitude gain but variable phase delay properties, making it useful in achieving fractional delays without affecting a signal's frequency magnitude response. In order to achieve a maximally flat phase delay response, the minimum delay possible in this implementation is limited to a value of 0.5.

          -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

          - -

          -Definition at line 30 of file DelayA.h. +
          - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

          Public Member Functions

          DelayA ()

          Public Member Functions

          DelayA ()
           Default constructor creates a delay-line with maximum length of 4095 samples and zero delay.

           DelayA (StkFloat delay, unsigned long maxDelay)
           Default constructor creates a delay-line with maximum length of 4095 samples and zero delay.
           DelayA (StkFloat delay, unsigned long maxDelay)
           Overloaded constructor which specifies the current and maximum delay-line lengths.

          ~DelayA ()
           Overloaded constructor which specifies the current and maximum delay-line lengths.
          ~DelayA ()
           Class destructor.

          -void clear ()
           Class destructor.
          +void clear ()
           Clears the internal state of the delay line.

          void setDelay (StkFloat delay)
           Clears the internal state of the delay line.
          void setDelay (StkFloat delay)
           Set the delay-line length.

          -StkFloat getDelay (void)
           Set the delay-line length.
          +StkFloat getDelay (void) const
           Return the current delay-line length.

          StkFloat nextOut (void)
           Return the current delay-line length.
          StkFloat nextOut (void)
           Return the value which will be output by the next call to tick().

          -StkFloat tick (StkFloat sample)
           Input one sample to the delayline and return one output.

          -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
           Input vectorSize samples to the delayline and return an equal number of outputs in vector.

          virtual StkFramestick (StkFrames &frames, unsigned int channel=1)
           Take a channel of the StkFrames object as inputs to the delayline and replace with corresponding outputs.

           Return the value which will be output by the next call to tick().


          Constructor & Destructor Documentation

          -

          - +

          +

          - + - - + + - + -
          DelayA::DelayA DelayA::DelayA StkFloat  delay,
          unsigned long  maxDelay
          - +
          +An StkError will be thrown if the delay parameter is less than zero, the maximum delay parameter is less than one, or the delay parameter is greater than the maxDelay value.
            @@ -105,29 +91,28 @@ virtual StkFloat * StkError will be thrown if the delay parameter is less than zero, the maximum delay parameter is less than one, or the delay parameter is greater than the maxDelay value.


          Member Function Documentation

          -

          - +

          +

          - + -
          void DelayA::setDelay void DelayA::setDelay StkFloat  delay  ) 
          - +
          +The valid range for theDelay is from 0.5 to the maximum delay-line length.
            @@ -137,28 +122,27 @@ An StkError will be thrown if the de

          Set the delay-line length.

          -The valid range for theDelay is from 0.5 to the maximum delay-line length.

          -

          - +

          +

          - + -
          StkFloat DelayA::nextOut StkFloat DelayA::nextOut void   )  [virtual]
          - +
            @@ -166,62 +150,20 @@ The valid range for theDelay is from 0.5 to the maximum delay-line leng

          -Return the value which will be output by the next call to tick(). +Return the value which will be output by the next call to tick().

          -This method is valid only for delay settings greater than zero! +This method is valid only for delay settings greater than zero!

          Reimplemented from Delay.

          -

          - - - - -
          - - - - - - - - - - - - - - - - - - - -
          virtual StkFrames& DelayA::tick StkFrames frames,
          unsigned int  channel = 1
          [virtual]
          -
          - - - - - -
          -   - - -

          -Take a channel of the StkFrames object as inputs to the delayline and replace with corresponding outputs. -

          -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

          -Reimplemented from Delay.


          The documentation for this class was generated from the following file:
          - +
          The Synthesis ToolKit in C++ (STK)
          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          diff --git a/doc/html/classDelayA__coll__graph.map b/doc/html/classDelayA__coll__graph.map new file mode 100644 index 0000000..520b0cf --- /dev/null +++ b/doc/html/classDelayA__coll__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classDelay.html 12,155 55,176 +rect $classFilter.html 13,86 53,107 +rect $classStk.html 15,16 52,38 diff --git a/doc/html/classDelayA__coll__graph.md5 b/doc/html/classDelayA__coll__graph.md5 new file mode 100644 index 0000000..38a4228 --- /dev/null +++ b/doc/html/classDelayA__coll__graph.md5 @@ -0,0 +1 @@ +549f152a4e263b7e715a0ae3a8e84468 \ No newline at end of file diff --git a/doc/html/classDelayA__coll__graph.png b/doc/html/classDelayA__coll__graph.png new file mode 100644 index 0000000..406e253 Binary files /dev/null and b/doc/html/classDelayA__coll__graph.png differ diff --git a/doc/html/classDelayA__inherit__graph.map b/doc/html/classDelayA__inherit__graph.map new file mode 100644 index 0000000..520b0cf --- /dev/null +++ b/doc/html/classDelayA__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classDelay.html 12,155 55,176 +rect $classFilter.html 13,86 53,107 +rect $classStk.html 15,16 52,38 diff --git a/doc/html/classDelayA__inherit__graph.md5 b/doc/html/classDelayA__inherit__graph.md5 new file mode 100644 index 0000000..4fea0e3 --- /dev/null +++ b/doc/html/classDelayA__inherit__graph.md5 @@ -0,0 +1 @@ +20b3ffc9fc0f8b0265f77873192c148d \ No newline at end of file diff --git a/doc/html/classDelayA__inherit__graph.png b/doc/html/classDelayA__inherit__graph.png new file mode 100644 index 0000000..406e253 Binary files /dev/null and b/doc/html/classDelayA__inherit__graph.png differ diff --git a/doc/html/classDelayL-members.html b/doc/html/classDelayL-members.html index 1f5202f..9ab1a85 100644 --- a/doc/html/classDelayL-members.html +++ b/doc/html/classDelayL-members.html @@ -8,8 +8,8 @@    

          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


          - -

          DelayL Member List

          This is the complete list of members for DelayL, including all inherited members. + +

          DelayL Member List

          This is the complete list of members for DelayL, including all inherited members.

          @@ -21,22 +21,24 @@ - + + - + - + - + + @@ -48,9 +50,8 @@ - - - + + @@ -59,7 +60,7 @@
          clear()Delay
          contentsAt(unsigned long tapDelay)Delay
          Delay()Delay
          Filter(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
          getDelay(void) const DelayL
          getGain(void) const Filter [protected, virtual]
          handleError(const char *message, StkError::Type type)Stk [protected, static]
          handleError(const char *message, StkError::Type type)Stk [protected, static]
          handleError(std::string message, StkError::Type type)Stk [protected, static]
          handleError(StkError::Type type)Stk [protected]
          lastOut(void) const Delay [virtual]
          nextOut(void)DelayL [virtual]
          printErrors(bool status)Stk [inline, protected, static]
          rawwavePath(void)Stk [inline, protected, static]
          sampleRate(void)Stk [inline, protected, static]
          setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
          setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
          setDelay(StkFloat delay)DelayL
          Delay::setDelay(unsigned long delay)Delay
          setDenominator(std::vector< StkFloat > &aCoefficients)Filter [protected]
          setDenominator(std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
          setGain(StkFloat gain)Filter [protected, virtual]
          setMaximumDelay(unsigned long delay)Delay
          setNumerator(std::vector< StkFloat > &bCoefficients)Filter [protected]
          setNumerator(std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
          setRawwavePath(std::string path)Stk [protected, static]
          setSampleRate(StkFloat rate)Stk [inline, protected, static]
          showWarnings(bool status)Stk [inline, protected, static]
          sleep(unsigned long milliseconds)Stk [protected, static]
          Stk(void)Stk [protected]
          STK_FLOAT32Stk [protected, static]
          swap16(unsigned char *ptr)Stk [protected, static]
          swap32(unsigned char *ptr)Stk [protected, static]
          swap64(unsigned char *ptr)Stk [protected, static]
          tick(StkFloat sample)DelayL [virtual]
          tick(StkFloat *vector, unsigned int vectorSize)DelayL [virtual]
          tick(StkFrames &frames, unsigned int channel=1)DelayL [virtual]
          tick(StkFloat sample)Delay [virtual]
          tick(StkFrames &frames, unsigned int channel=0)Delay [virtual]
          ~Delay()Delay [virtual]
          ~DelayL()DelayL
          ~Filter(void)Filter [protected, virtual]
          - +
          The Synthesis ToolKit in C++ (STK)
          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          diff --git a/doc/html/classDelayL.html b/doc/html/classDelayL.html index 59d0d5f..3e74644 100644 --- a/doc/html/classDelayL.html +++ b/doc/html/classDelayL.html @@ -8,8 +8,8 @@    

          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


          - -

          DelayL Class Reference

          #include <DelayL.h> + +

          DelayL Class Reference

          #include <DelayL.h>

          Inheritance diagram for DelayL:

          @@ -23,75 +23,61 @@ STK linear interpolating delay line class.

          This Delay subclass implements a fractional- length digital delay-line using first-order linear interpolation. A fixed maximum length of 4095 and a delay of zero is set using the default constructor. Alternatively, the delay and maximum length can be set during instantiation with an overloaded constructor.

          Linear interpolation is an efficient technique for achieving fractional delay lengths, though it does introduce high-frequency signal attenuation to varying degrees depending on the fractional delay setting. The use of higher order Lagrange interpolators can typically improve (minimize) this attenuation characteristic.

          -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

          - -

          -Definition at line 30 of file DelayL.h. +
          - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

          Public Member Functions

          DelayL ()

          Public Member Functions

          DelayL ()
           Default constructor creates a delay-line with maximum length of 4095 samples and zero delay.

           DelayL (StkFloat delay, unsigned long maxDelay)
           Default constructor creates a delay-line with maximum length of 4095 samples and zero delay.
           DelayL (StkFloat delay, unsigned long maxDelay)
           Overloaded constructor which specifies the current and maximum delay-line lengths.

          ~DelayL ()
           Overloaded constructor which specifies the current and maximum delay-line lengths.
          ~DelayL ()
           Class destructor.

          void setDelay (StkFloat delay)
           Class destructor.
          void setDelay (StkFloat delay)
           Set the delay-line length.

          -StkFloat getDelay (void) const
           Set the delay-line length.
          +StkFloat getDelay (void) const
           Return the current delay-line length.

          StkFloat nextOut (void)
           Return the current delay-line length.
          StkFloat nextOut (void)
           Return the value which will be output by the next call to tick().

          -StkFloat tick (StkFloat sample)
           Input one sample to the delay-line and return one output.

          -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
           Input vectorSize samples to the delay-line and return an equal number of outputs in vector.

          virtual StkFramestick (StkFrames &frames, unsigned int channel=1)
           Take a channel of the StkFrames object as inputs to the delayline and replace with corresponding outputs.

           Return the value which will be output by the next call to tick().


          Constructor & Destructor Documentation

          -

          - +

          +

          - + - - + + - + -
          DelayL::DelayL DelayL::DelayL StkFloat  delay,
          unsigned long  maxDelay
          - +
          +An StkError will be thrown if the delay parameter is less than zero, the maximum delay parameter is less than one, or the delay parameter is greater than the maxDelay value.
            @@ -101,29 +87,28 @@ virtual StkFloat * StkError will be thrown if the delay parameter is less than zero, the maximum delay parameter is less than one, or the delay parameter is greater than the maxDelay value.


          Member Function Documentation

          -

          - +

          +

          - + -
          void DelayL::setDelay void DelayL::setDelay StkFloat  delay  ) 
          - +
          +The valid range for theDelay is from 0 to the maximum delay-line length.
            @@ -133,28 +118,27 @@ An StkError will be thrown if the de

          Set the delay-line length.

          -The valid range for theDelay is from 0 to the maximum delay-line length.

          -

          - +

          +

          - + -
          StkFloat DelayL::nextOut StkFloat DelayL::nextOut void   )  [virtual]
          - +
            @@ -162,62 +146,20 @@ The valid range for theDelay is from 0 to the maximum delay-line length

          -Return the value which will be output by the next call to tick(). +Return the value which will be output by the next call to tick().

          -This method is valid only for delay settings greater than zero! +This method is valid only for delay settings greater than zero!

          Reimplemented from Delay.

          -

          - - - - -
          - - - - - - - - - - - - - - - - - - - -
          virtual StkFrames& DelayL::tick StkFrames frames,
          unsigned int  channel = 1
          [virtual]
          -
          - - - - - -
          -   - - -

          -Take a channel of the StkFrames object as inputs to the delayline and replace with corresponding outputs. -

          -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

          -Reimplemented from Delay.


          The documentation for this class was generated from the following file:
          - +
          The Synthesis ToolKit in C++ (STK)
          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          diff --git a/doc/html/classDelayL__coll__graph.map b/doc/html/classDelayL__coll__graph.map new file mode 100644 index 0000000..9fd26c7 --- /dev/null +++ b/doc/html/classDelayL__coll__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classDelay.html 11,155 53,176 +rect $classFilter.html 12,86 52,107 +rect $classStk.html 13,16 51,38 diff --git a/doc/html/classDelayL__coll__graph.md5 b/doc/html/classDelayL__coll__graph.md5 new file mode 100644 index 0000000..5606c72 --- /dev/null +++ b/doc/html/classDelayL__coll__graph.md5 @@ -0,0 +1 @@ +3f3a4f05bf4f823ce56cd1be254470de \ No newline at end of file diff --git a/doc/html/classDelayL__coll__graph.png b/doc/html/classDelayL__coll__graph.png new file mode 100644 index 0000000..c8edbae Binary files /dev/null and b/doc/html/classDelayL__coll__graph.png differ diff --git a/doc/html/classDelayL__inherit__graph.map b/doc/html/classDelayL__inherit__graph.map new file mode 100644 index 0000000..9fd26c7 --- /dev/null +++ b/doc/html/classDelayL__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classDelay.html 11,155 53,176 +rect $classFilter.html 12,86 52,107 +rect $classStk.html 13,16 51,38 diff --git a/doc/html/classDelayL__inherit__graph.md5 b/doc/html/classDelayL__inherit__graph.md5 new file mode 100644 index 0000000..9997e53 --- /dev/null +++ b/doc/html/classDelayL__inherit__graph.md5 @@ -0,0 +1 @@ +322b77f78c63d65aa25df44478289bd1 \ No newline at end of file diff --git a/doc/html/classDelayL__inherit__graph.png b/doc/html/classDelayL__inherit__graph.png new file mode 100644 index 0000000..c8edbae Binary files /dev/null and b/doc/html/classDelayL__inherit__graph.png differ diff --git a/doc/html/classDelay__coll__graph.map b/doc/html/classDelay__coll__graph.map new file mode 100644 index 0000000..27cc6da --- /dev/null +++ b/doc/html/classDelay__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFilter.html 8,85 48,106 +rect $classStk.html 9,16 47,37 diff --git a/doc/html/classDelay__coll__graph.md5 b/doc/html/classDelay__coll__graph.md5 new file mode 100644 index 0000000..442c969 --- /dev/null +++ b/doc/html/classDelay__coll__graph.md5 @@ -0,0 +1 @@ +c17b704ce62d68ddae080678b5c862ae \ No newline at end of file diff --git a/doc/html/classDelay__coll__graph.png b/doc/html/classDelay__coll__graph.png new file mode 100644 index 0000000..7074560 Binary files /dev/null and b/doc/html/classDelay__coll__graph.png differ diff --git a/doc/html/classDelay__inherit__graph.map b/doc/html/classDelay__inherit__graph.map new file mode 100644 index 0000000..9a8ba25 --- /dev/null +++ b/doc/html/classDelay__inherit__graph.map @@ -0,0 +1,5 @@ +base referer +rect $classDelayA.html 7,224 60,246 +rect $classDelayL.html 84,224 135,246 +rect $classFilter.html 51,86 91,107 +rect $classStk.html 52,16 89,38 diff --git a/doc/html/classDelay__inherit__graph.md5 b/doc/html/classDelay__inherit__graph.md5 new file mode 100644 index 0000000..e456295 --- /dev/null +++ b/doc/html/classDelay__inherit__graph.md5 @@ -0,0 +1 @@ +599f50d0117f253bb28d3bbd0d951e4b \ No newline at end of file diff --git a/doc/html/classDelay__inherit__graph.png b/doc/html/classDelay__inherit__graph.png new file mode 100644 index 0000000..421ed87 Binary files /dev/null and b/doc/html/classDelay__inherit__graph.png differ diff --git a/doc/html/classDrummer-members.html b/doc/html/classDrummer-members.html index e701cd8..a5f3942 100644 --- a/doc/html/classDrummer-members.html +++ b/doc/html/classDrummer-members.html @@ -8,11 +8,11 @@    

          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


          - -

          Drummer Member List

          This is the complete list of members for Drummer, including all inherited members. - + +

          Drummer Member List

          This is the complete list of members for Drummer, including all inherited members.

          controlChange(int number, StkFloat value)Instrmnt [virtual]
          + - + @@ -21,11 +21,13 @@ + + @@ -37,9 +39,8 @@ - - - + + @@ -47,7 +48,7 @@
          controlChange(int number, StkFloat value)Instrmnt [virtual]
          Drummer()Drummer
          handleError(const char *message, StkError::Type type)Stk [static]
          handleError(const char *message, StkError::Type type)Stk [static]
          handleError(std::string message, StkError::Type type)Stk [static]
          handleError(StkError::Type type)Stk [protected]
          Instrmnt()Instrmnt
          lastOutRight() const Instrmnt
          noteOff(StkFloat amplitude)Drummer [virtual]
          noteOn(StkFloat instrument, StkFloat amplitude)Drummer [virtual]
          printErrors(bool status)Stk [inline, static]
          rawwavePath(void)Stk [inline, static]
          sampleRate(void)Stk [inline, static]
          setFrequency(StkFloat frequency)Instrmnt [virtual]
          setRawwavePath(std::string path)Stk [static]
          setSampleRate(StkFloat rate)Stk [inline, static]
          showWarnings(bool status)Stk [inline, static]
          sleep(unsigned long milliseconds)Stk [static]
          Stk(void)Stk [protected]
          STK_FLOAT32Stk [static]
          swap16(unsigned char *ptr)Stk [static]
          swap32(unsigned char *ptr)Stk [static]
          swap64(unsigned char *ptr)Stk [static]
          tick()Drummer [virtual]
          tick(StkFloat *vector, unsigned int vectorSize)Drummer [virtual]
          tick(StkFrames &frames, unsigned int channel=1)Drummer [virtual]
          tick(void)Instrmnt
          tick(StkFrames &frames, unsigned int channel=0)Instrmnt
          ~Drummer()Drummer
          ~Instrmnt()Instrmnt [virtual]
          ~Stk(void)Stk [protected, virtual]
          - +
          The Synthesis ToolKit in C++ (STK)
          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          diff --git a/doc/html/classDrummer.html b/doc/html/classDrummer.html index 79ebe0e..7b3fe55 100644 --- a/doc/html/classDrummer.html +++ b/doc/html/classDrummer.html @@ -8,8 +8,8 @@    

          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


          - -

          Drummer Class Reference

          #include <Drummer.h> + +

          Drummer Class Reference

          #include <Drummer.h>

          Inheritance diagram for Drummer:

          @@ -20,59 +20,45 @@ List of all members.

          Detailed Description

          STK drum sample player class.

          -This class implements a drum sampling synthesizer using WvIn objects and one-pole filters. The drum rawwave files are sampled at 22050 Hz, but will be appropriately interpolated for other sample rates. You can specify the maximum polyphony (maximum number of simultaneous voices) via a #define in the Drummer.h.

          -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +This class implements a drum sampling synthesizer using WvIn objects and one-pole filters. The drum rawwave files are sampled at 22050 Hz, but will be appropriately interpolated for other sample rates. You can specify the maximum polyphony (maximum number of simultaneous voices) via a define in the Drummer.h.

          +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

          - -

          -Definition at line 28 of file Drummer.h. +
          - - + + - - + + - - + + - - + + - - - - - - - - - - +

          Public Member Functions

           Drummer ()

          Public Member Functions

           Drummer ()
           Class constructor.

          ~Drummer ()
           Class constructor.
          ~Drummer ()
           Class destructor.

          void noteOn (StkFloat instrument, StkFloat amplitude)
           Class destructor.
          void noteOn (StkFloat instrument, StkFloat amplitude)
           Start a note with the given drum type and amplitude.

          -void noteOff (StkFloat amplitude)
           Start a note with the given drum type and amplitude.
          +void noteOff (StkFloat amplitude)
           Stop a note with the given amplitude (speed of decay).

          -StkFloat tick ()
           Compute one output sample.

          -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
           Computer vectorSize outputs and return them in vector.

          StkFramestick (StkFrames &frames, unsigned int channel=1)
           Fill a channel of the StkFrames object with computed outputs.

           Stop a note with the given amplitude (speed of decay).


          Constructor & Destructor Documentation

          -

          - +

          +

          - + -
          Drummer::Drummer Drummer::Drummer  ) 
          - +
          +An StkError will be thrown if the rawwave path is incorrectly set.
            @@ -82,38 +68,37 @@ StkFloat * StkError will be thrown if the rawwave path is incorrectly set.


          Member Function Documentation

          -

          - +

          +

          - + - - + + - + -
          void Drummer::noteOn void Drummer::noteOn StkFloat  instrument,
          StkFloat  amplitude
          [virtual]
          - +
            @@ -123,60 +108,18 @@ An StkError will be thrown if the ra

          Start a note with the given drum type and amplitude.

          -Use general MIDI drum instrument numbers, converted to frequency values as if MIDI note numbers, to select a particular instrument. An StkError will be thrown if the rawwave path is incorrectly set. +Use general MIDI drum instrument numbers, converted to frequency values as if MIDI note numbers, to select a particular instrument. An StkError will be thrown if the rawwave path is incorrectly set.

          Implements Instrmnt.

          -

          - - - - -
          - - - - - - - - - - - - - - - - - - - -
          StkFrames& Drummer::tick StkFrames frames,
          unsigned int  channel = 1
          [virtual]
          -
          - - - - - -
          -   - - -

          -Fill a channel of the StkFrames object with computed outputs. -

          -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

          -Reimplemented from Instrmnt.


          The documentation for this class was generated from the following file:
          - +
          The Synthesis ToolKit in C++ (STK)
          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          diff --git a/doc/html/classDrummer__coll__graph.map b/doc/html/classDrummer__coll__graph.map new file mode 100644 index 0000000..690a939 --- /dev/null +++ b/doc/html/classDrummer__coll__graph.map @@ -0,0 +1,6 @@ +base referer +rect $classInstrmnt.html 7,133 63,155 +rect $classStk.html 88,16 125,37 +rect $classWvIn.html 87,133 127,155 +rect $classFilter.html 155,88 195,109 +rect $classOnePole.html 177,179 239,200 diff --git a/doc/html/classDrummer__coll__graph.md5 b/doc/html/classDrummer__coll__graph.md5 new file mode 100644 index 0000000..b3a46f1 --- /dev/null +++ b/doc/html/classDrummer__coll__graph.md5 @@ -0,0 +1 @@ +fc0580c83ce6015cf21402e7728c4cc4 \ No newline at end of file diff --git a/doc/html/classDrummer__coll__graph.png b/doc/html/classDrummer__coll__graph.png new file mode 100644 index 0000000..c551f5f Binary files /dev/null and b/doc/html/classDrummer__coll__graph.png differ diff --git a/doc/html/classDrummer__inherit__graph.map b/doc/html/classDrummer__inherit__graph.map new file mode 100644 index 0000000..977fee8 --- /dev/null +++ b/doc/html/classDrummer__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 12,85 68,106 +rect $classStk.html 21,16 59,37 diff --git a/doc/html/classDrummer__inherit__graph.md5 b/doc/html/classDrummer__inherit__graph.md5 new file mode 100644 index 0000000..dc5bc89 --- /dev/null +++ b/doc/html/classDrummer__inherit__graph.md5 @@ -0,0 +1 @@ +d170da593797cb4aa14be15a877bb430 \ No newline at end of file diff --git a/doc/html/classDrummer__inherit__graph.png b/doc/html/classDrummer__inherit__graph.png new file mode 100644 index 0000000..c54f137 Binary files /dev/null and b/doc/html/classDrummer__inherit__graph.png differ diff --git a/doc/html/classEcho-members.html b/doc/html/classEcho-members.html index fdf0311..6c3323e 100644 --- a/doc/html/classEcho-members.html +++ b/doc/html/classEcho-members.html @@ -8,17 +8,18 @@    

          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


          - -

          Echo Member List

          This is the complete list of members for Echo, including all inherited members. + +

          Echo Member List

          This is the complete list of members for Echo, including all inherited members.

          - + + @@ -26,6 +27,7 @@ + @@ -37,9 +39,8 @@ - - - + + @@ -47,7 +48,7 @@
          clear()Echo [virtual]
          Echo(unsigned long maximumDelay=(unsigned long) Stk::sampleRate())Echo
          Effect()Effect
          handleError(const char *message, StkError::Type type)Stk [static]
          handleError(const char *message, StkError::Type type)Stk [static]
          handleError(std::string message, StkError::Type type)Stk [static]
          handleError(StkError::Type type)Stk [protected]
          lastOut() const Effect
          lastOutLeft() const Effect
          lastOutRight() const Effect
          printErrors(bool status)Stk [inline, static]
          rawwavePath(void)Stk [inline, static]
          sampleRate(void)Stk [inline, static]
          setDelay(unsigned long delay)Echo
          setMaximumDelay(unsigned long delay)Echo
          setRawwavePath(std::string path)Stk [static]
          setSampleRate(StkFloat rate)Stk [inline, static]
          showWarnings(bool status)Stk [inline, static]
          sleep(unsigned long milliseconds)Stk [static]
          Stk(void)Stk [protected]
          STK_FLOAT32Stk [static]
          swap16(unsigned char *ptr)Stk [static]
          swap32(unsigned char *ptr)Stk [static]
          swap64(unsigned char *ptr)Stk [static]
          tick(StkFloat input)Echo [virtual]
          tick(StkFloat *vector, unsigned int vectorSize)Echo [virtual]
          tick(StkFrames &frames, unsigned int channel=1)Echo [virtual]
          tick(StkFloat input)Effect
          tick(StkFrames &frames, unsigned int channel=0)Effect
          ~Echo()Echo
          ~Effect()Effect [virtual]
          ~Stk(void)Stk [protected, virtual]
          - +
          The Synthesis ToolKit in C++ (STK)
          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          diff --git a/doc/html/classEcho.html b/doc/html/classEcho.html index 39f7527..87b4315 100644 --- a/doc/html/classEcho.html +++ b/doc/html/classEcho.html @@ -8,8 +8,8 @@    

          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


          - -

          Echo Class Reference

          #include <Echo.h> + +

          Echo Class Reference

          #include <Echo.h>

          Inheritance diagram for Echo:

          @@ -21,64 +21,50 @@ STK echo effect class.

          This class implements an echo effect.

          -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

          - -

          -Definition at line 17 of file Echo.h. +
          - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

          Public Member Functions

           Echo (unsigned long maximumDelay=(unsigned long) Stk::sampleRate())

          Public Member Functions

           Echo (unsigned long maximumDelay=(unsigned long) Stk::sampleRate())
           Class constructor, taking the longest desired delay length (one second default value).

          ~Echo ()
           Class constructor, taking the longest desired delay length (one second default value).
          ~Echo ()
           Class destructor.

          -void clear ()
           Class destructor.
          +void clear ()
           Reset and clear all internal state.

          -void setMaximumDelay (unsigned long delay)
           Reset and clear all internal state.
          +void setMaximumDelay (unsigned long delay)
           Set the maximum delay line length in samples.

          -void setDelay (unsigned long delay)
           Set the maximum delay line length in samples.
          +void setDelay (unsigned long delay)
           Set the delay line length in samples.

          -StkFloat tick (StkFloat input)
           Compute one output sample.

          -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
           Take vectorSize inputs, compute the same number of outputs and return them in vector.

          StkFramestick (StkFrames &frames, unsigned int channel=1)
           Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs.

           Set the delay line length in samples.


          Constructor & Destructor Documentation

          -

          - +

          +

          - + - + -
          Echo::Echo Echo::Echo unsigned long  maximumDelay = (unsigned long) Stk::sampleRate() maximumDelay = (unsigned long) Stk::sampleRate()  ) 
          - +
            @@ -88,50 +74,7 @@ StkFloat * 

          - - - - -
          - - - - - - - - - - - - - - - - - - - -
          StkFrames& Echo::tick StkFrames frames,
          unsigned int  channel = 1
          [virtual]
          -
          - - - - +The default delay value is set to 1/2 the maximum delay length.
          -   - - -

          -Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs. -

          -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

          -Reimplemented from Effect.


          The documentation for this class was generated from the following file:
            @@ -140,7 +83,7 @@ Reimplemented from Effect.
          - +
          The Synthesis ToolKit in C++ (STK)
          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          diff --git a/doc/html/classEcho__coll__graph.map b/doc/html/classEcho__coll__graph.map new file mode 100644 index 0000000..a2730cc --- /dev/null +++ b/doc/html/classEcho__coll__graph.map @@ -0,0 +1,5 @@ +base referer +rect $classEffect.html 7,133 52,155 +rect $classStk.html 39,16 76,37 +rect $classFilter.html 68,88 108,109 +rect $classDelay.html 68,179 111,200 diff --git a/doc/html/classEcho__coll__graph.md5 b/doc/html/classEcho__coll__graph.md5 new file mode 100644 index 0000000..1262809 --- /dev/null +++ b/doc/html/classEcho__coll__graph.md5 @@ -0,0 +1 @@ +9aa8431a907908d62ccb971d774841c6 \ No newline at end of file diff --git a/doc/html/classEcho__coll__graph.png b/doc/html/classEcho__coll__graph.png new file mode 100644 index 0000000..56741c7 Binary files /dev/null and b/doc/html/classEcho__coll__graph.png differ diff --git a/doc/html/classEcho__inherit__graph.map b/doc/html/classEcho__inherit__graph.map new file mode 100644 index 0000000..30760ae --- /dev/null +++ b/doc/html/classEcho__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classEffect.html 7,85 52,106 +rect $classStk.html 11,16 48,37 diff --git a/doc/html/classEcho__inherit__graph.md5 b/doc/html/classEcho__inherit__graph.md5 new file mode 100644 index 0000000..ed31b6a --- /dev/null +++ b/doc/html/classEcho__inherit__graph.md5 @@ -0,0 +1 @@ +94193657793532957e6486a21abb7a76 \ No newline at end of file diff --git a/doc/html/classEcho__inherit__graph.png b/doc/html/classEcho__inherit__graph.png new file mode 100644 index 0000000..a747f3f Binary files /dev/null and b/doc/html/classEcho__inherit__graph.png differ diff --git a/doc/html/classEffect-members.html b/doc/html/classEffect-members.html index 75cf0b5..3127b37 100644 --- a/doc/html/classEffect-members.html +++ b/doc/html/classEffect-members.html @@ -8,21 +8,23 @@    

          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


          - -

          Effect Member List

          This is the complete list of members for Effect, including all inherited members. + +

          Effect Member List

          This is the complete list of members for Effect, including all inherited members.

          - + + + @@ -34,16 +36,15 @@ - - - + +
          clear()=0Effect [pure virtual]
          Effect()Effect
          handleError(const char *message, StkError::Type type)Stk [static]
          handleError(const char *message, StkError::Type type)Stk [static]
          handleError(std::string message, StkError::Type type)Stk [static]
          handleError(StkError::Type type)Stk [protected]
          lastOut() const Effect
          lastOutLeft() const Effect
          lastOutRight() const Effect
          printErrors(bool status)Stk [inline, static]
          rawwavePath(void)Stk [inline, static]
          sampleRate(void)Stk [inline, static]
          setEffectMix(StkFloat mix)Effect
          setRawwavePath(std::string path)Stk [static]
          setSampleRate(StkFloat rate)Stk [inline, static]
          showWarnings(bool status)Stk [inline, static]
          sleep(unsigned long milliseconds)Stk [static]
          Stk(void)Stk [protected]
          STK_FLOAT32Stk [static]
          swap16(unsigned char *ptr)Stk [static]
          swap32(unsigned char *ptr)Stk [static]
          swap64(unsigned char *ptr)Stk [static]
          tick(StkFloat input)=0Effect [pure virtual]
          tick(StkFloat *vector, unsigned int vectorSize)Effect [virtual]
          tick(StkFrames &frames, unsigned int channel=1)Effect [virtual]
          tick(StkFloat input)Effect
          tick(StkFrames &frames, unsigned int channel=0)Effect
          ~Effect()Effect [virtual]
          ~Stk(void)Stk [protected, virtual]

          - +
          The Synthesis ToolKit in C++ (STK)
          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
          diff --git a/doc/html/classEffect.html b/doc/html/classEffect.html index 7ff8966..fb90d2b 100644 --- a/doc/html/classEffect.html +++ b/doc/html/classEffect.html @@ -8,8 +8,8 @@    

          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


          - -

          Effect Class Reference

          #include <Effect.h> + +

          Effect Class Reference

          #include <Effect.h>

          Inheritance diagram for Effect:

          @@ -26,82 +26,75 @@ STK abstract effects parent class.

          This class provides common functionality for STK effects subclasses.

          -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

          - -

          -Definition at line 17 of file Effect.h. +
          - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - +

          Public Member Functions

          Effect ()

          Public Member Functions

          Effect ()
           Class constructor.

          -virtual ~Effect ()
           Class constructor.
          +virtual ~Effect ()
           Class destructor.

          -virtual void clear ()=0
           Class destructor.
          +virtual void clear ()=0
           Reset and clear all internal state.

          -void setEffectMix (StkFloat mix)
           Reset and clear all internal state.
          +void setEffectMix (StkFloat mix)
           Set the mixture of input and "effected" levels in the output (0.0 = input only, 1.0 = reverb only).

          -StkFloat lastOut () const
           Set the mixture of input and "effected" levels in the output (0.0 = input only, 1.0 = reverb only).
          +StkFloat lastOut () const
           Return the last output value.

          -StkFloat lastOutLeft () const
           Return the last output value.
          +StkFloat lastOutLeft () const
           Return the last left output value.

          -StkFloat lastOutRight () const
           Return the last left output value.
          +StkFloat lastOutRight () const
           Return the last right output value.

          -virtual StkFloat tick (StkFloat input)=0
           Return the last right output value.
          +StkFloat tick (StkFloat input)
           Abstract tick function ... must be implemented in subclasses.

          -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
           Take one sample input and compute one sample of output.
          StkFramestick (StkFrames &frames, unsigned int channel=0)
           Take vectorSize inputs, compute the same number of outputs and return them in vector.

          virtual StkFramestick (StkFrames &frames, unsigned int channel=1)
           Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs.

           Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs.


          Member Function Documentation

          -

          - +

          +

          - + - - + + - + - + - + -
          virtual StkFrames& Effect::tick StkFrames& Effect::tick StkFrames frames,
          unsigned int  channel = 1 channel = 0
          [virtual]
          - +
          +The channel argument should be zero or greater (the first channel is specified by 0). An StkError will be thrown if the channel argument is equal to or greater than the number of channels in the StkFrames object.
            @@ -111,9 +104,7 @@ virtual StkFloat * StkFrames object as inputs to the effect and replace with corresponding outputs.

          -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

          -Reimplemented in Chorus, Echo, JCRev, NRev, PitShift, and PRCRev.


          The documentation for this class was generated from the following file:
            @@ -122,7 +113,7 @@ Reimplemented in Chorus, The Synthesis ToolKit in C++ (STK) - ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. + ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved. diff --git a/doc/html/classEffect__coll__graph.map b/doc/html/classEffect__coll__graph.map new file mode 100644 index 0000000..bd4d253 --- /dev/null +++ b/doc/html/classEffect__coll__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 11,16 48,37 diff --git a/doc/html/classEffect__coll__graph.md5 b/doc/html/classEffect__coll__graph.md5 new file mode 100644 index 0000000..d840349 --- /dev/null +++ b/doc/html/classEffect__coll__graph.md5 @@ -0,0 +1 @@ +a1e1e86bbf8b917428cae7d589d94348 \ No newline at end of file diff --git a/doc/html/classEffect__coll__graph.png b/doc/html/classEffect__coll__graph.png new file mode 100644 index 0000000..36def78 Binary files /dev/null and b/doc/html/classEffect__coll__graph.png differ diff --git a/doc/html/classEffect__inherit__graph.map b/doc/html/classEffect__inherit__graph.map new file mode 100644 index 0000000..a9be666 --- /dev/null +++ b/doc/html/classEffect__inherit__graph.map @@ -0,0 +1,8 @@ +base referer +rect $classChorus.html 7,154 60,176 +rect $classEcho.html 84,154 124,176 +rect $classJCRev.html 148,154 199,176 +rect $classNRev.html 223,154 265,176 +rect $classPitShift.html 289,154 343,176 +rect $classPRCRev.html 367,154 431,176 +rect $classStk.html 189,16 227,37 diff --git a/doc/html/classEffect__inherit__graph.md5 b/doc/html/classEffect__inherit__graph.md5 new file mode 100644 index 0000000..8419d57 --- /dev/null +++ b/doc/html/classEffect__inherit__graph.md5 @@ -0,0 +1 @@ +89d66a457f14bad46fa582e346fe30d3 \ No newline at end of file diff --git a/doc/html/classEffect__inherit__graph.png b/doc/html/classEffect__inherit__graph.png new file mode 100644 index 0000000..05d6804 Binary files /dev/null and b/doc/html/classEffect__inherit__graph.png differ diff --git a/doc/html/classEnvelope-members.html b/doc/html/classEnvelope-members.html index d340db1..55a03a4 100644 --- a/doc/html/classEnvelope-members.html +++ b/doc/html/classEnvelope-members.html @@ -8,25 +8,29 @@    

            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


            - -

            Envelope Member List

            This is the complete list of members for Envelope, including all inherited members. + +

            Envelope Member List

            This is the complete list of members for Envelope, including all inherited members.

            - - - + + + + - - - + + + + + - + - - - + + + + @@ -38,17 +42,16 @@ - - - - - + + + +
            Envelope(void)Envelope
            Generator()Generator
            getState(void) const Envelope [virtual]
            handleError(const char *message, StkError::Type type)Stk [static]
            Envelope(const Envelope &e)Envelope
            Generator(void)Generator
            getState(void) const Envelope [virtual]
            handleError(const char *message, StkError::Type type)Stk [static]
            handleError(std::string message, StkError::Type type)Stk [static]
            handleError(StkError::Type type)Stk [protected]
            keyOff(void)Envelope [virtual]
            keyOn(void)Envelope [virtual]
            lastOut() const Generator [inline, virtual]
            keyOff(void)Envelope [virtual]
            keyOn(void)Envelope [virtual]
            lastOut(void) const Generator [inline, virtual]
            operator=(const Envelope &e)Envelope
            printErrors(bool status)Stk [inline, static]
            rawwavePath(void)Stk [inline, static]
            sampleRate(void)Stk [inline, static]
            setRate(StkFloat rate)Envelope
            setRate(StkFloat rate)Envelope
            setRawwavePath(std::string path)Stk [static]
            setSampleRate(StkFloat rate)Stk [inline, static]
            setTarget(StkFloat target)Envelope [virtual]
            setTime(StkFloat time)Envelope
            setValue(StkFloat value)Envelope [virtual]
            setTarget(StkFloat target)Envelope [virtual]
            setTime(StkFloat time)Envelope
            setValue(StkFloat value)Envelope [virtual]
            showWarnings(bool status)Stk [inline, static]
            sleep(unsigned long milliseconds)Stk [static]
            Stk(void)Stk [protected]
            STK_FLOAT32Stk [static]
            swap16(unsigned char *ptr)Stk [static]
            swap32(unsigned char *ptr)Stk [static]
            swap64(unsigned char *ptr)Stk [static]
            tick(void)Envelope [virtual]
            tick(StkFloat *vector, unsigned int vectorSize)Envelope [virtual]
            tick(StkFrames &frames, unsigned int channel=1)Envelope [virtual]
            ~Envelope(void)Envelope [virtual]
            ~Generator()Generator [virtual]
            tick(void)Generator
            tick(StkFrames &frames, unsigned int channel=0)Generator
            ~Envelope(void)Envelope [virtual]
            ~Generator(void)Generator [virtual]
            ~Stk(void)Stk [protected, virtual]

            - +
            The Synthesis ToolKit in C++ (STK)
            ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
            ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
            diff --git a/doc/html/classEnvelope.html b/doc/html/classEnvelope.html index 768e291..25f0c2a 100644 --- a/doc/html/classEnvelope.html +++ b/doc/html/classEnvelope.html @@ -8,8 +8,8 @@    

            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


            - -

            Envelope Class Reference

            #include <Envelope.h> + +

            Envelope Class Reference

            #include <Envelope.h>

            Inheritance diagram for Envelope:

            @@ -23,105 +23,55 @@ STK envelope base class.

            This class implements a simple envelope generator which is capable of ramping to a target value by a specified rate. It also responds to simple keyOn and keyOff messages, ramping to 1.0 on keyOn and to 0.0 on keyOff.

            -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

            - -

            -Definition at line 21 of file Envelope.h. +
            - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - -

            Public Member Functions

            Envelope (void)

            Public Member Functions

            Envelope (void)
             Default constructor.

            -virtual ~Envelope (void)
             Default constructor.
            Envelope (const Envelope &e)
             Class destructor.

            -virtual void keyOn (void)
             Copy constructor.
            +virtual ~Envelope (void)
             Set target = 1.

            -virtual void keyOff (void)
             Class destructor.
            +Envelopeoperator= (const Envelope &e)
             Set target = 0.

            -void setRate (StkFloat rate)
             Assignment operator.
            +virtual void keyOn (void)
             Set the rate.

            -void setTime (StkFloat time)
             Set target = 1.
            +virtual void keyOff (void)
             Set the rate based on a time duration.

            -virtual void setTarget (StkFloat target)
             Set target = 0.
            +void setRate (StkFloat rate)
             Set the target value.

            -virtual void setValue (StkFloat value)
             Set the rate.
            +void setTime (StkFloat time)
             Set current and target values to aValue.

            -virtual int getState (void) const
             Set the rate based on a time duration.
            +virtual void setTarget (StkFloat target)
             Return the current envelope state (0 = at target, 1 otherwise).

            -virtual StkFloat tick (void)
             Set the target value.
            +virtual void setValue (StkFloat value)
             Return one envelope output value.

            -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
             Set current and target values to aValue.
            +virtual int getState (void) const
             Compute vectorSize outputs and return them in vector.

            virtual StkFramestick (StkFrames &frames, unsigned int channel=1)
             Fill a channel of the StkFrames object with computed outputs.

            -


            Member Function Documentation

            -

            - - - - -
            - - - - - - - - - - - - - - - - - - - -
            virtual StkFrames& Envelope::tick StkFrames frames,
            unsigned int  channel = 1
            [virtual]
            -
            - - - - - +
            -   - - -

            -Fill a channel of the StkFrames object with computed outputs. -

            -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

            -Reimplemented from Generator. -

            -Reimplemented in ADSR, and Asymp.

             Return the current envelope state (0 = at target, 1 otherwise).


            The documentation for this class was generated from the following file: @@ -129,7 +79,7 @@ Reimplemented in ADSR, and The Synthesis ToolKit in C++ (STK) - ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. + ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved. diff --git a/doc/html/classEnvelope__coll__graph.map b/doc/html/classEnvelope__coll__graph.map new file mode 100644 index 0000000..337ffbe --- /dev/null +++ b/doc/html/classEnvelope__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classGenerator.html 7,85 76,106 +rect $classStk.html 23,16 60,37 diff --git a/doc/html/classEnvelope__coll__graph.md5 b/doc/html/classEnvelope__coll__graph.md5 new file mode 100644 index 0000000..fb69ea3 --- /dev/null +++ b/doc/html/classEnvelope__coll__graph.md5 @@ -0,0 +1 @@ +fecfa4be9d84de3e116a39ae3cc0c95d \ No newline at end of file diff --git a/doc/html/classEnvelope__coll__graph.png b/doc/html/classEnvelope__coll__graph.png new file mode 100644 index 0000000..9eddcda Binary files /dev/null and b/doc/html/classEnvelope__coll__graph.png differ diff --git a/doc/html/classEnvelope__inherit__graph.map b/doc/html/classEnvelope__inherit__graph.map new file mode 100644 index 0000000..ab5087c --- /dev/null +++ b/doc/html/classEnvelope__inherit__graph.map @@ -0,0 +1,5 @@ +base referer +rect $classADSR.html 7,224 55,246 +rect $classAsymp.html 79,224 132,246 +rect $classGenerator.html 33,86 103,107 +rect $classStk.html 49,16 87,38 diff --git a/doc/html/classEnvelope__inherit__graph.md5 b/doc/html/classEnvelope__inherit__graph.md5 new file mode 100644 index 0000000..e5126b3 --- /dev/null +++ b/doc/html/classEnvelope__inherit__graph.md5 @@ -0,0 +1 @@ +e0857d965c93c018eb44add801e8e8b3 \ No newline at end of file diff --git a/doc/html/classEnvelope__inherit__graph.png b/doc/html/classEnvelope__inherit__graph.png new file mode 100644 index 0000000..4e5bf29 Binary files /dev/null and b/doc/html/classEnvelope__inherit__graph.png differ diff --git a/doc/html/classFM-members.html b/doc/html/classFM-members.html index 881da15..069db13 100644 --- a/doc/html/classFM-members.html +++ b/doc/html/classFM-members.html @@ -8,12 +8,12 @@    

            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


            - -

            FM Member List

            This is the complete list of members for FM, including all inherited members. + +

            FM Member List

            This is the complete list of members for FM, including all inherited members.

            - + - + @@ -22,9 +22,10 @@ - + + @@ -36,6 +37,7 @@ + @@ -47,9 +49,8 @@ - - - + + @@ -57,7 +58,7 @@
            clear()FM
            controlChange(int number, StkFloat value)FM [virtual]
            controlChange(int number, StkFloat value)FM [virtual]
            FM(unsigned int operators=4)FM
            handleError(const char *message, StkError::Type type)Stk [static]
            handleError(const char *message, StkError::Type type)Stk [static]
            handleError(std::string message, StkError::Type type)Stk [static]
            handleError(StkError::Type type)Stk [protected]
            Instrmnt()Instrmnt
            lastOut() const Instrmnt
            lastOutLeft() const Instrmnt
            lastOutRight() const Instrmnt
            loadWaves(const char **filenames)FM
            loadWaves(const char **filenames)FM
            noteOff(StkFloat amplitude)FM [virtual]
            noteOn(StkFloat frequency, StkFloat amplitude)=0Instrmnt [pure virtual]
            printErrors(bool status)Stk [inline, static]
            rawwavePath(void)Stk [inline, static]
            sampleRate(void)Stk [inline, static]
            setControl1(StkFloat cVal)FM
            setRatio(unsigned int waveIndex, StkFloat ratio)FM
            setRawwavePath(std::string path)Stk [static]
            setSampleRate(StkFloat rate)Stk [inline, static]
            showWarnings(bool status)Stk [inline, static]
            sleep(unsigned long milliseconds)Stk [static]
            Stk(void)Stk [protected]
            STK_FLOAT32Stk [static]
            swap16(unsigned char *ptr)Stk [static]
            swap32(unsigned char *ptr)Stk [static]
            swap64(unsigned char *ptr)Stk [static]
            tick()=0FM [pure virtual]
            tick(StkFloat *vector, unsigned int vectorSize)=0FM [pure virtual]
            tick(StkFrames &frames, unsigned int channel=1)=0FM [pure virtual]
            tick(void)Instrmnt
            tick(StkFrames &frames, unsigned int channel=0)Instrmnt
            ~FM()FM [virtual]
            ~Instrmnt()Instrmnt [virtual]
            ~Stk(void)Stk [protected, virtual]
            - +
            The Synthesis ToolKit in C++ (STK)
            ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
            ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
            diff --git a/doc/html/classFM.html b/doc/html/classFM.html index 116bb2c..ecbc31c 100644 --- a/doc/html/classFM.html +++ b/doc/html/classFM.html @@ -8,8 +8,8 @@    

            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


            - -

            FM Class Reference

            #include <FM.h> + +

            FM Class Reference

            #include <FM.h>

            Inheritance diagram for FM:

            @@ -32,104 +32,90 @@ Control Change Numbers:
            • Control One = 2
            • Control Two = 4
            • LFO Speed = 11
            • LFO Depth = 1
            • ADSR 2 & 4 Target = 128

            The basic Chowning/Stanford FM patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.

            -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

            - -

            -Definition at line 34 of file FM.h. +
            - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

            Public Member Functions

             FM (unsigned int operators=4)

            Public Member Functions

             FM (unsigned int operators=4)
             Class constructor, taking the number of wave/envelope operators to control.

            -virtual ~FM ()
             Class constructor, taking the number of wave/envelope operators to control.
            +virtual ~FM ()
             Class destructor.

            -void clear ()
             Class destructor.
            +void clear ()
             Reset and clear all wave and envelope states.

            -void loadWaves (const char **filenames)
             Reset and clear all wave and envelope states.
            +void loadWaves (const char **filenames)
             Load the rawwave filenames in waves.

            -virtual void setFrequency (StkFloat frequency)
             Load the rawwave filenames in waves.
            +virtual void setFrequency (StkFloat frequency)
             Set instrument parameters for a particular frequency.

            -void setRatio (unsigned int waveIndex, StkFloat ratio)
             Set instrument parameters for a particular frequency.
            +void setRatio (unsigned int waveIndex, StkFloat ratio)
             Set the frequency ratio for the specified wave.

            -void setGain (unsigned int waveIndex, StkFloat gain)
             Set the frequency ratio for the specified wave.
            +void setGain (unsigned int waveIndex, StkFloat gain)
             Set the gain for the specified wave.

            -void setModulationSpeed (StkFloat mSpeed)
             Set the gain for the specified wave.
            +void setModulationSpeed (StkFloat mSpeed)
             Set the modulation speed in Hz.

            -void setModulationDepth (StkFloat mDepth)
             Set the modulation speed in Hz.
            +void setModulationDepth (StkFloat mDepth)
             Set the modulation depth.

            -void setControl1 (StkFloat cVal)
             Set the modulation depth.
            +void setControl1 (StkFloat cVal)
             Set the value of control1.

            -void setControl2 (StkFloat cVal)
             Set the value of control1.
            +void setControl2 (StkFloat cVal)
             Set the value of control1.

            -void keyOn ()
             Set the value of control1.
            +void keyOn ()
             Start envelopes toward "on" targets.

            -void keyOff ()
             Start envelopes toward "on" targets.
            +void keyOff ()
             Start envelopes toward "off" targets.

            -void noteOff (StkFloat amplitude)
             Start envelopes toward "off" targets.
            +void noteOff (StkFloat amplitude)
             Stop a note with the given amplitude (speed of decay).

            -virtual StkFloat tick ()=0
             Stop a note with the given amplitude (speed of decay).
            +virtual void controlChange (int number, StkFloat value)
             Pure virtual function ... must be defined in subclasses.

            -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)=0
             Computer vectorSize outputs and return them in vector.

            virtual StkFramestick (StkFrames &frames, unsigned int channel=1)=0
             Fill a channel of the StkFrames object with computed outputs.

            -virtual void controlChange (int number, StkFloat value)
             Perform the control change specified by number and value (0.0 - 128.0).

             Perform the control change specified by number and value (0.0 - 128.0).


            Constructor & Destructor Documentation

            -

            - +

            +

            - + - + -
            FM::FM FM::FM unsigned int  operators = 4 operators = 4  ) 
            - +
            - -
              @@ -139,52 +125,7 @@ virtual void  Class constructor, taking the number of wave/envelope operators to control.

            -An StkError will be thrown if the rawwave path is incorrectly set.

            -


            Member Function Documentation

            -

            - - - - -
            - - - - - - - - - - - - - - - - - - - -
            virtual StkFrames& FM::tick StkFrames frames,
            unsigned int  channel = 1
            [pure virtual]
            -
            - - - - +An StkError will be thrown if the rawwave path is incorrectly set.
            -   - - -

            -Fill a channel of the StkFrames object with computed outputs. -

            -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

            -Reimplemented from Instrmnt. -

            -Implemented in BeeThree, FMVoices, HevyMetl, PercFlut, Rhodey, TubeBell, and Wurley.


            The documentation for this class was generated from the following file:
              @@ -193,7 +134,7 @@ Implemented in BeeThree, The Synthesis ToolKit in C++ (STK) - ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. + ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved. diff --git a/doc/html/classFMVoices-members.html b/doc/html/classFMVoices-members.html index 03a89e4..d494082 100644 --- a/doc/html/classFMVoices-members.html +++ b/doc/html/classFMVoices-members.html @@ -8,13 +8,13 @@    

              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


              - -

              FMVoices Member List

              This is the complete list of members for FMVoices, including all inherited members. + +

              FMVoices Member List

              This is the complete list of members for FMVoices, including all inherited members.

              - + - + @@ -23,9 +23,10 @@ - + + @@ -37,6 +38,7 @@ + @@ -48,9 +50,8 @@ - - - + + @@ -59,7 +60,7 @@
              clear()FM
              controlChange(int number, StkFloat value)FMVoices [virtual]
              controlChange(int number, StkFloat value)FMVoices [virtual]
              FM(unsigned int operators=4)FM
              FMVoices()FMVoices
              handleError(const char *message, StkError::Type type)Stk [static]
              handleError(const char *message, StkError::Type type)Stk [static]
              handleError(std::string message, StkError::Type type)Stk [static]
              handleError(StkError::Type type)Stk [protected]
              Instrmnt()Instrmnt
              lastOut() const Instrmnt
              lastOutLeft() const Instrmnt
              lastOutRight() const Instrmnt
              loadWaves(const char **filenames)FM
              loadWaves(const char **filenames)FM
              noteOff(StkFloat amplitude)FM [virtual]
              noteOn(StkFloat frequency, StkFloat amplitude)FMVoices [virtual]
              printErrors(bool status)Stk [inline, static]
              rawwavePath(void)Stk [inline, static]
              sampleRate(void)Stk [inline, static]
              setControl1(StkFloat cVal)FM
              setRatio(unsigned int waveIndex, StkFloat ratio)FM
              setRawwavePath(std::string path)Stk [static]
              setSampleRate(StkFloat rate)Stk [inline, static]
              showWarnings(bool status)Stk [inline, static]
              sleep(unsigned long milliseconds)Stk [static]
              Stk(void)Stk [protected]
              STK_FLOAT32Stk [static]
              swap16(unsigned char *ptr)Stk [static]
              swap32(unsigned char *ptr)Stk [static]
              swap64(unsigned char *ptr)Stk [static]
              tick()FMVoices [virtual]
              tick(StkFloat *vector, unsigned int vectorSize)FMVoices [virtual]
              tick(StkFrames &frames, unsigned int channel=1)FMVoices [virtual]
              tick(void)Instrmnt
              tick(StkFrames &frames, unsigned int channel=0)Instrmnt
              ~FM()FM [virtual]
              ~FMVoices()FMVoices
              ~Instrmnt()Instrmnt [virtual]
              - +
              The Synthesis ToolKit in C++ (STK)
              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
              diff --git a/doc/html/classFMVoices.html b/doc/html/classFMVoices.html index 7c3b659..e50f752 100644 --- a/doc/html/classFMVoices.html +++ b/doc/html/classFMVoices.html @@ -8,8 +8,8 @@    

              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


              - -

              FMVoices Class Reference

              #include <FMVoices.h> + +

              FMVoices Class Reference

              #include <FMVoices.h>

              Inheritance diagram for FMVoices:

              @@ -22,7 +22,7 @@ STK singing FM synthesis instrument.

              This class implements 3 carriers and a common modulator, also referred to as algorithm 6 of the TX81Z.

              -

                  Algorithm 6 is :
              +
                  Algorithm 6 is :
                                       /->1 -\
                                    4-|-->2 - +-> Out
                                       \->3 -/
              @@ -31,63 +31,49 @@ Control Change Numbers:
              • Vowel = 2
              • Spectral Tilt = 4
              • LFO Speed = 11
              • LFO Depth = 1
              • ADSR 2 & 4 Target = 128

              The basic Chowning/Stanford FM patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.

              -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

              - -

              -Definition at line 38 of file FMVoices.h. +
              - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

              Public Member Functions

               FMVoices ()

              Public Member Functions

               FMVoices ()
               Class constructor.

              ~FMVoices ()
               Class constructor.
              ~FMVoices ()
               Class destructor.

              -virtual void setFrequency (StkFloat frequency)
               Class destructor.
              +virtual void setFrequency (StkFloat frequency)
               Set instrument parameters for a particular frequency.

              -void noteOn (StkFloat frequency, StkFloat amplitude)
               Set instrument parameters for a particular frequency.
              +void noteOn (StkFloat frequency, StkFloat amplitude)
               Start a note with the given frequency and amplitude.

              -StkFloat tick ()
               Start a note with the given frequency and amplitude.
              +virtual void controlChange (int number, StkFloat value)
               Compute one output sample.

              -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
               Computer vectorSize outputs and return them in vector.

              StkFramestick (StkFrames &frames, unsigned int channel=1)
               Fill a channel of the StkFrames object with computed outputs.

              -virtual void controlChange (int number, StkFloat value)
               Perform the control change specified by number and value (0.0 - 128.0).

               Perform the control change specified by number and value (0.0 - 128.0).


              Constructor & Destructor Documentation

              -

              - +

              +

              - + -
              FMVoices::FMVoices FMVoices::FMVoices  ) 
              - +
              - -
                @@ -97,50 +83,7 @@ virtual void  Class constructor.

              -An StkError will be thrown if the rawwave path is incorrectly set.

              -


              Member Function Documentation

              -

              - - - - -
              - - - - - - - - - - - - - - - - - - - -
              StkFrames& FMVoices::tick StkFrames frames,
              unsigned int  channel = 1
              [virtual]
              -
              - - - - +An StkError will be thrown if the rawwave path is incorrectly set.
              -   - - -

              -Fill a channel of the StkFrames object with computed outputs. -

              -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

              -Implements FM.


              The documentation for this class was generated from the following file:
                @@ -149,7 +92,7 @@ Implements FM. - +
                The Synthesis ToolKit in C++ (STK)
                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                diff --git a/doc/html/classFMVoices__coll__graph.map b/doc/html/classFMVoices__coll__graph.map new file mode 100644 index 0000000..2830571 --- /dev/null +++ b/doc/html/classFMVoices__coll__graph.map @@ -0,0 +1,8 @@ +base referer +rect $classFM.html 72,269 109,291 +rect $classInstrmnt.html 7,133 63,155 +rect $classStk.html 85,16 123,37 +rect $classWvIn.html 84,88 124,109 +rect $classFilter.html 156,88 196,109 +rect $classWaveLoop.html 67,179 141,200 +rect $classTwoZero.html 167,179 231,200 diff --git a/doc/html/classFMVoices__coll__graph.md5 b/doc/html/classFMVoices__coll__graph.md5 new file mode 100644 index 0000000..9a0376e --- /dev/null +++ b/doc/html/classFMVoices__coll__graph.md5 @@ -0,0 +1 @@ +0d86f3045a58c52dec371067a8e72db0 \ No newline at end of file diff --git a/doc/html/classFMVoices__coll__graph.png b/doc/html/classFMVoices__coll__graph.png new file mode 100644 index 0000000..0caefef Binary files /dev/null and b/doc/html/classFMVoices__coll__graph.png differ diff --git a/doc/html/classFMVoices__inherit__graph.map b/doc/html/classFMVoices__inherit__graph.map new file mode 100644 index 0000000..cdfc9f6 --- /dev/null +++ b/doc/html/classFMVoices__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classFM.html 23,155 60,176 +rect $classInstrmnt.html 13,86 69,107 +rect $classStk.html 23,16 60,38 diff --git a/doc/html/classFMVoices__inherit__graph.md5 b/doc/html/classFMVoices__inherit__graph.md5 new file mode 100644 index 0000000..0b4f8ba --- /dev/null +++ b/doc/html/classFMVoices__inherit__graph.md5 @@ -0,0 +1 @@ +fbb28f1e8d9fc8d34bac0dd723a735f7 \ No newline at end of file diff --git a/doc/html/classFMVoices__inherit__graph.png b/doc/html/classFMVoices__inherit__graph.png new file mode 100644 index 0000000..57b2838 Binary files /dev/null and b/doc/html/classFMVoices__inherit__graph.png differ diff --git a/doc/html/classFM__coll__graph.map b/doc/html/classFM__coll__graph.map new file mode 100644 index 0000000..883ece6 --- /dev/null +++ b/doc/html/classFM__coll__graph.map @@ -0,0 +1,7 @@ +base referer +rect $classInstrmnt.html 7,133 63,155 +rect $classStk.html 85,16 123,37 +rect $classWvIn.html 84,88 124,109 +rect $classFilter.html 156,88 196,109 +rect $classWaveLoop.html 67,179 141,200 +rect $classTwoZero.html 167,179 231,200 diff --git a/doc/html/classFM__coll__graph.md5 b/doc/html/classFM__coll__graph.md5 new file mode 100644 index 0000000..d954232 --- /dev/null +++ b/doc/html/classFM__coll__graph.md5 @@ -0,0 +1 @@ +d3f98dc4904dd9fb567de463c3283174 \ No newline at end of file diff --git a/doc/html/classFM__coll__graph.png b/doc/html/classFM__coll__graph.png new file mode 100644 index 0000000..0357173 Binary files /dev/null and b/doc/html/classFM__coll__graph.png differ diff --git a/doc/html/classFM__inherit__graph.map b/doc/html/classFM__inherit__graph.map new file mode 100644 index 0000000..c270291 --- /dev/null +++ b/doc/html/classFM__inherit__graph.map @@ -0,0 +1,10 @@ +base referer +rect $classBeeThree.html 7,224 73,246 +rect $classFMVoices.html 97,224 167,246 +rect $classHevyMetl.html 191,224 255,246 +rect $classPercFlut.html 279,224 340,246 +rect $classRhodey.html 364,224 420,246 +rect $classTubeBell.html 444,224 508,246 +rect $classWurley.html 532,224 585,246 +rect $classInstrmnt.html 281,86 337,107 +rect $classStk.html 291,16 328,38 diff --git a/doc/html/classFM__inherit__graph.md5 b/doc/html/classFM__inherit__graph.md5 new file mode 100644 index 0000000..d1c5656 --- /dev/null +++ b/doc/html/classFM__inherit__graph.md5 @@ -0,0 +1 @@ +17738f66202d53517bd0872a0dbe8b43 \ No newline at end of file diff --git a/doc/html/classFM__inherit__graph.png b/doc/html/classFM__inherit__graph.png new file mode 100644 index 0000000..9d8723d Binary files /dev/null and b/doc/html/classFM__inherit__graph.png differ diff --git a/doc/html/classFileRead-members.html b/doc/html/classFileRead-members.html new file mode 100644 index 0000000..0442d62 --- /dev/null +++ b/doc/html/classFileRead-members.html @@ -0,0 +1,52 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                +    

                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                +
                + +

                FileRead Member List

                This is the complete list of members for FileRead, including all inherited members.

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                channels(void) const FileRead [inline]
                close(void)FileRead
                fileRate(void) const FileRead [inline]
                FileRead()FileRead
                FileRead(std::string fileName, bool typeRaw=false)FileRead
                fileSize(void) const FileRead [inline]
                handleError(const char *message, StkError::Type type)Stk [static]
                handleError(std::string message, StkError::Type type)Stk [static]
                handleError(StkError::Type type)Stk [protected]
                isOpen(void)FileRead
                open(std::string fileName, bool typeRaw=false)FileRead
                printErrors(bool status)Stk [inline, static]
                rawwavePath(void)Stk [inline, static]
                read(StkFrames &buffer, unsigned long startFrame=0, bool doNormalize=true)FileRead
                sampleRate(void)Stk [inline, static]
                setRawwavePath(std::string path)Stk [static]
                setSampleRate(StkFloat rate)Stk [inline, static]
                showWarnings(bool status)Stk [inline, static]
                sleep(unsigned long milliseconds)Stk [static]
                Stk(void)Stk [protected]
                STK_FLOAT32Stk [static]
                STK_FLOAT64Stk [static]
                STK_SINT16Stk [static]
                STK_SINT24Stk [static]
                STK_SINT32Stk [static]
                STK_SINT8Stk [static]
                swap16(unsigned char *ptr)Stk [static]
                swap32(unsigned char *ptr)Stk [static]
                swap64(unsigned char *ptr)Stk [static]
                ~FileRead()FileRead
                ~Stk(void)Stk [protected, virtual]


                + + + + +
                The Synthesis ToolKit in C++ (STK)
                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                + + + diff --git a/doc/html/classFileRead.html b/doc/html/classFileRead.html new file mode 100644 index 0000000..8d5dcad --- /dev/null +++ b/doc/html/classFileRead.html @@ -0,0 +1,232 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                +    

                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                +
                + +

                FileRead Class Reference

                #include <FileRead.h> +

                +

                Inheritance diagram for FileRead: +

                + +Stk + +List of all members.

                Detailed Description

                +STK audio file input class. +

                +This class provides input support for various audio file formats. Multi-channel (>2) soundfiles are supported. The file data is returned via an external StkFrames object passed to the read() function. This class does not store its own copy of the file data, rather the data is read directly from disk.

                +FileRead currently supports uncompressed WAV, AIFF/AIFC, SND (AU), MAT-file (Matlab), and STK RAW file formats. Signed integer (8-, 16-, and 32-bit) and floating-point (32- and 64-bit) data types are supported. Compressed data types are not supported.

                +STK RAW files have no header and are assumed to contain a monophonic stream of 16-bit signed integers in big-endian byte order at a sample rate of 22050 Hz. MAT-file data should be saved in an array with each data channel filling a matrix row. The sample rate for MAT-files is assumed to be 44100 Hz.

                +by Perry R. Cook and Gary P. Scavone, 1995 - 2005. +

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

                Public Member Functions

                FileRead ()
                 Default constructor.
                 FileRead (std::string fileName, bool typeRaw=false)
                 Overloaded constructor that opens a file during instantiation.
                ~FileRead ()
                 Class destructor.
                void open (std::string fileName, bool typeRaw=false)
                 Open the specified file and determine its formatting.
                +void close (void)
                 If a file is open, close it.
                +bool isOpen (void)
                 Returns true if a file is currently open.
                +unsigned long fileSize (void) const
                 Return the file size in sample frames.
                +unsigned int channels (void) const
                 Return the number of audio channels in the file.
                StkFloat fileRate (void) const
                 Return the file sample rate in Hz.
                void read (StkFrames &buffer, unsigned long startFrame=0, bool doNormalize=true)
                 Read sample frames from the file into an StkFrames object.
                +


                Constructor & Destructor Documentation

                +

                + + + + +
                + + + + + + + + + + + + + + + + + + +
                FileRead::FileRead std::string  fileName,
                bool  typeRaw = false
                +
                + + + + + +
                +   + + +

                +Overloaded constructor that opens a file during instantiation. +

                +An StkError will be thrown if the file is not found or its format is unknown or unsupported.

                +


                Member Function Documentation

                +

                + + + + +
                + + + + + + + + + + + + + + + + + + +
                void FileRead::open std::string  fileName,
                bool  typeRaw = false
                +
                + + + + + +
                +   + + +

                +Open the specified file and determine its formatting. +

                +An StkError will be thrown if the file is not found or its format is unknown or unsupported. An optional parameter is provided to specify whether the input file is of type STK RAW (default = false).

                +

                + + + + +
                + + + + + + + + + +
                StkFloat FileRead::fileRate void   )  const [inline]
                +
                + + + + + +
                +   + + +

                +Return the file sample rate in Hz. +

                +WAV, SND, and AIF formatted files specify a sample rate in their headers. By definition, STK RAW files have a sample rate of 22050 Hz. MAT-files are assumed to have a rate of 44100 Hz.

                +

                + + + + +
                + + + + + + + + + + + + + + + + + + + + + + + + +
                void FileRead::read StkFrames buffer,
                unsigned long  startFrame = 0,
                bool  doNormalize = true
                +
                + + + + + +
                +   + + +

                +Read sample frames from the file into an StkFrames object. +

                +The number of sample frames to read will be determined from the number of frames of the StkFrames argument. If this size is larger than the available data in the file (given the file size and starting frame index), the extra frames will be unaffected (the StkFrames object will not be resized). Optional parameters are provided to specify the starting sample frame within the file (default = 0) and whether to normalize the data with respect to fixed-point limits (default = true). An StkError will be thrown if a file error occurs or if the number of channels in the StkFrames argument is not equal to that in the file.

                +


                The documentation for this class was generated from the following file: +
                + + + + +
                The Synthesis ToolKit in C++ (STK)
                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                + + + diff --git a/doc/html/classFileRead.png b/doc/html/classFileRead.png new file mode 100644 index 0000000..62aa7cc Binary files /dev/null and b/doc/html/classFileRead.png differ diff --git a/doc/html/classFileWrite-members.html b/doc/html/classFileWrite-members.html new file mode 100644 index 0000000..f402a7f --- /dev/null +++ b/doc/html/classFileWrite-members.html @@ -0,0 +1,54 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                +    

                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                +
                + +

                FileWrite Member List

                This is the complete list of members for FileWrite, including all inherited members.

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                close(void)FileWrite
                FILE_AIFFileWrite [static]
                FILE_MATFileWrite [static]
                FILE_RAWFileWrite [static]
                FILE_SNDFileWrite [static]
                FILE_WAVFileWrite [static]
                FileWrite()FileWrite
                FileWrite(std::string fileName, unsigned int nChannels=1, FILE_TYPE type=FILE_WAV, Stk::StkFormat format=STK_SINT16)FileWrite
                handleError(const char *message, StkError::Type type)Stk [static]
                handleError(std::string message, StkError::Type type)Stk [static]
                handleError(StkError::Type type)Stk [protected]
                isOpen(void)FileWrite
                open(std::string fileName, unsigned int nChannels=1, FileWrite::FILE_TYPE type=FILE_WAV, Stk::StkFormat format=STK_SINT16)FileWrite
                printErrors(bool status)Stk [inline, static]
                rawwavePath(void)Stk [inline, static]
                sampleRate(void)Stk [inline, static]
                setRawwavePath(std::string path)Stk [static]
                setSampleRate(StkFloat rate)Stk [inline, static]
                showWarnings(bool status)Stk [inline, static]
                sleep(unsigned long milliseconds)Stk [static]
                Stk(void)Stk [protected]
                STK_FLOAT32Stk [static]
                STK_FLOAT64Stk [static]
                STK_SINT16Stk [static]
                STK_SINT24Stk [static]
                STK_SINT32Stk [static]
                STK_SINT8Stk [static]
                swap16(unsigned char *ptr)Stk [static]
                swap32(unsigned char *ptr)Stk [static]
                swap64(unsigned char *ptr)Stk [static]
                write(StkFrames &buffer)FileWrite
                ~FileWrite()FileWrite [virtual]
                ~Stk(void)Stk [protected, virtual]


                + + + + +
                The Synthesis ToolKit in C++ (STK)
                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                + + + diff --git a/doc/html/classFileWrite.html b/doc/html/classFileWrite.html new file mode 100644 index 0000000..11bffe5 --- /dev/null +++ b/doc/html/classFileWrite.html @@ -0,0 +1,327 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                +    

                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                +
                + +

                FileWrite Class Reference

                #include <FileWrite.h> +

                +

                Inheritance diagram for FileWrite: +

                + +Stk + +List of all members.

                Detailed Description

                +STK audio file output class. +

                +This class provides output support for various audio file formats.

                +FileWrite writes samples to an audio file. It supports multi-channel data.

                +FileWrite currently supports uncompressed WAV, AIFF, AIFC, SND (AU), MAT-file (Matlab), and STK RAW file formats. Signed integer (8-, 16-, and 32-bit) and floating- point (32- and 64-bit) data types are supported. STK RAW files use 16-bit integers by definition. MAT-files will always be written as 64-bit floats. If a data type specification does not match the specified file type, the data type will automatically be modified. Compressed data types are not supported.

                +by Perry R. Cook and Gary P. Scavone, 1995 - 2005. +

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

                Public Member Functions

                FileWrite ()
                 Default constructor.
                 FileWrite (std::string fileName, unsigned int nChannels=1, FILE_TYPE type=FILE_WAV, Stk::StkFormat format=STK_SINT16)
                 Overloaded constructor used to specify a file name, type, and data format with this object.
                +virtual ~FileWrite ()
                 Class destructor.
                void open (std::string fileName, unsigned int nChannels=1, FileWrite::FILE_TYPE type=FILE_WAV, Stk::StkFormat format=STK_SINT16)
                 Create a file of the specified type and name and output samples to it in the given data format.
                +void close (void)
                 If a file is open, write out samples in the queue and then close it.
                +bool isOpen (void)
                 Returns true if a file is currently open.
                void write (StkFrames &buffer)
                 Write sample frames from the StkFrames object to the file.

                Static Public Attributes

                static const FILE_TYPE FILE_RAW
                static const FILE_TYPE FILE_WAV
                static const FILE_TYPE FILE_SND
                static const FILE_TYPE FILE_AIF
                static const FILE_TYPE FILE_MAT
                +


                Constructor & Destructor Documentation

                +

                + + + + +
                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                FileWrite::FileWrite std::string  fileName,
                unsigned int  nChannels = 1,
                FILE_TYPE  type = FILE_WAV,
                Stk::StkFormat  format = STK_SINT16
                +
                + + + + + +
                +   + + +

                +Overloaded constructor used to specify a file name, type, and data format with this object. +

                +An StkError is thrown for invalid argument values or if an error occurs when initializing the output file.

                +


                Member Function Documentation

                +

                + + + + +
                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                void FileWrite::open std::string  fileName,
                unsigned int  nChannels = 1,
                FileWrite::FILE_TYPE  type = FILE_WAV,
                Stk::StkFormat  format = STK_SINT16
                +
                + + + + + +
                +   + + +

                +Create a file of the specified type and name and output samples to it in the given data format. +

                +An StkError is thrown for invalid argument values or if an error occurs when initializing the output file.

                +

                + + + + +
                + + + + + + + + + +
                void FileWrite::write StkFrames buffer  ) 
                +
                + + + + + +
                +   + + +

                +Write sample frames from the StkFrames object to the file. +

                +An StkError will be thrown if the number of channels in the StkFrames argument does not agree with the number of channels specified when opening the file.

                +


                Member Data Documentation

                +

                + + + + +
                + + + + +
                const FILE_TYPE FileWrite::FILE_RAW [static]
                +
                + + + + + +
                +   + + +

                +STK RAW file type.

                +

                + + + + +
                + + + + +
                const FILE_TYPE FileWrite::FILE_WAV [static]
                +
                + + + + + +
                +   + + +

                +WAV file type.

                +

                + + + + +
                + + + + +
                const FILE_TYPE FileWrite::FILE_SND [static]
                +
                + + + + + +
                +   + + +

                +SND (AU) file type.

                +

                + + + + +
                + + + + +
                const FILE_TYPE FileWrite::FILE_AIF [static]
                +
                + + + + + +
                +   + + +

                +AIFF file type.

                +

                + + + + +
                + + + + +
                const FILE_TYPE FileWrite::FILE_MAT [static]
                +
                + + + + + +
                +   + + +

                +Matlab MAT-file type.

                +


                The documentation for this class was generated from the following file: +
                + + + + +
                The Synthesis ToolKit in C++ (STK)
                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                + + + diff --git a/doc/html/classFileWrite.png b/doc/html/classFileWrite.png new file mode 100644 index 0000000..3156222 Binary files /dev/null and b/doc/html/classFileWrite.png differ diff --git a/doc/html/classFileWvIn-members.html b/doc/html/classFileWvIn-members.html new file mode 100644 index 0000000..ad58ff6 --- /dev/null +++ b/doc/html/classFileWvIn-members.html @@ -0,0 +1,63 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                +    

                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                +
                + +

                FileWvIn Member List

                This is the complete list of members for FileWvIn, including all inherited members.

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                addTime(StkFloat time)FileWvIn [virtual]
                closeFile(void)FileWvIn
                FileWvIn(unsigned long chunkThreshold=1000000, unsigned long chunkSize=1024)FileWvIn
                FileWvIn(std::string fileName, bool raw=false, bool doNormalize=true, unsigned long chunkThreshold=1000000, unsigned long chunkSize=1024)FileWvIn
                getChannels(void) const WvIn [inline]
                getFileRate(void) const FileWvIn [inline]
                getSize(void) const FileWvIn [inline]
                handleError(const char *message, StkError::Type type)Stk [static]
                handleError(std::string message, StkError::Type type)Stk [static]
                handleError(StkError::Type type)Stk [protected]
                isFinished(void) const FileWvIn [inline]
                lastFrame(void) const WvIn [inline]
                normalize(void)FileWvIn
                normalize(StkFloat peak)FileWvIn
                openFile(std::string fileName, bool raw=false, bool doNormalize=true)FileWvIn
                printErrors(bool status)Stk [inline, static]
                rawwavePath(void)Stk [inline, static]
                reset(void)FileWvIn
                sampleRate(void)Stk [inline, static]
                setInterpolate(bool doInterpolate)FileWvIn [inline]
                setRate(StkFloat rate)FileWvIn
                setRawwavePath(std::string path)Stk [static]
                setSampleRate(StkFloat rate)Stk [inline, static]
                showWarnings(bool status)Stk [inline, static]
                sleep(unsigned long milliseconds)Stk [static]
                Stk(void)Stk [protected]
                STK_FLOAT32Stk [static]
                STK_FLOAT64Stk [static]
                STK_SINT16Stk [static]
                STK_SINT24Stk [static]
                STK_SINT32Stk [static]
                STK_SINT8Stk [static]
                swap16(unsigned char *ptr)Stk [static]
                swap32(unsigned char *ptr)Stk [static]
                swap64(unsigned char *ptr)Stk [static]
                tick(void)WvIn
                tick(StkFrames &frames, unsigned int channel=0)WvIn
                tickFrame(StkFrames &frames)WvIn
                WvIn()WvIn
                ~FileWvIn()FileWvIn [virtual]
                ~Stk(void)Stk [protected, virtual]
                ~WvIn()WvIn [virtual]


                + + + + +
                The Synthesis ToolKit in C++ (STK)
                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                + + + diff --git a/doc/html/classFileWvIn.html b/doc/html/classFileWvIn.html new file mode 100644 index 0000000..e0a4137 --- /dev/null +++ b/doc/html/classFileWvIn.html @@ -0,0 +1,383 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                +    

                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                +
                + +

                FileWvIn Class Reference

                #include <FileWvIn.h> +

                +

                Inheritance diagram for FileWvIn: +

                + +WvIn +Stk +WaveLoop + +List of all members.

                Detailed Description

                +STK audio file input class. +

                +This class inherits from WvIn. It provides a "tick-level" interface to the FileRead class. It also provides variable-rate "playback" functionality. Audio file support is provided by the FileRead class. Linear interpolation is used for fractional "read rates".

                +FileWvIn supports multi-channel data. It is important to distinguish the tick() methods, which return samples produced by averaging across sample frames, from the tickFrame() methods, which return references to multi-channel sample frames.

                +FileWvIn will either load the entire content of an audio file into local memory or incrementally read file data from disk in chunks. This behavior is controlled by the optional constructor arguments chunkThreshold and chunkSize. File sizes greater than chunkThreshold (in sample frames) will be read incrementally in chunks of chunkSize each (also in sample frames).

                +When the file end is reached, subsequent calls to the tick() functions return zero-valued data and isFinished() returns true.

                +See the FileRead class for a description of the supported audio file formats.

                +by Perry R. Cook and Gary P. Scavone, 1995 - 2005. +

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

                Public Member Functions

                FileWvIn (unsigned long chunkThreshold=1000000, unsigned long chunkSize=1024)
                 Default constructor.
                 FileWvIn (std::string fileName, bool raw=false, bool doNormalize=true, unsigned long chunkThreshold=1000000, unsigned long chunkSize=1024)
                 Overloaded constructor for file input.
                +virtual ~FileWvIn ()
                 Class destructor.
                void openFile (std::string fileName, bool raw=false, bool doNormalize=true)
                 Open the specified file and load its data.
                +void closeFile (void)
                 Close a file if one is open.
                +void reset (void)
                 Clear outputs and reset time (file) pointer to zero.
                void normalize (void)
                 Normalize data to a maximum of +-1.0.
                void normalize (StkFloat peak)
                 Normalize data to a maximum of +-peak.
                +unsigned long getSize (void) const
                 Return the file size in sample frames.
                StkFloat getFileRate (void) const
                 Return the input file sample rate in Hz (not the data read rate).
                +bool isFinished (void) const
                 Query whether reading is complete.
                void setRate (StkFloat rate)
                 Set the data read rate in samples. The rate can be negative.
                virtual void addTime (StkFloat time)
                 Increment the read pointer by time samples.
                void setInterpolate (bool doInterpolate)
                 Turn linear interpolation on/off.
                +


                Constructor & Destructor Documentation

                +

                + + + + +
                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                FileWvIn::FileWvIn std::string  fileName,
                bool  raw = false,
                bool  doNormalize = true,
                unsigned long  chunkThreshold = 1000000,
                unsigned long  chunkSize = 1024
                +
                + + + + + +
                +   + + +

                +Overloaded constructor for file input. +

                +An StkError will be thrown if the file is not found, its format is unknown, or a read error occurs.

                +


                Member Function Documentation

                +

                + + + + +
                + + + + + + + + + + + + + + + + + + + + + + + + +
                void FileWvIn::openFile std::string  fileName,
                bool  raw = false,
                bool  doNormalize = true
                +
                + + + + + +
                +   + + +

                +Open the specified file and load its data. +

                +Data from a previously opened file will be overwritten by this function. An StkError will be thrown if the file is not found, its format is unknown, or a read error occurs. If the file data is to be loaded incrementally from disk and normalization is specified, a scaling will be applied with respect to fixed-point limits. If the data format is floating-point, no scaling is performed. +

                +Reimplemented in WaveLoop.

                +

                + + + + +
                + + + + + + + + + +
                void FileWvIn::normalize void   ) 
                +
                + + + + + +
                +   + + +

                +Normalize data to a maximum of +-1.0. +

                +This function has no effect when data is incrementally loaded from disk.

                +

                + + + + +
                + + + + + + + + + +
                void FileWvIn::normalize StkFloat  peak  ) 
                +
                + + + + + +
                +   + + +

                +Normalize data to a maximum of +-peak. +

                +This function has no effect when data is incrementally loaded from disk.

                +

                + + + + +
                + + + + + + + + + +
                StkFloat FileWvIn::getFileRate void   )  const [inline]
                +
                + + + + + +
                +   + + +

                +Return the input file sample rate in Hz (not the data read rate). +

                +WAV, SND, and AIF formatted files specify a sample rate in their headers. STK RAW files have a sample rate of 22050 Hz by definition. MAT-files are assumed to have a rate of 44100 Hz.

                +

                + + + + +
                + + + + + + + + + +
                void FileWvIn::setRate StkFloat  rate  ) 
                +
                + + + + + +
                +   + + +

                +Set the data read rate in samples. The rate can be negative. +

                +If the rate value is negative, the data is read in reverse order. +

                +Reimplemented in WaveLoop.

                +

                + + + + +
                + + + + + + + + + +
                virtual void FileWvIn::addTime StkFloat  time  )  [virtual]
                +
                + + + + + +
                +   + + +

                +Increment the read pointer by time samples. +

                +Note that this function will not modify the interpolation flag status. +

                +Reimplemented in WaveLoop.

                +

                + + + + +
                + + + + + + + + + +
                void FileWvIn::setInterpolate bool  doInterpolate  )  [inline]
                +
                + + + + + +
                +   + + +

                +Turn linear interpolation on/off. +

                +Interpolation is automatically off when the read rate is an integer value. If interpolation is turned off for a fractional rate, the time index is truncated to an integer value.

                +


                The documentation for this class was generated from the following file: +
                + + + + +
                The Synthesis ToolKit in C++ (STK)
                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                + + + diff --git a/doc/html/classFileWvIn.png b/doc/html/classFileWvIn.png new file mode 100644 index 0000000..1ab6767 Binary files /dev/null and b/doc/html/classFileWvIn.png differ diff --git a/doc/html/classFileWvOut-members.html b/doc/html/classFileWvOut-members.html new file mode 100644 index 0000000..1917577 --- /dev/null +++ b/doc/html/classFileWvOut-members.html @@ -0,0 +1,56 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                +    

                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                +
                + +

                FileWvOut Member List

                This is the complete list of members for FileWvOut, including all inherited members.

                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                clipStatus(void)WvOut [inline]
                closeFile(void)FileWvOut
                FileWvOut(unsigned int bufferFrames=1024)FileWvOut
                FileWvOut(std::string fileName, unsigned int nChannels=1, FileWrite::FILE_TYPE type=FileWrite::FILE_WAV, Stk::StkFormat format=STK_SINT16, unsigned int bufferFrames=1024)FileWvOut
                getFrameCount(void) const WvOut
                getTime(void) const WvOut
                handleError(const char *message, StkError::Type type)Stk [static]
                handleError(std::string message, StkError::Type type)Stk [static]
                handleError(StkError::Type type)Stk [protected]
                openFile(std::string fileName, unsigned int nChannels, FileWrite::FILE_TYPE type, Stk::StkFormat format)FileWvOut
                printErrors(bool status)Stk [inline, static]
                rawwavePath(void)Stk [inline, static]
                resetClipStatus(void)WvOut [inline]
                sampleRate(void)Stk [inline, static]
                setRawwavePath(std::string path)Stk [static]
                setSampleRate(StkFloat rate)Stk [inline, static]
                showWarnings(bool status)Stk [inline, static]
                sleep(unsigned long milliseconds)Stk [static]
                Stk(void)Stk [protected]
                STK_FLOAT32Stk [static]
                STK_FLOAT64Stk [static]
                STK_SINT16Stk [static]
                STK_SINT24Stk [static]
                STK_SINT32Stk [static]
                STK_SINT8Stk [static]
                swap16(unsigned char *ptr)Stk [static]
                swap32(unsigned char *ptr)Stk [static]
                swap64(unsigned char *ptr)Stk [static]
                tick(const StkFloat sample)WvOut
                tick(const StkFrames &frames, unsigned int channel=0)WvOut
                tickFrame(const StkFrames &frames)WvOut
                WvOut()WvOut
                ~FileWvOut()FileWvOut [virtual]
                ~Stk(void)Stk [protected, virtual]
                ~WvOut()WvOut [virtual]


                + + + + +
                The Synthesis ToolKit in C++ (STK)
                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                + + + diff --git a/doc/html/classFileWvOut.html b/doc/html/classFileWvOut.html new file mode 100644 index 0000000..91c084b --- /dev/null +++ b/doc/html/classFileWvOut.html @@ -0,0 +1,229 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                +    

                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                +
                + +

                FileWvOut Class Reference

                #include <FileWvOut.h> +

                +

                Inheritance diagram for FileWvOut: +

                + +WvOut +Stk + +List of all members.

                Detailed Description

                +STK audio file output class. +

                +This class inherits from WvOut. It provides a "tick-level" interface to the FileWrite class.

                +FileWvOut writes samples to an audio file and supports multi-channel data. It is important to distinguish the tick() methods, which output single samples to all channels in a sample frame, from the tickFrame() methods, which take a pointer or reference to multi-channel sample frame data.

                +See the FileWrite class for a description of the supported audio file formats.

                +Currently, FileWvOut is non-interpolating and the output rate is always Stk::sampleRate().

                +by Perry R. Cook and Gary P. Scavone, 1995 - 2005. +

                + + + + + + + + + + + + + + + + + + +

                Public Member Functions

                 FileWvOut (unsigned int bufferFrames=1024)
                 Default constructor with optional output buffer size argument.
                 FileWvOut (std::string fileName, unsigned int nChannels=1, FileWrite::FILE_TYPE type=FileWrite::FILE_WAV, Stk::StkFormat format=STK_SINT16, unsigned int bufferFrames=1024)
                 Overloaded constructor used to specify a file name, type, and data format with this object.
                +virtual ~FileWvOut ()
                 Class destructor.
                void openFile (std::string fileName, unsigned int nChannels, FileWrite::FILE_TYPE type, Stk::StkFormat format)
                 Open a new file with the specified parameters.
                void closeFile (void)
                 Close a file if one is open.
                +


                Constructor & Destructor Documentation

                +

                + + + + +
                + + + + + + + + + +
                FileWvOut::FileWvOut unsigned int  bufferFrames = 1024  ) 
                +
                + + + + + +
                +   + + +

                +Default constructor with optional output buffer size argument. +

                +The output buffer size defines the number of frames that are accumulated between writes to disk.

                +

                + + + + +
                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                FileWvOut::FileWvOut std::string  fileName,
                unsigned int  nChannels = 1,
                FileWrite::FILE_TYPE  type = FileWrite::FILE_WAV,
                Stk::StkFormat  format = STK_SINT16,
                unsigned int  bufferFrames = 1024
                +
                + + + + + +
                +   + + +

                +Overloaded constructor used to specify a file name, type, and data format with this object. +

                +An StkError is thrown for invalid argument values or if an error occurs when initializing the output file.

                +


                Member Function Documentation

                +

                + + + + +
                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                void FileWvOut::openFile std::string  fileName,
                unsigned int  nChannels,
                FileWrite::FILE_TYPE  type,
                Stk::StkFormat  format
                +
                + + + + + +
                +   + + +

                +Open a new file with the specified parameters. +

                +If a file was previously open, it will be closed. An StkError will be thrown if any of the specified arguments are invalid or a file error occurs during opening.

                +

                + + + + +
                + + + + + + + + + +
                void FileWvOut::closeFile void   ) 
                +
                + + + + + +
                +   + + +

                +Close a file if one is open. +

                +Any data remaining in the internal buffer will be written to the file before closing.

                +


                The documentation for this class was generated from the following file: +
                + + + + +
                The Synthesis ToolKit in C++ (STK)
                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                + + + diff --git a/doc/html/classFileWvOut.png b/doc/html/classFileWvOut.png new file mode 100644 index 0000000..2d2935e Binary files /dev/null and b/doc/html/classFileWvOut.png differ diff --git a/doc/html/classFilter-members.html b/doc/html/classFilter-members.html index 903f78c..d7589eb 100644 --- a/doc/html/classFilter-members.html +++ b/doc/html/classFilter-members.html @@ -8,24 +8,26 @@    

                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                - -

                Filter Member List

                This is the complete list of members for Filter, including all inherited members. + +

                Filter Member List

                This is the complete list of members for Filter, including all inherited members.

                - + + - - + + - + + @@ -37,16 +39,15 @@ - - - + +
                clear(void)Filter
                Filter(void)Filter
                Filter(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter
                getGain(void) const Filter [virtual]
                handleError(const char *message, StkError::Type type)Stk [static]
                handleError(const char *message, StkError::Type type)Stk [static]
                handleError(std::string message, StkError::Type type)Stk [static]
                handleError(StkError::Type type)Stk [protected]
                lastOut(void) const Filter [virtual]
                printErrors(bool status)Stk [inline, static]
                rawwavePath(void)Stk [inline, static]
                sampleRate(void)Stk [inline, static]
                setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter
                setDenominator(std::vector< StkFloat > &aCoefficients)Filter
                setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter
                setDenominator(std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter
                setGain(StkFloat gain)Filter [virtual]
                setNumerator(std::vector< StkFloat > &bCoefficients)Filter
                setNumerator(std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter
                setRawwavePath(std::string path)Stk [static]
                setSampleRate(StkFloat rate)Stk [inline, static]
                showWarnings(bool status)Stk [inline, static]
                sleep(unsigned long milliseconds)Stk [static]
                Stk(void)Stk [protected]
                STK_FLOAT32Stk [static]
                swap16(unsigned char *ptr)Stk [static]
                swap32(unsigned char *ptr)Stk [static]
                swap64(unsigned char *ptr)Stk [static]
                tick(StkFloat sample)Filter [virtual]
                tick(StkFloat *vector, unsigned int vectorSize)Filter [virtual]
                tick(StkFrames &frames, unsigned int channel=1)Filter [virtual]
                tick(StkFloat input)Filter [virtual]
                tick(StkFrames &frames, unsigned int channel=0)Filter [virtual]
                ~Filter(void)Filter [virtual]
                ~Stk(void)Stk [protected, virtual]

                - +
                The Synthesis ToolKit in C++ (STK)
                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                diff --git a/doc/html/classFilter.html b/doc/html/classFilter.html index c765938..955a23a 100644 --- a/doc/html/classFilter.html +++ b/doc/html/classFilter.html @@ -8,8 +8,8 @@    

                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                - -

                Filter Class Reference

                #include <Filter.h> + +

                Filter Class Reference

                #include <Filter.h>

                Inheritance diagram for Filter:

                @@ -29,94 +29,87 @@ List of all members.

                Detailed Description

                STK filter class.

                -This class implements a generic structure which can be used to create a wide range of filters. It can function independently or be subclassed to provide more specific controls based on a particular filter type.

                +This class implements a generic structure that can be used to create a wide range of filters. It can function independently or be subclassed to provide more specific controls based on a particular filter type.

                In particular, this class implements the standard difference equation:

                a[0]*y[n] = b[0]*x[n] + ... + b[nb]*x[n-nb] - a[1]*y[n-1] - ... - a[na]*y[n-na]

                If a[0] is not equal to 1, the filter coeffcients are normalized by a[0].

                The gain parameter is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0. This structure results in one extra multiply per computed sample, but allows easy control of the overall filter gain.

                -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                - -

                -Definition at line 37 of file Filter.h. +
                - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - +

                Public Member Functions

                Filter (void)

                Public Member Functions

                Filter (void)
                 Default constructor creates a zero-order pass-through "filter".

                 Filter (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)
                 Default constructor creates a zero-order pass-through "filter".
                 Filter (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)
                 Overloaded constructor which takes filter coefficients.

                -virtual ~Filter (void)
                 Overloaded constructor which takes filter coefficients.
                +virtual ~Filter (void)
                 Class destructor.

                -void clear (void)
                 Class destructor.
                +void clear (void)
                 Sets all internal states of the filter to zero.

                void setCoefficients (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)
                 Sets all internal states of the filter to zero.
                void setCoefficients (std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)
                 Set filter coefficients.

                void setNumerator (std::vector< StkFloat > &bCoefficients)
                 Set filter coefficients.
                void setNumerator (std::vector< StkFloat > &bCoefficients, bool clearState=false)
                 Set numerator coefficients.

                void setDenominator (std::vector< StkFloat > &aCoefficients)
                 Set numerator coefficients.
                void setDenominator (std::vector< StkFloat > &aCoefficients, bool clearState=false)
                 Set denominator coefficients.

                virtual void setGain (StkFloat gain)
                 Set denominator coefficients.
                virtual void setGain (StkFloat gain)
                 Set the filter gain.

                -virtual StkFloat getGain (void) const
                 Set the filter gain.
                +virtual StkFloat getGain (void) const
                 Return the current filter gain.

                -virtual StkFloat lastOut (void) const
                 Return the current filter gain.
                +virtual StkFloat lastOut (void) const
                 Return the last computed output value.

                -virtual StkFloat tick (StkFloat sample)
                 Return the last computed output value.
                +virtual StkFloat tick (StkFloat input)
                 Input one sample to the filter and return one output.

                -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                 Input one sample to the filter and return one output.
                virtual StkFramestick (StkFrames &frames, unsigned int channel=0)
                 Input vectorSize samples to the filter and return an equal number of outputs in vector.

                virtual StkFramestick (StkFrames &frames, unsigned int channel=1)
                 Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

                 Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.


                Constructor & Destructor Documentation

                -

                - +

                +

                - + - - + + - + -
                Filter::Filter Filter::Filter std::vector< StkFloat > &  bCoefficients,
                std::vector< StkFloat > &  aCoefficients
                - +
                +An StkError can be thrown if either of the coefficient vector sizes is zero, or if the a[0] coefficient is equal to zero.
                  @@ -126,38 +119,43 @@ virtual StkFloat * StkError can be thrown if either of the coefficient vector sizes is zero, or if the a[0] coefficient is equal to zero.


                Member Function Documentation

                -

                - +

                +

                - + - - + + - + - + + + + + + + -
                void Filter::setCoefficients void Filter::setCoefficients std::vector< StkFloat > &  bCoefficients,
                std::vector< StkFloat > &  aCoefficients aCoefficients,
                bool  clearState = false
                - +
                +An StkError can be thrown if either of the coefficient vector sizes is zero, or if the a[0] coefficient is equal to zero. If a[0] is not equal to 1, the filter coeffcients are normalized by a[0]. The internal state of the filter is not cleared unless the clearState flag is true.
                  @@ -167,28 +165,36 @@ An StkError can be thrown if either

                Set filter coefficients.

                -An StkError can be thrown if either of the coefficient vector sizes is zero, or if the a[0] coefficient is equal to zero. If a[0] is not equal to 1, the filter coeffcients are normalized by a[0]. The internal state of the filter is cleared.

                -

                - +

                +

                - + - - - + + + + + + + + + + + + -
                void Filter::setNumerator void Filter::setNumerator std::vector< StkFloat > &  bCoefficients  )  bCoefficients,
                bool  clearState = false
                - +
                +An StkError can be thrown if coefficient vector is empty. Any previously set denominator coefficients are left unaffected. Note that the default constructor sets the single denominator coefficient a[0] to 1.0. The internal state of the filter is not cleared unless the clearState flag is true.
                  @@ -198,28 +204,36 @@ An StkError can be thrown if either

                Set numerator coefficients.

                -An StkError can be thrown if coefficient vector is empty. Any previously set denominator coefficients are left unaffected. Note that the default constructor sets the single denominator coefficient a[0] to 1.0. The internal state of the filter is cleared.

                -

                - +

                +

                - + - - - + + + + + + + + + + + + -
                void Filter::setDenominator void Filter::setDenominator std::vector< StkFloat > &  aCoefficients  )  aCoefficients,
                bool  clearState = false
                - +
                +An StkError can be thrown if the coefficient vector is empty or if the a[0] coefficient is equal to zero. Previously set numerator coefficients are unaffected unless a[0] is not equal to 1, in which case all coeffcients are normalized by a[0]. Note that the default constructor sets the single numerator coefficient b[0] to 1.0. The internal state of the filter is not cleared unless the clearState flag is true.
                  @@ -229,28 +243,27 @@ An StkError can be thrown if coeffic

                Set denominator coefficients.

                -An StkError can be thrown if the coefficient vector is empty or if the a[0] coefficient is equal to zero. Previously set numerator coefficients are unaffected unless a[0] is not equal to 1, in which case all coeffcients are normalized by a[0]. Note that the default constructor sets the single numerator coefficient b[0] to 1.0. The internal state of the filter is cleared.

                -

                - +

                +

                - + -
                virtual void Filter::setGain virtual void Filter::setGain StkFloat  gain  )  [virtual]
                - +
                  @@ -260,39 +273,38 @@ An StkError can be thrown if the coe

                Set the filter gain.

                -The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0. +The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0.

                Reimplemented in BiQuad, OnePole, OneZero, PoleZero, TwoPole, and TwoZero.

                -

                - +

                +

                - + - - + + - + - + -
                virtual StkFrames& Filter::tick virtual StkFrames& Filter::tick StkFrames frames,
                unsigned int  channel = 1 channel = 0
                [virtual]
                - +
                +Reimplemented in BiQuad, Delay, OnePole, OneZero, PoleZero, TwoPole, and TwoZero.
                  @@ -302,9 +314,9 @@ Reimplemented in BiQuad, Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

                -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. +The channel argument should be zero or greater (the first channel is specified by 0). An StkError will be thrown if the channel argument is equal to or greater than the number of channels in the StkFrames object.

                -Reimplemented in BiQuad, Delay, DelayA, DelayL, FormSwep, OnePole, OneZero, PoleZero, TwoPole, and TwoZero.


                The documentation for this class was generated from the following file:
                  @@ -313,7 +325,7 @@ Reimplemented in BiQuad, The Synthesis ToolKit in C++ (STK) - ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. + ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved. diff --git a/doc/html/classFilter__coll__graph.map b/doc/html/classFilter__coll__graph.map new file mode 100644 index 0000000..4484d54 --- /dev/null +++ b/doc/html/classFilter__coll__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 8,16 45,37 diff --git a/doc/html/classFilter__coll__graph.md5 b/doc/html/classFilter__coll__graph.md5 new file mode 100644 index 0000000..d6b4ba4 --- /dev/null +++ b/doc/html/classFilter__coll__graph.md5 @@ -0,0 +1 @@ +a60893e0592dcd8080eca04669cea996 \ No newline at end of file diff --git a/doc/html/classFilter__coll__graph.png b/doc/html/classFilter__coll__graph.png new file mode 100644 index 0000000..ccd251b Binary files /dev/null and b/doc/html/classFilter__coll__graph.png differ diff --git a/doc/html/classFilter__inherit__graph.map b/doc/html/classFilter__inherit__graph.map new file mode 100644 index 0000000..49b739e --- /dev/null +++ b/doc/html/classFilter__inherit__graph.map @@ -0,0 +1,12 @@ +base referer +rect $classBiQuad.html 25,155 79,176 +rect $classDelay.html 111,155 153,176 +rect $classOnePole.html 177,155 239,176 +rect $classOneZero.html 263,155 327,176 +rect $classPoleZero.html 351,155 415,176 +rect $classTwoPole.html 439,155 500,176 +rect $classTwoZero.html 524,155 588,176 +rect $classStk.html 276,16 313,38 +rect $classFormSwep.html 7,224 81,246 +rect $classDelayA.html 105,224 159,246 +rect $classDelayL.html 183,224 233,246 diff --git a/doc/html/classFilter__inherit__graph.md5 b/doc/html/classFilter__inherit__graph.md5 new file mode 100644 index 0000000..511714d --- /dev/null +++ b/doc/html/classFilter__inherit__graph.md5 @@ -0,0 +1 @@ +847b2d9062040b69260742452c11ed0a \ No newline at end of file diff --git a/doc/html/classFilter__inherit__graph.png b/doc/html/classFilter__inherit__graph.png new file mode 100644 index 0000000..4d093e4 Binary files /dev/null and b/doc/html/classFilter__inherit__graph.png differ diff --git a/doc/html/classFlute-members.html b/doc/html/classFlute-members.html index 3bd6916..04eb3f4 100644 --- a/doc/html/classFlute-members.html +++ b/doc/html/classFlute-members.html @@ -8,12 +8,12 @@    

                  Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                  - -

                  Flute Member List

                  This is the complete list of members for Flute, including all inherited members. + +

                  Flute Member List

                  This is the complete list of members for Flute, including all inherited members.

                  - + - + @@ -22,6 +22,7 @@ + @@ -30,6 +31,7 @@ + @@ -43,9 +45,8 @@ - - - + + @@ -53,7 +54,7 @@
                  clear()Flute
                  controlChange(int number, StkFloat value)Flute [virtual]
                  controlChange(int number, StkFloat value)Flute [virtual]
                  Flute(StkFloat lowestFrequency)Flute
                  handleError(const char *message, StkError::Type type)Stk [static]
                  handleError(const char *message, StkError::Type type)Stk [static]
                  handleError(std::string message, StkError::Type type)Stk [static]
                  handleError(StkError::Type type)Stk [protected]
                  Instrmnt()Instrmnt
                  lastOutRight() const Instrmnt
                  noteOff(StkFloat amplitude)Flute [virtual]
                  noteOn(StkFloat frequency, StkFloat amplitude)Flute [virtual]
                  printErrors(bool status)Stk [inline, static]
                  rawwavePath(void)Stk [inline, static]
                  sampleRate(void)Stk [inline, static]
                  setEndReflection(StkFloat coefficient)Flute
                  setJetReflection(StkFloat coefficient)Flute
                  setRawwavePath(std::string path)Stk [static]
                  setSampleRate(StkFloat rate)Stk [inline, static]
                  showWarnings(bool status)Stk [inline, static]
                  sleep(unsigned long milliseconds)Stk [static]
                  startBlowing(StkFloat amplitude, StkFloat rate)Flute
                  Stk(void)Stk [protected]
                  swap16(unsigned char *ptr)Stk [static]
                  swap32(unsigned char *ptr)Stk [static]
                  swap64(unsigned char *ptr)Stk [static]
                  tick()Flute [virtual]
                  tick(StkFloat *vector, unsigned int vectorSize)Flute [virtual]
                  tick(StkFrames &frames, unsigned int channel=1)Flute [virtual]
                  tick(void)Instrmnt
                  tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                  ~Flute()Flute
                  ~Instrmnt()Instrmnt [virtual]
                  ~Stk(void)Stk [protected, virtual]
                  - +
                  The Synthesis ToolKit in C++ (STK)
                  ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                  ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                  diff --git a/doc/html/classFlute.html b/doc/html/classFlute.html index be0722e..f0daca0 100644 --- a/doc/html/classFlute.html +++ b/doc/html/classFlute.html @@ -8,8 +8,8 @@    

                  Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                  - -

                  Flute Class Reference

                  #include <Flute.h> + +

                  Flute Class Reference

                  #include <Flute.h>

                  Inheritance diagram for Flute:

                  @@ -25,92 +25,78 @@ This is a digital waveguide model, making its use possibly subject to patents he Control Change Numbers:
                  • Jet Delay = 2
                  • Noise Gain = 4
                  • Vibrato Frequency = 11
                  • Vibrato Gain = 1
                  • Breath Pressure = 128

                  -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                  - -

                  -Definition at line 37 of file Flute.h. +
                  - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

                  Public Member Functions

                   Flute (StkFloat lowestFrequency)

                  Public Member Functions

                   Flute (StkFloat lowestFrequency)
                   Class constructor, taking the lowest desired playing frequency.

                  ~Flute ()
                   Class constructor, taking the lowest desired playing frequency.
                  ~Flute ()
                   Class destructor.

                  -void clear ()
                   Class destructor.
                  +void clear ()
                   Reset and clear all internal state.

                  -void setFrequency (StkFloat frequency)
                   Reset and clear all internal state.
                  +void setFrequency (StkFloat frequency)
                   Set instrument parameters for a particular frequency.

                  -void setJetReflection (StkFloat coefficient)
                   Set instrument parameters for a particular frequency.
                  +void setJetReflection (StkFloat coefficient)
                   Set the reflection coefficient for the jet delay (-1.0 - 1.0).

                  -void setEndReflection (StkFloat coefficient)
                   Set the reflection coefficient for the jet delay (-1.0 - 1.0).
                  +void setEndReflection (StkFloat coefficient)
                   Set the reflection coefficient for the air column delay (-1.0 - 1.0).

                  -void setJetDelay (StkFloat aRatio)
                   Set the reflection coefficient for the air column delay (-1.0 - 1.0).
                  +void setJetDelay (StkFloat aRatio)
                   Set the length of the jet delay in terms of a ratio of jet delay to air column delay lengths.

                  -void startBlowing (StkFloat amplitude, StkFloat rate)
                   Set the length of the jet delay in terms of a ratio of jet delay to air column delay lengths.
                  +void startBlowing (StkFloat amplitude, StkFloat rate)
                   Apply breath velocity to instrument with given amplitude and rate of increase.

                  -void stopBlowing (StkFloat rate)
                   Apply breath velocity to instrument with given amplitude and rate of increase.
                  +void stopBlowing (StkFloat rate)
                   Decrease breath velocity with given rate of decrease.

                  -void noteOn (StkFloat frequency, StkFloat amplitude)
                   Decrease breath velocity with given rate of decrease.
                  +void noteOn (StkFloat frequency, StkFloat amplitude)
                   Start a note with the given frequency and amplitude.

                  -void noteOff (StkFloat amplitude)
                   Start a note with the given frequency and amplitude.
                  +void noteOff (StkFloat amplitude)
                   Stop a note with the given amplitude (speed of decay).

                  -StkFloat tick ()
                   Stop a note with the given amplitude (speed of decay).
                  +void controlChange (int number, StkFloat value)
                   Compute one output sample.

                  -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                   Computer vectorSize outputs and return them in vector.

                  StkFramestick (StkFrames &frames, unsigned int channel=1)
                   Fill a channel of the StkFrames object with computed outputs.

                  -void controlChange (int number, StkFloat value)
                   Perform the control change specified by number and value (0.0 - 128.0).

                   Perform the control change specified by number and value (0.0 - 128.0).


                  Constructor & Destructor Documentation

                  -

                  - +

                  +

                  - + -
                  Flute::Flute Flute::Flute StkFloat  lowestFrequency  ) 
                  - +
                  - -
                    @@ -120,50 +106,7 @@ void StkError will be thrown if the rawwave path is incorrectly set.
                  -


                  Member Function Documentation

                  -

                  - - - - -
                  - - - - - - - - - - - - - - - - - - - -
                  StkFrames& Flute::tick StkFrames frames,
                  unsigned int  channel = 1
                  [virtual]
                  -
                  - - - - +An StkError will be thrown if the rawwave path is incorrectly set.
                  -   - - -

                  -Fill a channel of the StkFrames object with computed outputs. -

                  -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                  -Reimplemented from Instrmnt.


                  The documentation for this class was generated from the following file:
                    @@ -172,7 +115,7 @@ Reimplemented from Instrmnt. - +
                    The Synthesis ToolKit in C++ (STK)
                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                    diff --git a/doc/html/classFlute__coll__graph.map b/doc/html/classFlute__coll__graph.map new file mode 100644 index 0000000..76fb617 --- /dev/null +++ b/doc/html/classFlute__coll__graph.map @@ -0,0 +1,16 @@ +base referer +rect $classInstrmnt.html 7,134 63,155 +rect $classStk.html 244,16 281,38 +rect $classGenerator.html 132,88 201,110 +rect $classFunction.html 232,88 293,110 +rect $classFilter.html 416,88 456,110 +rect $classWvIn.html 539,88 579,110 +rect $classADSR.html 67,270 115,291 +rect $classEnvelope.html 65,179 129,200 +rect $classNoise.html 144,224 187,246 +rect $classJetTable.html 232,224 293,246 +rect $classPoleZero.html 361,224 425,246 +rect $classOnePole.html 473,270 535,291 +rect $classDelay.html 525,179 568,200 +rect $classWaveLoop.html 611,179 685,200 +rect $classDelayL.html 559,270 609,291 diff --git a/doc/html/classFlute__coll__graph.md5 b/doc/html/classFlute__coll__graph.md5 new file mode 100644 index 0000000..49026b1 --- /dev/null +++ b/doc/html/classFlute__coll__graph.md5 @@ -0,0 +1 @@ +08aba776bda3a35dcb5d9e6b5617f008 \ No newline at end of file diff --git a/doc/html/classFlute__coll__graph.png b/doc/html/classFlute__coll__graph.png new file mode 100644 index 0000000..73b2da3 Binary files /dev/null and b/doc/html/classFlute__coll__graph.png differ diff --git a/doc/html/classFlute__inherit__graph.map b/doc/html/classFlute__inherit__graph.map new file mode 100644 index 0000000..ba86dfe --- /dev/null +++ b/doc/html/classFlute__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 7,85 63,106 +rect $classStk.html 16,16 53,37 diff --git a/doc/html/classFlute__inherit__graph.md5 b/doc/html/classFlute__inherit__graph.md5 new file mode 100644 index 0000000..a423c85 --- /dev/null +++ b/doc/html/classFlute__inherit__graph.md5 @@ -0,0 +1 @@ +1d2df6559e3512123f03d5efa289a17f \ No newline at end of file diff --git a/doc/html/classFlute__inherit__graph.png b/doc/html/classFlute__inherit__graph.png new file mode 100644 index 0000000..e04eb8e Binary files /dev/null and b/doc/html/classFlute__inherit__graph.png differ diff --git a/doc/html/classFormSwep-members.html b/doc/html/classFormSwep-members.html index 49dbc71..490c4e3 100644 --- a/doc/html/classFormSwep-members.html +++ b/doc/html/classFormSwep-members.html @@ -8,18 +8,19 @@    

                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                    - -

                    FormSwep Member List

                    This is the complete list of members for FormSwep, including all inherited members. + +

                    FormSwep Member List

                    This is the complete list of members for FormSwep, including all inherited members.

                    - + + @@ -27,12 +28,12 @@ - - + + - + @@ -41,6 +42,7 @@ + @@ -52,9 +54,8 @@ - - - + + @@ -63,7 +64,7 @@
                    BiQuad()BiQuad
                    clear(void)BiQuad
                    Filter(void)Filter [protected]
                    Filter(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
                    FormSwep()FormSwep
                    getGain(void) const BiQuad [virtual]
                    handleError(const char *message, StkError::Type type)Stk [protected, static]
                    handleError(const char *message, StkError::Type type)Stk [protected, static]
                    handleError(std::string message, StkError::Type type)Stk [protected, static]
                    handleError(StkError::Type type)Stk [protected]
                    lastOut(void) const BiQuad [virtual]
                    printErrors(bool status)Stk [inline, protected, static]
                    rawwavePath(void)Stk [inline, protected, static]
                    sampleRate(void)Stk [inline, protected, static]
                    setA1(StkFloat a1)BiQuad
                    setB0(StkFloat b0)BiQuad
                    setB1(StkFloat b1)BiQuad
                    setB2(StkFloat b2)BiQuad
                    setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
                    setDenominator(std::vector< StkFloat > &aCoefficients)Filter [protected]
                    setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
                    setDenominator(std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
                    setEqualGainZeroes()BiQuad
                    setGain(StkFloat gain)BiQuad [virtual]
                    setNotch(StkFloat frequency, StkFloat radius)BiQuad
                    setNumerator(std::vector< StkFloat > &bCoefficients)Filter [protected]
                    setNumerator(std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
                    setRawwavePath(std::string path)Stk [protected, static]
                    setResonance(StkFloat frequency, StkFloat radius)FormSwep
                    BiQuad::setResonance(StkFloat frequency, StkFloat radius, bool normalize=false)BiQuad
                    setSweepRate(StkFloat rate)FormSwep
                    setSweepTime(StkFloat time)FormSwep
                    setTargets(StkFloat frequency, StkFloat radius, StkFloat gain=1.0)FormSwep
                    showWarnings(bool status)Stk [inline, protected, static]
                    sleep(unsigned long milliseconds)Stk [protected, static]
                    Stk(void)Stk [protected]
                    STK_FLOAT32Stk [protected, static]
                    swap16(unsigned char *ptr)Stk [protected, static]
                    swap32(unsigned char *ptr)Stk [protected, static]
                    swap64(unsigned char *ptr)Stk [protected, static]
                    tick(StkFloat sample)FormSwep [virtual]
                    tick(StkFloat *vector, unsigned int vectorSize)FormSwep [virtual]
                    tick(StkFrames &frames, unsigned int channel=1)FormSwep [virtual]
                    tick(StkFloat sample)BiQuad [virtual]
                    tick(StkFrames &frames, unsigned int channel=0)BiQuad [virtual]
                    ~BiQuad()BiQuad [virtual]
                    ~Filter(void)Filter [protected, virtual]
                    ~FormSwep()FormSwep
                    - +
                    The Synthesis ToolKit in C++ (STK)
                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                    diff --git a/doc/html/classFormSwep.html b/doc/html/classFormSwep.html index d164c23..3c7c49e 100644 --- a/doc/html/classFormSwep.html +++ b/doc/html/classFormSwep.html @@ -8,8 +8,8 @@    

                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                    - -

                    FormSwep Class Reference

                    #include <FormSwep.h> + +

                    FormSwep Class Reference

                    #include <FormSwep.h>

                    Inheritance diagram for FormSwep:

                    @@ -22,79 +22,65 @@ STK sweepable formant filter class.

                    This public BiQuad filter subclass implements a formant (resonance) which can be "swept" over time from one frequency setting to another. It provides methods for controlling the sweep rate and target frequency.

                    -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                    - -

                    -Definition at line 20 of file FormSwep.h. +
                    - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

                    Public Member Functions

                    FormSwep ()

                    Public Member Functions

                    FormSwep ()
                     Default constructor creates a second-order pass-through filter.

                    ~FormSwep ()
                     Default constructor creates a second-order pass-through filter.
                    ~FormSwep ()
                     Class destructor.

                    void setResonance (StkFloat frequency, StkFloat radius)
                     Class destructor.
                    void setResonance (StkFloat frequency, StkFloat radius)
                     Sets the filter coefficients for a resonance at frequency (in Hz).

                    -void setStates (StkFloat frequency, StkFloat radius, StkFloat gain=1.0)
                     Sets the filter coefficients for a resonance at frequency (in Hz).
                    +void setStates (StkFloat frequency, StkFloat radius, StkFloat gain=1.0)
                     Set both the current and target resonance parameters.

                    -void setTargets (StkFloat frequency, StkFloat radius, StkFloat gain=1.0)
                     Set both the current and target resonance parameters.
                    +void setTargets (StkFloat frequency, StkFloat radius, StkFloat gain=1.0)
                     Set target resonance parameters.

                    void setSweepRate (StkFloat rate)
                     Set target resonance parameters.
                    void setSweepRate (StkFloat rate)
                     Set the sweep rate (between 0.0 - 1.0).

                    void setSweepTime (StkFloat time)
                     Set the sweep rate (between 0.0 - 1.0).
                    void setSweepTime (StkFloat time)
                     Set the sweep rate in terms of a time value in seconds.

                    -StkFloat tick (StkFloat sample)
                     Input one sample to the filter and return one output.

                    -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                     Input vectorSize samples to the filter and return an equal number of outputs in vector.

                    StkFramestick (StkFrames &frames, unsigned int channel=1)
                     Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

                     Set the sweep rate in terms of a time value in seconds.


                    Member Function Documentation

                    -

                    - +

                    +

                    - + - - + + - + -
                    void FormSwep::setResonance void FormSwep::setResonance StkFloat  frequency,
                    StkFloat  radius
                    - +
                    - +
                      @@ -104,28 +90,27 @@ StkFloat * 

                    - +

                    +

                    - + -
                    void FormSwep::setSweepRate void FormSwep::setSweepRate StkFloat  rate  ) 
                    - +
                    +The formant parameters are varied in increments of the sweep rate between their current and target values. A sweep rate of 1.0 will produce an immediate change in resonance parameters from their current values to the target values. A sweep rate of 0.0 will produce no change in resonance parameters.
                      @@ -135,28 +120,27 @@ This method determines the filter coefficients corresponding to two complex-conj

                    Set the sweep rate (between 0.0 - 1.0).

                    -The formant parameters are varied in increments of the sweep rate between their current and target values. A sweep rate of 1.0 will produce an immediate change in resonance parameters from their current values to the target values. A sweep rate of 0.0 will produce no change in resonance parameters.

                    -

                    - +

                    +

                    - + -
                    void FormSwep::setSweepTime void FormSwep::setSweepTime StkFloat  time  ) 
                    - +
                    - -
                      @@ -166,49 +150,7 @@ The formant parameters are varied in increments of the sweep rate between their

                    Set the sweep rate in terms of a time value in seconds.

                    -This method adjusts the sweep rate based on a given time for the formant parameters to reach their target values.

                    -

                    - - - - -
                    - - - - - - - - - - - - - - - - - - - -
                    StkFrames& FormSwep::tick StkFrames frames,
                    unsigned int  channel = 1
                    [virtual]
                    -
                    - - - - +This method adjusts the sweep rate based on a given time for the formant parameters to reach their target values.
                    -   - - -

                    -Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs. -

                    -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                    -Reimplemented from BiQuad.


                    The documentation for this class was generated from the following file:
                      @@ -217,7 +159,7 @@ Reimplemented from BiQuad.
                    The Synthesis ToolKit in C++ (STK)
                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                    diff --git a/doc/html/classFormSwep__coll__graph.map b/doc/html/classFormSwep__coll__graph.map new file mode 100644 index 0000000..f371245 --- /dev/null +++ b/doc/html/classFormSwep__coll__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classBiQuad.html 17,155 71,176 +rect $classFilter.html 24,86 64,107 +rect $classStk.html 25,16 63,38 diff --git a/doc/html/classFormSwep__coll__graph.md5 b/doc/html/classFormSwep__coll__graph.md5 new file mode 100644 index 0000000..9062859 --- /dev/null +++ b/doc/html/classFormSwep__coll__graph.md5 @@ -0,0 +1 @@ +e824ad78e4593aba1977c88f1c30c0b1 \ No newline at end of file diff --git a/doc/html/classFormSwep__coll__graph.png b/doc/html/classFormSwep__coll__graph.png new file mode 100644 index 0000000..c83c7ae Binary files /dev/null and b/doc/html/classFormSwep__coll__graph.png differ diff --git a/doc/html/classFormSwep__inherit__graph.map b/doc/html/classFormSwep__inherit__graph.map new file mode 100644 index 0000000..f371245 --- /dev/null +++ b/doc/html/classFormSwep__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classBiQuad.html 17,155 71,176 +rect $classFilter.html 24,86 64,107 +rect $classStk.html 25,16 63,38 diff --git a/doc/html/classFormSwep__inherit__graph.md5 b/doc/html/classFormSwep__inherit__graph.md5 new file mode 100644 index 0000000..a70b1a5 --- /dev/null +++ b/doc/html/classFormSwep__inherit__graph.md5 @@ -0,0 +1 @@ +8c54e3200bd36146bce8db2cfa9e1df7 \ No newline at end of file diff --git a/doc/html/classFormSwep__inherit__graph.png b/doc/html/classFormSwep__inherit__graph.png new file mode 100644 index 0000000..c83c7ae Binary files /dev/null and b/doc/html/classFormSwep__inherit__graph.png differ diff --git a/doc/html/classFunction-members.html b/doc/html/classFunction-members.html index 1943942..bb9cd77 100644 --- a/doc/html/classFunction-members.html +++ b/doc/html/classFunction-members.html @@ -8,17 +8,19 @@    

                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                    - -

                    Function Member List

                    This is the complete list of members for Function, including all inherited members. + +

                    Function Member List

                    This is the complete list of members for Function, including all inherited members.

                    - + + + @@ -30,16 +32,15 @@ - - - + +
                    Function()Function
                    handleError(const char *message, StkError::Type type)Stk [static]
                    handleError(const char *message, StkError::Type type)Stk [static]
                    handleError(std::string message, StkError::Type type)Stk [static]
                    handleError(StkError::Type type)Stk [protected]
                    lastOut() const Function [inline, virtual]
                    printErrors(bool status)Stk [inline, static]
                    rawwavePath(void)Stk [inline, static]
                    sampleRate(void)Stk [inline, static]
                    setRawwavePath(std::string path)Stk [static]
                    setSampleRate(StkFloat rate)Stk [inline, static]
                    showWarnings(bool status)Stk [inline, static]
                    sleep(unsigned long milliseconds)Stk [static]
                    Stk(void)Stk [protected]
                    STK_FLOAT32Stk [static]
                    swap16(unsigned char *ptr)Stk [static]
                    swap32(unsigned char *ptr)Stk [static]
                    swap64(unsigned char *ptr)Stk [static]
                    tick(StkFloat input)=0Function [pure virtual]
                    tick(StkFloat *vector, unsigned int vectorSize)Function [virtual]
                    tick(StkFrames &frames, unsigned int channel=1)Function [virtual]
                    tick(StkFloat input)Function
                    tick(StkFrames &frames, unsigned int channel=0)Function [virtual]
                    ~Function()Function [virtual]
                    ~Stk(void)Stk [protected, virtual]

                    - +
                    The Synthesis ToolKit in C++ (STK)
                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                    diff --git a/doc/html/classFunction.html b/doc/html/classFunction.html index 67dab77..44b1227 100644 --- a/doc/html/classFunction.html +++ b/doc/html/classFunction.html @@ -8,82 +8,74 @@    

                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                    - -

                    Function Class Reference

                    #include <Function.h> + +

                    Function Class Reference

                    #include <Function.h>

                    Inheritance diagram for Function:

                    -Stk +Stk BowTable JetTable ReedTable -Table List of all members.

                    Detailed Description

                    STK abstract function parent class.

                    This class provides common functionality for STK classes which implement tables or other types of input to output function mappings.

                    -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                    - -

                    -Definition at line 18 of file Function.h. +
                    - - + + - - + + - - + + - - + + - - + + - - - - +

                    Public Member Functions

                    Function ()

                    Public Member Functions

                    Function ()
                     Class constructor.

                    -virtual ~Function ()
                     Class constructor.
                    +virtual ~Function ()
                     Class destructor.

                    -virtual StkFloat lastOut () const
                     Class destructor.
                    +virtual StkFloat lastOut () const
                     Return the last output value.

                    -virtual StkFloat tick (StkFloat input)=0
                     Return the last output value.
                    +StkFloat tick (StkFloat input)
                     Abstract tick function ... must be implemented in subclasses.

                    -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                     Take one sample input and compute one sample of output.
                    virtual StkFramestick (StkFrames &frames, unsigned int channel=0)
                     Take vectorSize inputs from vector and replace them with corresponding outputs.

                    virtual StkFramestick (StkFrames &frames, unsigned int channel=1)
                     Take a channel of the StkFrames object as inputs to the function and replace with corresponding outputs.

                     Take a channel of the StkFrames object as inputs to the function and replace with corresponding outputs.


                    Member Function Documentation

                    -

                    - +

                    +

                    - + - - + + - + - + -
                    virtual StkFrames& Function::tick virtual StkFrames& Function::tick StkFrames frames,
                    unsigned int  channel = 1 channel = 0
                    [virtual]
                    - +
                    +The channel argument should be zero or greater (the first channel is specified by 0). An StkError will be thrown if the channel argument is equal to or greater than the number of channels in the StkFrames object.
                      @@ -93,9 +85,7 @@ virtual StkFloat * StkFrames object as inputs to the function and replace with corresponding outputs.

                    -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                    -Reimplemented in BowTable, JetTable, ReedTable, and Table.


                    The documentation for this class was generated from the following file:
                      @@ -104,7 +94,7 @@ Reimplemented in BowTable, The Synthesis ToolKit in C++ (STK) - ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. + ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved. diff --git a/doc/html/classFunction.png b/doc/html/classFunction.png index fea7eed..7b24105 100644 Binary files a/doc/html/classFunction.png and b/doc/html/classFunction.png differ diff --git a/doc/html/classFunction__coll__graph.map b/doc/html/classFunction__coll__graph.map new file mode 100644 index 0000000..1730383 --- /dev/null +++ b/doc/html/classFunction__coll__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 19,16 56,37 diff --git a/doc/html/classFunction__coll__graph.md5 b/doc/html/classFunction__coll__graph.md5 new file mode 100644 index 0000000..d1eb66d --- /dev/null +++ b/doc/html/classFunction__coll__graph.md5 @@ -0,0 +1 @@ +121f008381024ab69ce2a8576a76b9eb \ No newline at end of file diff --git a/doc/html/classFunction__coll__graph.png b/doc/html/classFunction__coll__graph.png new file mode 100644 index 0000000..0d10586 Binary files /dev/null and b/doc/html/classFunction__coll__graph.png differ diff --git a/doc/html/classFunction__inherit__graph.map b/doc/html/classFunction__inherit__graph.map new file mode 100644 index 0000000..fae4912 --- /dev/null +++ b/doc/html/classFunction__inherit__graph.map @@ -0,0 +1,6 @@ +base referer +rect $classBowTable.html 7,154 76,176 +rect $classJetTable.html 100,154 161,176 +rect $classReedTable.html 185,154 260,176 +rect $classTable.html 284,154 329,176 +rect $classStk.html 157,16 195,37 diff --git a/doc/html/classFunction__inherit__graph.md5 b/doc/html/classFunction__inherit__graph.md5 new file mode 100644 index 0000000..b4ab18b --- /dev/null +++ b/doc/html/classFunction__inherit__graph.md5 @@ -0,0 +1 @@ +424e298f093883d0b0ab1773798b818b \ No newline at end of file diff --git a/doc/html/classFunction__inherit__graph.png b/doc/html/classFunction__inherit__graph.png new file mode 100644 index 0000000..436e3a6 Binary files /dev/null and b/doc/html/classFunction__inherit__graph.png differ diff --git a/doc/html/classGenerator-members.html b/doc/html/classGenerator-members.html index 0758d08..3f96e32 100644 --- a/doc/html/classGenerator-members.html +++ b/doc/html/classGenerator-members.html @@ -8,17 +8,19 @@    

                      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                      - -

                      Generator Member List

                      This is the complete list of members for Generator, including all inherited members. - - + +

                      Generator Member List

                      This is the complete list of members for Generator, including all inherited members.

                      Generator()Generator
                      handleError(const char *message, StkError::Type type)Stk [static]
                      + + - + + + @@ -30,16 +32,15 @@ - - - - + + +
                      Generator(void)Generator
                      handleError(const char *message, StkError::Type type)Stk [static]
                      handleError(std::string message, StkError::Type type)Stk [static]
                      handleError(StkError::Type type)Stk [protected]
                      lastOut() const Generator [inline, virtual]
                      lastOut(void) const Generator [inline, virtual]
                      printErrors(bool status)Stk [inline, static]
                      rawwavePath(void)Stk [inline, static]
                      sampleRate(void)Stk [inline, static]
                      setRawwavePath(std::string path)Stk [static]
                      setSampleRate(StkFloat rate)Stk [inline, static]
                      showWarnings(bool status)Stk [inline, static]
                      sleep(unsigned long milliseconds)Stk [static]
                      Stk(void)Stk [protected]
                      STK_FLOAT32Stk [static]
                      swap16(unsigned char *ptr)Stk [static]
                      swap32(unsigned char *ptr)Stk [static]
                      swap64(unsigned char *ptr)Stk [static]
                      tick(void)=0Generator [pure virtual]
                      tick(StkFloat *vector, unsigned int vectorSize)Generator [virtual]
                      tick(StkFrames &frames, unsigned int channel=1)Generator [virtual]
                      ~Generator()Generator [virtual]
                      tick(void)Generator
                      tick(StkFrames &frames, unsigned int channel=0)Generator
                      ~Generator(void)Generator [virtual]
                      ~Stk(void)Stk [protected, virtual]

                      - +
                      The Synthesis ToolKit in C++ (STK)
                      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                      diff --git a/doc/html/classGenerator.html b/doc/html/classGenerator.html index 3dfc35e..3641dd5 100644 --- a/doc/html/classGenerator.html +++ b/doc/html/classGenerator.html @@ -8,85 +8,80 @@    

                      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                      - -

                      Generator Class Reference

                      #include <Generator.h> + +

                      Generator Class Reference

                      #include <Generator.h>

                      Inheritance diagram for Generator:

                      -Stk -Envelope -Modulate -Noise -SingWave -ADSR -Asymp -SubNoise +Stk +Blit +BlitSaw +BlitSquare +Envelope +Granulate +Modulate +Noise +SineWave +SingWave List of all members.

                      Detailed Description

                      STK abstract unit generator parent class.

                      -This class provides common functionality for STK unit generator source subclasses.

                      -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +This class provides common functionality for STK unit generator sample-source subclasses.

                      +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                      - -

                      -Definition at line 17 of file Generator.h. +
                      - - + + - - + + - - + + - - + + - - + + - - - - +

                      Public Member Functions

                      Generator ()

                      Public Member Functions

                      Generator (void)
                       Class constructor.

                      -virtual ~Generator ()
                       Class constructor.
                      +virtual ~Generator (void)
                       Class destructor.

                      -virtual StkFloat lastOut () const
                       Class destructor.
                      +virtual StkFloat lastOut (void) const
                       Return the last output value.

                      -virtual StkFloat tick (void)=0
                       Return the last output value.
                      +StkFloat tick (void)
                       Abstract tick function ... must be implemented in subclasses.

                      -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                       Compute one sample and output.
                      StkFramestick (StkFrames &frames, unsigned int channel=0)
                       Compute vectorSize outputs and return them in vector.

                      virtual StkFramestick (StkFrames &frames, unsigned int channel=1)
                       Fill a channel of the StkFrames object with computed outputs.

                       Fill a channel of the StkFrames object with computed outputs.


                      Member Function Documentation

                      -

                      - +

                      +

                      - + - - + + - + - + - + -
                      virtual StkFrames& Generator::tick StkFrames& Generator::tick StkFrames frames,
                      unsigned int  channel = 1 channel = 0
                      [virtual]
                      - +
                      +The channel argument should be zero or greater (the first channel is specified by 0). An StkError will be thrown if the channel argument is equal to or greater than the number of channels in the StkFrames object.
                        @@ -96,9 +91,7 @@ virtual StkFloat * StkFrames object with computed outputs.

                      -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                      -Reimplemented in ADSR, Asymp, Envelope, Modulate, Noise, SingWave, and SubNoise.


                      The documentation for this class was generated from the following file:
                        @@ -107,7 +100,7 @@ Reimplemented in ADSR, The Synthesis ToolKit in C++ (STK) - ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. + ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved. diff --git a/doc/html/classGenerator.png b/doc/html/classGenerator.png index bef61fe..f04d713 100644 Binary files a/doc/html/classGenerator.png and b/doc/html/classGenerator.png differ diff --git a/doc/html/classGenerator__coll__graph.map b/doc/html/classGenerator__coll__graph.map new file mode 100644 index 0000000..7836340 --- /dev/null +++ b/doc/html/classGenerator__coll__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 23,16 60,37 diff --git a/doc/html/classGenerator__coll__graph.md5 b/doc/html/classGenerator__coll__graph.md5 new file mode 100644 index 0000000..4710104 --- /dev/null +++ b/doc/html/classGenerator__coll__graph.md5 @@ -0,0 +1 @@ +d8f053f762768c211e03cb0c958bc9e9 \ No newline at end of file diff --git a/doc/html/classGenerator__coll__graph.png b/doc/html/classGenerator__coll__graph.png new file mode 100644 index 0000000..b907444 Binary files /dev/null and b/doc/html/classGenerator__coll__graph.png differ diff --git a/doc/html/classGenerator__inherit__graph.map b/doc/html/classGenerator__inherit__graph.map new file mode 100644 index 0000000..d5caa5a --- /dev/null +++ b/doc/html/classGenerator__inherit__graph.map @@ -0,0 +1,9 @@ +base referer +rect $classEnvelope.html 36,155 100,176 +rect $classModulate.html 124,155 188,176 +rect $classNoise.html 212,155 255,176 +rect $classSingWave.html 279,155 348,176 +rect $classStk.html 176,16 213,38 +rect $classADSR.html 7,224 55,246 +rect $classAsymp.html 79,224 132,246 +rect $classSubNoise.html 200,224 267,246 diff --git a/doc/html/classGenerator__inherit__graph.md5 b/doc/html/classGenerator__inherit__graph.md5 new file mode 100644 index 0000000..21f96ee --- /dev/null +++ b/doc/html/classGenerator__inherit__graph.md5 @@ -0,0 +1 @@ +25c455c649710f38b617d2d47de71bd2 \ No newline at end of file diff --git a/doc/html/classGenerator__inherit__graph.png b/doc/html/classGenerator__inherit__graph.png new file mode 100644 index 0000000..e5ba969 Binary files /dev/null and b/doc/html/classGenerator__inherit__graph.png differ diff --git a/doc/html/classGranulate-members.html b/doc/html/classGranulate-members.html new file mode 100644 index 0000000..5ede1a7 --- /dev/null +++ b/doc/html/classGranulate-members.html @@ -0,0 +1,56 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                        +    

                        +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                        +
                        + +

                        Granulate Member List

                        This is the complete list of members for Granulate, including all inherited members.

                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                        Generator(void)Generator
                        Granulate(void)Granulate
                        Granulate(unsigned int nVoices, std::string fileName, bool typeRaw=false)Granulate
                        handleError(const char *message, StkError::Type type)Stk [static]
                        handleError(std::string message, StkError::Type type)Stk [static]
                        handleError(StkError::Type type)Stk [protected]
                        lastOut(void) const Generator [inline, virtual]
                        openFile(std::string fileName, bool typeRaw=false)Granulate
                        printErrors(bool status)Stk [inline, static]
                        rawwavePath(void)Stk [inline, static]
                        reset()Granulate
                        sampleRate(void)Stk [inline, static]
                        setGrainParameters(unsigned int duration=30, unsigned int rampPercent=50, int offset=0, unsigned int delay=0)Granulate
                        setRandomFactor(StkFloat randomness=0.1)Granulate
                        setRawwavePath(std::string path)Stk [static]
                        setSampleRate(StkFloat rate)Stk [inline, static]
                        setStretch(unsigned int stretchFactor=1)Granulate
                        setVoices(unsigned int nVoices=1)Granulate
                        showWarnings(bool status)Stk [inline, static]
                        sleep(unsigned long milliseconds)Stk [static]
                        Stk(void)Stk [protected]
                        STK_FLOAT32Stk [static]
                        STK_FLOAT64Stk [static]
                        STK_SINT16Stk [static]
                        STK_SINT24Stk [static]
                        STK_SINT32Stk [static]
                        STK_SINT8Stk [static]
                        swap16(unsigned char *ptr)Stk [static]
                        swap32(unsigned char *ptr)Stk [static]
                        swap64(unsigned char *ptr)Stk [static]
                        tick(void)Generator
                        tick(StkFrames &frames, unsigned int channel=0)Generator
                        ~Generator(void)Generator [virtual]
                        ~Granulate()Granulate
                        ~Stk(void)Stk [protected, virtual]


                        + + + + +
                        The Synthesis ToolKit in C++ (STK)
                        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                        + + + diff --git a/doc/html/classGranulate.html b/doc/html/classGranulate.html new file mode 100644 index 0000000..202e853 --- /dev/null +++ b/doc/html/classGranulate.html @@ -0,0 +1,281 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                        +    

                        +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                        +
                        + +

                        Granulate Class Reference

                        #include <Granulate.h> +

                        +

                        Inheritance diagram for Granulate: +

                        + +Generator +Stk + +List of all members.

                        Detailed Description

                        +STK granular synthesis class. +

                        +This class implements a real-time granular synthesis algorithm that operates on an input soundfile. Currently, only monophonic files are supported. Various functions are provided to allow control over voice and grain parameters.

                        +The functionality of this class is based on the program MacPod by Chris Rolfe and Damian Keller, though there are likely to be a number of differences in the actual implementation.

                        +by Gary Scavone, 2005. +

                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

                        Public Member Functions

                        Granulate (void)
                         Default constructor.
                        Granulate (unsigned int nVoices, std::string fileName, bool typeRaw=false)
                         Constructor taking input audio file and number of voices arguments.
                        ~Granulate ()
                         Class destructor.
                        void openFile (std::string fileName, bool typeRaw=false)
                         Load a monophonic soundfile to be "granulated".
                        void reset ()
                         Reset the file pointer and all existing grains to the file start.
                        void setVoices (unsigned int nVoices=1)
                         Set the number of simultaneous grain "voices" to use.
                        void setStretch (unsigned int stretchFactor=1)
                         Set the stretch factor used for grain playback (1 - 1000).
                        void setGrainParameters (unsigned int duration=30, unsigned int rampPercent=50, int offset=0, unsigned int delay=0)
                         Set global grain parameters used to determine individual grain settings.
                        void setRandomFactor (StkFloat randomness=0.1)
                         This factor is used when setting individual grain parameters (0.0 - 1.0).
                        +


                        Member Function Documentation

                        +

                        + + + + +
                        + + + + + + + + + + + + + + + + + + +
                        void Granulate::openFile std::string  fileName,
                        bool  typeRaw = false
                        +
                        + + + + + +
                        +   + + +

                        +Load a monophonic soundfile to be "granulated". +

                        +An StkError will be thrown if the file is not found, its format is unknown or unsupported, or the file has more than one channel.

                        +

                        + + + + +
                        + + + + + + + + +
                        void Granulate::reset  ) 
                        +
                        + + + + + +
                        +   + + +

                        +Reset the file pointer and all existing grains to the file start. +

                        +Multiple grains are offset from one another in time by grain duration / nVoices.

                        +

                        + + + + +
                        + + + + + + + + + +
                        void Granulate::setVoices unsigned int  nVoices = 1  ) 
                        +
                        + + + + + +
                        +   + + +

                        +Set the number of simultaneous grain "voices" to use. +

                        +Multiple grains are offset from one another in time by grain duration / nVoices. For this reason, it is best to set the grain parameters before calling this function (during initialization).

                        +

                        + + + + +
                        + + + + + + + + + +
                        void Granulate::setStretch unsigned int  stretchFactor = 1  ) 
                        +
                        + + + + + +
                        +   + + +

                        +Set the stretch factor used for grain playback (1 - 1000). +

                        +Granular synthesis allows for time-stetching without affecting the original pitch of a sound. A stretch factor of 4 will produce a resulting sound of length 4 times the orignal sound. The default parameter of 1 produces no stretching.

                        +

                        + + + + +
                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                        void Granulate::setGrainParameters unsigned int  duration = 30,
                        unsigned int  rampPercent = 50,
                        int  offset = 0,
                        unsigned int  delay = 0
                        +
                        + + + + + +
                        +   + + +

                        +Set global grain parameters used to determine individual grain settings. +

                        +Each grain is defined as having a length of duration milliseconds which must be greater than zero. For values of rampPercent (0 - 100) greater than zero, a linear envelope will be applied to each grain. If rampPercent = 100, the resultant grain "window" is triangular while rampPercent = 50 produces a trapezoidal window. In addition, each grain can have a time delay of length delay and a grain pointer increment of length offset, which can be negative, before the next ramp onset (in milliseconds). The actual values calculated for each grain will be randomized by a factor set using the setRandomFactor() function.

                        +

                        + + + + +
                        + + + + + + + + + +
                        void Granulate::setRandomFactor StkFloat  randomness = 0.1  ) 
                        +
                        + + + + + +
                        +   + + +

                        +This factor is used when setting individual grain parameters (0.0 - 1.0). +

                        +This random factor is applied when all grain state durations are calculated. If set to 0.0, no randomness occurs. When randomness = 1.0, a grain segment of length duration will be randomly augmented by up to +- duration seconds (i.e., a 30 millisecond length will be augmented by an extra length of up to +30 or -30 milliseconds).

                        +


                        The documentation for this class was generated from the following file: +
                        + + + + +
                        The Synthesis ToolKit in C++ (STK)
                        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                        + + + diff --git a/doc/html/classGranulate.png b/doc/html/classGranulate.png new file mode 100644 index 0000000..9e91ac5 Binary files /dev/null and b/doc/html/classGranulate.png differ diff --git a/doc/html/classHevyMetl-members.html b/doc/html/classHevyMetl-members.html index ce37392..5d49404 100644 --- a/doc/html/classHevyMetl-members.html +++ b/doc/html/classHevyMetl-members.html @@ -8,12 +8,12 @@    

                        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                        - -

                        HevyMetl Member List

                        This is the complete list of members for HevyMetl, including all inherited members. + +

                        HevyMetl Member List

                        This is the complete list of members for HevyMetl, including all inherited members.

                        - + - + @@ -23,9 +23,10 @@ - + + @@ -37,6 +38,7 @@ + @@ -48,9 +50,8 @@ - - - + + @@ -59,7 +60,7 @@
                        clear()FM
                        controlChange(int number, StkFloat value)FM [virtual]
                        controlChange(int number, StkFloat value)FM [virtual]
                        FM(unsigned int operators=4)FM
                        handleError(const char *message, StkError::Type type)Stk [static]
                        handleError(const char *message, StkError::Type type)Stk [static]
                        handleError(std::string message, StkError::Type type)Stk [static]
                        handleError(StkError::Type type)Stk [protected]
                        HevyMetl()HevyMetl
                        lastOut() const Instrmnt
                        lastOutLeft() const Instrmnt
                        lastOutRight() const Instrmnt
                        loadWaves(const char **filenames)FM
                        loadWaves(const char **filenames)FM
                        noteOff(StkFloat amplitude)FM [virtual]
                        noteOn(StkFloat frequency, StkFloat amplitude)HevyMetl [virtual]
                        printErrors(bool status)Stk [inline, static]
                        rawwavePath(void)Stk [inline, static]
                        sampleRate(void)Stk [inline, static]
                        setControl1(StkFloat cVal)FM
                        setRatio(unsigned int waveIndex, StkFloat ratio)FM
                        setRawwavePath(std::string path)Stk [static]
                        setSampleRate(StkFloat rate)Stk [inline, static]
                        showWarnings(bool status)Stk [inline, static]
                        sleep(unsigned long milliseconds)Stk [static]
                        Stk(void)Stk [protected]
                        STK_FLOAT32Stk [static]
                        swap16(unsigned char *ptr)Stk [static]
                        swap32(unsigned char *ptr)Stk [static]
                        swap64(unsigned char *ptr)Stk [static]
                        tick()HevyMetl [virtual]
                        tick(StkFloat *vector, unsigned int vectorSize)HevyMetl [virtual]
                        tick(StkFrames &frames, unsigned int channel=1)HevyMetl [virtual]
                        tick(void)Instrmnt
                        tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                        ~FM()FM [virtual]
                        ~HevyMetl()HevyMetl
                        ~Instrmnt()Instrmnt [virtual]
                        - +
                        The Synthesis ToolKit in C++ (STK)
                        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                        diff --git a/doc/html/classHevyMetl.html b/doc/html/classHevyMetl.html index 40c060c..3ce0646 100644 --- a/doc/html/classHevyMetl.html +++ b/doc/html/classHevyMetl.html @@ -8,8 +8,8 @@    

                        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                        - -

                        HevyMetl Class Reference

                        #include <HevyMetl.h> + +

                        HevyMetl Class Reference

                        #include <HevyMetl.h>

                        Inheritance diagram for HevyMetl:

                        @@ -22,62 +22,48 @@ STK heavy metal FM synthesis instrument.

                        This class implements 3 cascade operators with feedback modulation, also referred to as algorithm 3 of the TX81Z.

                        -

                            Algorithm 3 is :    4--\
                        +
                            Algorithm 3 is :    4--\
                                             3-->2-- + -->1-->Out
                         

                        Control Change Numbers:

                        • Total Modulator Index = 2
                        • Modulator Crossfade = 4
                        • LFO Speed = 11
                        • LFO Depth = 1
                        • ADSR 2 & 4 Target = 128

                        The basic Chowning/Stanford FM patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.

                        -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                        - -

                        -Definition at line 36 of file HevyMetl.h. +
                        - - + + - - + + - - + + - - - - - - - - - - +

                        Public Member Functions

                         HevyMetl ()

                        Public Member Functions

                         HevyMetl ()
                         Class constructor.

                        ~HevyMetl ()
                         Class constructor.
                        ~HevyMetl ()
                         Class destructor.

                        -void noteOn (StkFloat frequency, StkFloat amplitude)
                         Class destructor.
                        +void noteOn (StkFloat frequency, StkFloat amplitude)
                         Start a note with the given frequency and amplitude.

                        -StkFloat tick ()
                         Compute one output sample.

                        -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                         Computer vectorSize outputs and return them in vector.

                        StkFramestick (StkFrames &frames, unsigned int channel=1)
                         Fill a channel of the StkFrames object with computed outputs.

                         Start a note with the given frequency and amplitude.


                        Constructor & Destructor Documentation

                        -

                        - +

                        +

                        - + -
                        HevyMetl::HevyMetl HevyMetl::HevyMetl  ) 
                        - +
                        - -
                          @@ -87,50 +73,7 @@ StkFloat * StkError will be thrown if the rawwave path is incorrectly set.
                        -


                        Member Function Documentation

                        -

                        - - - - -
                        - - - - - - - - - - - - - - - - - - - -
                        StkFrames& HevyMetl::tick StkFrames frames,
                        unsigned int  channel = 1
                        [virtual]
                        -
                        - - - - +An StkError will be thrown if the rawwave path is incorrectly set.
                        -   - - -

                        -Fill a channel of the StkFrames object with computed outputs. -

                        -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                        -Implements FM.


                        The documentation for this class was generated from the following file:
                          @@ -139,7 +82,7 @@ Implements FM. - +
                          The Synthesis ToolKit in C++ (STK)
                          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                          diff --git a/doc/html/classHevyMetl__coll__graph.map b/doc/html/classHevyMetl__coll__graph.map new file mode 100644 index 0000000..2830571 --- /dev/null +++ b/doc/html/classHevyMetl__coll__graph.map @@ -0,0 +1,8 @@ +base referer +rect $classFM.html 72,269 109,291 +rect $classInstrmnt.html 7,133 63,155 +rect $classStk.html 85,16 123,37 +rect $classWvIn.html 84,88 124,109 +rect $classFilter.html 156,88 196,109 +rect $classWaveLoop.html 67,179 141,200 +rect $classTwoZero.html 167,179 231,200 diff --git a/doc/html/classHevyMetl__coll__graph.md5 b/doc/html/classHevyMetl__coll__graph.md5 new file mode 100644 index 0000000..218d102 --- /dev/null +++ b/doc/html/classHevyMetl__coll__graph.md5 @@ -0,0 +1 @@ +5e59cb4e7eb25b70eedaadfc8712399c \ No newline at end of file diff --git a/doc/html/classHevyMetl__coll__graph.png b/doc/html/classHevyMetl__coll__graph.png new file mode 100644 index 0000000..d50b01d Binary files /dev/null and b/doc/html/classHevyMetl__coll__graph.png differ diff --git a/doc/html/classHevyMetl__inherit__graph.map b/doc/html/classHevyMetl__inherit__graph.map new file mode 100644 index 0000000..f8524da --- /dev/null +++ b/doc/html/classHevyMetl__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classFM.html 20,155 57,176 +rect $classInstrmnt.html 11,86 67,107 +rect $classStk.html 20,16 57,38 diff --git a/doc/html/classHevyMetl__inherit__graph.md5 b/doc/html/classHevyMetl__inherit__graph.md5 new file mode 100644 index 0000000..084cfd8 --- /dev/null +++ b/doc/html/classHevyMetl__inherit__graph.md5 @@ -0,0 +1 @@ +8499bbff40fec38b977af4f223a390ac \ No newline at end of file diff --git a/doc/html/classHevyMetl__inherit__graph.png b/doc/html/classHevyMetl__inherit__graph.png new file mode 100644 index 0000000..63f90b8 Binary files /dev/null and b/doc/html/classHevyMetl__inherit__graph.png differ diff --git a/doc/html/classInetWvIn-members.html b/doc/html/classInetWvIn-members.html new file mode 100644 index 0000000..bf0c338 --- /dev/null +++ b/doc/html/classInetWvIn-members.html @@ -0,0 +1,54 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                          +    

                          +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                          +
                          + +

                          InetWvIn Member List

                          This is the complete list of members for InetWvIn, including all inherited members.

                          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                          getChannels(void) const WvIn [inline]
                          handleError(const char *message, StkError::Type type)Stk [static]
                          handleError(std::string message, StkError::Type type)Stk [static]
                          handleError(StkError::Type type)Stk [protected]
                          InetWvIn(unsigned long bufferFrames=1024, unsigned int nBuffers=8)InetWvIn
                          isConnected(void)InetWvIn
                          lastFrame(void) const WvIn [inline]
                          lastOut(void) const WvIn
                          listen(int port=2006, unsigned int nChannels=1, Stk::StkFormat format=STK_SINT16, Socket::ProtocolType protocol=Socket::PROTO_TCP)InetWvIn
                          printErrors(bool status)Stk [inline, static]
                          rawwavePath(void)Stk [inline, static]
                          sampleRate(void)Stk [inline, static]
                          setRawwavePath(std::string path)Stk [static]
                          setSampleRate(StkFloat rate)Stk [inline, static]
                          showWarnings(bool status)Stk [inline, static]
                          sleep(unsigned long milliseconds)Stk [static]
                          Stk(void)Stk [protected]
                          STK_FLOAT32Stk [static]
                          STK_FLOAT64Stk [static]
                          STK_SINT16Stk [static]
                          STK_SINT24Stk [static]
                          STK_SINT32Stk [static]
                          STK_SINT8Stk [static]
                          swap16(unsigned char *ptr)Stk [static]
                          swap32(unsigned char *ptr)Stk [static]
                          swap64(unsigned char *ptr)Stk [static]
                          tick(void)WvIn
                          tick(StkFrames &frames, unsigned int channel=0)WvIn
                          tickFrame(StkFrames &frames)WvIn
                          WvIn()WvIn
                          ~InetWvIn()InetWvIn
                          ~Stk(void)Stk [protected, virtual]
                          ~WvIn()WvIn [virtual]


                          + + + + +
                          The Synthesis ToolKit in C++ (STK)
                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                          + + + diff --git a/doc/html/classInetWvIn.html b/doc/html/classInetWvIn.html new file mode 100644 index 0000000..69bb855 --- /dev/null +++ b/doc/html/classInetWvIn.html @@ -0,0 +1,177 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                          +    

                          +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                          +
                          + +

                          InetWvIn Class Reference

                          #include <InetWvIn.h> +

                          +

                          Inheritance diagram for InetWvIn: +

                          + +WvIn +Stk + +List of all members.

                          Detailed Description

                          +STK internet streaming input class. +

                          +This Wvin subclass reads streamed audio data over a network via a TCP or UDP socket connection. The data is assumed in big-endian, or network, byte order. Only a single socket connection is supported.

                          +InetWvIn supports multi-channel data. It is important to distinguish the tick() methods, which return samples produced by averaging across sample frames, from the tickFrame() methods, which return references or pointers to multi-channel sample frames.

                          +This class implements a socket server. When using the TCP protocol, the server "listens" for a single remote connection within the InetWvIn::start() function. For the UDP protocol, no attempt is made to verify packet delivery or order. The default data type for the incoming stream is signed 16-bit integers, though any of the defined StkFormats are permissible.

                          +by Perry R. Cook and Gary P. Scavone, 1995 - 2005. +

                          + + + + + + + + + + + + + + + +

                          Public Member Functions

                           InetWvIn (unsigned long bufferFrames=1024, unsigned int nBuffers=8)
                           Default constructor.
                          ~InetWvIn ()
                           Class destructor.
                          void listen (int port=2006, unsigned int nChannels=1, Stk::StkFormat format=STK_SINT16, Socket::ProtocolType protocol=Socket::PROTO_TCP)
                           Wait for a (new) socket connection with specified protocol, port, data channels and format.
                          bool isConnected (void)
                           Returns true is an input connection exists or input data remains in the queue.
                          +


                          Constructor & Destructor Documentation

                          +

                          + + + + +
                          + + + + + + + + + + + + + + + + + + +
                          InetWvIn::InetWvIn unsigned long  bufferFrames = 1024,
                          unsigned int  nBuffers = 8
                          +
                          + + + + + +
                          +   + + +

                          +Default constructor. +

                          +An StkError will be thrown if an error occurs while initializing the input thread.

                          +


                          Member Function Documentation

                          +

                          + + + + +
                          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                          void InetWvIn::listen int  port = 2006,
                          unsigned int  nChannels = 1,
                          Stk::StkFormat  format = STK_SINT16,
                          Socket::ProtocolType  protocol = Socket::PROTO_TCP
                          +
                          + + + + + +
                          +   + + +

                          +Wait for a (new) socket connection with specified protocol, port, data channels and format. +

                          +For the UDP protocol, this function will create a socket instance and return. For the TCP protocol, this function will block until a connection is established. An StkError will be thrown if a socket error occurs or an invalid function argument is provided.

                          +

                          + + + + +
                          + + + + + + + + + +
                          bool InetWvIn::isConnected void   ) 
                          +
                          + + + + + +
                          +   + + +

                          +Returns true is an input connection exists or input data remains in the queue. +

                          +This method will not return false after an input connection has been closed until all buffered input data has been read out.

                          +


                          The documentation for this class was generated from the following file: +
                          + + + + +
                          The Synthesis ToolKit in C++ (STK)
                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                          + + + diff --git a/doc/html/classInetWvIn.png b/doc/html/classInetWvIn.png new file mode 100644 index 0000000..5f7db14 Binary files /dev/null and b/doc/html/classInetWvIn.png differ diff --git a/doc/html/classInetWvOut-members.html b/doc/html/classInetWvOut-members.html new file mode 100644 index 0000000..62ce411 --- /dev/null +++ b/doc/html/classInetWvOut-members.html @@ -0,0 +1,56 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                          +    

                          +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                          +
                          + +

                          InetWvOut Member List

                          This is the complete list of members for InetWvOut, including all inherited members.

                          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                          clipStatus(void)WvOut [inline]
                          connect(int port, Socket::ProtocolType protocol=Socket::PROTO_TCP, std::string hostname="localhost", unsigned int nChannels=1, Stk::StkFormat format=STK_SINT16)InetWvOut
                          disconnect(void)InetWvOut
                          getFrameCount(void) const WvOut
                          getTime(void) const WvOut
                          handleError(const char *message, StkError::Type type)Stk [static]
                          handleError(std::string message, StkError::Type type)Stk [static]
                          handleError(StkError::Type type)Stk [protected]
                          InetWvOut(unsigned long packetFrames=1024)InetWvOut
                          InetWvOut(int port, Socket::ProtocolType protocol=Socket::PROTO_TCP, std::string hostname="localhost", unsigned int nChannels=1, Stk::StkFormat format=STK_SINT16, unsigned long packetFrames=1024)InetWvOut
                          printErrors(bool status)Stk [inline, static]
                          rawwavePath(void)Stk [inline, static]
                          resetClipStatus(void)WvOut [inline]
                          sampleRate(void)Stk [inline, static]
                          setRawwavePath(std::string path)Stk [static]
                          setSampleRate(StkFloat rate)Stk [inline, static]
                          showWarnings(bool status)Stk [inline, static]
                          sleep(unsigned long milliseconds)Stk [static]
                          Stk(void)Stk [protected]
                          STK_FLOAT32Stk [static]
                          STK_FLOAT64Stk [static]
                          STK_SINT16Stk [static]
                          STK_SINT24Stk [static]
                          STK_SINT32Stk [static]
                          STK_SINT8Stk [static]
                          swap16(unsigned char *ptr)Stk [static]
                          swap32(unsigned char *ptr)Stk [static]
                          swap64(unsigned char *ptr)Stk [static]
                          tick(const StkFloat sample)WvOut
                          tick(const StkFrames &frames, unsigned int channel=0)WvOut
                          tickFrame(const StkFrames &frames)WvOut
                          WvOut()WvOut
                          ~InetWvOut()InetWvOut
                          ~Stk(void)Stk [protected, virtual]
                          ~WvOut()WvOut [virtual]


                          + + + + +
                          The Synthesis ToolKit in C++ (STK)
                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                          + + + diff --git a/doc/html/classInetWvOut.html b/doc/html/classInetWvOut.html new file mode 100644 index 0000000..80c5e50 --- /dev/null +++ b/doc/html/classInetWvOut.html @@ -0,0 +1,182 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                          +    

                          +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                          +
                          + +

                          InetWvOut Class Reference

                          #include <InetWvOut.h> +

                          +

                          Inheritance diagram for InetWvOut: +

                          + +WvOut +Stk + +List of all members.

                          Detailed Description

                          +STK internet streaming output class. +

                          +This WvOut subclass can stream data over a network via a TCP or UDP socket connection. The data is converted to big-endian byte order, if necessary, before being transmitted.

                          +InetWvOut supports multi-channel data. It is important to distinguish the tick() methods, which output single samples to all channels in a sample frame, from the tickFrame() method, which takes a reference to multi-channel sample frame data.

                          +This class connects to a socket server, the port and IP address of which must be specified as constructor arguments. The default data type is signed 16-bit integers but any of the defined StkFormats are permissible.

                          +by Perry R. Cook and Gary P. Scavone, 1995 - 2005. +

                          + + + + + + + + + + + + + + + + + + +

                          Public Member Functions

                          InetWvOut (unsigned long packetFrames=1024)
                           Default constructor ... the socket is not instantiated.
                           InetWvOut (int port, Socket::ProtocolType protocol=Socket::PROTO_TCP, std::string hostname="localhost", unsigned int nChannels=1, Stk::StkFormat format=STK_SINT16, unsigned long packetFrames=1024)
                           Overloaded constructor which opens a network connection during instantiation.
                          ~InetWvOut ()
                           Class destructor.
                          void connect (int port, Socket::ProtocolType protocol=Socket::PROTO_TCP, std::string hostname="localhost", unsigned int nChannels=1, Stk::StkFormat format=STK_SINT16)
                           Connect to the specified host and port and prepare to stream nChannels of data in the given data format.
                          +void disconnect (void)
                           If a connection is open, write out remaining samples in the queue and then disconnect.
                          +


                          Constructor & Destructor Documentation

                          +

                          + + + + +
                          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                          InetWvOut::InetWvOut int  port,
                          Socket::ProtocolType  protocol = Socket::PROTO_TCP,
                          std::string  hostname = "localhost",
                          unsigned int  nChannels = 1,
                          Stk::StkFormat  format = STK_SINT16,
                          unsigned long  packetFrames = 1024
                          +
                          + + + + + +
                          +   + + +

                          +Overloaded constructor which opens a network connection during instantiation. +

                          +An StkError is thrown if a socket error occurs or an invalid argument is specified.

                          +


                          Member Function Documentation

                          +

                          + + + + +
                          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                          void InetWvOut::connect int  port,
                          Socket::ProtocolType  protocol = Socket::PROTO_TCP,
                          std::string  hostname = "localhost",
                          unsigned int  nChannels = 1,
                          Stk::StkFormat  format = STK_SINT16
                          +
                          + + + + + +
                          +   + + +

                          +Connect to the specified host and port and prepare to stream nChannels of data in the given data format. +

                          +An StkError is thrown if a socket error occurs or an invalid argument is specified.

                          +


                          The documentation for this class was generated from the following file: +
                          + + + + +
                          The Synthesis ToolKit in C++ (STK)
                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                          + + + diff --git a/doc/html/classInetWvOut.png b/doc/html/classInetWvOut.png new file mode 100644 index 0000000..d06d5a1 Binary files /dev/null and b/doc/html/classInetWvOut.png differ diff --git a/doc/html/classInstrmnt-members.html b/doc/html/classInstrmnt-members.html index bb0a750..2e38514 100644 --- a/doc/html/classInstrmnt-members.html +++ b/doc/html/classInstrmnt-members.html @@ -8,10 +8,10 @@    

                          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                          - -

                          Instrmnt Member List

                          This is the complete list of members for Instrmnt, including all inherited members. - - + +

                          Instrmnt Member List

                          This is the complete list of members for Instrmnt, including all inherited members.

                          controlChange(int number, StkFloat value)Instrmnt [virtual]
                          handleError(const char *message, StkError::Type type)Stk [static]
                          + + @@ -20,11 +20,13 @@ + + @@ -36,16 +38,15 @@ - - - + +
                          controlChange(int number, StkFloat value)Instrmnt [virtual]
                          handleError(const char *message, StkError::Type type)Stk [static]
                          handleError(std::string message, StkError::Type type)Stk [static]
                          handleError(StkError::Type type)Stk [protected]
                          Instrmnt()Instrmnt
                          lastOutRight() const Instrmnt
                          noteOff(StkFloat amplitude)=0Instrmnt [pure virtual]
                          noteOn(StkFloat frequency, StkFloat amplitude)=0Instrmnt [pure virtual]
                          printErrors(bool status)Stk [inline, static]
                          rawwavePath(void)Stk [inline, static]
                          sampleRate(void)Stk [inline, static]
                          setFrequency(StkFloat frequency)Instrmnt [virtual]
                          setRawwavePath(std::string path)Stk [static]
                          setSampleRate(StkFloat rate)Stk [inline, static]
                          showWarnings(bool status)Stk [inline, static]
                          sleep(unsigned long milliseconds)Stk [static]
                          Stk(void)Stk [protected]
                          STK_FLOAT32Stk [static]
                          swap16(unsigned char *ptr)Stk [static]
                          swap32(unsigned char *ptr)Stk [static]
                          swap64(unsigned char *ptr)Stk [static]
                          tick()=0Instrmnt [pure virtual]
                          tick(StkFloat *vector, unsigned int vectorSize)Instrmnt [virtual]
                          tick(StkFrames &frames, unsigned int channel=1)Instrmnt [virtual]
                          tick(void)Instrmnt
                          tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                          ~Instrmnt()Instrmnt [virtual]
                          ~Stk(void)Stk [protected, virtual]

                          - +
                          The Synthesis ToolKit in C++ (STK)
                          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                          diff --git a/doc/html/classInstrmnt.html b/doc/html/classInstrmnt.html index df23b6c..59cf985 100644 --- a/doc/html/classInstrmnt.html +++ b/doc/html/classInstrmnt.html @@ -8,8 +8,8 @@    

                          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                          - -

                          Instrmnt Class Reference

                          #include <Instrmnt.h> + +

                          Instrmnt Class Reference

                          #include <Instrmnt.h>

                          Inheritance diagram for Instrmnt:

                          @@ -42,90 +42,83 @@ STK instrument abstract base class.

                          This class provides a common interface for all STK instruments.

                          -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                          - -

                          -Definition at line 17 of file Instrmnt.h. +
                          - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - +

                          Public Member Functions

                          Instrmnt ()

                          Public Member Functions

                          Instrmnt ()
                           Default constructor.

                          -virtual ~Instrmnt ()
                           Default constructor.
                          +virtual ~Instrmnt ()
                           Class destructor.

                          -virtual void noteOn (StkFloat frequency, StkFloat amplitude)=0
                           Class destructor.
                          +virtual void noteOn (StkFloat frequency, StkFloat amplitude)=0
                           Start a note with the given frequency and amplitude.

                          -virtual void noteOff (StkFloat amplitude)=0
                           Start a note with the given frequency and amplitude.
                          +virtual void noteOff (StkFloat amplitude)=0
                           Stop a note with the given amplitude (speed of decay).

                          -virtual void setFrequency (StkFloat frequency)
                           Stop a note with the given amplitude (speed of decay).
                          +virtual void setFrequency (StkFloat frequency)
                           Set instrument parameters for a particular frequency.

                          -StkFloat lastOut () const
                           Set instrument parameters for a particular frequency.
                          +StkFloat lastOut () const
                           Return the last output value.

                          -StkFloat lastOutLeft () const
                           Return the last output value.
                          +StkFloat lastOutLeft () const
                           Return the last left output value.

                          -StkFloat lastOutRight () const
                           Return the last left output value.
                          +StkFloat lastOutRight () const
                           Return the last right output value.

                          -virtual StkFloat tick ()=0
                           Return the last right output value.
                          +StkFloat tick (void)
                           Compute one output sample.

                          -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                           Compute one sample and output.
                          StkFramestick (StkFrames &frames, unsigned int channel=0)
                           Computer vectorSize outputs and return them in vector.

                          virtual StkFramestick (StkFrames &frames, unsigned int channel=1)
                           Fill a channel of the StkFrames object with computed outputs.
                          +virtual void controlChange (int number, StkFloat value)
                           Fill a channel of the StkFrames object with computed outputs.

                          -virtual void controlChange (int number, StkFloat value)
                           Perform the control change specified by number and value (0.0 - 128.0).

                           Perform the control change specified by number and value (0.0 - 128.0).


                          Member Function Documentation

                          -

                          - +

                          +

                          - + - - + + - + - + - + -
                          virtual StkFrames& Instrmnt::tick StkFrames& Instrmnt::tick StkFrames frames,
                          unsigned int  channel = 1 channel = 0
                          [virtual]
                          - +
                          +The channel argument should be zero or greater (the first channel is specified by 0). An StkError will be thrown if the channel argument is equal to or greater than the number of channels in the StkFrames object.
                            @@ -135,9 +128,7 @@ virtual void  Fill a channel of the StkFrames object with computed outputs.

                          -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                          -Reimplemented in BandedWG, BeeThree, BlowBotl, BlowHole, Bowed, Brass, Clarinet, Drummer, Flute, FM, FMVoices, HevyMetl, Mandolin, Mesh2D, Modal, Moog, PercFlut, Plucked, PluckTwo, Resonate, Rhodey, Sampler, Saxofony, Shakers, Simple, Sitar, StifKarp, TubeBell, VoicForm, Whistle, and Wurley.


                          The documentation for this class was generated from the following file:
                            @@ -146,7 +137,7 @@ Reimplemented in BandedWG, The Synthesis ToolKit in C++ (STK) - ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. + ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved. diff --git a/doc/html/classInstrmnt__coll__graph.map b/doc/html/classInstrmnt__coll__graph.map new file mode 100644 index 0000000..40af0fb --- /dev/null +++ b/doc/html/classInstrmnt__coll__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 16,16 53,37 diff --git a/doc/html/classInstrmnt__coll__graph.md5 b/doc/html/classInstrmnt__coll__graph.md5 new file mode 100644 index 0000000..067f2cd --- /dev/null +++ b/doc/html/classInstrmnt__coll__graph.md5 @@ -0,0 +1 @@ +67be1c2ebbd24f37ed58a9e34a3bbb44 \ No newline at end of file diff --git a/doc/html/classInstrmnt__coll__graph.png b/doc/html/classInstrmnt__coll__graph.png new file mode 100644 index 0000000..0aae731 Binary files /dev/null and b/doc/html/classInstrmnt__coll__graph.png differ diff --git a/doc/html/classInstrmnt__inherit__graph.map b/doc/html/classInstrmnt__inherit__graph.map new file mode 100644 index 0000000..6540fb9 --- /dev/null +++ b/doc/html/classInstrmnt__inherit__graph.map @@ -0,0 +1,24 @@ +base referer +rect $classBandedWG.html 212,5 289,26 +rect $classBlowBotl.html 220,50 281,72 +rect $classBlowHole.html 219,96 283,117 +rect $classBowed.html 225,141 276,162 +rect $classBrass.html 229,186 272,208 +rect $classClarinet.html 223,232 279,253 +rect $classDrummer.html 217,277 284,298 +rect $classFlute.html 231,322 271,344 +rect $classFM.html 232,368 269,389 +rect $classMesh2D.html 223,413 279,434 +rect $classModal.html 228,458 273,480 +rect $classPlucked.html 221,504 280,525 +rect $classPluckTwo.html 216,549 285,570 +rect $classResonate.html 219,594 283,616 +rect $classSampler.html 220,640 281,661 +rect $classSaxofony.html 219,685 283,706 +rect $classShakers.html 221,730 280,752 +rect $classSimple.html 225,776 276,797 +rect $classSitar.html 231,821 271,842 +rect $classStifKarp.html 221,866 280,888 +rect $classVoicForm.html 216,912 285,933 +rect $classWhistle.html 224,957 277,978 +rect $classStk.html 19,481 56,502 diff --git a/doc/html/classInstrmnt__inherit__graph.md5 b/doc/html/classInstrmnt__inherit__graph.md5 new file mode 100644 index 0000000..0e84595 --- /dev/null +++ b/doc/html/classInstrmnt__inherit__graph.md5 @@ -0,0 +1 @@ +95c12a718b6214808bba3482169fca22 \ No newline at end of file diff --git a/doc/html/classInstrmnt__inherit__graph.png b/doc/html/classInstrmnt__inherit__graph.png new file mode 100644 index 0000000..25008d4 Binary files /dev/null and b/doc/html/classInstrmnt__inherit__graph.png differ diff --git a/doc/html/classJCRev-members.html b/doc/html/classJCRev-members.html index 6742bbc..d703b31 100644 --- a/doc/html/classJCRev-members.html +++ b/doc/html/classJCRev-members.html @@ -8,23 +8,25 @@    

                            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                            - -

                            JCRev Member List

                            This is the complete list of members for JCRev, including all inherited members. + +

                            JCRev Member List

                            This is the complete list of members for JCRev, including all inherited members.

                            - + + + @@ -36,9 +38,8 @@ - - - + + @@ -46,7 +47,7 @@
                            clear()JCRev [virtual]
                            Effect()Effect
                            handleError(const char *message, StkError::Type type)Stk [static]
                            handleError(const char *message, StkError::Type type)Stk [static]
                            handleError(std::string message, StkError::Type type)Stk [static]
                            handleError(StkError::Type type)Stk [protected]
                            JCRev(StkFloat T60=1.0)JCRev
                            lastOut() const Effect
                            lastOutLeft() const Effect
                            lastOutRight() const Effect
                            printErrors(bool status)Stk [inline, static]
                            rawwavePath(void)Stk [inline, static]
                            sampleRate(void)Stk [inline, static]
                            setEffectMix(StkFloat mix)Effect
                            setRawwavePath(std::string path)Stk [static]
                            setSampleRate(StkFloat rate)Stk [inline, static]
                            setT60(StkFloat T60)JCRev
                            showWarnings(bool status)Stk [inline, static]
                            sleep(unsigned long milliseconds)Stk [static]
                            Stk(void)Stk [protected]
                            STK_FLOAT32Stk [static]
                            swap16(unsigned char *ptr)Stk [static]
                            swap32(unsigned char *ptr)Stk [static]
                            swap64(unsigned char *ptr)Stk [static]
                            tick(StkFloat input)JCRev [virtual]
                            tick(StkFloat *vector, unsigned int vectorSize)JCRev [virtual]
                            tick(StkFrames &frames, unsigned int channel=1)JCRev [virtual]
                            tick(StkFloat input)Effect
                            tick(StkFrames &frames, unsigned int channel=0)Effect
                            ~Effect()Effect [virtual]
                            ~JCRev()JCRev
                            ~Stk(void)Stk [protected, virtual]
                            - +
                            The Synthesis ToolKit in C++ (STK)
                            ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            diff --git a/doc/html/classJCRev.html b/doc/html/classJCRev.html index 7e9d7ba..201f378 100644 --- a/doc/html/classJCRev.html +++ b/doc/html/classJCRev.html @@ -8,8 +8,8 @@    

                            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                            - -

                            JCRev Class Reference

                            #include <JCRev.h> + +

                            JCRev Class Reference

                            #include <JCRev.h>

                            Inheritance diagram for JCRev:

                            @@ -21,83 +21,27 @@ John Chowning's reverberator class.

                            This class is derived from the CLM JCRev function, which is based on the use of networks of simple allpass and comb delay filters. This class implements three series allpass units, followed by four parallel comb filters, and two decorrelation delay lines in parallel at the output.

                            -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                            - -

                            -Definition at line 23 of file JCRev.h. +
                            - - + + - - + + - - + + - - + + - - - - - - - - - - -

                            Public Member Functions

                            JCRev (StkFloat T60=1.0)

                            Public Member Functions

                            JCRev (StkFloat T60=1.0)
                             Class constructor taking a T60 decay time argument (one second default value).

                            ~JCRev ()
                             Class constructor taking a T60 decay time argument (one second default value).
                            ~JCRev ()
                             Class destructor.

                            -void clear ()
                             Class destructor.
                            +void clear ()
                             Reset and clear all internal state.

                            -void setT60 (StkFloat T60)
                             Reset and clear all internal state.
                            +void setT60 (StkFloat T60)
                             Set the reverberation T60 decay time.

                            -StkFloat tick (StkFloat input)
                             Compute one output sample.

                            -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                             Take vectorSize inputs, compute the same number of outputs and return them in vector.

                            StkFramestick (StkFrames &frames, unsigned int channel=1)
                             Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs.

                            -


                            Member Function Documentation

                            -

                            - - - - -
                            - - - - - - - - - - - - - - - - - - - -
                            StkFrames& JCRev::tick StkFrames frames,
                            unsigned int  channel = 1
                            [virtual]
                            -
                            - - - - - +
                            -   - - -

                            -Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs. -

                            -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                            -Reimplemented from Effect.

                             Set the reverberation T60 decay time.


                            The documentation for this class was generated from the following file: @@ -105,7 +49,7 @@ Reimplemented from Effect. - +
                            The Synthesis ToolKit in C++ (STK)
                            ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            diff --git a/doc/html/classJCRev__coll__graph.map b/doc/html/classJCRev__coll__graph.map new file mode 100644 index 0000000..a2730cc --- /dev/null +++ b/doc/html/classJCRev__coll__graph.map @@ -0,0 +1,5 @@ +base referer +rect $classEffect.html 7,133 52,155 +rect $classStk.html 39,16 76,37 +rect $classFilter.html 68,88 108,109 +rect $classDelay.html 68,179 111,200 diff --git a/doc/html/classJCRev__coll__graph.md5 b/doc/html/classJCRev__coll__graph.md5 new file mode 100644 index 0000000..c1ebed8 --- /dev/null +++ b/doc/html/classJCRev__coll__graph.md5 @@ -0,0 +1 @@ +257ba7060ee34cb3f0c6d1ba3086e80b \ No newline at end of file diff --git a/doc/html/classJCRev__coll__graph.png b/doc/html/classJCRev__coll__graph.png new file mode 100644 index 0000000..cdbe6be Binary files /dev/null and b/doc/html/classJCRev__coll__graph.png differ diff --git a/doc/html/classJCRev__inherit__graph.map b/doc/html/classJCRev__inherit__graph.map new file mode 100644 index 0000000..5d7b3a2 --- /dev/null +++ b/doc/html/classJCRev__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classEffect.html 9,85 55,106 +rect $classStk.html 13,16 51,37 diff --git a/doc/html/classJCRev__inherit__graph.md5 b/doc/html/classJCRev__inherit__graph.md5 new file mode 100644 index 0000000..8bfae60 --- /dev/null +++ b/doc/html/classJCRev__inherit__graph.md5 @@ -0,0 +1 @@ +06e63be131e8edebb4889463ceade12a \ No newline at end of file diff --git a/doc/html/classJCRev__inherit__graph.png b/doc/html/classJCRev__inherit__graph.png new file mode 100644 index 0000000..2bbf430 Binary files /dev/null and b/doc/html/classJCRev__inherit__graph.png differ diff --git a/doc/html/classJetTable-members.html b/doc/html/classJetTable-members.html index 9ad030d..8762a18 100644 --- a/doc/html/classJetTable-members.html +++ b/doc/html/classJetTable-members.html @@ -8,18 +8,20 @@    

                            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                            - -

                            JetTable Member List

                            This is the complete list of members for JetTable, including all inherited members. + +

                            JetTable Member List

                            This is the complete list of members for JetTable, including all inherited members.

                            - + + + @@ -31,9 +33,8 @@ - - - + + @@ -41,7 +42,7 @@
                            Function()Function
                            handleError(const char *message, StkError::Type type)Stk [static]
                            handleError(const char *message, StkError::Type type)Stk [static]
                            handleError(std::string message, StkError::Type type)Stk [static]
                            handleError(StkError::Type type)Stk [protected]
                            JetTable()JetTable
                            lastOut() const Function [inline, virtual]
                            printErrors(bool status)Stk [inline, static]
                            rawwavePath(void)Stk [inline, static]
                            sampleRate(void)Stk [inline, static]
                            setRawwavePath(std::string path)Stk [static]
                            setSampleRate(StkFloat rate)Stk [inline, static]
                            showWarnings(bool status)Stk [inline, static]
                            sleep(unsigned long milliseconds)Stk [static]
                            Stk(void)Stk [protected]
                            STK_FLOAT32Stk [static]
                            swap16(unsigned char *ptr)Stk [static]
                            swap32(unsigned char *ptr)Stk [static]
                            swap64(unsigned char *ptr)Stk [static]
                            tick(StkFloat input)JetTable [virtual]
                            tick(StkFloat *vector, unsigned int vectorSize)JetTable [virtual]
                            tick(StkFrames &frames, unsigned int channel=1)JetTable [virtual]
                            tick(StkFloat input)Function
                            tick(StkFrames &frames, unsigned int channel=0)Function [virtual]
                            ~Function()Function [virtual]
                            ~JetTable()JetTable
                            ~Stk(void)Stk [protected, virtual]
                            - +
                            The Synthesis ToolKit in C++ (STK)
                            ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            diff --git a/doc/html/classJetTable.html b/doc/html/classJetTable.html index 026b7c3..64f6228 100644 --- a/doc/html/classJetTable.html +++ b/doc/html/classJetTable.html @@ -8,8 +8,8 @@    

                            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                            - -

                            JetTable Class Reference

                            #include <JetTable.h> + +

                            JetTable Class Reference

                            #include <JetTable.h>

                            Inheritance diagram for JetTable:

                            @@ -22,75 +22,19 @@ STK jet table class.

                            This class implements a flue jet non-linear function, computed by a polynomial calculation. Contrary to the name, this is not a "table".

                            Consult Fletcher and Rossing, Karjalainen, Cook, and others for more information.

                            -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                            - -

                            -Definition at line 21 of file JetTable.h. +
                            - - + + - - + + - - - - - - - - - - -

                            Public Member Functions

                            JetTable ()

                            Public Member Functions

                            JetTable ()
                             Default constructor.

                            ~JetTable ()
                             Default constructor.
                            ~JetTable ()
                             Class destructor.

                            -StkFloat tick (StkFloat input)
                             Return the function value for input.

                            -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                             Take vectorSize inputs from vector and replace them with corresponding outputs.

                            StkFramestick (StkFrames &frames, unsigned int channel=1)
                             Take a channel of the StkFrames object as inputs to the function and replace with corresponding outputs.

                            -


                            Member Function Documentation

                            -

                            - - - - -
                            - - - - - - - - - - - - - - - - - - - -
                            StkFrames& JetTable::tick StkFrames frames,
                            unsigned int  channel = 1
                            [virtual]
                            -
                            - - - - - +
                            -   - - -

                            -Take a channel of the StkFrames object as inputs to the function and replace with corresponding outputs. -

                            -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                            -Reimplemented from Function.

                             Class destructor.


                            The documentation for this class was generated from the following file: @@ -98,7 +42,7 @@ Reimplemented from Function. < - +
                            The Synthesis ToolKit in C++ (STK)
                            ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            diff --git a/doc/html/classJetTable__coll__graph.map b/doc/html/classJetTable__coll__graph.map new file mode 100644 index 0000000..56d7d60 --- /dev/null +++ b/doc/html/classJetTable__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFunction.html 7,85 68,106 +rect $classStk.html 19,16 56,37 diff --git a/doc/html/classJetTable__coll__graph.md5 b/doc/html/classJetTable__coll__graph.md5 new file mode 100644 index 0000000..90310d8 --- /dev/null +++ b/doc/html/classJetTable__coll__graph.md5 @@ -0,0 +1 @@ +47ed239ba9a844cb13f08091bd609833 \ No newline at end of file diff --git a/doc/html/classJetTable__coll__graph.png b/doc/html/classJetTable__coll__graph.png new file mode 100644 index 0000000..b0b1f53 Binary files /dev/null and b/doc/html/classJetTable__coll__graph.png differ diff --git a/doc/html/classJetTable__inherit__graph.map b/doc/html/classJetTable__inherit__graph.map new file mode 100644 index 0000000..56d7d60 --- /dev/null +++ b/doc/html/classJetTable__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFunction.html 7,85 68,106 +rect $classStk.html 19,16 56,37 diff --git a/doc/html/classJetTable__inherit__graph.md5 b/doc/html/classJetTable__inherit__graph.md5 new file mode 100644 index 0000000..82003dd --- /dev/null +++ b/doc/html/classJetTable__inherit__graph.md5 @@ -0,0 +1 @@ +c0bc60c1bed2b4db708dfe606eef1e7a \ No newline at end of file diff --git a/doc/html/classJetTable__inherit__graph.png b/doc/html/classJetTable__inherit__graph.png new file mode 100644 index 0000000..b0b1f53 Binary files /dev/null and b/doc/html/classJetTable__inherit__graph.png differ diff --git a/doc/html/classMandolin-members.html b/doc/html/classMandolin-members.html index 43e44e7..854bed1 100644 --- a/doc/html/classMandolin-members.html +++ b/doc/html/classMandolin-members.html @@ -8,11 +8,11 @@    

                            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                            - -

                            Mandolin Member List

                            This is the complete list of members for Mandolin, including all inherited members. + +

                            Mandolin Member List

                            This is the complete list of members for Mandolin, including all inherited members.

                            - - + + @@ -25,6 +25,7 @@ + @@ -35,6 +36,7 @@ + @@ -46,9 +48,8 @@ - - - + + @@ -57,7 +58,7 @@
                            clear()PluckTwo
                            controlChange(int number, StkFloat value)Mandolin [virtual]
                            handleError(const char *message, StkError::Type type)Stk [static]
                            controlChange(int number, StkFloat value)Mandolin [virtual]
                            handleError(const char *message, StkError::Type type)Stk [static]
                            handleError(std::string message, StkError::Type type)Stk [static]
                            handleError(StkError::Type type)Stk [protected]
                            Instrmnt()Instrmnt
                            pluck(StkFloat amplitude)Mandolin
                            pluck(StkFloat amplitude, StkFloat position)Mandolin
                            PluckTwo(StkFloat lowestFrequency)PluckTwo
                            printErrors(bool status)Stk [inline, static]
                            rawwavePath(void)Stk [inline, static]
                            sampleRate(void)Stk [inline, static]
                            setBaseLoopGain(StkFloat aGain)PluckTwo
                            setPluckPosition(StkFloat position)PluckTwo
                            setRawwavePath(std::string path)Stk [static]
                            setSampleRate(StkFloat rate)Stk [inline, static]
                            showWarnings(bool status)Stk [inline, static]
                            sleep(unsigned long milliseconds)Stk [static]
                            Stk(void)Stk [protected]
                            STK_FLOAT32Stk [static]
                            swap16(unsigned char *ptr)Stk [static]
                            swap32(unsigned char *ptr)Stk [static]
                            swap64(unsigned char *ptr)Stk [static]
                            tick()Mandolin [virtual]
                            tick(StkFloat *vector, unsigned int vectorSize)Mandolin [virtual]
                            tick(StkFrames &frames, unsigned int channel=1)Mandolin [virtual]
                            tick(void)Instrmnt
                            tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                            ~Instrmnt()Instrmnt [virtual]
                            ~Mandolin()Mandolin
                            ~PluckTwo()PluckTwo [virtual]
                            - +
                            The Synthesis ToolKit in C++ (STK)
                            ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            diff --git a/doc/html/classMandolin.html b/doc/html/classMandolin.html index db8302a..d092d99 100644 --- a/doc/html/classMandolin.html +++ b/doc/html/classMandolin.html @@ -8,8 +8,8 @@    

                            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                            - -

                            Mandolin Class Reference

                            #include <Mandolin.h> + +

                            Mandolin Class Reference

                            #include <Mandolin.h>

                            Inheritance diagram for Mandolin:

                            @@ -26,95 +26,39 @@ This is a digital waveguide model, making its use possibly subject to patents he Control Change Numbers:
                            • Body Size = 2
                            • Pluck Position = 4
                            • String Sustain = 11
                            • String Detuning = 1
                            • Microphone Position = 128

                            -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                            - -

                            -Definition at line 36 of file Mandolin.h. +
                            - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - -

                            Public Member Functions

                            Mandolin (StkFloat lowestFrequency)

                            Public Member Functions

                            Mandolin (StkFloat lowestFrequency)
                             Class constructor, taking the lowest desired playing frequency.

                            ~Mandolin ()
                             Class constructor, taking the lowest desired playing frequency.
                            ~Mandolin ()
                             Class destructor.

                            -void pluck (StkFloat amplitude)
                             Class destructor.
                            +void pluck (StkFloat amplitude)
                             Pluck the strings with the given amplitude (0.0 - 1.0) using the current frequency.

                            -void pluck (StkFloat amplitude, StkFloat position)
                             Pluck the strings with the given amplitude (0.0 - 1.0) using the current frequency.
                            +void pluck (StkFloat amplitude, StkFloat position)
                             Pluck the strings with the given amplitude (0.0 - 1.0) and position (0.0 - 1.0).

                            -void noteOn (StkFloat frequency, StkFloat amplitude)
                             Pluck the strings with the given amplitude (0.0 - 1.0) and position (0.0 - 1.0).
                            +void noteOn (StkFloat frequency, StkFloat amplitude)
                             Start a note with the given frequency and amplitude (0.0 - 1.0).

                            -void setBodySize (StkFloat size)
                             Start a note with the given frequency and amplitude (0.0 - 1.0).
                            +void setBodySize (StkFloat size)
                             Set the body size (a value of 1.0 produces the "default" size).

                            -StkFloat tick ()
                             Set the body size (a value of 1.0 produces the "default" size).
                            +void controlChange (int number, StkFloat value)
                             Compute one output sample.

                            -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                             Computer vectorSize outputs and return them in vector.

                            StkFramestick (StkFrames &frames, unsigned int channel=1)
                             Fill a channel of the StkFrames object with computed outputs.

                            -void controlChange (int number, StkFloat value)
                             Perform the control change specified by number and value (0.0 - 128.0).

                            -


                            Member Function Documentation

                            -

                            - - - - -
                            - - - - - - - - - - - - - - - - - - - -
                            StkFrames& Mandolin::tick StkFrames frames,
                            unsigned int  channel = 1
                            [virtual]
                            -
                            - - - - - +
                            -   - - -

                            -Fill a channel of the StkFrames object with computed outputs. -

                            -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                            -Implements PluckTwo.

                             Perform the control change specified by number and value (0.0 - 128.0).


                            The documentation for this class was generated from the following file: @@ -122,7 +66,7 @@ Implements PluckTwo. - +
                            The Synthesis ToolKit in C++ (STK)
                            ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            diff --git a/doc/html/classMandolin__coll__graph.map b/doc/html/classMandolin__coll__graph.map new file mode 100644 index 0000000..ec3a3b7 --- /dev/null +++ b/doc/html/classMandolin__coll__graph.map @@ -0,0 +1,10 @@ +base referer +rect $classPluckTwo.html 177,392 247,414 +rect $classInstrmnt.html 56,134 112,155 +rect $classStk.html 240,16 277,38 +rect $classFilter.html 239,88 279,110 +rect $classWvIn.html 391,339 431,360 +rect $classDelayA.html 84,278 137,299 +rect $classDelay.html 191,179 233,200 +rect $classDelayL.html 187,278 237,299 +rect $classOneZero.html 277,224 341,246 diff --git a/doc/html/classMandolin__coll__graph.md5 b/doc/html/classMandolin__coll__graph.md5 new file mode 100644 index 0000000..a46e585 --- /dev/null +++ b/doc/html/classMandolin__coll__graph.md5 @@ -0,0 +1 @@ +d6f1c3c13c7469ad7806e69cb9bea567 \ No newline at end of file diff --git a/doc/html/classMandolin__coll__graph.png b/doc/html/classMandolin__coll__graph.png new file mode 100644 index 0000000..f13e77b Binary files /dev/null and b/doc/html/classMandolin__coll__graph.png differ diff --git a/doc/html/classMandolin__inherit__graph.map b/doc/html/classMandolin__inherit__graph.map new file mode 100644 index 0000000..bb5441f --- /dev/null +++ b/doc/html/classMandolin__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classPluckTwo.html 7,155 76,176 +rect $classInstrmnt.html 13,86 69,107 +rect $classStk.html 23,16 60,38 diff --git a/doc/html/classMandolin__inherit__graph.md5 b/doc/html/classMandolin__inherit__graph.md5 new file mode 100644 index 0000000..6965f5e --- /dev/null +++ b/doc/html/classMandolin__inherit__graph.md5 @@ -0,0 +1 @@ +d486b3f1ba87a6a1a36b4895ac2203fd \ No newline at end of file diff --git a/doc/html/classMandolin__inherit__graph.png b/doc/html/classMandolin__inherit__graph.png new file mode 100644 index 0000000..71f7d23 Binary files /dev/null and b/doc/html/classMandolin__inherit__graph.png differ diff --git a/doc/html/classMesh2D-members.html b/doc/html/classMesh2D-members.html index 017e766..a96ea01 100644 --- a/doc/html/classMesh2D-members.html +++ b/doc/html/classMesh2D-members.html @@ -8,14 +8,15 @@    

                            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                            - -

                            Mesh2D Member List

                            This is the complete list of members for Mesh2D, including all inherited members. + +

                            Mesh2D Member List

                            This is the complete list of members for Mesh2D, including all inherited members.

                            - + - + + @@ -23,6 +24,7 @@ + @@ -32,6 +34,7 @@ + @@ -43,10 +46,8 @@ - - - - + + @@ -54,7 +55,7 @@
                            clear()Mesh2D
                            controlChange(int number, StkFloat value)Mesh2D [virtual]
                            controlChange(int number, StkFloat value)Mesh2D [virtual]
                            energy()Mesh2D
                            handleError(const char *message, StkError::Type type)Stk [static]
                            handleError(const char *message, StkError::Type type)Stk [static]
                            handleError(std::string message, StkError::Type type)Stk [static]
                            handleError(StkError::Type type)Stk [protected]
                            inputTick(StkFloat input)Mesh2D
                            Instrmnt()Instrmnt
                            lastOut() const Instrmnt
                            lastOutLeft() const Instrmnt
                            Mesh2D(short nX, short nY)Mesh2D
                            noteOff(StkFloat amplitude)Mesh2D [virtual]
                            noteOn(StkFloat frequency, StkFloat amplitude)Mesh2D [virtual]
                            printErrors(bool status)Stk [inline, static]
                            rawwavePath(void)Stk [inline, static]
                            sampleRate(void)Stk [inline, static]
                            setDecay(StkFloat decayFactor)Mesh2D
                            setNY(short lenY)Mesh2D
                            setRawwavePath(std::string path)Stk [static]
                            setSampleRate(StkFloat rate)Stk [inline, static]
                            showWarnings(bool status)Stk [inline, static]
                            sleep(unsigned long milliseconds)Stk [static]
                            Stk(void)Stk [protected]
                            STK_FLOAT32Stk [static]
                            swap16(unsigned char *ptr)Stk [static]
                            swap32(unsigned char *ptr)Stk [static]
                            swap64(unsigned char *ptr)Stk [static]
                            tick()Mesh2D [virtual]
                            tick(StkFloat input)Mesh2D
                            tick(StkFloat *vector, unsigned int vectorSize)Mesh2D [virtual]
                            tick(StkFrames &frames, unsigned int channel=1)Mesh2D [virtual]
                            tick(void)Instrmnt
                            tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                            ~Instrmnt()Instrmnt [virtual]
                            ~Mesh2D()Mesh2D
                            ~Stk(void)Stk [protected, virtual]
                            - +
                            The Synthesis ToolKit in C++ (STK)
                            ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            diff --git a/doc/html/classMesh2D.html b/doc/html/classMesh2D.html index 71ea4a3..1db1f09 100644 --- a/doc/html/classMesh2D.html +++ b/doc/html/classMesh2D.html @@ -8,8 +8,8 @@    

                            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                            - -

                            Mesh2D Class Reference

                            #include <Mesh2D.h> + +

                            Mesh2D Class Reference

                            #include <Mesh2D.h>

                            Inheritance diagram for Mesh2D:

                            @@ -25,115 +25,59 @@ This is a digital waveguide model, making its use possibly subject to patents he Control Change Numbers:
                            • X Dimension = 2
                            • Y Dimension = 4
                            • Mesh Decay = 11
                            • X-Y Input Position = 1

                            -by Julius Smith, 2000 - 2002. Revised by Gary Scavone for STK, 2002. +by Julius Smith, 2000 - 2002. Revised by Gary Scavone for STK, 2002.

                            - -

                            -Definition at line 36 of file Mesh2D.h. +
                            - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - -

                            Public Member Functions

                            Mesh2D (short nX, short nY)

                            Public Member Functions

                            Mesh2D (short nX, short nY)
                             Class constructor, taking the x and y dimensions in samples.

                            ~Mesh2D ()
                             Class constructor, taking the x and y dimensions in samples.
                            ~Mesh2D ()
                             Class destructor.

                            -void clear ()
                             Class destructor.
                            +void clear ()
                             Reset and clear all internal state.

                            -void setNX (short lenX)
                             Reset and clear all internal state.
                            +void setNX (short lenX)
                             Set the x dimension size in samples.

                            -void setNY (short lenY)
                             Set the x dimension size in samples.
                            +void setNY (short lenY)
                             Set the y dimension size in samples.

                            -void setInputPosition (StkFloat xFactor, StkFloat yFactor)
                             Set the y dimension size in samples.
                            +void setInputPosition (StkFloat xFactor, StkFloat yFactor)
                             Set the x, y input position on a 0.0 - 1.0 scale.

                            -void setDecay (StkFloat decayFactor)
                             Set the x, y input position on a 0.0 - 1.0 scale.
                            +void setDecay (StkFloat decayFactor)
                             Set the loss filters gains (0.0 - 1.0).

                            -void noteOn (StkFloat frequency, StkFloat amplitude)
                             Set the loss filters gains (0.0 - 1.0).
                            +void noteOn (StkFloat frequency, StkFloat amplitude)
                             Impulse the mesh with the given amplitude (frequency ignored).

                            -void noteOff (StkFloat amplitude)
                             Impulse the mesh with the given amplitude (frequency ignored).
                            +void noteOff (StkFloat amplitude)
                             Stop a note with the given amplitude (speed of decay) ... currently ignored.

                            -StkFloat energy ()
                             Stop a note with the given amplitude (speed of decay) ... currently ignored.
                            +StkFloat energy ()
                             Calculate and return the signal energy stored in the mesh.

                            -StkFloat tick ()
                             Calculate and return the signal energy stored in the mesh.
                            +StkFloat inputTick (StkFloat input)
                             Compute one output sample, without adding energy to the mesh.

                            -StkFloat tick (StkFloat input)
                             Input a sample to the mesh and compute one output sample.
                            +void controlChange (int number, StkFloat value)
                             Input a sample to the mesh and compute one output sample.

                            -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                             Computer vectorSize outputs and return them in vector.

                            StkFramestick (StkFrames &frames, unsigned int channel=1)
                             Fill a channel of the StkFrames object with computed outputs.

                            -void controlChange (int number, StkFloat value)
                             Perform the control change specified by number and value (0.0 - 128.0).

                            -


                            Member Function Documentation

                            -

                            - - - - -
                            - - - - - - - - - - - - - - - - - - - -
                            StkFrames& Mesh2D::tick StkFrames frames,
                            unsigned int  channel = 1
                            [virtual]
                            -
                            - - - - - +
                            -   - - -

                            -Fill a channel of the StkFrames object with computed outputs. -

                            -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                            -Reimplemented from Instrmnt.

                             Perform the control change specified by number and value (0.0 - 128.0).


                            The documentation for this class was generated from the following file: @@ -141,7 +85,7 @@ Reimplemented from Instrmnt. - +
                            The Synthesis ToolKit in C++ (STK)
                            ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            diff --git a/doc/html/classMesh2D__coll__graph.map b/doc/html/classMesh2D__coll__graph.map new file mode 100644 index 0000000..fd26d3b --- /dev/null +++ b/doc/html/classMesh2D__coll__graph.map @@ -0,0 +1,5 @@ +base referer +rect $classInstrmnt.html 7,133 63,155 +rect $classStk.html 47,16 84,37 +rect $classFilter.html 77,88 117,109 +rect $classOnePole.html 71,179 132,200 diff --git a/doc/html/classMesh2D__coll__graph.md5 b/doc/html/classMesh2D__coll__graph.md5 new file mode 100644 index 0000000..578c289 --- /dev/null +++ b/doc/html/classMesh2D__coll__graph.md5 @@ -0,0 +1 @@ +6b16b5c0994ace35642c369d5bd2459e \ No newline at end of file diff --git a/doc/html/classMesh2D__coll__graph.png b/doc/html/classMesh2D__coll__graph.png new file mode 100644 index 0000000..ab6fc27 Binary files /dev/null and b/doc/html/classMesh2D__coll__graph.png differ diff --git a/doc/html/classMesh2D__inherit__graph.map b/doc/html/classMesh2D__inherit__graph.map new file mode 100644 index 0000000..ba86dfe --- /dev/null +++ b/doc/html/classMesh2D__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 7,85 63,106 +rect $classStk.html 16,16 53,37 diff --git a/doc/html/classMesh2D__inherit__graph.md5 b/doc/html/classMesh2D__inherit__graph.md5 new file mode 100644 index 0000000..8b10ae3 --- /dev/null +++ b/doc/html/classMesh2D__inherit__graph.md5 @@ -0,0 +1 @@ +ea0756279046ca4a8922e64d18b5ccfb \ No newline at end of file diff --git a/doc/html/classMesh2D__inherit__graph.png b/doc/html/classMesh2D__inherit__graph.png new file mode 100644 index 0000000..83d1844 Binary files /dev/null and b/doc/html/classMesh2D__inherit__graph.png differ diff --git a/doc/html/classMessager-members.html b/doc/html/classMessager-members.html index 05ffc11..c328286 100644 --- a/doc/html/classMessager-members.html +++ b/doc/html/classMessager-members.html @@ -8,20 +8,25 @@    

                            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                            - -

                            Messager Member List

                            This is the complete list of members for Messager, including all inherited members. - + +

                            Messager Member List

                            This is the complete list of members for Messager, including all inherited members.

                            handleError(const char *message, StkError::Type type)Stk [static]
                            + + - + + + + + @@ -38,7 +43,7 @@
                            handleError(const char *message, StkError::Type type)Stk [static]
                            handleError(std::string message, StkError::Type type)Stk [static]
                            handleError(StkError::Type type)Stk [protected]
                            Messager()Messager
                            popMessage(Skini::Message &message)Messager
                            printErrors(bool status)Stk [inline, static]
                            pushMessage(Skini::Message &message)Messager
                            rawwavePath(void)Stk [inline, static]
                            sampleRate(void)Stk [inline, static]
                            setRawwavePath(std::string path)Stk [static]
                            setSampleRate(StkFloat rate)Stk [inline, static]
                            setScoreFile(const char *filename)Messager
                            setScoreFile(const char *filename)Messager
                            showWarnings(bool status)Stk [inline, static]
                            sleep(unsigned long milliseconds)Stk [static]
                            startMidiInput(int port=0)Messager
                            startSocketInput(int port=2001)Messager
                            startStdInput()Messager
                            Stk(void)Stk [protected]
                            STK_FLOAT32Stk [static]
                            STK_FLOAT64Stk [static]
                            - +
                            The Synthesis ToolKit in C++ (STK)
                            ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            diff --git a/doc/html/classMessager.html b/doc/html/classMessager.html index dcd0c45..e5f5719 100644 --- a/doc/html/classMessager.html +++ b/doc/html/classMessager.html @@ -8,8 +8,8 @@    

                            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                            - -

                            Messager Class Reference

                            #include <Messager.h> + +

                            Messager Class Reference

                            #include <Messager.h>

                            Inheritance diagram for Messager:

                            @@ -23,52 +23,58 @@ This class reads and parses control messages from a variety of sources, such as The various realtime message acquisition mechanisms (from MIDI, socket, or stdin) take place asynchronously, filling the message queue. A call to popMessage() will pop the next available control message from the queue and return it via the referenced Message structure. When a non-realtime scorefile is set, it is not possible to start reading realtime input messages (from MIDI, socket, or stdin). Likewise, it is not possible to read from a scorefile when a realtime input mechanism is running.

                            When MIDI input is started, input is also automatically read from stdin. This allows for program termination via the terminal window. An __SK_Exit_ message is pushed onto the stack whenever an "exit" or "Exit" message is received from stdin or when all socket connections close and no stdin thread is running.

                            This class is primarily for use in STK example programs but it is generic enough to work in many other contexts.

                            -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                            - -

                            -Definition at line 57 of file Messager.h. +
                            - - + + - - + + - - + + - - + + - - + + - + + + + + + + + + +

                            Public Member Functions

                            Messager ()

                            Public Member Functions

                            Messager ()
                             Default constructor.

                            ~Messager ()
                             Default constructor.
                            ~Messager ()
                             Class destructor.

                            void popMessage (Skini::Message &message)
                             Class destructor.
                            void popMessage (Skini::Message &message)
                             Pop the next message from the queue and write it to the referenced message structure.

                            -void pushMessage (Skini::Message &message)
                             Pop the next message from the queue and write it to the referenced message structure.
                            +void pushMessage (Skini::Message &message)
                             Push the referenced message onto the message stack.

                            bool setScoreFile (const char *filename)
                             Push the referenced message onto the message stack.
                            bool setScoreFile (const char *filename)
                             Specify a SKINI formatted scorefile from which messages should be read.

                             Specify a SKINI formatted scorefile from which messages should be read.
                            bool startStdInput ()
                             Initiate the "realtime" retreival from stdin of control messages into the queue.
                            bool startSocketInput (int port=2001)
                             Start a socket server, accept connections, and read "realtime" control messages into the message queue.
                            bool startMidiInput (int port=0)
                             Start MIDI input, with optional device and port identifiers.


                            Member Function Documentation

                            -

                            - +

                            +

                            - + -
                            void Messager::popMessage void Messager::popMessage Skini::Message message  ) 
                            - +
                            - +
                              @@ -78,28 +84,27 @@ void 

                            - +

                            +

                            - + -
                            bool Messager::setScoreFile bool Messager::setScoreFile const char *  filename  ) 
                            - +
                            +A return value of true indicates the call was successful. A return value of false can occur if the file is not found, cannot be opened, another file is currently still open, or if a realtime input mechanism is running. Scorefile input is considered to be a non-realtime control mechanism that cannot run concurrently with realtime input. + +
                              @@ -109,7 +114,96 @@ Invalid messages (or an empty queue) are indicated by type values of zero, in wh

                            Specify a SKINI formatted scorefile from which messages should be read.

                            -A return value of true indicates the call was successful. A return value of false can occur if the file is not found, cannot be opened, another file is currently still open, or if a realtime input mechanism is running. Scorefile input is considered to be a non-realtime control mechanism that cannot run concurrently with realtime input.

                            +

                            + + + + +
                            + + + + + + + + +
                            bool Messager::startStdInput  ) 
                            +
                            + + + + + +
                            +   + + +

                            +Initiate the "realtime" retreival from stdin of control messages into the queue. +

                            +This function initiates a thread for asynchronous retrieval of SKINI formatted messages from stdin. A return value of true indicates the call was successful. A return value of false can occur if a scorefile is being read, a stdin thread is already running, or a thread error occurs during startup. Stdin input is considered to be a realtime control mechanism that cannot run concurrently with non-realtime scorefile input.

                            +

                            + + + + +
                            + + + + + + + + + +
                            bool Messager::startSocketInput int  port = 2001  ) 
                            +
                            + + + + + +
                            +   + + +

                            +Start a socket server, accept connections, and read "realtime" control messages into the message queue. +

                            +This function creates a socket server on the optional port (default = 2001) and starts a thread for asynchronous retrieval of SKINI formatted messages from socket connections. A return value of true indicates the call was successful. A return value of false can occur if a scorefile is being read, a socket thread is already running, or an error occurs during the socket server or thread initialization stages. Socket input is considered to be a realtime control mechanism that cannot run concurrently with non-realtime scorefile input.

                            +

                            + + + + +
                            + + + + + + + + + +
                            bool Messager::startMidiInput int  port = 0  ) 
                            +
                            + + + +
                            +   + + +

                            +Start MIDI input, with optional device and port identifiers. +

                            +This function creates an RtMidiIn instance for MIDI input. The RtMidiIn class invokes a local callback function to read incoming messages into the queue. If port = -1, RtMidiIn will open a virtual port to which other software applications can connect (OS X and Linux only). A return value of true indicates the call was successful. A return value of false can occur if a scorefile is being read, MIDI input is already running, or an error occurs during RtMidiIn construction. Midi input is considered to be a realtime control mechanism that cannot run concurrently with non-realtime scorefile input.


                            The documentation for this class was generated from the following file:
                              @@ -118,7 +212,7 @@ A return value of true indicates the call was successful. A return - +
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classMessager__coll__graph.map b/doc/html/classMessager__coll__graph.map new file mode 100644 index 0000000..be80f78 --- /dev/null +++ b/doc/html/classMessager__coll__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 21,16 59,37 diff --git a/doc/html/classMessager__coll__graph.md5 b/doc/html/classMessager__coll__graph.md5 new file mode 100644 index 0000000..325feca --- /dev/null +++ b/doc/html/classMessager__coll__graph.md5 @@ -0,0 +1 @@ +947bb994d958c05be9cf48f10449f407 \ No newline at end of file diff --git a/doc/html/classMessager__coll__graph.png b/doc/html/classMessager__coll__graph.png new file mode 100644 index 0000000..77f3ce3 Binary files /dev/null and b/doc/html/classMessager__coll__graph.png differ diff --git a/doc/html/classMessager__inherit__graph.map b/doc/html/classMessager__inherit__graph.map new file mode 100644 index 0000000..be80f78 --- /dev/null +++ b/doc/html/classMessager__inherit__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 21,16 59,37 diff --git a/doc/html/classMessager__inherit__graph.md5 b/doc/html/classMessager__inherit__graph.md5 new file mode 100644 index 0000000..55e53af --- /dev/null +++ b/doc/html/classMessager__inherit__graph.md5 @@ -0,0 +1 @@ +9d13c0facfa28de3a2da6f2f07025456 \ No newline at end of file diff --git a/doc/html/classMessager__inherit__graph.png b/doc/html/classMessager__inherit__graph.png new file mode 100644 index 0000000..77f3ce3 Binary files /dev/null and b/doc/html/classMessager__inherit__graph.png differ diff --git a/doc/html/classMidiFileIn-members.html b/doc/html/classMidiFileIn-members.html index 5fb59b1..c227301 100644 --- a/doc/html/classMidiFileIn-members.html +++ b/doc/html/classMidiFileIn-members.html @@ -8,23 +8,25 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              MidiFileIn Member List

                              This is the complete list of members for MidiFileIn, including all inherited members. + +

                              MidiFileIn Member List

                              This is the complete list of members for MidiFileIn, including all inherited members.

                              - + + + @@ -42,7 +44,7 @@
                              getDivision() const MidiFileIn
                              getFileFormat() const MidiFileIn
                              getNextEvent(std::vector< unsigned char > *event, unsigned int track=0)MidiFileIn
                              getNextMidiEvent(std::vector< unsigned char > *midiEvent, unsigned int track=0)MidiFileIn
                              getNumberOfTracks() const MidiFileIn
                              getTickSeconds(unsigned int track=0)MidiFileIn
                              handleError(const char *message, StkError::Type type)Stk [static]
                              handleError(const char *message, StkError::Type type)Stk [static]
                              handleError(std::string message, StkError::Type type)Stk [static]
                              handleError(StkError::Type type)Stk [protected]
                              MidiFileIn(std::string fileName)MidiFileIn
                              printErrors(bool status)Stk [inline, static]
                              rawwavePath(void)Stk [inline, static]
                              rewindTrack(unsigned int track=0)MidiFileIn
                              sampleRate(void)Stk [inline, static]
                              setRawwavePath(std::string path)Stk [static]
                              setSampleRate(StkFloat rate)Stk [inline, static]
                              showWarnings(bool status)Stk [inline, static]
                              sleep(unsigned long milliseconds)Stk [static]
                              Stk(void)Stk [protected]
                              STK_FLOAT32Stk [static]
                              - +
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classMidiFileIn.html b/doc/html/classMidiFileIn.html index d575a17..d062689 100644 --- a/doc/html/classMidiFileIn.html +++ b/doc/html/classMidiFileIn.html @@ -8,8 +8,8 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              MidiFileIn Class Reference

                              #include <MidiFileIn.h> + +

                              MidiFileIn Class Reference

                              #include <MidiFileIn.h>

                              Inheritance diagram for MidiFileIn:

                              @@ -20,64 +20,61 @@ A standard MIDI file reading/parsing class.

                              This class can be used to read events from a standard MIDI file. Event bytes are copied to a C++ vector and must be subsequently interpreted by the user. The function getNextMidiEvent() skips meta and sysex events, returning only MIDI channel messages. Event delta-times are returned in the form of "ticks" and a function is provided to determine the current "seconds per tick". Tempo changes are internally tracked by the class and reflected in the values returned by the function getTickSeconds().

                              -by Gary P. Scavone, 2003. +by Gary P. Scavone, 2003.

                              - -

                              -Definition at line 27 of file MidiFileIn.h. +
                              - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - +

                              Public Member Functions

                               MidiFileIn (std::string fileName)

                              Public Member Functions

                               MidiFileIn (std::string fileName)
                               Default constructor.

                              ~MidiFileIn ()
                               Default constructor.
                              ~MidiFileIn ()
                               Class destructor.

                              -int getFileFormat () const
                               Class destructor.
                              +int getFileFormat () const
                               Return the MIDI file format (0, 1, or 2).

                              -unsigned int getNumberOfTracks () const
                               Return the MIDI file format (0, 1, or 2).
                              +unsigned int getNumberOfTracks () const
                               Return the number of tracks in the MIDI file.

                              int getDivision () const
                               Return the number of tracks in the MIDI file.
                              int getDivision () const
                               Return the MIDI file division value from the file header.

                              void rewindTrack (unsigned int track=0)
                               Return the MIDI file division value from the file header.
                              void rewindTrack (unsigned int track=0)
                               Move the specified track event reader to the beginning of its track.

                              double getTickSeconds (unsigned int track=0)
                               Move the specified track event reader to the beginning of its track.
                              double getTickSeconds (unsigned int track=0)
                               Get the current value, in seconds, of delta-time ticks for the specified track.

                              unsigned long getNextEvent (std::vector< unsigned char > *event, unsigned int track=0)
                               Get the current value, in seconds, of delta-time ticks for the specified track.
                              unsigned long getNextEvent (std::vector< unsigned char > *event, unsigned int track=0)
                               Fill the user-provided vector with the next event in the specified track and return the event delta-time in ticks.

                              unsigned long getNextMidiEvent (std::vector< unsigned char > *midiEvent, unsigned int track=0)
                               Fill the user-provided vector with the next event in the specified track and return the event delta-time in ticks.
                              unsigned long getNextMidiEvent (std::vector< unsigned char > *midiEvent, unsigned int track=0)
                               Fill the user-provided vector with the next MIDI channel event in the specified track and return the event delta time in ticks.

                               Fill the user-provided vector with the next MIDI channel event in the specified track and return the event delta time in ticks.


                              Constructor & Destructor Documentation

                              -

                              - +

                              +

                              - + -
                              MidiFileIn::MidiFileIn MidiFileIn::MidiFileIn std::string  fileName  ) 
                              - +
                              +If an error occurs while opening or parsing the file header, an StkError exception will be thrown.
                                @@ -87,28 +84,27 @@ unsigned int  Default constructor.

                              -If an error occurs while opening or parsing the file header, an StkError exception will be thrown.


                              Member Function Documentation

                              -

                              - +

                              +

                              - + -
                              int MidiFileIn::getDivision int MidiFileIn::getDivision  )  const
                              - +
                              +Note that this value must be "parsed" in accordance with the MIDI File Specification. In particular, if the MSB is set, the file uses time-code representations for delta-time values.
                                @@ -118,28 +114,27 @@ If an error occurs while opening or parsing the file header, an Return the MIDI file division value from the file header.

                              -Note that this value must be "parsed" in accordance with the MIDI File Specification. In particular, if the MSB is set, the file uses time-code representations for delta-time values.

                              -

                              - +

                              +

                              - + - + -
                              void MidiFileIn::rewindTrack void MidiFileIn::rewindTrack unsigned int  track = 0 track = 0  ) 
                              - +
                              +The relevant track tempo value is reset as well. If an invalid track number is specified, an StkError exception will be thrown.
                                @@ -149,28 +144,27 @@ Note that this value must be "parsed" in accordance with the MIDI File Specifica

                              Move the specified track event reader to the beginning of its track.

                              -The relevant track tempo value is reset as well. If an invalid track number is specified, an StkError exception will be thrown.

                              -

                              - +

                              +

                              - + - + -
                              double MidiFileIn::getTickSeconds double MidiFileIn::getTickSeconds unsigned int  track = 0 track = 0  ) 
                              - +
                              +This value can change as events are read (via "Set Tempo" Meta-Events). Therefore, one should call this function after every call to getNextEvent() or getNextMidiEvent(). If an invalid track number is specified, an StkError exception will be thrown.
                                @@ -180,37 +174,36 @@ The relevant track tempo value is reset as well. If an invalid track number is s

                              Get the current value, in seconds, of delta-time ticks for the specified track.

                              -This value can change as events are read (via "Set Tempo" Meta-Events). Therefore, one should call this function after every call to getNextEvent() or getNextMidiEvent(). If an invalid track number is specified, an StkError exception will be thrown.

                              -

                              - +

                              +

                              - + - - + + - + - + -
                              unsigned long MidiFileIn::getNextEvent unsigned long MidiFileIn::getNextEvent std::vector< unsigned char > *  event,
                              unsigned int  track = 0 track = 0
                              - +
                              +MIDI File events consist of a delta time and a sequence of event bytes. This function returns the delta-time value and writes the subsequent event bytes directly to the event vector. The user must parse the event bytes in accordance with the MIDI File Specification. All returned MIDI channel events are complete ... a status byte is provided even when running status is used in the file. If the track has reached its end, no bytes will be written and the event vector size will be zero. If an invalid track number is specified or an error occurs while reading the file, an StkError exception will be thrown.
                                @@ -220,37 +213,36 @@ This value can change as events are read (via "Set Tempo" Meta-Events). Therefor

                              Fill the user-provided vector with the next event in the specified track and return the event delta-time in ticks.

                              -MIDI File events consist of a delta time and a sequence of event bytes. This function returns the delta-time value and writes the subsequent event bytes directly to the event vector. The user must parse the event bytes in accordance with the MIDI File Specification. All returned MIDI channel events are complete ... a status byte is provided even when running status is used in the file. If the track has reached its end, no bytes will be written and the event vector size will be zero. If an invalid track number is specified or an error occurs while reading the file, an StkError exception will be thrown.

                              -

                              - +

                              +

                              - + - - + + - + - + -
                              unsigned long MidiFileIn::getNextMidiEvent unsigned long MidiFileIn::getNextMidiEvent std::vector< unsigned char > *  midiEvent,
                              unsigned int  track = 0 track = 0
                              - +
                              +All returned MIDI events are complete ... a status byte is provided even when running status is used in the file. Meta and sysex events in the track are skipped though "Set Tempo" events are properly parsed for use by the getTickSeconds() function. If the track has reached its end, no bytes will be written and the event vector size will be zero. If an invalid track number is specified or an error occurs while reading the file, an StkError exception will be thrown.
                                @@ -260,7 +252,7 @@ MIDI File events consist of a delta time and a sequence of event bytes. This fun

                              Fill the user-provided vector with the next MIDI channel event in the specified track and return the event delta time in ticks.

                              -All returned MIDI events are complete ... a status byte is provided even when running status is used in the file. Meta and sysex events in the track are skipped though "Set Tempo" events are properly parsed for use by the getTickSeconds() function. If the track has reached its end, no bytes will be written and the event vector size will be zero. If an invalid track number is specified or an error occurs while reading the file, an StkError exception will be thrown.


                              The documentation for this class was generated from the following file:
                                @@ -269,7 +261,7 @@ All returned MIDI events are complete ... a status byte is provided even when ru - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classMidiFileIn__coll__graph.map b/doc/html/classMidiFileIn__coll__graph.map new file mode 100644 index 0000000..fca2ba0 --- /dev/null +++ b/doc/html/classMidiFileIn__coll__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 20,16 57,37 diff --git a/doc/html/classMidiFileIn__coll__graph.md5 b/doc/html/classMidiFileIn__coll__graph.md5 new file mode 100644 index 0000000..eab5779 --- /dev/null +++ b/doc/html/classMidiFileIn__coll__graph.md5 @@ -0,0 +1 @@ +23af00f229cafe866fea4255d58b646d \ No newline at end of file diff --git a/doc/html/classMidiFileIn__coll__graph.png b/doc/html/classMidiFileIn__coll__graph.png new file mode 100644 index 0000000..89d77cc Binary files /dev/null and b/doc/html/classMidiFileIn__coll__graph.png differ diff --git a/doc/html/classMidiFileIn__inherit__graph.map b/doc/html/classMidiFileIn__inherit__graph.map new file mode 100644 index 0000000..fca2ba0 --- /dev/null +++ b/doc/html/classMidiFileIn__inherit__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 20,16 57,37 diff --git a/doc/html/classMidiFileIn__inherit__graph.md5 b/doc/html/classMidiFileIn__inherit__graph.md5 new file mode 100644 index 0000000..9ae9b54 --- /dev/null +++ b/doc/html/classMidiFileIn__inherit__graph.md5 @@ -0,0 +1 @@ +3f70530e5e8c8a0868a5e1511ff14a69 \ No newline at end of file diff --git a/doc/html/classMidiFileIn__inherit__graph.png b/doc/html/classMidiFileIn__inherit__graph.png new file mode 100644 index 0000000..89d77cc Binary files /dev/null and b/doc/html/classMidiFileIn__inherit__graph.png differ diff --git a/doc/html/classModal-members.html b/doc/html/classModal-members.html index 1bbd3fe..05057ea 100644 --- a/doc/html/classModal-members.html +++ b/doc/html/classModal-members.html @@ -8,12 +8,12 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                Modal Member List

                                This is the complete list of members for Modal, including all inherited members. + +

                                Modal Member List

                                This is the complete list of members for Modal, including all inherited members.

                                - + - + @@ -23,6 +23,7 @@ + @@ -32,6 +33,7 @@ + @@ -44,9 +46,8 @@ - - - + + @@ -54,7 +55,7 @@
                                clear()Modal
                                controlChange(int number, StkFloat value)=0Modal [pure virtual]
                                controlChange(int number, StkFloat value)=0Modal [pure virtual]
                                damp(StkFloat amplitude)Modal
                                handleError(const char *message, StkError::Type type)Stk [static]
                                handleError(const char *message, StkError::Type type)Stk [static]
                                handleError(std::string message, StkError::Type type)Stk [static]
                                handleError(StkError::Type type)Stk [protected]
                                Instrmnt()Instrmnt
                                Modal(unsigned int modes=4)Modal
                                noteOff(StkFloat amplitude)Modal [virtual]
                                noteOn(StkFloat frequency, StkFloat amplitude)Modal [virtual]
                                printErrors(bool status)Stk [inline, static]
                                rawwavePath(void)Stk [inline, static]
                                sampleRate(void)Stk [inline, static]
                                setDirectGain(StkFloat aGain)Modal
                                setRatioAndRadius(unsigned int modeIndex, StkFloat ratio, StkFloat radius)Modal
                                setRawwavePath(std::string path)Stk [static]
                                setSampleRate(StkFloat rate)Stk [inline, static]
                                showWarnings(bool status)Stk [inline, static]
                                sleep(unsigned long milliseconds)Stk [static]
                                Stk(void)Stk [protected]
                                STK_FLOAT32Stk [static]
                                swap16(unsigned char *ptr)Stk [static]
                                swap32(unsigned char *ptr)Stk [static]
                                swap64(unsigned char *ptr)Stk [static]
                                tick()Modal [virtual]
                                tick(StkFloat *vector, unsigned int vectorSize)Modal [virtual]
                                tick(StkFrames &frames, unsigned int channel=1)Modal [virtual]
                                tick(void)Instrmnt
                                tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                                ~Instrmnt()Instrmnt [virtual]
                                ~Modal()Modal [virtual]
                                ~Stk(void)Stk [protected, virtual]
                                - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classModal.html b/doc/html/classModal.html index b6fdb99..e133ca4 100644 --- a/doc/html/classModal.html +++ b/doc/html/classModal.html @@ -8,8 +8,8 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                Modal Class Reference

                                #include <Modal.h> + +

                                Modal Class Reference

                                #include <Modal.h>

                                Inheritance diagram for Modal:

                                @@ -22,96 +22,82 @@ STK resonance model instrument.

                                This class contains an excitation wavetable, an envelope, an oscillator, and N resonances (non-sweeping BiQuad filters), where N is set during instantiation.

                                -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                - -

                                -Definition at line 23 of file Modal.h. +
                                - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

                                Public Member Functions

                                 Modal (unsigned int modes=4)

                                Public Member Functions

                                 Modal (unsigned int modes=4)
                                 Class constructor, taking the desired number of modes to create.

                                -virtual ~Modal ()
                                 Class constructor, taking the desired number of modes to create.
                                +virtual ~Modal ()
                                 Class destructor.

                                -void clear ()
                                 Class destructor.
                                +void clear ()
                                 Reset and clear all internal state.

                                -virtual void setFrequency (StkFloat frequency)
                                 Reset and clear all internal state.
                                +virtual void setFrequency (StkFloat frequency)
                                 Set instrument parameters for a particular frequency.

                                -void setRatioAndRadius (unsigned int modeIndex, StkFloat ratio, StkFloat radius)
                                 Set instrument parameters for a particular frequency.
                                +void setRatioAndRadius (unsigned int modeIndex, StkFloat ratio, StkFloat radius)
                                 Set the ratio and radius for a specified mode filter.

                                -void setMasterGain (StkFloat aGain)
                                 Set the ratio and radius for a specified mode filter.
                                +void setMasterGain (StkFloat aGain)
                                 Set the master gain.

                                -void setDirectGain (StkFloat aGain)
                                 Set the master gain.
                                +void setDirectGain (StkFloat aGain)
                                 Set the direct gain.

                                -void setModeGain (unsigned int modeIndex, StkFloat gain)
                                 Set the direct gain.
                                +void setModeGain (unsigned int modeIndex, StkFloat gain)
                                 Set the gain for a specified mode filter.

                                -virtual void strike (StkFloat amplitude)
                                 Set the gain for a specified mode filter.
                                +virtual void strike (StkFloat amplitude)
                                 Initiate a strike with the given amplitude (0.0 - 1.0).

                                -void damp (StkFloat amplitude)
                                 Initiate a strike with the given amplitude (0.0 - 1.0).
                                +void damp (StkFloat amplitude)
                                 Damp modes with a given decay factor (0.0 - 1.0).

                                -void noteOn (StkFloat frequency, StkFloat amplitude)
                                 Damp modes with a given decay factor (0.0 - 1.0).
                                +void noteOn (StkFloat frequency, StkFloat amplitude)
                                 Start a note with the given frequency and amplitude.

                                -void noteOff (StkFloat amplitude)
                                 Start a note with the given frequency and amplitude.
                                +void noteOff (StkFloat amplitude)
                                 Stop a note with the given amplitude (speed of decay).

                                -virtual StkFloat tick ()
                                 Stop a note with the given amplitude (speed of decay).
                                +virtual void controlChange (int number, StkFloat value)=0
                                 Compute one output sample.

                                -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                 Computer vectorSize outputs and return them in vector.

                                virtual StkFramestick (StkFrames &frames, unsigned int channel=1)
                                 Fill a channel of the StkFrames object with computed outputs.

                                -virtual void controlChange (int number, StkFloat value)=0
                                 Perform the control change specified by number and value (0.0 - 128.0).

                                 Perform the control change specified by number and value (0.0 - 128.0).


                                Constructor & Destructor Documentation

                                -

                                - +

                                +

                                - + - + -
                                Modal::Modal Modal::Modal unsigned int  modes = 4 modes = 4  ) 
                                - +
                                - -
                                  @@ -121,50 +107,7 @@ virtual void  Class constructor, taking the desired number of modes to create.

                                -An StkError will be thrown if the rawwave path is incorrectly set.

                                -


                                Member Function Documentation

                                -

                                - - - - -
                                - - - - - - - - - - - - - - - - - - - -
                                virtual StkFrames& Modal::tick StkFrames frames,
                                unsigned int  channel = 1
                                [virtual]
                                -
                                - - - - +An StkError will be thrown if the rawwave path is incorrectly set.
                                -   - - -

                                -Fill a channel of the StkFrames object with computed outputs. -

                                -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                -Reimplemented from Instrmnt.


                                The documentation for this class was generated from the following file:

                                -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                - -

                                -Definition at line 36 of file ModalBar.h. +
                                - - + + - - + + - - + + - - + + - - + + - - + + - - + + - +

                                Public Member Functions

                                ModalBar ()

                                Public Member Functions

                                ModalBar ()
                                 Class constructor.

                                ~ModalBar ()
                                 Class constructor.
                                ~ModalBar ()
                                 Class destructor.

                                -void setStickHardness (StkFloat hardness)
                                 Class destructor.
                                +void setStickHardness (StkFloat hardness)
                                 Set stick hardness (0.0 - 1.0).

                                -void setStrikePosition (StkFloat position)
                                 Set stick hardness (0.0 - 1.0).
                                +void setStrikePosition (StkFloat position)
                                 Set stick position (0.0 - 1.0).

                                -void setPreset (int preset)
                                 Set stick position (0.0 - 1.0).
                                +void setPreset (int preset)
                                 Select a bar preset (currently modulo 9).

                                -void setModulationDepth (StkFloat mDepth)
                                 Select a bar preset (currently modulo 9).
                                +void setModulationDepth (StkFloat mDepth)
                                 Set the modulation (vibrato) depth.

                                -void controlChange (int number, StkFloat value)
                                 Set the modulation (vibrato) depth.
                                +void controlChange (int number, StkFloat value)
                                 Perform the control change specified by number and value (0.0 - 128.0).

                                 Perform the control change specified by number and value (0.0 - 128.0).


                                The documentation for this class was generated from the following file: @@ -69,7 +67,7 @@ void 
                            The Synthesis ToolKit in C++ (STK)
                            ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            diff --git a/doc/html/classModalBar__coll__graph.map b/doc/html/classModalBar__coll__graph.map new file mode 100644 index 0000000..fc1e6f6 --- /dev/null +++ b/doc/html/classModalBar__coll__graph.map @@ -0,0 +1,11 @@ +base referer +rect $classModal.html 193,269 239,291 +rect $classInstrmnt.html 7,133 63,155 +rect $classStk.html 240,16 277,37 +rect $classWvIn.html 193,88 233,109 +rect $classFilter.html 285,88 325,109 +rect $classGenerator.html 381,88 451,109 +rect $classWaveLoop.html 176,179 251,200 +rect $classOnePole.html 275,179 336,200 +rect $classBiQuad.html 360,179 413,200 +rect $classEnvelope.html 445,179 509,200 diff --git a/doc/html/classModalBar__coll__graph.md5 b/doc/html/classModalBar__coll__graph.md5 new file mode 100644 index 0000000..389c7b0 --- /dev/null +++ b/doc/html/classModalBar__coll__graph.md5 @@ -0,0 +1 @@ +a3756734bec96c451b96da1f1e0b8959 \ No newline at end of file diff --git a/doc/html/classModalBar__coll__graph.png b/doc/html/classModalBar__coll__graph.png new file mode 100644 index 0000000..908505d Binary files /dev/null and b/doc/html/classModalBar__coll__graph.png differ diff --git a/doc/html/classModalBar__inherit__graph.map b/doc/html/classModalBar__inherit__graph.map new file mode 100644 index 0000000..0573345 --- /dev/null +++ b/doc/html/classModalBar__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classModal.html 17,155 63,176 +rect $classInstrmnt.html 12,86 68,107 +rect $classStk.html 21,16 59,38 diff --git a/doc/html/classModalBar__inherit__graph.md5 b/doc/html/classModalBar__inherit__graph.md5 new file mode 100644 index 0000000..1caa8fe --- /dev/null +++ b/doc/html/classModalBar__inherit__graph.md5 @@ -0,0 +1 @@ +a5b4f7992c76343d1ff4a78f2b44e070 \ No newline at end of file diff --git a/doc/html/classModalBar__inherit__graph.png b/doc/html/classModalBar__inherit__graph.png new file mode 100644 index 0000000..f4b6bdd Binary files /dev/null and b/doc/html/classModalBar__inherit__graph.png differ diff --git a/doc/html/classModal__coll__graph.map b/doc/html/classModal__coll__graph.map new file mode 100644 index 0000000..03622dc --- /dev/null +++ b/doc/html/classModal__coll__graph.map @@ -0,0 +1,10 @@ +base referer +rect $classInstrmnt.html 7,133 63,155 +rect $classStk.html 240,16 277,37 +rect $classWvIn.html 193,88 233,109 +rect $classFilter.html 285,88 325,109 +rect $classGenerator.html 381,88 451,109 +rect $classWaveLoop.html 176,179 251,200 +rect $classOnePole.html 275,179 336,200 +rect $classBiQuad.html 360,179 413,200 +rect $classEnvelope.html 445,179 509,200 diff --git a/doc/html/classModal__coll__graph.md5 b/doc/html/classModal__coll__graph.md5 new file mode 100644 index 0000000..e74cffe --- /dev/null +++ b/doc/html/classModal__coll__graph.md5 @@ -0,0 +1 @@ +ca15b5e79addc7cd7a22e1e58f66b4d9 \ No newline at end of file diff --git a/doc/html/classModal__coll__graph.png b/doc/html/classModal__coll__graph.png new file mode 100644 index 0000000..28d5b61 Binary files /dev/null and b/doc/html/classModal__coll__graph.png differ diff --git a/doc/html/classModal__inherit__graph.map b/doc/html/classModal__inherit__graph.map new file mode 100644 index 0000000..a21e84b --- /dev/null +++ b/doc/html/classModal__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classModalBar.html 7,224 73,246 +rect $classInstrmnt.html 12,86 68,107 +rect $classStk.html 21,16 59,38 diff --git a/doc/html/classModal__inherit__graph.md5 b/doc/html/classModal__inherit__graph.md5 new file mode 100644 index 0000000..25463ff --- /dev/null +++ b/doc/html/classModal__inherit__graph.md5 @@ -0,0 +1 @@ +fa70076405fd63e0b4dca2662fc712b2 \ No newline at end of file diff --git a/doc/html/classModal__inherit__graph.png b/doc/html/classModal__inherit__graph.png new file mode 100644 index 0000000..e912fab Binary files /dev/null and b/doc/html/classModal__inherit__graph.png differ diff --git a/doc/html/classModulate-members.html b/doc/html/classModulate-members.html index 0a61666..36fc2fe 100644 --- a/doc/html/classModulate-members.html +++ b/doc/html/classModulate-members.html @@ -8,14 +8,15 @@    

                            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                            - -

                            Modulate Member List

                            This is the complete list of members for Modulate, including all inherited members. - - + +

                            Modulate Member List

                            This is the complete list of members for Modulate, including all inherited members.

                            Generator()Generator
                            handleError(const char *message, StkError::Type type)Stk [static]
                            + + - + + @@ -24,6 +25,7 @@ + @@ -35,17 +37,16 @@ - - - - + + +
                            Generator(void)Generator
                            handleError(const char *message, StkError::Type type)Stk [static]
                            handleError(std::string message, StkError::Type type)Stk [static]
                            handleError(StkError::Type type)Stk [protected]
                            lastOut() const Generator [inline, virtual]
                            lastOut(void) const Generator [inline, virtual]
                            Modulate()Modulate
                            printErrors(bool status)Stk [inline, static]
                            rawwavePath(void)Stk [inline, static]
                            reset()Modulate
                            sampleRate(void)Stk [inline, static]
                            setSampleRate(StkFloat rate)Stk [inline, static]
                            setVibratoGain(StkFloat gain)Modulate
                            setVibratoRate(StkFloat rate)Modulate
                            showWarnings(bool status)Stk [inline, static]
                            sleep(unsigned long milliseconds)Stk [static]
                            Stk(void)Stk [protected]
                            STK_FLOAT32Stk [static]
                            swap16(unsigned char *ptr)Stk [static]
                            swap32(unsigned char *ptr)Stk [static]
                            swap64(unsigned char *ptr)Stk [static]
                            tick()Modulate [virtual]
                            tick(StkFloat *vector, unsigned int vectorSize)Modulate [virtual]
                            tick(StkFrames &frames, unsigned int channel=1)Modulate [virtual]
                            ~Generator()Generator [virtual]
                            tick(void)Generator
                            tick(StkFrames &frames, unsigned int channel=0)Generator
                            ~Generator(void)Generator [virtual]
                            ~Modulate()Modulate
                            ~Stk(void)Stk [protected, virtual]

                            - +
                            The Synthesis ToolKit in C++ (STK)
                            ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                            diff --git a/doc/html/classModulate.html b/doc/html/classModulate.html index d12c7de..4371fa1 100644 --- a/doc/html/classModulate.html +++ b/doc/html/classModulate.html @@ -8,8 +8,8 @@    

                            Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                            - -

                            Modulate Class Reference

                            #include <Modulate.h> + +

                            Modulate Class Reference

                            #include <Modulate.h>

                            Inheritance diagram for Modulate:

                            @@ -21,67 +21,53 @@ STK periodic/random modulator.

                            This class combines random and periodic modulations to give a nice, natural human modulation function.

                            -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                            - -

                            -Definition at line 21 of file Modulate.h. +
                            - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

                            Public Member Functions

                             Modulate ()

                            Public Member Functions

                             Modulate ()
                             Class constructor.

                            ~Modulate ()
                             Class constructor.
                            ~Modulate ()
                             Class destructor.

                            -void reset ()
                             Class destructor.
                            +void reset ()
                             Reset internal state.

                            -void setVibratoRate (StkFloat rate)
                             Reset internal state.
                            +void setVibratoRate (StkFloat rate)
                             Set the periodic (vibrato) rate or frequency in Hz.

                            -void setVibratoGain (StkFloat gain)
                             Set the periodic (vibrato) rate or frequency in Hz.
                            +void setVibratoGain (StkFloat gain)
                             Set the periodic (vibrato) gain.

                            -void setRandomGain (StkFloat gain)
                             Set the periodic (vibrato) gain.
                            +void setRandomGain (StkFloat gain)
                             Set the random modulation gain.

                            -StkFloat tick ()
                             Compute one output sample.

                            -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                             Compute vectorSize outputs and return them in vector.

                            StkFramestick (StkFrames &frames, unsigned int channel=1)
                             Fill a channel of the StkFrames object with computed outputs.

                             Set the random modulation gain.


                            Constructor & Destructor Documentation

                            -

                            - +

                            +

                            - + -
                            Modulate::Modulate Modulate::Modulate  ) 
                            - +
                            - -
                              @@ -91,50 +77,7 @@ StkFloat * StkError can be thrown if the rawwave path is incorrect.
                            -


                            Member Function Documentation

                            -

                            - - - - -
                            - - - - - - - - - - - - - - - - - - - -
                            StkFrames& Modulate::tick StkFrames frames,
                            unsigned int  channel = 1
                            [virtual]
                            -
                            - - - - +An StkError can be thrown if the rawwave path is incorrect.
                            -   - - -

                            -Fill a channel of the StkFrames object with computed outputs. -

                            -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                            -Reimplemented from Generator.


                            The documentation for this class was generated from the following file:
                              @@ -143,7 +86,7 @@ Reimplemented from Generator. - +
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classModulate__coll__graph.map b/doc/html/classModulate__coll__graph.map new file mode 100644 index 0000000..d9565ce --- /dev/null +++ b/doc/html/classModulate__coll__graph.map @@ -0,0 +1,9 @@ +base referer +rect $classGenerator.html 56,88 125,109 +rect $classNoise.html 69,160 112,181 +rect $classStk.html 153,16 191,37 +rect $classFilter.html 152,88 192,109 +rect $classWvIn.html 223,88 263,109 +rect $classOnePole.html 141,205 203,227 +rect $classSubNoise.html 57,251 124,272 +rect $classWaveLoop.html 228,205 303,227 diff --git a/doc/html/classModulate__coll__graph.md5 b/doc/html/classModulate__coll__graph.md5 new file mode 100644 index 0000000..a1f2c08 --- /dev/null +++ b/doc/html/classModulate__coll__graph.md5 @@ -0,0 +1 @@ +f33a1c25ecc6530f0589e906557d3ab5 \ No newline at end of file diff --git a/doc/html/classModulate__coll__graph.png b/doc/html/classModulate__coll__graph.png new file mode 100644 index 0000000..85439d1 Binary files /dev/null and b/doc/html/classModulate__coll__graph.png differ diff --git a/doc/html/classModulate__inherit__graph.map b/doc/html/classModulate__inherit__graph.map new file mode 100644 index 0000000..337ffbe --- /dev/null +++ b/doc/html/classModulate__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classGenerator.html 7,85 76,106 +rect $classStk.html 23,16 60,37 diff --git a/doc/html/classModulate__inherit__graph.md5 b/doc/html/classModulate__inherit__graph.md5 new file mode 100644 index 0000000..92ce77e --- /dev/null +++ b/doc/html/classModulate__inherit__graph.md5 @@ -0,0 +1 @@ +1ef14f872b2d49f2124688b0537fffd2 \ No newline at end of file diff --git a/doc/html/classModulate__inherit__graph.png b/doc/html/classModulate__inherit__graph.png new file mode 100644 index 0000000..ba0c0f6 Binary files /dev/null and b/doc/html/classModulate__inherit__graph.png differ diff --git a/doc/html/classMoog-members.html b/doc/html/classMoog-members.html index 1c15b2c..dda6f7e 100644 --- a/doc/html/classMoog-members.html +++ b/doc/html/classMoog-members.html @@ -8,11 +8,11 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              Moog Member List

                              This is the complete list of members for Moog, including all inherited members. + +

                              Moog Member List

                              This is the complete list of members for Moog, including all inherited members.

                              - - + + @@ -24,6 +24,7 @@ + @@ -32,6 +33,7 @@ + @@ -43,9 +45,8 @@ - - - + + @@ -54,7 +55,7 @@
                              clear()Sampler
                              controlChange(int number, StkFloat value)Moog [virtual]
                              handleError(const char *message, StkError::Type type)Stk [static]
                              controlChange(int number, StkFloat value)Moog [virtual]
                              handleError(const char *message, StkError::Type type)Stk [static]
                              handleError(std::string message, StkError::Type type)Stk [static]
                              handleError(StkError::Type type)Stk [protected]
                              Instrmnt()Instrmnt
                              Moog()Moog
                              noteOff(StkFloat amplitude)Sampler [virtual]
                              noteOn(StkFloat frequency, StkFloat amplitude)Moog [virtual]
                              printErrors(bool status)Stk [inline, static]
                              rawwavePath(void)Stk [inline, static]
                              Sampler()Sampler
                              sampleRate(void)Stk [inline, static]
                              setModulationSpeed(StkFloat mSpeed)Moog
                              setRawwavePath(std::string path)Stk [static]
                              setSampleRate(StkFloat rate)Stk [inline, static]
                              showWarnings(bool status)Stk [inline, static]
                              sleep(unsigned long milliseconds)Stk [static]
                              Stk(void)Stk [protected]
                              STK_FLOAT32Stk [static]
                              swap16(unsigned char *ptr)Stk [static]
                              swap32(unsigned char *ptr)Stk [static]
                              swap64(unsigned char *ptr)Stk [static]
                              tick()Moog [virtual]
                              tick(StkFloat *vector, unsigned int vectorSize)Moog [virtual]
                              tick(StkFrames &frames, unsigned int channel=1)Moog [virtual]
                              tick(void)Instrmnt
                              tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                              ~Instrmnt()Instrmnt [virtual]
                              ~Moog()Moog
                              ~Sampler()Sampler [virtual]
                              - +
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classMoog.html b/doc/html/classMoog.html index 60d91b1..118f20b 100644 --- a/doc/html/classMoog.html +++ b/doc/html/classMoog.html @@ -8,8 +8,8 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              Moog Class Reference

                              #include <Moog.h> + +

                              Moog Class Reference

                              #include <Moog.h>

                              Inheritance diagram for Moog:

                              @@ -25,71 +25,57 @@ This instrument uses one attack wave, one looped wave, and an
                            • Filter Q = 2
                            • Filter Sweep Rate = 4
                            • Vibrato Frequency = 11
                            • Vibrato Gain = 1
                            • Gain = 128

                            -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                            - -

                            -Definition at line 27 of file Moog.h. +
                            - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

                            Public Member Functions

                             Moog ()

                            Public Member Functions

                             Moog ()
                             Class constructor.

                            ~Moog ()
                             Class constructor.
                            ~Moog ()
                             Class destructor.

                            -void setFrequency (StkFloat frequency)
                             Class destructor.
                            +void setFrequency (StkFloat frequency)
                             Set instrument parameters for a particular frequency.

                            -void noteOn (StkFloat frequency, StkFloat amplitude)
                             Set instrument parameters for a particular frequency.
                            +void noteOn (StkFloat frequency, StkFloat amplitude)
                             Start a note with the given frequency and amplitude.

                            -void setModulationSpeed (StkFloat mSpeed)
                             Start a note with the given frequency and amplitude.
                            +void setModulationSpeed (StkFloat mSpeed)
                             Set the modulation (vibrato) speed in Hz.

                            -void setModulationDepth (StkFloat mDepth)
                             Set the modulation (vibrato) speed in Hz.
                            +void setModulationDepth (StkFloat mDepth)
                             Set the modulation (vibrato) depth.

                            -StkFloat tick ()
                             Set the modulation (vibrato) depth.
                            +void controlChange (int number, StkFloat value)
                             Compute one output sample.

                            -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                             Computer vectorSize outputs and return them in vector.

                            StkFramestick (StkFrames &frames, unsigned int channel=1)
                             Fill a channel of the StkFrames object with computed outputs.

                            -void controlChange (int number, StkFloat value)
                             Perform the control change specified by number and value (0.0 - 128.0).

                             Perform the control change specified by number and value (0.0 - 128.0).


                            Constructor & Destructor Documentation

                            -

                            - +

                            +

                            - + -
                            Moog::Moog Moog::Moog  ) 
                            - +
                            - -
                              @@ -99,50 +85,7 @@ void StkError will be thrown if the rawwave path is incorrectly set.
                            -


                            Member Function Documentation

                            -

                            - - - - -
                            - - - - - - - - - - - - - - - - - - - -
                            StkFrames& Moog::tick StkFrames frames,
                            unsigned int  channel = 1
                            [virtual]
                            -
                            - - - - +An StkError will be thrown if the rawwave path is incorrectly set.
                            -   - - -

                            -Fill a channel of the StkFrames object with computed outputs. -

                            -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                            -Implements Sampler.


                            The documentation for this class was generated from the following file:
                              @@ -151,7 +94,7 @@ Implements Sampler. - +
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classMoog__coll__graph.map b/doc/html/classMoog__coll__graph.map new file mode 100644 index 0000000..aa40cf0 --- /dev/null +++ b/doc/html/classMoog__coll__graph.map @@ -0,0 +1,11 @@ +base referer +rect $classSampler.html 87,342 148,363 +rect $classInstrmnt.html 7,134 63,155 +rect $classStk.html 88,16 125,38 +rect $classGenerator.html 72,88 141,110 +rect $classFilter.html 169,179 209,200 +rect $classADSR.html 73,251 121,272 +rect $classEnvelope.html 73,179 137,200 +rect $classOnePole.html 159,251 220,272 +rect $classBiQuad.html 245,251 299,272 +rect $classFormSwep.html 215,342 289,363 diff --git a/doc/html/classMoog__coll__graph.md5 b/doc/html/classMoog__coll__graph.md5 new file mode 100644 index 0000000..e1c0ea2 --- /dev/null +++ b/doc/html/classMoog__coll__graph.md5 @@ -0,0 +1 @@ +6aeebdcfeac9269e3a51b57f4db06724 \ No newline at end of file diff --git a/doc/html/classMoog__coll__graph.png b/doc/html/classMoog__coll__graph.png new file mode 100644 index 0000000..a3c5d90 Binary files /dev/null and b/doc/html/classMoog__coll__graph.png differ diff --git a/doc/html/classMoog__inherit__graph.map b/doc/html/classMoog__inherit__graph.map new file mode 100644 index 0000000..219a2c5 --- /dev/null +++ b/doc/html/classMoog__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classSampler.html 7,155 68,176 +rect $classInstrmnt.html 9,86 65,107 +rect $classStk.html 19,16 56,38 diff --git a/doc/html/classMoog__inherit__graph.md5 b/doc/html/classMoog__inherit__graph.md5 new file mode 100644 index 0000000..8689255 --- /dev/null +++ b/doc/html/classMoog__inherit__graph.md5 @@ -0,0 +1 @@ +b3ef2fe6959091eecc1072513136fed0 \ No newline at end of file diff --git a/doc/html/classMoog__inherit__graph.png b/doc/html/classMoog__inherit__graph.png new file mode 100644 index 0000000..a358b06 Binary files /dev/null and b/doc/html/classMoog__inherit__graph.png differ diff --git a/doc/html/classMutex-members.html b/doc/html/classMutex-members.html index 6b7dd7c..b1163bd 100644 --- a/doc/html/classMutex-members.html +++ b/doc/html/classMutex-members.html @@ -8,17 +8,19 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              Mutex Member List

                              This is the complete list of members for Mutex, including all inherited members. - + +

                              Mutex Member List

                              This is the complete list of members for Mutex, including all inherited members.

                              handleError(const char *message, StkError::Type type)Stk [static]
                              + + + @@ -39,7 +41,7 @@
                              handleError(const char *message, StkError::Type type)Stk [static]
                              handleError(std::string message, StkError::Type type)Stk [static]
                              handleError(StkError::Type type)Stk [protected]
                              lock(void)Mutex
                              Mutex()Mutex
                              printErrors(bool status)Stk [inline, static]
                              rawwavePath(void)Stk [inline, static]
                              sampleRate(void)Stk [inline, static]
                              setRawwavePath(std::string path)Stk [static]
                              setSampleRate(StkFloat rate)Stk [inline, static]
                              showWarnings(bool status)Stk [inline, static]
                              signal(void)Mutex
                              sleep(unsigned long milliseconds)Stk [static]
                              Stk(void)Stk [protected]
                              - +
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classMutex.html b/doc/html/classMutex.html index ea968cd..828cb46 100644 --- a/doc/html/classMutex.html +++ b/doc/html/classMutex.html @@ -8,8 +8,8 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              Mutex Class Reference

                              #include <Mutex.h> + +

                              Mutex Class Reference

                              #include <Mutex.h>

                              Inheritance diagram for Mutex:

                              @@ -20,56 +20,53 @@ STK mutex class.

                              This class provides a uniform interface for cross-platform mutex use. On Linux and IRIX systems, the pthread library is used. Under Windows, critical sections are used.

                              -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                              - -

                              -Definition at line 34 of file Mutex.h. +
                              - - + + - - + + - - + + - - + + - - + + - - + + - +

                              Public Member Functions

                              Mutex ()

                              Public Member Functions

                              Mutex ()
                               Default constructor.

                              ~Mutex ()
                               Default constructor.
                              ~Mutex ()
                               Class destructor.

                              -void lock (void)
                               Class destructor.
                              +void lock (void)
                               Lock the mutex.

                              -void unlock (void)
                               Lock the mutex.
                              +void unlock (void)
                               Unlock the mutex.

                              void wait (void)
                               Unlock the mutex.
                              void wait (void)
                               Wait indefinitely on the mutex condition variable.

                              void signal (void)
                               Wait indefinitely on the mutex condition variable.
                              void signal (void)
                               Signal the condition variable.

                               Signal the condition variable.


                              Member Function Documentation

                              -

                              - +

                              +

                              - + -
                              void Mutex::wait void Mutex::wait void   ) 
                              - +
                                @@ -79,28 +76,27 @@ void 

                              - +

                              +

                              - + -
                              void Mutex::signal void Mutex::signal void   ) 
                              - +
                              +The mutex must be locked before calling this function, and then subsequently unlocked after this function returns.
                                @@ -110,7 +106,7 @@ The mutex must be locked before calling this function, and then subsequently unl

                              Signal the condition variable.

                              -The mutex must be locked before calling this function, and then subsequently unlocked after this function returns.


                              The documentation for this class was generated from the following file:
                                @@ -119,7 +115,7 @@ The mutex must be locked before calling this function, and then subsequently unl - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classMutex__coll__graph.map b/doc/html/classMutex__coll__graph.map new file mode 100644 index 0000000..bd4d253 --- /dev/null +++ b/doc/html/classMutex__coll__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 11,16 48,37 diff --git a/doc/html/classMutex__coll__graph.md5 b/doc/html/classMutex__coll__graph.md5 new file mode 100644 index 0000000..8a5e497 --- /dev/null +++ b/doc/html/classMutex__coll__graph.md5 @@ -0,0 +1 @@ +d618b621fa82116e108bebfdbe61ca98 \ No newline at end of file diff --git a/doc/html/classMutex__coll__graph.png b/doc/html/classMutex__coll__graph.png new file mode 100644 index 0000000..722c010 Binary files /dev/null and b/doc/html/classMutex__coll__graph.png differ diff --git a/doc/html/classMutex__inherit__graph.map b/doc/html/classMutex__inherit__graph.map new file mode 100644 index 0000000..bd4d253 --- /dev/null +++ b/doc/html/classMutex__inherit__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 11,16 48,37 diff --git a/doc/html/classMutex__inherit__graph.md5 b/doc/html/classMutex__inherit__graph.md5 new file mode 100644 index 0000000..f5102e5 --- /dev/null +++ b/doc/html/classMutex__inherit__graph.md5 @@ -0,0 +1 @@ +6ccd2a912f8854bcd8a4a693f4379aff \ No newline at end of file diff --git a/doc/html/classMutex__inherit__graph.png b/doc/html/classMutex__inherit__graph.png new file mode 100644 index 0000000..722c010 Binary files /dev/null and b/doc/html/classMutex__inherit__graph.png differ diff --git a/doc/html/classNRev-members.html b/doc/html/classNRev-members.html index 6692552..47d9089 100644 --- a/doc/html/classNRev-members.html +++ b/doc/html/classNRev-members.html @@ -8,23 +8,25 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                NRev Member List

                                This is the complete list of members for NRev, including all inherited members. + +

                                NRev Member List

                                This is the complete list of members for NRev, including all inherited members.

                                - + + + @@ -36,9 +38,8 @@ - - - + + @@ -46,7 +47,7 @@
                                clear()NRev [virtual]
                                Effect()Effect
                                handleError(const char *message, StkError::Type type)Stk [static]
                                handleError(const char *message, StkError::Type type)Stk [static]
                                handleError(std::string message, StkError::Type type)Stk [static]
                                handleError(StkError::Type type)Stk [protected]
                                lastOut() const Effect
                                lastOutLeft() const Effect
                                lastOutRight() const Effect
                                NRev(StkFloat T60=1.0)NRev
                                printErrors(bool status)Stk [inline, static]
                                rawwavePath(void)Stk [inline, static]
                                sampleRate(void)Stk [inline, static]
                                setEffectMix(StkFloat mix)Effect
                                setRawwavePath(std::string path)Stk [static]
                                setSampleRate(StkFloat rate)Stk [inline, static]
                                setT60(StkFloat T60)NRev
                                showWarnings(bool status)Stk [inline, static]
                                sleep(unsigned long milliseconds)Stk [static]
                                Stk(void)Stk [protected]
                                STK_FLOAT32Stk [static]
                                swap16(unsigned char *ptr)Stk [static]
                                swap32(unsigned char *ptr)Stk [static]
                                swap64(unsigned char *ptr)Stk [static]
                                tick(StkFloat input)NRev [virtual]
                                tick(StkFloat *vector, unsigned int vectorSize)NRev [virtual]
                                tick(StkFrames &frames, unsigned int channel=1)NRev [virtual]
                                tick(StkFloat input)Effect
                                tick(StkFrames &frames, unsigned int channel=0)Effect
                                ~Effect()Effect [virtual]
                                ~NRev()NRev
                                ~Stk(void)Stk [protected, virtual]
                                - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classNRev.html b/doc/html/classNRev.html index 423f235..6b26f55 100644 --- a/doc/html/classNRev.html +++ b/doc/html/classNRev.html @@ -8,8 +8,8 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                NRev Class Reference

                                #include <NRev.h> + +

                                NRev Class Reference

                                #include <NRev.h>

                                Inheritance diagram for NRev:

                                @@ -21,83 +21,27 @@ CCRMA's NRev reverberator class.

                                This class is derived from the CLM NRev function, which is based on the use of networks of simple allpass and comb delay filters. This particular arrangement consists of 6 comb filters in parallel, followed by 3 allpass filters, a lowpass filter, and another allpass in series, followed by two allpass filters in parallel with corresponding right and left outputs.

                                -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                - -

                                -Definition at line 25 of file NRev.h. +
                                - - + + - - + + - - + + - - + + - - - - - - - - - - -

                                Public Member Functions

                                NRev (StkFloat T60=1.0)

                                Public Member Functions

                                NRev (StkFloat T60=1.0)
                                 Class constructor taking a T60 decay time argument (one second default value).

                                ~NRev ()
                                 Class constructor taking a T60 decay time argument (one second default value).
                                ~NRev ()
                                 Class destructor.

                                -void clear ()
                                 Class destructor.
                                +void clear ()
                                 Reset and clear all internal state.

                                -void setT60 (StkFloat T60)
                                 Reset and clear all internal state.
                                +void setT60 (StkFloat T60)
                                 Set the reverberation T60 decay time.

                                -StkFloat tick (StkFloat input)
                                 Compute one output sample.

                                -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                 Take vectorSize inputs, compute the same number of outputs and return them in vector.

                                StkFramestick (StkFrames &frames, unsigned int channel=1)
                                 Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs.

                                -


                                Member Function Documentation

                                -

                                - - - - -
                                - - - - - - - - - - - - - - - - - - - -
                                StkFrames& NRev::tick StkFrames frames,
                                unsigned int  channel = 1
                                [virtual]
                                -
                                - - - - - +
                                -   - - -

                                -Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs. -

                                -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                -Reimplemented from Effect.

                                 Set the reverberation T60 decay time.


                                The documentation for this class was generated from the following file: @@ -105,7 +49,7 @@ Reimplemented from Effect.
                              - +
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classNRev__coll__graph.map b/doc/html/classNRev__coll__graph.map new file mode 100644 index 0000000..a2730cc --- /dev/null +++ b/doc/html/classNRev__coll__graph.map @@ -0,0 +1,5 @@ +base referer +rect $classEffect.html 7,133 52,155 +rect $classStk.html 39,16 76,37 +rect $classFilter.html 68,88 108,109 +rect $classDelay.html 68,179 111,200 diff --git a/doc/html/classNRev__coll__graph.md5 b/doc/html/classNRev__coll__graph.md5 new file mode 100644 index 0000000..68bec03 --- /dev/null +++ b/doc/html/classNRev__coll__graph.md5 @@ -0,0 +1 @@ +e4159900c2b0682983e4bd04c47cd837 \ No newline at end of file diff --git a/doc/html/classNRev__coll__graph.png b/doc/html/classNRev__coll__graph.png new file mode 100644 index 0000000..56e0982 Binary files /dev/null and b/doc/html/classNRev__coll__graph.png differ diff --git a/doc/html/classNRev__inherit__graph.map b/doc/html/classNRev__inherit__graph.map new file mode 100644 index 0000000..30760ae --- /dev/null +++ b/doc/html/classNRev__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classEffect.html 7,85 52,106 +rect $classStk.html 11,16 48,37 diff --git a/doc/html/classNRev__inherit__graph.md5 b/doc/html/classNRev__inherit__graph.md5 new file mode 100644 index 0000000..bd98a2f --- /dev/null +++ b/doc/html/classNRev__inherit__graph.md5 @@ -0,0 +1 @@ +8627ad35cb87febbba669aca02b577d7 \ No newline at end of file diff --git a/doc/html/classNRev__inherit__graph.png b/doc/html/classNRev__inherit__graph.png new file mode 100644 index 0000000..c75eac1 Binary files /dev/null and b/doc/html/classNRev__inherit__graph.png differ diff --git a/doc/html/classNoise-members.html b/doc/html/classNoise-members.html index 88c2cf4..4464fe8 100644 --- a/doc/html/classNoise-members.html +++ b/doc/html/classNoise-members.html @@ -8,20 +8,22 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              Noise Member List

                              This is the complete list of members for Noise, including all inherited members. - - + +

                              Noise Member List

                              This is the complete list of members for Noise, including all inherited members.

                              Generator()Generator
                              handleError(const char *message, StkError::Type type)Stk [static]
                              + + - + + + @@ -33,17 +35,16 @@ - - - - + + +
                              Generator(void)Generator
                              handleError(const char *message, StkError::Type type)Stk [static]
                              handleError(std::string message, StkError::Type type)Stk [static]
                              handleError(StkError::Type type)Stk [protected]
                              lastOut() const Generator [inline, virtual]
                              lastOut(void) const Generator [inline, virtual]
                              Noise()Noise
                              Noise(unsigned int seed)Noise
                              printErrors(bool status)Stk [inline, static]
                              rawwavePath(void)Stk [inline, static]
                              sampleRate(void)Stk [inline, static]
                              setRawwavePath(std::string path)Stk [static]
                              setSampleRate(StkFloat rate)Stk [inline, static]
                              setSeed(unsigned int seed=0)Noise
                              showWarnings(bool status)Stk [inline, static]
                              sleep(unsigned long milliseconds)Stk [static]
                              Stk(void)Stk [protected]
                              STK_FLOAT32Stk [static]
                              swap16(unsigned char *ptr)Stk [static]
                              swap32(unsigned char *ptr)Stk [static]
                              swap64(unsigned char *ptr)Stk [static]
                              tick()Noise [virtual]
                              tick(StkFloat *vector, unsigned int vectorSize)Noise [virtual]
                              tick(StkFrames &frames, unsigned int channel=1)Noise [virtual]
                              ~Generator()Generator [virtual]
                              tick(void)Generator
                              tick(StkFrames &frames, unsigned int channel=0)Generator
                              ~Generator(void)Generator [virtual]
                              ~Noise()Noise [virtual]
                              ~Stk(void)Stk [protected, virtual]

                              - +
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classNoise.html b/doc/html/classNoise.html index 0924d42..a3f5220 100644 --- a/doc/html/classNoise.html +++ b/doc/html/classNoise.html @@ -8,8 +8,8 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              Noise Class Reference

                              #include <Noise.h> + +

                              Noise Class Reference

                              #include <Noise.h>

                              Inheritance diagram for Noise:

                              @@ -22,59 +22,45 @@ STK noise generator.

                              Generic random number generation using the C rand() function. The quality of the rand() function varies from one OS to another.

                              -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                              - -

                              -Definition at line 18 of file Noise.h. +
                              - - + + - - + + - - + + - - + + - - - - - - - - - - +

                              Public Member Functions

                              Noise ()

                              Public Member Functions

                              Noise ()
                               Default constructor which seeds the random number generator with the system time.

                               Noise (unsigned int seed)
                               Default constructor which seeds the random number generator with the system time.
                               Noise (unsigned int seed)
                               Constructor which seeds the random number generator with a given seed.

                              -virtual ~Noise ()
                               Constructor which seeds the random number generator with a given seed.
                              +virtual ~Noise ()
                               Class destructor.

                              void setSeed (unsigned int seed=0)
                               Class destructor.
                              void setSeed (unsigned int seed=0)
                               Seed the random number generator with a specific seed value.

                              -virtual StkFloat tick ()
                               Return a random number between -1.0 and 1.0 using rand().

                              -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                               Compute vectorSize outputs and return them in vector.

                              virtual StkFramestick (StkFrames &frames, unsigned int channel=1)
                               Fill a channel of the StkFrames object with computed outputs.

                               Seed the random number generator with a specific seed value.


                              Constructor & Destructor Documentation

                              -

                              - +

                              +

                              - + -
                              Noise::Noise Noise::Noise unsigned int  seed  ) 
                              - +
                              - +
                                @@ -84,29 +70,28 @@ virtual StkFloat * 

                              - +

                              +

                              - + - + -
                              void Noise::setSeed void Noise::setSeed unsigned int  seed = 0 seed = 0  ) 
                              - +
                              - -
                                @@ -116,51 +101,7 @@ If the seed value is zero, the random number generator is seeded with the system

                              Seed the random number generator with a specific seed value.

                              -If no seed is provided or the seed value is zero, the random number generator is seeded with the current system time.

                              -

                              - - - - -
                              - - - - - - - - - - - - - - - - - - - -
                              virtual StkFrames& Noise::tick StkFrames frames,
                              unsigned int  channel = 1
                              [virtual]
                              -
                              - - - - +If no seed is provided or the seed value is zero, the random number generator is seeded with the current system time.
                              -   - - -

                              -Fill a channel of the StkFrames object with computed outputs. -

                              -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                              -Reimplemented from Generator. -

                              -Reimplemented in SubNoise.


                              The documentation for this class was generated from the following file:
                                @@ -169,7 +110,7 @@ Reimplemented in SubNoise.
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classNoise__coll__graph.map b/doc/html/classNoise__coll__graph.map new file mode 100644 index 0000000..337ffbe --- /dev/null +++ b/doc/html/classNoise__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classGenerator.html 7,85 76,106 +rect $classStk.html 23,16 60,37 diff --git a/doc/html/classNoise__coll__graph.md5 b/doc/html/classNoise__coll__graph.md5 new file mode 100644 index 0000000..d0f3577 --- /dev/null +++ b/doc/html/classNoise__coll__graph.md5 @@ -0,0 +1 @@ +4921386a2a319c0d6af4eef869637d89 \ No newline at end of file diff --git a/doc/html/classNoise__coll__graph.png b/doc/html/classNoise__coll__graph.png new file mode 100644 index 0000000..ae09b71 Binary files /dev/null and b/doc/html/classNoise__coll__graph.png differ diff --git a/doc/html/classNoise__inherit__graph.map b/doc/html/classNoise__inherit__graph.map new file mode 100644 index 0000000..d6c591b --- /dev/null +++ b/doc/html/classNoise__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classSubNoise.html 8,224 75,246 +rect $classGenerator.html 7,86 76,107 +rect $classStk.html 23,16 60,38 diff --git a/doc/html/classNoise__inherit__graph.md5 b/doc/html/classNoise__inherit__graph.md5 new file mode 100644 index 0000000..6f463cc --- /dev/null +++ b/doc/html/classNoise__inherit__graph.md5 @@ -0,0 +1 @@ +449140940ff00e587000e2bcc5825886 \ No newline at end of file diff --git a/doc/html/classNoise__inherit__graph.png b/doc/html/classNoise__inherit__graph.png new file mode 100644 index 0000000..a4af5c5 Binary files /dev/null and b/doc/html/classNoise__inherit__graph.png differ diff --git a/doc/html/classOnePole-members.html b/doc/html/classOnePole-members.html index f239d26..9635d68 100644 --- a/doc/html/classOnePole-members.html +++ b/doc/html/classOnePole-members.html @@ -8,29 +8,31 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              OnePole Member List

                              This is the complete list of members for OnePole, including all inherited members. + +

                              OnePole Member List

                              This is the complete list of members for OnePole, including all inherited members.

                              - + + - - + + - + + @@ -43,8 +45,7 @@ - - + @@ -52,7 +53,7 @@
                              clear(void)OnePole
                              Filter(void)Filter [protected]
                              Filter(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
                              getGain(void) const OnePole [virtual]
                              handleError(const char *message, StkError::Type type)Stk [protected, static]
                              handleError(const char *message, StkError::Type type)Stk [protected, static]
                              handleError(std::string message, StkError::Type type)Stk [protected, static]
                              handleError(StkError::Type type)Stk [protected]
                              lastOut(void) const OnePole [virtual]
                              OnePole()OnePole
                              OnePole(StkFloat thePole)OnePole
                              printErrors(bool status)Stk [inline, protected, static]
                              rawwavePath(void)Stk [inline, protected, static]
                              sampleRate(void)Stk [inline, protected, static]
                              setA1(StkFloat a1)OnePole
                              setB0(StkFloat b0)OnePole
                              setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
                              setDenominator(std::vector< StkFloat > &aCoefficients)Filter [protected]
                              setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
                              setDenominator(std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
                              setGain(StkFloat gain)OnePole [virtual]
                              setNumerator(std::vector< StkFloat > &bCoefficients)Filter [protected]
                              setNumerator(std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
                              setPole(StkFloat thePole)OnePole
                              setRawwavePath(std::string path)Stk [protected, static]
                              setSampleRate(StkFloat rate)Stk [inline, protected, static]
                              showWarnings(bool status)Stk [inline, protected, static]
                              sleep(unsigned long milliseconds)Stk [protected, static]
                              Stk(void)Stk [protected]
                              STK_FLOAT32Stk [protected, static]
                              swap32(unsigned char *ptr)Stk [protected, static]
                              swap64(unsigned char *ptr)Stk [protected, static]
                              tick(StkFloat sample)OnePole [virtual]
                              tick(StkFloat *vector, unsigned int vectorSize)OnePole [virtual]
                              tick(StkFrames &frames, unsigned int channel=1)OnePole [virtual]
                              tick(StkFrames &frames, unsigned int channel=0)OnePole [virtual]
                              ~Filter(void)Filter [protected, virtual]
                              ~OnePole()OnePole
                              ~Stk(void)Stk [protected, virtual]
                              - +
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classOnePole.html b/doc/html/classOnePole.html index a70c67a..b88230b 100644 --- a/doc/html/classOnePole.html +++ b/doc/html/classOnePole.html @@ -8,8 +8,8 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              OnePole Class Reference

                              #include <OnePole.h> + +

                              OnePole Class Reference

                              #include <OnePole.h>

                              Inheritance diagram for OnePole:

                              @@ -21,83 +21,76 @@ STK one-pole filter class.

                              This protected Filter subclass implements a one-pole digital filter. A method is provided for setting the pole position along the real axis of the z-plane while maintaining a constant peak filter gain.

                              -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                              - -

                              -Definition at line 20 of file OnePole.h. +
                              - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - +

                              Public Member Functions

                              OnePole ()

                              Public Member Functions

                              OnePole ()
                               Default constructor creates a first-order low-pass filter.

                              OnePole (StkFloat thePole)
                               Default constructor creates a first-order low-pass filter.
                              OnePole (StkFloat thePole)
                               Overloaded constructor which sets the pole position during instantiation.

                              ~OnePole ()
                               Overloaded constructor which sets the pole position during instantiation.
                              ~OnePole ()
                               Class destructor.

                              -void clear (void)
                               Class destructor.
                              +void clear (void)
                               Clears the internal state of the filter.

                              -void setB0 (StkFloat b0)
                               Clears the internal state of the filter.
                              +void setB0 (StkFloat b0)
                               Set the b[0] coefficient value.

                              -void setA1 (StkFloat a1)
                               Set the b[0] coefficient value.
                              +void setA1 (StkFloat a1)
                               Set the a[1] coefficient value.

                              void setPole (StkFloat thePole)
                               Set the a[1] coefficient value.
                              void setPole (StkFloat thePole)
                               Set the pole position in the z-plane.

                              void setGain (StkFloat gain)
                               Set the pole position in the z-plane.
                              void setGain (StkFloat gain)
                               Set the filter gain.

                              -StkFloat getGain (void) const
                               Set the filter gain.
                              +StkFloat getGain (void) const
                               Return the current filter gain.

                              -StkFloat lastOut (void) const
                               Return the current filter gain.
                              +StkFloat lastOut (void) const
                               Return the last computed output value.

                              -StkFloat tick (StkFloat sample)
                               Return the last computed output value.
                              +StkFloat tick (StkFloat sample)
                               Input one sample to the filter and return one output.

                              -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                               Input one sample to the filter and return one output.
                              StkFramestick (StkFrames &frames, unsigned int channel=0)
                               Input vectorSize samples to the filter and return an equal number of outputs in vector.

                              StkFramestick (StkFrames &frames, unsigned int channel=1)
                               Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

                               Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.


                              Member Function Documentation

                              -

                              - +

                              +

                              - + -
                              void OnePole::setPole void OnePole::setPole StkFloat  thePole  ) 
                              - +
                              - +
                                @@ -107,28 +100,27 @@ StkFloat * 

                              - +

                              +

                              - + -
                              void OnePole::setGain void OnePole::setGain StkFloat  gain  )  [virtual]
                              - +
                                @@ -138,39 +130,38 @@ This method sets the pole position along the real-axis of the z-plane and normal

                              Set the filter gain.

                              -The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0. +The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0.

                              Reimplemented from Filter.

                              -

                              - +

                              +

                              - + - - + + - + - + -
                              StkFrames& OnePole::tick StkFrames& OnePole::tick StkFrames frames,
                              unsigned int  channel = 1 channel = 0
                              [virtual]
                              - +

                              Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

                              -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. +The channel argument should be zero or greater (the first channel is specified by 0). An StkError will be thrown if the channel argument is equal to or greater than the number of channels in the StkFrames object.

                              -Reimplemented from Filter. +Reimplemented from Filter.

                                @@ -180,9 +171,9 @@ Reimplemented from Filter.


                              The documentation for this class was generated from the following file:
                                @@ -191,7 +182,7 @@ Reimplemented from Filter.
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classOnePole__coll__graph.map b/doc/html/classOnePole__coll__graph.map new file mode 100644 index 0000000..f4d02b8 --- /dev/null +++ b/doc/html/classOnePole__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFilter.html 17,85 57,106 +rect $classStk.html 19,16 56,37 diff --git a/doc/html/classOnePole__coll__graph.md5 b/doc/html/classOnePole__coll__graph.md5 new file mode 100644 index 0000000..f2cbf1d --- /dev/null +++ b/doc/html/classOnePole__coll__graph.md5 @@ -0,0 +1 @@ +647745154012499401a8bd3e6cd46eb5 \ No newline at end of file diff --git a/doc/html/classOnePole__coll__graph.png b/doc/html/classOnePole__coll__graph.png new file mode 100644 index 0000000..8a775f7 Binary files /dev/null and b/doc/html/classOnePole__coll__graph.png differ diff --git a/doc/html/classOnePole__inherit__graph.map b/doc/html/classOnePole__inherit__graph.map new file mode 100644 index 0000000..f4d02b8 --- /dev/null +++ b/doc/html/classOnePole__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFilter.html 17,85 57,106 +rect $classStk.html 19,16 56,37 diff --git a/doc/html/classOnePole__inherit__graph.md5 b/doc/html/classOnePole__inherit__graph.md5 new file mode 100644 index 0000000..9aa3668 --- /dev/null +++ b/doc/html/classOnePole__inherit__graph.md5 @@ -0,0 +1 @@ +4fb013befbee0b3681c6e0cf3ff5de34 \ No newline at end of file diff --git a/doc/html/classOnePole__inherit__graph.png b/doc/html/classOnePole__inherit__graph.png new file mode 100644 index 0000000..8a775f7 Binary files /dev/null and b/doc/html/classOnePole__inherit__graph.png differ diff --git a/doc/html/classOneZero-members.html b/doc/html/classOneZero-members.html index 6a04eca..7491419 100644 --- a/doc/html/classOneZero-members.html +++ b/doc/html/classOneZero-members.html @@ -8,29 +8,31 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              OneZero Member List

                              This is the complete list of members for OneZero, including all inherited members. + +

                              OneZero Member List

                              This is the complete list of members for OneZero, including all inherited members.

                              - + + - - + + - + + @@ -43,8 +45,7 @@ - - + @@ -52,7 +53,7 @@
                              clear(void)OneZero
                              Filter(void)Filter [protected]
                              Filter(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
                              getGain(void) const OneZero [virtual]
                              handleError(const char *message, StkError::Type type)Stk [protected, static]
                              handleError(const char *message, StkError::Type type)Stk [protected, static]
                              handleError(std::string message, StkError::Type type)Stk [protected, static]
                              handleError(StkError::Type type)Stk [protected]
                              lastOut(void) const OneZero [virtual]
                              OneZero()OneZero
                              OneZero(StkFloat theZero)OneZero
                              printErrors(bool status)Stk [inline, protected, static]
                              rawwavePath(void)Stk [inline, protected, static]
                              sampleRate(void)Stk [inline, protected, static]
                              setB0(StkFloat b0)OneZero
                              setB1(StkFloat b1)OneZero
                              setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
                              setDenominator(std::vector< StkFloat > &aCoefficients)Filter [protected]
                              setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
                              setDenominator(std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
                              setGain(StkFloat gain)OneZero [virtual]
                              setNumerator(std::vector< StkFloat > &bCoefficients)Filter [protected]
                              setNumerator(std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
                              setRawwavePath(std::string path)Stk [protected, static]
                              setSampleRate(StkFloat rate)Stk [inline, protected, static]
                              setZero(StkFloat theZero)OneZero
                              showWarnings(bool status)Stk [inline, protected, static]
                              sleep(unsigned long milliseconds)Stk [protected, static]
                              Stk(void)Stk [protected]
                              STK_FLOAT32Stk [protected, static]
                              swap32(unsigned char *ptr)Stk [protected, static]
                              swap64(unsigned char *ptr)Stk [protected, static]
                              tick(StkFloat sample)OneZero [virtual]
                              tick(StkFloat *vector, unsigned int vectorSize)OneZero [virtual]
                              tick(StkFrames &frames, unsigned int channel=1)OneZero [virtual]
                              tick(StkFrames &frames, unsigned int channel=0)OneZero [virtual]
                              ~Filter(void)Filter [protected, virtual]
                              ~OneZero()OneZero
                              ~Stk(void)Stk [protected, virtual]
                              - +
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classOneZero.html b/doc/html/classOneZero.html index a647453..ae9f03d 100644 --- a/doc/html/classOneZero.html +++ b/doc/html/classOneZero.html @@ -8,8 +8,8 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              OneZero Class Reference

                              #include <OneZero.h> + +

                              OneZero Class Reference

                              #include <OneZero.h>

                              Inheritance diagram for OneZero:

                              @@ -21,83 +21,76 @@ STK one-zero filter class.

                              This protected Filter subclass implements a one-zero digital filter. A method is provided for setting the zero position along the real axis of the z-plane while maintaining a constant filter gain.

                              -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                              - -

                              -Definition at line 20 of file OneZero.h. +
                              - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - +

                              Public Member Functions

                              OneZero ()

                              Public Member Functions

                              OneZero ()
                               Default constructor creates a first-order low-pass filter.

                              OneZero (StkFloat theZero)
                               Default constructor creates a first-order low-pass filter.
                              OneZero (StkFloat theZero)
                               Overloaded constructor which sets the zero position during instantiation.

                              ~OneZero ()
                               Overloaded constructor which sets the zero position during instantiation.
                              ~OneZero ()
                               Class destructor.

                              -void clear (void)
                               Class destructor.
                              +void clear (void)
                               Clears the internal state of the filter.

                              -void setB0 (StkFloat b0)
                               Clears the internal state of the filter.
                              +void setB0 (StkFloat b0)
                               Set the b[0] coefficient value.

                              -void setB1 (StkFloat b1)
                               Set the b[0] coefficient value.
                              +void setB1 (StkFloat b1)
                               Set the b[1] coefficient value.

                              void setZero (StkFloat theZero)
                               Set the b[1] coefficient value.
                              void setZero (StkFloat theZero)
                               Set the zero position in the z-plane.

                              void setGain (StkFloat gain)
                               Set the zero position in the z-plane.
                              void setGain (StkFloat gain)
                               Set the filter gain.

                              -StkFloat getGain (void) const
                               Set the filter gain.
                              +StkFloat getGain (void) const
                               Return the current filter gain.

                              -StkFloat lastOut (void) const
                               Return the current filter gain.
                              +StkFloat lastOut (void) const
                               Return the last computed output value.

                              -StkFloat tick (StkFloat sample)
                               Return the last computed output value.
                              +StkFloat tick (StkFloat sample)
                               Input one sample to the filter and return one output.

                              -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                               Input one sample to the filter and return one output.
                              StkFramestick (StkFrames &frames, unsigned int channel=0)
                               Input vectorSize samples to the filter and return an equal number of outputs in vector.

                              StkFramestick (StkFrames &frames, unsigned int channel=1)
                               Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

                               Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.


                              Member Function Documentation

                              -

                              - +

                              +

                              - + -
                              void OneZero::setZero void OneZero::setZero StkFloat  theZero  ) 
                              - +
                              - +
                                @@ -107,28 +100,27 @@ StkFloat * 

                              - +

                              +

                              - + -
                              void OneZero::setGain void OneZero::setGain StkFloat  gain  )  [virtual]
                              - +
                                @@ -138,39 +130,38 @@ This method sets the zero position along the real-axis of the z-plane and normal

                              Set the filter gain.

                              -The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0. +The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0.

                              Reimplemented from Filter.

                              -

                              - +

                              +

                              - + - - + + - + - + -
                              StkFrames& OneZero::tick StkFrames& OneZero::tick StkFrames frames,
                              unsigned int  channel = 1 channel = 0
                              [virtual]
                              - +

                              Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

                              -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. +The channel argument should be zero or greater (the first channel is specified by 0). An StkError will be thrown if the channel argument is equal to or greater than the number of channels in the StkFrames object.

                              -Reimplemented from Filter. +Reimplemented from Filter.

                                @@ -180,9 +171,9 @@ Reimplemented from Filter.


                              The documentation for this class was generated from the following file:
                                @@ -191,7 +182,7 @@ Reimplemented from Filter.
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classOneZero__coll__graph.map b/doc/html/classOneZero__coll__graph.map new file mode 100644 index 0000000..340e662 --- /dev/null +++ b/doc/html/classOneZero__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFilter.html 19,85 59,106 +rect $classStk.html 20,16 57,37 diff --git a/doc/html/classOneZero__coll__graph.md5 b/doc/html/classOneZero__coll__graph.md5 new file mode 100644 index 0000000..1289036 --- /dev/null +++ b/doc/html/classOneZero__coll__graph.md5 @@ -0,0 +1 @@ +d88e917b4f22cdda12f945045a06f9e6 \ No newline at end of file diff --git a/doc/html/classOneZero__coll__graph.png b/doc/html/classOneZero__coll__graph.png new file mode 100644 index 0000000..1d6f1e8 Binary files /dev/null and b/doc/html/classOneZero__coll__graph.png differ diff --git a/doc/html/classOneZero__inherit__graph.map b/doc/html/classOneZero__inherit__graph.map new file mode 100644 index 0000000..340e662 --- /dev/null +++ b/doc/html/classOneZero__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFilter.html 19,85 59,106 +rect $classStk.html 20,16 57,37 diff --git a/doc/html/classOneZero__inherit__graph.md5 b/doc/html/classOneZero__inherit__graph.md5 new file mode 100644 index 0000000..6487e90 --- /dev/null +++ b/doc/html/classOneZero__inherit__graph.md5 @@ -0,0 +1 @@ +d7f48ea60bcabbab85d8da89171486c7 \ No newline at end of file diff --git a/doc/html/classOneZero__inherit__graph.png b/doc/html/classOneZero__inherit__graph.png new file mode 100644 index 0000000..1d6f1e8 Binary files /dev/null and b/doc/html/classOneZero__inherit__graph.png differ diff --git a/doc/html/classPRCRev-members.html b/doc/html/classPRCRev-members.html index e8835bd..9d93e7f 100644 --- a/doc/html/classPRCRev-members.html +++ b/doc/html/classPRCRev-members.html @@ -8,23 +8,25 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              PRCRev Member List

                              This is the complete list of members for PRCRev, including all inherited members. + +

                              PRCRev Member List

                              This is the complete list of members for PRCRev, including all inherited members.

                              - + + + @@ -36,9 +38,8 @@ - - - + + @@ -46,7 +47,7 @@
                              clear()PRCRev [virtual]
                              Effect()Effect
                              handleError(const char *message, StkError::Type type)Stk [static]
                              handleError(const char *message, StkError::Type type)Stk [static]
                              handleError(std::string message, StkError::Type type)Stk [static]
                              handleError(StkError::Type type)Stk [protected]
                              lastOut() const Effect
                              lastOutLeft() const Effect
                              lastOutRight() const Effect
                              PRCRev(StkFloat T60=1.0)PRCRev
                              printErrors(bool status)Stk [inline, static]
                              rawwavePath(void)Stk [inline, static]
                              sampleRate(void)Stk [inline, static]
                              setEffectMix(StkFloat mix)Effect
                              setRawwavePath(std::string path)Stk [static]
                              setSampleRate(StkFloat rate)Stk [inline, static]
                              setT60(StkFloat T60)PRCRev
                              showWarnings(bool status)Stk [inline, static]
                              sleep(unsigned long milliseconds)Stk [static]
                              Stk(void)Stk [protected]
                              STK_FLOAT32Stk [static]
                              swap16(unsigned char *ptr)Stk [static]
                              swap32(unsigned char *ptr)Stk [static]
                              swap64(unsigned char *ptr)Stk [static]
                              tick(StkFloat input)PRCRev [virtual]
                              tick(StkFloat *vector, unsigned int vectorSize)PRCRev [virtual]
                              tick(StkFrames &frames, unsigned int channel=1)PRCRev [virtual]
                              tick(StkFloat input)Effect
                              tick(StkFrames &frames, unsigned int channel=0)Effect
                              ~Effect()Effect [virtual]
                              ~PRCRev()PRCRev
                              ~Stk(void)Stk [protected, virtual]
                              - +
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classPRCRev.html b/doc/html/classPRCRev.html index 7a6896d..cd962b3 100644 --- a/doc/html/classPRCRev.html +++ b/doc/html/classPRCRev.html @@ -8,8 +8,8 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              PRCRev Class Reference

                              #include <PRCRev.h> + +

                              PRCRev Class Reference

                              #include <PRCRev.h>

                              Inheritance diagram for PRCRev:

                              @@ -21,83 +21,27 @@ Perry's simple reverberator class.

                              This class is based on some of the famous Stanford/CCRMA reverbs (NRev, KipRev), which were based on the Chowning/Moorer/Schroeder reverberators using networks of simple allpass and comb delay filters. This class implements two series allpass units and two parallel comb filters.

                              -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                              - -

                              -Definition at line 23 of file PRCRev.h. +
                              - - + + - - + + - - + + - - + + - - - - - - - - - - -

                              Public Member Functions

                              PRCRev (StkFloat T60=1.0)

                              Public Member Functions

                              PRCRev (StkFloat T60=1.0)
                               Class constructor taking a T60 decay time argument (one second default value).

                              ~PRCRev ()
                               Class constructor taking a T60 decay time argument (one second default value).
                              ~PRCRev ()
                               Class destructor.

                              -void clear ()
                               Class destructor.
                              +void clear ()
                               Reset and clear all internal state.

                              -void setT60 (StkFloat T60)
                               Reset and clear all internal state.
                              +void setT60 (StkFloat T60)
                               Set the reverberation T60 decay time.

                              -StkFloat tick (StkFloat input)
                               Compute one output sample.

                              -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                               Take vectorSize inputs, compute the same number of outputs and return them in vector.

                              StkFramestick (StkFrames &frames, unsigned int channel=1)
                               Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs.

                              -


                              Member Function Documentation

                              -

                              - - - - -
                              - - - - - - - - - - - - - - - - - - - -
                              StkFrames& PRCRev::tick StkFrames frames,
                              unsigned int  channel = 1
                              [virtual]
                              -
                              - - - - - +
                              -   - - -

                              -Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs. -

                              -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                              -Reimplemented from Effect.

                               Set the reverberation T60 decay time.


                              The documentation for this class was generated from the following file: @@ -105,7 +49,7 @@ Reimplemented from Effect. - +
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classPRCRev__coll__graph.map b/doc/html/classPRCRev__coll__graph.map new file mode 100644 index 0000000..a2730cc --- /dev/null +++ b/doc/html/classPRCRev__coll__graph.map @@ -0,0 +1,5 @@ +base referer +rect $classEffect.html 7,133 52,155 +rect $classStk.html 39,16 76,37 +rect $classFilter.html 68,88 108,109 +rect $classDelay.html 68,179 111,200 diff --git a/doc/html/classPRCRev__coll__graph.md5 b/doc/html/classPRCRev__coll__graph.md5 new file mode 100644 index 0000000..0208d5f --- /dev/null +++ b/doc/html/classPRCRev__coll__graph.md5 @@ -0,0 +1 @@ +1e8d774160ee8466e99de2feaa0cadd0 \ No newline at end of file diff --git a/doc/html/classPRCRev__coll__graph.png b/doc/html/classPRCRev__coll__graph.png new file mode 100644 index 0000000..97407fe Binary files /dev/null and b/doc/html/classPRCRev__coll__graph.png differ diff --git a/doc/html/classPRCRev__inherit__graph.map b/doc/html/classPRCRev__inherit__graph.map new file mode 100644 index 0000000..a003af2 --- /dev/null +++ b/doc/html/classPRCRev__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classEffect.html 16,85 61,106 +rect $classStk.html 20,16 57,37 diff --git a/doc/html/classPRCRev__inherit__graph.md5 b/doc/html/classPRCRev__inherit__graph.md5 new file mode 100644 index 0000000..02759f4 --- /dev/null +++ b/doc/html/classPRCRev__inherit__graph.md5 @@ -0,0 +1 @@ +33e574aa76123e98443a460f74265080 \ No newline at end of file diff --git a/doc/html/classPRCRev__inherit__graph.png b/doc/html/classPRCRev__inherit__graph.png new file mode 100644 index 0000000..41db9a1 Binary files /dev/null and b/doc/html/classPRCRev__inherit__graph.png differ diff --git a/doc/html/classPercFlut-members.html b/doc/html/classPercFlut-members.html index dfd5b2f..8c6f172 100644 --- a/doc/html/classPercFlut-members.html +++ b/doc/html/classPercFlut-members.html @@ -8,12 +8,12 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              PercFlut Member List

                              This is the complete list of members for PercFlut, including all inherited members. + +

                              PercFlut Member List

                              This is the complete list of members for PercFlut, including all inherited members.

                              - + - + @@ -22,10 +22,11 @@ - + + @@ -37,6 +38,7 @@ + @@ -48,9 +50,8 @@ - - - + + @@ -59,7 +60,7 @@
                              clear()FM
                              controlChange(int number, StkFloat value)FM [virtual]
                              controlChange(int number, StkFloat value)FM [virtual]
                              FM(unsigned int operators=4)FM
                              handleError(const char *message, StkError::Type type)Stk [static]
                              handleError(const char *message, StkError::Type type)Stk [static]
                              handleError(std::string message, StkError::Type type)Stk [static]
                              handleError(StkError::Type type)Stk [protected]
                              Instrmnt()Instrmnt
                              lastOut() const Instrmnt
                              lastOutLeft() const Instrmnt
                              lastOutRight() const Instrmnt
                              loadWaves(const char **filenames)FM
                              loadWaves(const char **filenames)FM
                              noteOff(StkFloat amplitude)FM [virtual]
                              noteOn(StkFloat frequency, StkFloat amplitude)PercFlut [virtual]
                              PercFlut()PercFlut
                              printErrors(bool status)Stk [inline, static]
                              rawwavePath(void)Stk [inline, static]
                              sampleRate(void)Stk [inline, static]
                              setControl1(StkFloat cVal)FM
                              setRatio(unsigned int waveIndex, StkFloat ratio)FM
                              setRawwavePath(std::string path)Stk [static]
                              setSampleRate(StkFloat rate)Stk [inline, static]
                              showWarnings(bool status)Stk [inline, static]
                              sleep(unsigned long milliseconds)Stk [static]
                              Stk(void)Stk [protected]
                              STK_FLOAT32Stk [static]
                              swap16(unsigned char *ptr)Stk [static]
                              swap32(unsigned char *ptr)Stk [static]
                              swap64(unsigned char *ptr)Stk [static]
                              tick()PercFlut [virtual]
                              tick(StkFloat *vector, unsigned int vectorSize)PercFlut [virtual]
                              tick(StkFrames &frames, unsigned int channel=1)PercFlut [virtual]
                              tick(void)Instrmnt
                              tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                              ~FM()FM [virtual]
                              ~Instrmnt()Instrmnt [virtual]
                              ~PercFlut()PercFlut
                              - +
                              The Synthesis ToolKit in C++ (STK)
                              ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                              diff --git a/doc/html/classPercFlut.html b/doc/html/classPercFlut.html index bb05402..8718387 100644 --- a/doc/html/classPercFlut.html +++ b/doc/html/classPercFlut.html @@ -8,8 +8,8 @@    

                              Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                              - -

                              PercFlut Class Reference

                              #include <PercFlut.h> + +

                              PercFlut Class Reference

                              #include <PercFlut.h>

                              Inheritance diagram for PercFlut:

                              @@ -22,66 +22,52 @@ STK percussive flute FM synthesis instrument.

                              This class implements algorithm 4 of the TX81Z.

                              -

                                  Algorithm 4 is :   4->3--\
                              +
                                  Algorithm 4 is :   4->3--\
                                                         2-- + -->1-->Out
                               

                              Control Change Numbers:

                              • Total Modulator Index = 2
                              • Modulator Crossfade = 4
                              • LFO Speed = 11
                              • LFO Depth = 1
                              • ADSR 2 & 4 Target = 128

                              The basic Chowning/Stanford FM patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.

                              -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                              - -

                              -Definition at line 34 of file PercFlut.h. +
                              - - + + - - + + - - + + - - + + - - - - - - - - - - +

                              Public Member Functions

                               PercFlut ()

                              Public Member Functions

                               PercFlut ()
                               Class constructor.

                              ~PercFlut ()
                               Class constructor.
                              ~PercFlut ()
                               Class destructor.

                              -void setFrequency (StkFloat frequency)
                               Class destructor.
                              +void setFrequency (StkFloat frequency)
                               Set instrument parameters for a particular frequency.

                              -void noteOn (StkFloat frequency, StkFloat amplitude)
                               Set instrument parameters for a particular frequency.
                              +void noteOn (StkFloat frequency, StkFloat amplitude)
                               Start a note with the given frequency and amplitude.

                              -StkFloat tick ()
                               Compute one output sample.

                              -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                               Computer vectorSize outputs and return them in vector.

                              StkFramestick (StkFrames &frames, unsigned int channel=1)
                               Fill a channel of the StkFrames object with computed outputs.

                               Start a note with the given frequency and amplitude.


                              Constructor & Destructor Documentation

                              -

                              - +

                              +

                              - + -
                              PercFlut::PercFlut PercFlut::PercFlut  ) 
                              - +
                              - -
                                @@ -91,50 +77,7 @@ StkFloat * StkError will be thrown if the rawwave path is incorrectly set.
                              -


                              Member Function Documentation

                              -

                              - - - - -
                              - - - - - - - - - - - - - - - - - - - -
                              StkFrames& PercFlut::tick StkFrames frames,
                              unsigned int  channel = 1
                              [virtual]
                              -
                              - - - - +An StkError will be thrown if the rawwave path is incorrectly set.
                              -   - - -

                              -Fill a channel of the StkFrames object with computed outputs. -

                              -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                              -Implements FM.


                              The documentation for this class was generated from the following file:
                                @@ -143,7 +86,7 @@ Implements FM. - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classPercFlut__coll__graph.map b/doc/html/classPercFlut__coll__graph.map new file mode 100644 index 0000000..2830571 --- /dev/null +++ b/doc/html/classPercFlut__coll__graph.map @@ -0,0 +1,8 @@ +base referer +rect $classFM.html 72,269 109,291 +rect $classInstrmnt.html 7,133 63,155 +rect $classStk.html 85,16 123,37 +rect $classWvIn.html 84,88 124,109 +rect $classFilter.html 156,88 196,109 +rect $classWaveLoop.html 67,179 141,200 +rect $classTwoZero.html 167,179 231,200 diff --git a/doc/html/classPercFlut__coll__graph.md5 b/doc/html/classPercFlut__coll__graph.md5 new file mode 100644 index 0000000..384439d --- /dev/null +++ b/doc/html/classPercFlut__coll__graph.md5 @@ -0,0 +1 @@ +5989590b82faf3f5bd8f29a1fcf75a0d \ No newline at end of file diff --git a/doc/html/classPercFlut__coll__graph.png b/doc/html/classPercFlut__coll__graph.png new file mode 100644 index 0000000..0b36e16 Binary files /dev/null and b/doc/html/classPercFlut__coll__graph.png differ diff --git a/doc/html/classPercFlut__inherit__graph.map b/doc/html/classPercFlut__inherit__graph.map new file mode 100644 index 0000000..c539e8b --- /dev/null +++ b/doc/html/classPercFlut__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classFM.html 19,155 56,176 +rect $classInstrmnt.html 9,86 65,107 +rect $classStk.html 19,16 56,38 diff --git a/doc/html/classPercFlut__inherit__graph.md5 b/doc/html/classPercFlut__inherit__graph.md5 new file mode 100644 index 0000000..50f3907 --- /dev/null +++ b/doc/html/classPercFlut__inherit__graph.md5 @@ -0,0 +1 @@ +32f2a0fdad9a8c11a3c743f869d6bf79 \ No newline at end of file diff --git a/doc/html/classPercFlut__inherit__graph.png b/doc/html/classPercFlut__inherit__graph.png new file mode 100644 index 0000000..3ffa7bd Binary files /dev/null and b/doc/html/classPercFlut__inherit__graph.png differ diff --git a/doc/html/classPhonemes-members.html b/doc/html/classPhonemes-members.html index 8fdc25d..d8e6204 100644 --- a/doc/html/classPhonemes-members.html +++ b/doc/html/classPhonemes-members.html @@ -8,20 +8,22 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                Phonemes Member List

                                This is the complete list of members for Phonemes, including all inherited members. + +

                                Phonemes Member List

                                This is the complete list of members for Phonemes, including all inherited members.

                                - + + + @@ -39,7 +41,7 @@
                                formantFrequency(unsigned int index, unsigned int partial)Phonemes [static]
                                formantGain(unsigned int index, unsigned int partial)Phonemes [static]
                                formantRadius(unsigned int index, unsigned int partial)Phonemes [static]
                                handleError(const char *message, StkError::Type type)Stk [static]
                                handleError(const char *message, StkError::Type type)Stk [static]
                                handleError(std::string message, StkError::Type type)Stk [static]
                                handleError(StkError::Type type)Stk [protected]
                                name(unsigned int index)Phonemes [static]
                                noiseGain(unsigned int index)Phonemes [static]
                                printErrors(bool status)Stk [inline, static]
                                rawwavePath(void)Stk [inline, static]
                                sampleRate(void)Stk [inline, static]
                                setRawwavePath(std::string path)Stk [static]
                                setSampleRate(StkFloat rate)Stk [inline, static]
                                showWarnings(bool status)Stk [inline, static]
                                sleep(unsigned long milliseconds)Stk [static]
                                Stk(void)Stk [protected]
                                STK_FLOAT32Stk [static]
                                - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classPhonemes.html b/doc/html/classPhonemes.html index 688cbbf..df9d725 100644 --- a/doc/html/classPhonemes.html +++ b/doc/html/classPhonemes.html @@ -8,8 +8,8 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                Phonemes Class Reference

                                #include <Phonemes.h> + +

                                Phonemes Class Reference

                                #include <Phonemes.h>

                                Inheritance diagram for Phonemes:

                                @@ -20,37 +20,35 @@ STK phonemes table.

                                This class does nothing other than declare a set of 32 static phoneme formant parameters and provide access to those values.

                                -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                - -

                                -Definition at line 18 of file Phonemes.h. +
                                - - + + - - + + - - + + - - + + - - + + - - + + - +

                                Static Public Member Functions

                                -const char * name (unsigned int index)

                                Static Public Member Functions

                                +static const char * name (unsigned int index)
                                 Returns the phoneme name for the given index (0-31).

                                -StkFloat voiceGain (unsigned int index)
                                 Returns the phoneme name for the given index (0-31).
                                +static StkFloat voiceGain (unsigned int index)
                                 Returns the voiced component gain for the given phoneme index (0-31).

                                -StkFloat noiseGain (unsigned int index)
                                 Returns the voiced component gain for the given phoneme index (0-31).
                                +static StkFloat noiseGain (unsigned int index)
                                 Returns the unvoiced component gain for the given phoneme index (0-31).

                                -StkFloat formantFrequency (unsigned int index, unsigned int partial)
                                 Returns the unvoiced component gain for the given phoneme index (0-31).
                                +static StkFloat formantFrequency (unsigned int index, unsigned int partial)
                                 Returns the formant frequency for the given phoneme index (0-31) and partial (0-3).

                                -StkFloat formantRadius (unsigned int index, unsigned int partial)
                                 Returns the formant frequency for the given phoneme index (0-31) and partial (0-3).
                                +static StkFloat formantRadius (unsigned int index, unsigned int partial)
                                 Returns the formant radius for the given phoneme index (0-31) and partial (0-3).

                                -StkFloat formantGain (unsigned int index, unsigned int partial)
                                 Returns the formant radius for the given phoneme index (0-31) and partial (0-3).
                                +static StkFloat formantGain (unsigned int index, unsigned int partial)
                                 Returns the formant gain for the given phoneme index (0-31) and partial (0-3).

                                 Returns the formant gain for the given phoneme index (0-31) and partial (0-3).


                                The documentation for this class was generated from the following file: @@ -58,7 +56,7 @@ StkFloat The Synthesis ToolKit in C++ (STK) - ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. + ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved. diff --git a/doc/html/classPhonemes__coll__graph.map b/doc/html/classPhonemes__coll__graph.map new file mode 100644 index 0000000..2ece4a7 --- /dev/null +++ b/doc/html/classPhonemes__coll__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 24,16 61,37 diff --git a/doc/html/classPhonemes__coll__graph.md5 b/doc/html/classPhonemes__coll__graph.md5 new file mode 100644 index 0000000..df47d5e --- /dev/null +++ b/doc/html/classPhonemes__coll__graph.md5 @@ -0,0 +1 @@ +c7ec71fdb1881bfcc84b20afecc3495c \ No newline at end of file diff --git a/doc/html/classPhonemes__coll__graph.png b/doc/html/classPhonemes__coll__graph.png new file mode 100644 index 0000000..12a59b3 Binary files /dev/null and b/doc/html/classPhonemes__coll__graph.png differ diff --git a/doc/html/classPhonemes__inherit__graph.map b/doc/html/classPhonemes__inherit__graph.map new file mode 100644 index 0000000..2ece4a7 --- /dev/null +++ b/doc/html/classPhonemes__inherit__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 24,16 61,37 diff --git a/doc/html/classPhonemes__inherit__graph.md5 b/doc/html/classPhonemes__inherit__graph.md5 new file mode 100644 index 0000000..952c807 --- /dev/null +++ b/doc/html/classPhonemes__inherit__graph.md5 @@ -0,0 +1 @@ +a1b97ff9aca61940a35ce16a0faaf0e1 \ No newline at end of file diff --git a/doc/html/classPhonemes__inherit__graph.png b/doc/html/classPhonemes__inherit__graph.png new file mode 100644 index 0000000..12a59b3 Binary files /dev/null and b/doc/html/classPhonemes__inherit__graph.png differ diff --git a/doc/html/classPitShift-members.html b/doc/html/classPitShift-members.html index d827398..87163ff 100644 --- a/doc/html/classPitShift-members.html +++ b/doc/html/classPitShift-members.html @@ -8,23 +8,25 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                PitShift Member List

                                This is the complete list of members for PitShift, including all inherited members. + +

                                PitShift Member List

                                This is the complete list of members for PitShift, including all inherited members.

                                - + + + @@ -36,9 +38,8 @@ - - - + + @@ -46,7 +47,7 @@
                                clear()PitShift [virtual]
                                Effect()Effect
                                handleError(const char *message, StkError::Type type)Stk [static]
                                handleError(const char *message, StkError::Type type)Stk [static]
                                handleError(std::string message, StkError::Type type)Stk [static]
                                handleError(StkError::Type type)Stk [protected]
                                lastOut() const Effect
                                lastOutLeft() const Effect
                                lastOutRight() const Effect
                                PitShift()PitShift
                                printErrors(bool status)Stk [inline, static]
                                rawwavePath(void)Stk [inline, static]
                                sampleRate(void)Stk [inline, static]
                                setEffectMix(StkFloat mix)Effect
                                setRawwavePath(std::string path)Stk [static]
                                setSampleRate(StkFloat rate)Stk [inline, static]
                                setShift(StkFloat shift)PitShift
                                showWarnings(bool status)Stk [inline, static]
                                sleep(unsigned long milliseconds)Stk [static]
                                Stk(void)Stk [protected]
                                STK_FLOAT32Stk [static]
                                swap16(unsigned char *ptr)Stk [static]
                                swap32(unsigned char *ptr)Stk [static]
                                swap64(unsigned char *ptr)Stk [static]
                                tick(StkFloat input)PitShift [virtual]
                                tick(StkFloat *vector, unsigned int vectorSize)PitShift [virtual]
                                tick(StkFrames &frames, unsigned int channel=1)PitShift [virtual]
                                tick(StkFloat input)Effect
                                tick(StkFrames &frames, unsigned int channel=0)Effect
                                ~Effect()Effect [virtual]
                                ~PitShift()PitShift
                                ~Stk(void)Stk [protected, virtual]
                                - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classPitShift.html b/doc/html/classPitShift.html index f1b7f9d..4b5a0cc 100644 --- a/doc/html/classPitShift.html +++ b/doc/html/classPitShift.html @@ -8,8 +8,8 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                PitShift Class Reference

                                #include <PitShift.h> + +

                                PitShift Class Reference

                                #include <PitShift.h>

                                Inheritance diagram for PitShift:

                                @@ -21,83 +21,27 @@ STK simple pitch shifter effect class.

                                This class implements a simple pitch shifter using delay lines.

                                -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                - -

                                -Definition at line 18 of file PitShift.h. +
                                - - + + - - + + - - + + - - + + - - - - - - - - - - -

                                Public Member Functions

                                PitShift ()

                                Public Member Functions

                                PitShift ()
                                 Class constructor.

                                ~PitShift ()
                                 Class constructor.
                                ~PitShift ()
                                 Class destructor.

                                -void clear ()
                                 Class destructor.
                                +void clear ()
                                 Reset and clear all internal state.

                                -void setShift (StkFloat shift)
                                 Reset and clear all internal state.
                                +void setShift (StkFloat shift)
                                 Set the pitch shift factor (1.0 produces no shift).

                                -StkFloat tick (StkFloat input)
                                 Compute one output sample.

                                -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                 Take vectorSize inputs, compute the same number of outputs and return them in vector.

                                StkFramestick (StkFrames &frames, unsigned int channel=1)
                                 Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs.

                                -


                                Member Function Documentation

                                -

                                - - - - -
                                - - - - - - - - - - - - - - - - - - - -
                                StkFrames& PitShift::tick StkFrames frames,
                                unsigned int  channel = 1
                                [virtual]
                                -
                                - - - - - +
                                -   - - -

                                -Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs. -

                                -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                -Reimplemented from Effect.

                                 Set the pitch shift factor (1.0 produces no shift).


                                The documentation for this class was generated from the following file: @@ -105,7 +49,7 @@ Reimplemented from Effect. - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classPitShift__coll__graph.map b/doc/html/classPitShift__coll__graph.map new file mode 100644 index 0000000..040932f --- /dev/null +++ b/doc/html/classPitShift__coll__graph.map @@ -0,0 +1,6 @@ +base referer +rect $classEffect.html 7,133 52,155 +rect $classStk.html 39,16 76,37 +rect $classFilter.html 68,88 108,109 +rect $classDelayL.html 67,251 117,272 +rect $classDelay.html 68,179 111,200 diff --git a/doc/html/classPitShift__coll__graph.md5 b/doc/html/classPitShift__coll__graph.md5 new file mode 100644 index 0000000..c96c448 --- /dev/null +++ b/doc/html/classPitShift__coll__graph.md5 @@ -0,0 +1 @@ +71eb3d9740183fdb5a4691a149c3fb8f \ No newline at end of file diff --git a/doc/html/classPitShift__coll__graph.png b/doc/html/classPitShift__coll__graph.png new file mode 100644 index 0000000..7a62b3d Binary files /dev/null and b/doc/html/classPitShift__coll__graph.png differ diff --git a/doc/html/classPitShift__inherit__graph.map b/doc/html/classPitShift__inherit__graph.map new file mode 100644 index 0000000..f117094 --- /dev/null +++ b/doc/html/classPitShift__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classEffect.html 11,85 56,106 +rect $classStk.html 15,16 52,37 diff --git a/doc/html/classPitShift__inherit__graph.md5 b/doc/html/classPitShift__inherit__graph.md5 new file mode 100644 index 0000000..75dc9e2 --- /dev/null +++ b/doc/html/classPitShift__inherit__graph.md5 @@ -0,0 +1 @@ +3acbbd1d692de4a783b55a966004e369 \ No newline at end of file diff --git a/doc/html/classPitShift__inherit__graph.png b/doc/html/classPitShift__inherit__graph.png new file mode 100644 index 0000000..71ffd90 Binary files /dev/null and b/doc/html/classPitShift__inherit__graph.png differ diff --git a/doc/html/classPluckTwo-members.html b/doc/html/classPluckTwo-members.html index 766aa42..301990c 100644 --- a/doc/html/classPluckTwo-members.html +++ b/doc/html/classPluckTwo-members.html @@ -8,11 +8,11 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                PluckTwo Member List

                                This is the complete list of members for PluckTwo, including all inherited members. + +

                                PluckTwo Member List

                                This is the complete list of members for PluckTwo, including all inherited members.

                                - - + + @@ -22,6 +22,7 @@ + @@ -31,6 +32,7 @@ + @@ -42,9 +44,8 @@ - - - + + @@ -52,7 +53,7 @@
                                clear()PluckTwo
                                controlChange(int number, StkFloat value)Instrmnt [virtual]
                                handleError(const char *message, StkError::Type type)Stk [static]
                                controlChange(int number, StkFloat value)Instrmnt [virtual]
                                handleError(const char *message, StkError::Type type)Stk [static]
                                handleError(std::string message, StkError::Type type)Stk [static]
                                handleError(StkError::Type type)Stk [protected]
                                Instrmnt()Instrmnt
                                noteOff(StkFloat amplitude)PluckTwo [virtual]
                                noteOn(StkFloat frequency, StkFloat amplitude)=0Instrmnt [pure virtual]
                                PluckTwo(StkFloat lowestFrequency)PluckTwo
                                printErrors(bool status)Stk [inline, static]
                                rawwavePath(void)Stk [inline, static]
                                sampleRate(void)Stk [inline, static]
                                setBaseLoopGain(StkFloat aGain)PluckTwo
                                setPluckPosition(StkFloat position)PluckTwo
                                setRawwavePath(std::string path)Stk [static]
                                setSampleRate(StkFloat rate)Stk [inline, static]
                                showWarnings(bool status)Stk [inline, static]
                                sleep(unsigned long milliseconds)Stk [static]
                                Stk(void)Stk [protected]
                                STK_FLOAT32Stk [static]
                                swap16(unsigned char *ptr)Stk [static]
                                swap32(unsigned char *ptr)Stk [static]
                                swap64(unsigned char *ptr)Stk [static]
                                tick()=0PluckTwo [pure virtual]
                                tick(StkFloat *vector, unsigned int vectorSize)=0PluckTwo [pure virtual]
                                tick(StkFrames &frames, unsigned int channel=1)=0PluckTwo [pure virtual]
                                tick(void)Instrmnt
                                tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                                ~Instrmnt()Instrmnt [virtual]
                                ~PluckTwo()PluckTwo [virtual]
                                ~Stk(void)Stk [protected, virtual]
                                - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classPluckTwo.html b/doc/html/classPluckTwo.html index 5952af7..8ff61d1 100644 --- a/doc/html/classPluckTwo.html +++ b/doc/html/classPluckTwo.html @@ -8,8 +8,8 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                PluckTwo Class Reference

                                #include <PluckTwo.h> + +

                                PluckTwo Class Reference

                                #include <PluckTwo.h>

                                Inheritance diagram for PluckTwo:

                                @@ -24,80 +24,66 @@ STK enhanced plucked string model class. This class implements an enhanced two-string, plucked physical model, a la Jaffe-Smith, Smith, and others.

                                PluckTwo is an abstract class, with no excitation specified. Therefore, it can't be directly instantiated.

                                This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others.

                                -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                - -

                                -Definition at line 29 of file PluckTwo.h. +
                                - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

                                Public Member Functions

                                PluckTwo (StkFloat lowestFrequency)

                                Public Member Functions

                                PluckTwo (StkFloat lowestFrequency)
                                 Class constructor, taking the lowest desired playing frequency.

                                -virtual ~PluckTwo ()
                                 Class constructor, taking the lowest desired playing frequency.
                                +virtual ~PluckTwo ()
                                 Class destructor.

                                -void clear ()
                                 Class destructor.
                                +void clear ()
                                 Reset and clear all internal state.

                                -virtual void setFrequency (StkFloat frequency)
                                 Reset and clear all internal state.
                                +virtual void setFrequency (StkFloat frequency)
                                 Set instrument parameters for a particular frequency.

                                -void setDetune (StkFloat detune)
                                 Set instrument parameters for a particular frequency.
                                +void setDetune (StkFloat detune)
                                 Detune the two strings by the given factor. A value of 1.0 produces unison strings.

                                -void setFreqAndDetune (StkFloat frequency, StkFloat detune)
                                 Detune the two strings by the given factor. A value of 1.0 produces unison strings.
                                +void setFreqAndDetune (StkFloat frequency, StkFloat detune)
                                 Efficient combined setting of frequency and detuning.

                                -void setPluckPosition (StkFloat position)
                                 Efficient combined setting of frequency and detuning.
                                +void setPluckPosition (StkFloat position)
                                 Set the pluck or "excitation" position along the string (0.0 - 1.0).

                                void setBaseLoopGain (StkFloat aGain)
                                 Set the pluck or "excitation" position along the string (0.0 - 1.0).
                                void setBaseLoopGain (StkFloat aGain)
                                 Set the base loop gain.

                                -virtual void noteOff (StkFloat amplitude)
                                 Set the base loop gain.
                                +virtual void noteOff (StkFloat amplitude)
                                 Stop a note with the given amplitude (speed of decay).

                                -virtual StkFloat tick ()=0
                                 Virtual (abstract) tick function is implemented by subclasses.

                                -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)=0
                                 Computer vectorSize outputs and return them in vector.

                                virtual StkFramestick (StkFrames &frames, unsigned int channel=1)=0
                                 Fill a channel of the StkFrames object with computed outputs.

                                 Stop a note with the given amplitude (speed of decay).


                                Member Function Documentation

                                -

                                - +

                                +

                                - + -
                                void PluckTwo::setBaseLoopGain void PluckTwo::setBaseLoopGain StkFloat  aGain  ) 
                                - +
                                  @@ -107,51 +93,7 @@ virtual StkFloat * 

                                - - - - -
                                - - - - - - - - - - - - - - - - - - - -
                                virtual StkFrames& PluckTwo::tick StkFrames frames,
                                unsigned int  channel = 1
                                [pure virtual]
                                -
                                - - - - +The actual loop gain is set according to the frequency. Because of high-frequency loop filter roll-off, higher frequency settings have greater loop gains.
                                -   - - -

                                -Fill a channel of the StkFrames object with computed outputs. -

                                -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                -Reimplemented from Instrmnt. -

                                -Implemented in Mandolin.


                                The documentation for this class was generated from the following file:
                                  @@ -160,7 +102,7 @@ Implemented in Mandolin.
                                - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classPluckTwo__coll__graph.map b/doc/html/classPluckTwo__coll__graph.map new file mode 100644 index 0000000..c42e3ef --- /dev/null +++ b/doc/html/classPluckTwo__coll__graph.map @@ -0,0 +1,8 @@ +base referer +rect $classInstrmnt.html 7,134 63,155 +rect $classStk.html 52,16 89,38 +rect $classFilter.html 87,88 127,110 +rect $classDelayA.html 80,278 133,299 +rect $classDelay.html 85,179 128,200 +rect $classDelayL.html 164,278 215,299 +rect $classOneZero.html 272,224 336,246 diff --git a/doc/html/classPluckTwo__coll__graph.md5 b/doc/html/classPluckTwo__coll__graph.md5 new file mode 100644 index 0000000..793deb4 --- /dev/null +++ b/doc/html/classPluckTwo__coll__graph.md5 @@ -0,0 +1 @@ +d4f52e33833a619f830f3b7479deb517 \ No newline at end of file diff --git a/doc/html/classPluckTwo__coll__graph.png b/doc/html/classPluckTwo__coll__graph.png new file mode 100644 index 0000000..d22beb8 Binary files /dev/null and b/doc/html/classPluckTwo__coll__graph.png differ diff --git a/doc/html/classPluckTwo__inherit__graph.map b/doc/html/classPluckTwo__inherit__graph.map new file mode 100644 index 0000000..ab3f9ba --- /dev/null +++ b/doc/html/classPluckTwo__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classMandolin.html 11,224 72,246 +rect $classInstrmnt.html 13,86 69,107 +rect $classStk.html 23,16 60,38 diff --git a/doc/html/classPluckTwo__inherit__graph.md5 b/doc/html/classPluckTwo__inherit__graph.md5 new file mode 100644 index 0000000..079bfb9 --- /dev/null +++ b/doc/html/classPluckTwo__inherit__graph.md5 @@ -0,0 +1 @@ +378f14e336a82886648928c528edebae \ No newline at end of file diff --git a/doc/html/classPluckTwo__inherit__graph.png b/doc/html/classPluckTwo__inherit__graph.png new file mode 100644 index 0000000..ac9b537 Binary files /dev/null and b/doc/html/classPluckTwo__inherit__graph.png differ diff --git a/doc/html/classPlucked-members.html b/doc/html/classPlucked-members.html index ad2204b..4a3ee5d 100644 --- a/doc/html/classPlucked-members.html +++ b/doc/html/classPlucked-members.html @@ -8,11 +8,11 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                Plucked Member List

                                This is the complete list of members for Plucked, including all inherited members. + +

                                Plucked Member List

                                This is the complete list of members for Plucked, including all inherited members.

                                - - + + @@ -23,11 +23,13 @@ + + @@ -39,9 +41,8 @@ - - - + + @@ -49,7 +50,7 @@
                                clear()Plucked
                                controlChange(int number, StkFloat value)Instrmnt [virtual]
                                handleError(const char *message, StkError::Type type)Stk [static]
                                controlChange(int number, StkFloat value)Instrmnt [virtual]
                                handleError(const char *message, StkError::Type type)Stk [static]
                                handleError(std::string message, StkError::Type type)Stk [static]
                                handleError(StkError::Type type)Stk [protected]
                                Instrmnt()Instrmnt
                                noteOn(StkFloat frequency, StkFloat amplitude)Plucked [virtual]
                                pluck(StkFloat amplitude)Plucked
                                Plucked(StkFloat lowestFrequency)Plucked
                                printErrors(bool status)Stk [inline, static]
                                rawwavePath(void)Stk [inline, static]
                                sampleRate(void)Stk [inline, static]
                                setFrequency(StkFloat frequency)Plucked [virtual]
                                setRawwavePath(std::string path)Stk [static]
                                setSampleRate(StkFloat rate)Stk [inline, static]
                                showWarnings(bool status)Stk [inline, static]
                                sleep(unsigned long milliseconds)Stk [static]
                                Stk(void)Stk [protected]
                                STK_FLOAT32Stk [static]
                                swap16(unsigned char *ptr)Stk [static]
                                swap32(unsigned char *ptr)Stk [static]
                                swap64(unsigned char *ptr)Stk [static]
                                tick()Plucked [virtual]
                                tick(StkFloat *vector, unsigned int vectorSize)Plucked [virtual]
                                tick(StkFrames &frames, unsigned int channel=1)Plucked [virtual]
                                tick(void)Instrmnt
                                tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                                ~Instrmnt()Instrmnt [virtual]
                                ~Plucked()Plucked
                                ~Stk(void)Stk [protected, virtual]
                                - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classPlucked.html b/doc/html/classPlucked.html index 33459de..3424cbb 100644 --- a/doc/html/classPlucked.html +++ b/doc/html/classPlucked.html @@ -8,8 +8,8 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                Plucked Class Reference

                                #include <Plucked.h> + +

                                Plucked Class Reference

                                #include <Plucked.h>

                                Inheritance diagram for Plucked:

                                @@ -22,95 +22,39 @@ STK plucked string model class.

                                This class implements a simple plucked string physical model based on the Karplus-Strong algorithm.

                                This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others. There exist at least two patents, assigned to Stanford, bearing the names of Karplus and/or Strong.

                                -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                - -

                                -Definition at line 29 of file Plucked.h. +
                                - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - -

                                Public Member Functions

                                Plucked (StkFloat lowestFrequency)

                                Public Member Functions

                                Plucked (StkFloat lowestFrequency)
                                 Class constructor, taking the lowest desired playing frequency.

                                ~Plucked ()
                                 Class constructor, taking the lowest desired playing frequency.
                                ~Plucked ()
                                 Class destructor.

                                -void clear ()
                                 Class destructor.
                                +void clear ()
                                 Reset and clear all internal state.

                                -virtual void setFrequency (StkFloat frequency)
                                 Reset and clear all internal state.
                                +virtual void setFrequency (StkFloat frequency)
                                 Set instrument parameters for a particular frequency.

                                -void pluck (StkFloat amplitude)
                                 Set instrument parameters for a particular frequency.
                                +void pluck (StkFloat amplitude)
                                 Pluck the string with the given amplitude using the current frequency.

                                -virtual void noteOn (StkFloat frequency, StkFloat amplitude)
                                 Pluck the string with the given amplitude using the current frequency.
                                +virtual void noteOn (StkFloat frequency, StkFloat amplitude)
                                 Start a note with the given frequency and amplitude.

                                -virtual void noteOff (StkFloat amplitude)
                                 Start a note with the given frequency and amplitude.
                                +virtual void noteOff (StkFloat amplitude)
                                 Stop a note with the given amplitude (speed of decay).

                                -virtual StkFloat tick ()
                                 Compute one output sample.

                                -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                 Computer vectorSize outputs and return them in vector.

                                virtual StkFramestick (StkFrames &frames, unsigned int channel=1)
                                 Fill a channel of the StkFrames object with computed outputs.

                                -


                                Member Function Documentation

                                -

                                - - - - -
                                - - - - - - - - - - - - - - - - - - - -
                                virtual StkFrames& Plucked::tick StkFrames frames,
                                unsigned int  channel = 1
                                [virtual]
                                -
                                - - - - - +
                                -   - - -

                                -Fill a channel of the StkFrames object with computed outputs. -

                                -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                -Reimplemented from Instrmnt.

                                 Stop a note with the given amplitude (speed of decay).


                                The documentation for this class was generated from the following file: @@ -118,7 +62,7 @@ Reimplemented from Instrmnt. - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classPlucked__coll__graph.map b/doc/html/classPlucked__coll__graph.map new file mode 100644 index 0000000..9a49282 --- /dev/null +++ b/doc/html/classPlucked__coll__graph.map @@ -0,0 +1,10 @@ +base referer +rect $classInstrmnt.html 9,134 65,155 +rect $classStk.html 167,16 204,38 +rect $classFilter.html 165,88 205,110 +rect $classGenerator.html 295,88 364,110 +rect $classDelayA.html 75,270 128,291 +rect $classDelay.html 97,179 140,200 +rect $classOnePole.html 155,224 216,246 +rect $classOneZero.html 259,224 323,246 +rect $classNoise.html 408,270 451,291 diff --git a/doc/html/classPlucked__coll__graph.md5 b/doc/html/classPlucked__coll__graph.md5 new file mode 100644 index 0000000..f9087f8 --- /dev/null +++ b/doc/html/classPlucked__coll__graph.md5 @@ -0,0 +1 @@ +038a1a516966c811e7cb4450f1d57f66 \ No newline at end of file diff --git a/doc/html/classPlucked__coll__graph.png b/doc/html/classPlucked__coll__graph.png new file mode 100644 index 0000000..077ca77 Binary files /dev/null and b/doc/html/classPlucked__coll__graph.png differ diff --git a/doc/html/classPlucked__inherit__graph.map b/doc/html/classPlucked__inherit__graph.map new file mode 100644 index 0000000..e84d98d --- /dev/null +++ b/doc/html/classPlucked__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 8,85 64,106 +rect $classStk.html 17,16 55,37 diff --git a/doc/html/classPlucked__inherit__graph.md5 b/doc/html/classPlucked__inherit__graph.md5 new file mode 100644 index 0000000..bcbd79a --- /dev/null +++ b/doc/html/classPlucked__inherit__graph.md5 @@ -0,0 +1 @@ +b87027f7869d89a546ddebe5632ecb63 \ No newline at end of file diff --git a/doc/html/classPlucked__inherit__graph.png b/doc/html/classPlucked__inherit__graph.png new file mode 100644 index 0000000..5286642 Binary files /dev/null and b/doc/html/classPlucked__inherit__graph.png differ diff --git a/doc/html/classPoleZero-members.html b/doc/html/classPoleZero-members.html index f706976..8801773 100644 --- a/doc/html/classPoleZero-members.html +++ b/doc/html/classPoleZero-members.html @@ -8,17 +8,18 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                PoleZero Member List

                                This is the complete list of members for PoleZero, including all inherited members. + +

                                PoleZero Member List

                                This is the complete list of members for PoleZero, including all inherited members.

                                - + + @@ -26,12 +27,13 @@ - - + + - + + @@ -44,8 +46,7 @@ - - + @@ -53,7 +54,7 @@
                                clear(void)PoleZero
                                Filter(void)Filter [protected]
                                Filter(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
                                getGain(void) const PoleZero [virtual]
                                handleError(const char *message, StkError::Type type)Stk [protected, static]
                                handleError(const char *message, StkError::Type type)Stk [protected, static]
                                handleError(std::string message, StkError::Type type)Stk [protected, static]
                                handleError(StkError::Type type)Stk [protected]
                                lastOut(void) const PoleZero [virtual]
                                PoleZero()PoleZero
                                printErrors(bool status)Stk [inline, protected, static]
                                rawwavePath(void)Stk [inline, protected, static]
                                sampleRate(void)Stk [inline, protected, static]
                                setA1(StkFloat a1)PoleZero
                                setB0(StkFloat b0)PoleZero
                                setB1(StkFloat b1)PoleZero
                                setBlockZero(StkFloat thePole=0.99)PoleZero
                                setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
                                setDenominator(std::vector< StkFloat > &aCoefficients)Filter [protected]
                                setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
                                setDenominator(std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
                                setGain(StkFloat gain)PoleZero [virtual]
                                setNumerator(std::vector< StkFloat > &bCoefficients)Filter [protected]
                                setNumerator(std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
                                setRawwavePath(std::string path)Stk [protected, static]
                                setSampleRate(StkFloat rate)Stk [inline, protected, static]
                                showWarnings(bool status)Stk [inline, protected, static]
                                sleep(unsigned long milliseconds)Stk [protected, static]
                                Stk(void)Stk [protected]
                                STK_FLOAT32Stk [protected, static]
                                swap32(unsigned char *ptr)Stk [protected, static]
                                swap64(unsigned char *ptr)Stk [protected, static]
                                tick(StkFloat sample)PoleZero [virtual]
                                tick(StkFloat *vector, unsigned int vectorSize)PoleZero [virtual]
                                tick(StkFrames &frames, unsigned int channel=1)PoleZero [virtual]
                                tick(StkFrames &frames, unsigned int channel=0)PoleZero [virtual]
                                ~Filter(void)Filter [protected, virtual]
                                ~PoleZero()PoleZero
                                ~Stk(void)Stk [protected, virtual]
                                - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classPoleZero.html b/doc/html/classPoleZero.html index 39a5048..5eacb00 100644 --- a/doc/html/classPoleZero.html +++ b/doc/html/classPoleZero.html @@ -8,8 +8,8 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                PoleZero Class Reference

                                #include <PoleZero.h> + +

                                PoleZero Class Reference

                                #include <PoleZero.h>

                                Inheritance diagram for PoleZero:

                                @@ -21,86 +21,79 @@ STK one-pole, one-zero filter class.

                                This protected Filter subclass implements a one-pole, one-zero digital filter. A method is provided for creating an allpass filter with a given coefficient. Another method is provided to create a DC blocking filter.

                                -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                - -

                                -Definition at line 20 of file PoleZero.h. +
                                - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - +

                                Public Member Functions

                                PoleZero ()

                                Public Member Functions

                                PoleZero ()
                                 Default constructor creates a first-order pass-through filter.

                                ~PoleZero ()
                                 Default constructor creates a first-order pass-through filter.
                                ~PoleZero ()
                                 Class destructor.

                                -void clear (void)
                                 Class destructor.
                                +void clear (void)
                                 Clears the internal states of the filter.

                                -void setB0 (StkFloat b0)
                                 Clears the internal states of the filter.
                                +void setB0 (StkFloat b0)
                                 Set the b[0] coefficient value.

                                -void setB1 (StkFloat b1)
                                 Set the b[0] coefficient value.
                                +void setB1 (StkFloat b1)
                                 Set the b[1] coefficient value.

                                -void setA1 (StkFloat a1)
                                 Set the b[1] coefficient value.
                                +void setA1 (StkFloat a1)
                                 Set the a[1] coefficient value.

                                void setAllpass (StkFloat coefficient)
                                 Set the a[1] coefficient value.
                                void setAllpass (StkFloat coefficient)
                                 Set the filter for allpass behavior using coefficient.

                                void setBlockZero (StkFloat thePole=0.99)
                                 Set the filter for allpass behavior using coefficient.
                                void setBlockZero (StkFloat thePole=0.99)
                                 Create a DC blocking filter with the given pole position in the z-plane.

                                void setGain (StkFloat gain)
                                 Create a DC blocking filter with the given pole position in the z-plane.
                                void setGain (StkFloat gain)
                                 Set the filter gain.

                                -StkFloat getGain (void) const
                                 Set the filter gain.
                                +StkFloat getGain (void) const
                                 Return the current filter gain.

                                -StkFloat lastOut (void) const
                                 Return the current filter gain.
                                +StkFloat lastOut (void) const
                                 Return the last computed output value.

                                -StkFloat tick (StkFloat sample)
                                 Return the last computed output value.
                                +StkFloat tick (StkFloat sample)
                                 Input one sample to the filter and return one output.

                                -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                 Input one sample to the filter and return one output.
                                StkFramestick (StkFrames &frames, unsigned int channel=0)
                                 Input vectorSize samples to the filter and return an equal number of outputs in vector.

                                StkFramestick (StkFrames &frames, unsigned int channel=1)
                                 Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

                                 Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.


                                Member Function Documentation

                                -

                                - +

                                +

                                - + -
                                void PoleZero::setAllpass void PoleZero::setAllpass StkFloat  coefficient  ) 
                                - +
                                - +
                                  @@ -110,28 +103,27 @@ StkFloat * 

                                - +

                                +

                                - + - + -
                                void PoleZero::setBlockZero void PoleZero::setBlockZero StkFloat  thePole = 0.99 thePole = 0.99  ) 
                                - +
                                +This method sets the given pole position, together with a zero at z=1, to create a DC blocking filter. thePole should be close to one to minimize low-frequency attenuation.
                                  @@ -141,28 +133,27 @@ This method uses coefficient to create an allpass filter, which has uni

                                Create a DC blocking filter with the given pole position in the z-plane.

                                -This method sets the given pole position, together with a zero at z=1, to create a DC blocking filter. thePole should be close to one to minimize low-frequency attenuation.

                                -

                                - +

                                +

                                - + -
                                void PoleZero::setGain void PoleZero::setGain StkFloat  gain  )  [virtual]
                                - +
                                  @@ -172,39 +163,38 @@ This method sets the given pole position, together with a zero at z=1, to create

                                Set the filter gain.

                                -The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0. +The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0.

                                Reimplemented from Filter.

                                -

                                - +

                                +

                                - + - - + + - + - + -
                                StkFrames& PoleZero::tick StkFrames& PoleZero::tick StkFrames frames,
                                unsigned int  channel = 1 channel = 0
                                [virtual]
                                - +

                                Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

                                -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. +The channel argument should be zero or greater (the first channel is specified by 0). An StkError will be thrown if the channel argument is equal to or greater than the number of channels in the StkFrames object.

                                -Reimplemented from Filter. +Reimplemented from Filter.

                                  @@ -214,9 +204,9 @@ Reimplemented from Filter.


                                The documentation for this class was generated from the following file:
                                  @@ -225,7 +215,7 @@ Reimplemented from Filter.
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classPoleZero__coll__graph.map b/doc/html/classPoleZero__coll__graph.map new file mode 100644 index 0000000..340e662 --- /dev/null +++ b/doc/html/classPoleZero__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFilter.html 19,85 59,106 +rect $classStk.html 20,16 57,37 diff --git a/doc/html/classPoleZero__coll__graph.md5 b/doc/html/classPoleZero__coll__graph.md5 new file mode 100644 index 0000000..7500c3c --- /dev/null +++ b/doc/html/classPoleZero__coll__graph.md5 @@ -0,0 +1 @@ +8bafc551f7c6dfb1998f8c74a7d04ffa \ No newline at end of file diff --git a/doc/html/classPoleZero__coll__graph.png b/doc/html/classPoleZero__coll__graph.png new file mode 100644 index 0000000..9866254 Binary files /dev/null and b/doc/html/classPoleZero__coll__graph.png differ diff --git a/doc/html/classPoleZero__inherit__graph.map b/doc/html/classPoleZero__inherit__graph.map new file mode 100644 index 0000000..340e662 --- /dev/null +++ b/doc/html/classPoleZero__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFilter.html 19,85 59,106 +rect $classStk.html 20,16 57,37 diff --git a/doc/html/classPoleZero__inherit__graph.md5 b/doc/html/classPoleZero__inherit__graph.md5 new file mode 100644 index 0000000..0db5ba4 --- /dev/null +++ b/doc/html/classPoleZero__inherit__graph.md5 @@ -0,0 +1 @@ +ce4e2610e8313b9df62eefe735febc66 \ No newline at end of file diff --git a/doc/html/classPoleZero__inherit__graph.png b/doc/html/classPoleZero__inherit__graph.png new file mode 100644 index 0000000..9866254 Binary files /dev/null and b/doc/html/classPoleZero__inherit__graph.png differ diff --git a/doc/html/classReedTable-members.html b/doc/html/classReedTable-members.html index 6c3f741..2114252 100644 --- a/doc/html/classReedTable-members.html +++ b/doc/html/classReedTable-members.html @@ -8,13 +8,14 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                ReedTable Member List

                                This is the complete list of members for ReedTable, including all inherited members. + +

                                ReedTable Member List

                                This is the complete list of members for ReedTable, including all inherited members.

                                - + + @@ -22,6 +23,7 @@ + @@ -33,9 +35,8 @@ - - - + + @@ -43,7 +44,7 @@
                                Function()Function
                                handleError(const char *message, StkError::Type type)Stk [static]
                                handleError(const char *message, StkError::Type type)Stk [static]
                                handleError(std::string message, StkError::Type type)Stk [static]
                                handleError(StkError::Type type)Stk [protected]
                                lastOut() const Function [inline, virtual]
                                printErrors(bool status)Stk [inline, static]
                                rawwavePath(void)Stk [inline, static]
                                ReedTable()ReedTable
                                sampleRate(void)Stk [inline, static]
                                setRawwavePath(std::string path)Stk [static]
                                setSampleRate(StkFloat rate)Stk [inline, static]
                                setSlope(StkFloat slope)ReedTable
                                showWarnings(bool status)Stk [inline, static]
                                sleep(unsigned long milliseconds)Stk [static]
                                Stk(void)Stk [protected]
                                STK_FLOAT32Stk [static]
                                swap16(unsigned char *ptr)Stk [static]
                                swap32(unsigned char *ptr)Stk [static]
                                swap64(unsigned char *ptr)Stk [static]
                                tick(StkFloat input)ReedTable [virtual]
                                tick(StkFloat *vector, unsigned int vectorSize)ReedTable [virtual]
                                tick(StkFrames &frames, unsigned int channel=1)ReedTable [virtual]
                                tick(StkFloat input)Function
                                tick(StkFrames &frames, unsigned int channel=0)Function [virtual]
                                ~Function()Function [virtual]
                                ~ReedTable()ReedTable
                                ~Stk(void)Stk [protected, virtual]
                                - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classReedTable.html b/doc/html/classReedTable.html index 324cbbd..dd44bd9 100644 --- a/doc/html/classReedTable.html +++ b/doc/html/classReedTable.html @@ -8,8 +8,8 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                ReedTable Class Reference

                                #include <ReedTable.h> + +

                                ReedTable Class Reference

                                #include <ReedTable.h>

                                Inheritance diagram for ReedTable:

                                @@ -22,58 +22,45 @@ STK reed table class.

                                This class implements a simple one breakpoint, non-linear reed function, as described by Smith (1986). This function is based on a memoryless non-linear spring model of the reed (the reed mass is ignored) which saturates when the reed collides with the mouthpiece facing.

                                See McIntyre, Schumacher, & Woodhouse (1983), Smith (1986), Hirschman, Cook, Scavone, and others for more information.

                                -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                - -

                                -Definition at line 25 of file ReedTable.h. +
                                - - + + - - + + - - + + - - + + - - - - - - - - - - +

                                Public Member Functions

                                ReedTable ()

                                Public Member Functions

                                ReedTable ()
                                 Default constructor.

                                ~ReedTable ()
                                 Default constructor.
                                ~ReedTable ()
                                 Class destructor.

                                void setOffset (StkFloat offset)
                                 Class destructor.
                                void setOffset (StkFloat offset)
                                 Set the table offset value.

                                void setSlope (StkFloat slope)
                                 Set the table offset value.
                                void setSlope (StkFloat slope)
                                 Set the table slope value.

                                StkFloat tick (StkFloat input)
                                 Return the function value for input.

                                -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                 Take vectorSize inputs from vector and replace them with corresponding outputs.

                                StkFramestick (StkFrames &frames, unsigned int channel=1)
                                 Take a channel of the StkFrames object as inputs to the function and replace with corresponding outputs.

                                 Set the table slope value.


                                Member Function Documentation

                                -

                                - +

                                +

                                - + -
                                void ReedTable::setOffset void ReedTable::setOffset StkFloat  offset  ) 
                                - +
                                  @@ -83,28 +70,27 @@ StkFloat * 

                                - +

                                +

                                - + -
                                void ReedTable::setSlope void ReedTable::setSlope StkFloat  slope  ) 
                                - +
                                - -
                                  @@ -114,82 +100,7 @@ The table offset roughly corresponds to the size of the initial reed tip opening

                                Set the table slope value.

                                -The table slope roughly corresponds to the reed stiffness (a greater slope represents a harder reed).

                                -

                                - - - - -
                                - - - - - - - - - - -
                                StkFloat ReedTable::tick StkFloat  input  )  [virtual]
                                -
                                - - - - - -
                                -   - - -

                                -Return the function value for input. -

                                -The function input represents the differential pressure across the reeds. -

                                -Implements Function.

                                -

                                - - - - -
                                - - - - - - - - - - - - - - - - - - - -
                                StkFrames& ReedTable::tick StkFrames frames,
                                unsigned int  channel = 1
                                [virtual]
                                -
                                - - - - +The table slope roughly corresponds to the reed stiffness (a greater slope represents a harder reed).
                                -   - - -

                                -Take a channel of the StkFrames object as inputs to the function and replace with corresponding outputs. -

                                -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                -Reimplemented from Function.


                                The documentation for this class was generated from the following file:
                                  @@ -198,7 +109,7 @@ Reimplemented from Function. < - +
                                  The Synthesis ToolKit in C++ (STK)
                                  ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  diff --git a/doc/html/classReedTable__coll__graph.map b/doc/html/classReedTable__coll__graph.map new file mode 100644 index 0000000..5b67fa0 --- /dev/null +++ b/doc/html/classReedTable__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFunction.html 13,85 75,106 +rect $classStk.html 25,16 63,37 diff --git a/doc/html/classReedTable__coll__graph.md5 b/doc/html/classReedTable__coll__graph.md5 new file mode 100644 index 0000000..54380c4 --- /dev/null +++ b/doc/html/classReedTable__coll__graph.md5 @@ -0,0 +1 @@ +3b159a31ee44d9309cb862d41ccc1f46 \ No newline at end of file diff --git a/doc/html/classReedTable__coll__graph.png b/doc/html/classReedTable__coll__graph.png new file mode 100644 index 0000000..0cd9361 Binary files /dev/null and b/doc/html/classReedTable__coll__graph.png differ diff --git a/doc/html/classReedTable__inherit__graph.map b/doc/html/classReedTable__inherit__graph.map new file mode 100644 index 0000000..5b67fa0 --- /dev/null +++ b/doc/html/classReedTable__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFunction.html 13,85 75,106 +rect $classStk.html 25,16 63,37 diff --git a/doc/html/classReedTable__inherit__graph.md5 b/doc/html/classReedTable__inherit__graph.md5 new file mode 100644 index 0000000..8512ba5 --- /dev/null +++ b/doc/html/classReedTable__inherit__graph.md5 @@ -0,0 +1 @@ +582ab1e715706e2e6e134fd750abd984 \ No newline at end of file diff --git a/doc/html/classReedTable__inherit__graph.png b/doc/html/classReedTable__inherit__graph.png new file mode 100644 index 0000000..0cd9361 Binary files /dev/null and b/doc/html/classReedTable__inherit__graph.png differ diff --git a/doc/html/classResonate-members.html b/doc/html/classResonate-members.html index 5653343..80cac41 100644 --- a/doc/html/classResonate-members.html +++ b/doc/html/classResonate-members.html @@ -8,11 +8,11 @@    

                                  Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                  - -

                                  Resonate Member List

                                  This is the complete list of members for Resonate, including all inherited members. + +

                                  Resonate Member List

                                  This is the complete list of members for Resonate, including all inherited members.

                                  - - + + @@ -23,6 +23,7 @@ + @@ -32,6 +33,7 @@ + @@ -43,9 +45,8 @@ - - - + + @@ -53,7 +54,7 @@
                                  clear()Resonate
                                  controlChange(int number, StkFloat value)Resonate [virtual]
                                  handleError(const char *message, StkError::Type type)Stk [static]
                                  controlChange(int number, StkFloat value)Resonate [virtual]
                                  handleError(const char *message, StkError::Type type)Stk [static]
                                  handleError(std::string message, StkError::Type type)Stk [static]
                                  handleError(StkError::Type type)Stk [protected]
                                  Instrmnt()Instrmnt
                                  lastOutRight() const Instrmnt
                                  noteOff(StkFloat amplitude)Resonate [virtual]
                                  noteOn(StkFloat frequency, StkFloat amplitude)Resonate [virtual]
                                  printErrors(bool status)Stk [inline, static]
                                  rawwavePath(void)Stk [inline, static]
                                  Resonate()Resonate
                                  sampleRate(void)Stk [inline, static]
                                  setRawwavePath(std::string path)Stk [static]
                                  setResonance(StkFloat frequency, StkFloat radius)Resonate
                                  setSampleRate(StkFloat rate)Stk [inline, static]
                                  showWarnings(bool status)Stk [inline, static]
                                  sleep(unsigned long milliseconds)Stk [static]
                                  Stk(void)Stk [protected]
                                  STK_FLOAT32Stk [static]
                                  swap16(unsigned char *ptr)Stk [static]
                                  swap32(unsigned char *ptr)Stk [static]
                                  swap64(unsigned char *ptr)Stk [static]
                                  tick()Resonate [virtual]
                                  tick(StkFloat *vector, unsigned int vectorSize)Resonate [virtual]
                                  tick(StkFrames &frames, unsigned int channel=1)Resonate [virtual]
                                  tick(void)Instrmnt
                                  tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                                  ~Instrmnt()Instrmnt [virtual]
                                  ~Resonate()Resonate
                                  ~Stk(void)Stk [protected, virtual]
                                  - +
                                  The Synthesis ToolKit in C++ (STK)
                                  ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  diff --git a/doc/html/classResonate.html b/doc/html/classResonate.html index bbb405f..0d0bf03 100644 --- a/doc/html/classResonate.html +++ b/doc/html/classResonate.html @@ -8,8 +8,8 @@    

                                  Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                  - -

                                  Resonate Class Reference

                                  #include <Resonate.h> + +

                                  Resonate Class Reference

                                  #include <Resonate.h>

                                  Inheritance diagram for Resonate:

                                  @@ -24,111 +24,55 @@ This instrument contains a noise source, which excites a biquad resonance filter Control Change Numbers:
                                  • Resonance Frequency (0-Nyquist) = 2
                                  • Pole Radii = 4
                                  • Notch Frequency (0-Nyquist) = 11
                                  • Zero Radii = 1
                                  • Envelope Gain = 128

                                  -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                  - -

                                  -Definition at line 28 of file Resonate.h. +
                                  - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - -

                                  Public Member Functions

                                  Resonate ()

                                  Public Member Functions

                                  Resonate ()
                                   Class constructor.

                                  ~Resonate ()
                                   Class constructor.
                                  ~Resonate ()
                                   Class destructor.

                                  -void clear ()
                                   Class destructor.
                                  +void clear ()
                                   Reset and clear all internal state.

                                  -void setResonance (StkFloat frequency, StkFloat radius)
                                   Reset and clear all internal state.
                                  +void setResonance (StkFloat frequency, StkFloat radius)
                                   Set the filter for a resonance at the given frequency (Hz) and radius.

                                  -void setNotch (StkFloat frequency, StkFloat radius)
                                   Set the filter for a resonance at the given frequency (Hz) and radius.
                                  +void setNotch (StkFloat frequency, StkFloat radius)
                                   Set the filter for a notch at the given frequency (Hz) and radius.

                                  -void setEqualGainZeroes ()
                                   Set the filter for a notch at the given frequency (Hz) and radius.
                                  +void setEqualGainZeroes ()
                                   Set the filter zero coefficients for contant resonance gain.

                                  -void keyOn ()
                                   Set the filter zero coefficients for contant resonance gain.
                                  +void keyOn ()
                                   Initiate the envelope with a key-on event.

                                  -void keyOff ()
                                   Initiate the envelope with a key-on event.
                                  +void keyOff ()
                                   Signal a key-off event to the envelope.

                                  -void noteOn (StkFloat frequency, StkFloat amplitude)
                                   Signal a key-off event to the envelope.
                                  +void noteOn (StkFloat frequency, StkFloat amplitude)
                                   Start a note with the given frequency and amplitude.

                                  -void noteOff (StkFloat amplitude)
                                   Start a note with the given frequency and amplitude.
                                  +void noteOff (StkFloat amplitude)
                                   Stop a note with the given amplitude (speed of decay).

                                  -StkFloat tick ()
                                   Stop a note with the given amplitude (speed of decay).
                                  +void controlChange (int number, StkFloat value)
                                   Compute one output sample.

                                  -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                   Computer vectorSize outputs and return them in vector.

                                  StkFramestick (StkFrames &frames, unsigned int channel=1)
                                   Fill a channel of the StkFrames object with computed outputs.

                                  -void controlChange (int number, StkFloat value)
                                   Perform the control change specified by number and value (0.0 - 128.0).

                                  -


                                  Member Function Documentation

                                  -

                                  - - - - -
                                  - - - - - - - - - - - - - - - - - - - -
                                  StkFrames& Resonate::tick StkFrames frames,
                                  unsigned int  channel = 1
                                  [virtual]
                                  -
                                  - - - - - +
                                  -   - - -

                                  -Fill a channel of the StkFrames object with computed outputs. -

                                  -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                  -Reimplemented from Instrmnt.

                                   Perform the control change specified by number and value (0.0 - 128.0).


                                  The documentation for this class was generated from the following file: @@ -136,7 +80,7 @@ Reimplemented from Instrmnt. - +
                                  The Synthesis ToolKit in C++ (STK)
                                  ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  diff --git a/doc/html/classResonate__coll__graph.map b/doc/html/classResonate__coll__graph.map new file mode 100644 index 0000000..b936065 --- /dev/null +++ b/doc/html/classResonate__coll__graph.map @@ -0,0 +1,9 @@ +base referer +rect $classInstrmnt.html 7,134 63,155 +rect $classStk.html 123,16 160,38 +rect $classGenerator.html 107,88 176,110 +rect $classFilter.html 205,88 245,110 +rect $classADSR.html 64,270 112,291 +rect $classEnvelope.html 61,179 125,200 +rect $classNoise.html 144,224 187,246 +rect $classBiQuad.html 225,224 279,246 diff --git a/doc/html/classResonate__coll__graph.md5 b/doc/html/classResonate__coll__graph.md5 new file mode 100644 index 0000000..fee5942 --- /dev/null +++ b/doc/html/classResonate__coll__graph.md5 @@ -0,0 +1 @@ +8330ab257ddf78910dc9405d9a9e0724 \ No newline at end of file diff --git a/doc/html/classResonate__coll__graph.png b/doc/html/classResonate__coll__graph.png new file mode 100644 index 0000000..b0fa3ed Binary files /dev/null and b/doc/html/classResonate__coll__graph.png differ diff --git a/doc/html/classResonate__inherit__graph.map b/doc/html/classResonate__inherit__graph.map new file mode 100644 index 0000000..26db36e --- /dev/null +++ b/doc/html/classResonate__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 11,85 67,106 +rect $classStk.html 20,16 57,37 diff --git a/doc/html/classResonate__inherit__graph.md5 b/doc/html/classResonate__inherit__graph.md5 new file mode 100644 index 0000000..beff34d --- /dev/null +++ b/doc/html/classResonate__inherit__graph.md5 @@ -0,0 +1 @@ +edceffd49f315759b0cb9fb497c7d236 \ No newline at end of file diff --git a/doc/html/classResonate__inherit__graph.png b/doc/html/classResonate__inherit__graph.png new file mode 100644 index 0000000..7c90ff2 Binary files /dev/null and b/doc/html/classResonate__inherit__graph.png differ diff --git a/doc/html/classRhodey-members.html b/doc/html/classRhodey-members.html index c44b537..b489811 100644 --- a/doc/html/classRhodey-members.html +++ b/doc/html/classRhodey-members.html @@ -8,12 +8,12 @@    

                                  Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                  - -

                                  Rhodey Member List

                                  This is the complete list of members for Rhodey, including all inherited members. + +

                                  Rhodey Member List

                                  This is the complete list of members for Rhodey, including all inherited members.

                                  - + - + @@ -22,9 +22,10 @@ - + + @@ -37,6 +38,7 @@ + @@ -48,9 +50,8 @@ - - - + + @@ -59,7 +60,7 @@
                                  clear()FM
                                  controlChange(int number, StkFloat value)FM [virtual]
                                  controlChange(int number, StkFloat value)FM [virtual]
                                  FM(unsigned int operators=4)FM
                                  handleError(const char *message, StkError::Type type)Stk [static]
                                  handleError(const char *message, StkError::Type type)Stk [static]
                                  handleError(std::string message, StkError::Type type)Stk [static]
                                  handleError(StkError::Type type)Stk [protected]
                                  Instrmnt()Instrmnt
                                  lastOut() const Instrmnt
                                  lastOutLeft() const Instrmnt
                                  lastOutRight() const Instrmnt
                                  loadWaves(const char **filenames)FM
                                  loadWaves(const char **filenames)FM
                                  noteOff(StkFloat amplitude)FM [virtual]
                                  noteOn(StkFloat frequency, StkFloat amplitude)Rhodey [virtual]
                                  printErrors(bool status)Stk [inline, static]
                                  rawwavePath(void)Stk [inline, static]
                                  Rhodey()Rhodey
                                  sampleRate(void)Stk [inline, static]
                                  setRatio(unsigned int waveIndex, StkFloat ratio)FM
                                  setRawwavePath(std::string path)Stk [static]
                                  setSampleRate(StkFloat rate)Stk [inline, static]
                                  showWarnings(bool status)Stk [inline, static]
                                  sleep(unsigned long milliseconds)Stk [static]
                                  Stk(void)Stk [protected]
                                  STK_FLOAT32Stk [static]
                                  swap16(unsigned char *ptr)Stk [static]
                                  swap32(unsigned char *ptr)Stk [static]
                                  swap64(unsigned char *ptr)Stk [static]
                                  tick()Rhodey [virtual]
                                  tick(StkFloat *vector, unsigned int vectorSize)Rhodey [virtual]
                                  tick(StkFrames &frames, unsigned int channel=1)Rhodey [virtual]
                                  tick(void)Instrmnt
                                  tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                                  ~FM()FM [virtual]
                                  ~Instrmnt()Instrmnt [virtual]
                                  ~Rhodey()Rhodey
                                  - +
                                  The Synthesis ToolKit in C++ (STK)
                                  ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  diff --git a/doc/html/classRhodey.html b/doc/html/classRhodey.html index 0750d25..bda9826 100644 --- a/doc/html/classRhodey.html +++ b/doc/html/classRhodey.html @@ -8,8 +8,8 @@    

                                  Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                  - -

                                  Rhodey Class Reference

                                  #include <Rhodey.h> + +

                                  Rhodey Class Reference

                                  #include <Rhodey.h>

                                  Inheritance diagram for Rhodey:

                                  @@ -22,7 +22,7 @@ STK Fender Rhodes electric piano FM synthesis instrument.

                                  This class implements two simple FM Pairs summed together, also referred to as algorithm 5 of the TX81Z.

                                  -

                                      Algorithm 5 is :  4->3--\
                                  +
                                      Algorithm 5 is :  4->3--\
                                                                + --> Out
                                                         2->1--/
                                   

                                  @@ -30,59 +30,45 @@ Control Change Numbers:

                                  • Modulator Index One = 2
                                  • Crossfade of Outputs = 4
                                  • LFO Speed = 11
                                  • LFO Depth = 1
                                  • ADSR 2 & 4 Target = 128

                                  The basic Chowning/Stanford FM patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.

                                  -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                  - -

                                  -Definition at line 38 of file Rhodey.h. +
                                  - - + + - - + + - - + + - - + + - - - - - - - - - - +

                                  Public Member Functions

                                   Rhodey ()

                                  Public Member Functions

                                   Rhodey ()
                                   Class constructor.

                                  ~Rhodey ()
                                   Class constructor.
                                  ~Rhodey ()
                                   Class destructor.

                                  -void setFrequency (StkFloat frequency)
                                   Class destructor.
                                  +void setFrequency (StkFloat frequency)
                                   Set instrument parameters for a particular frequency.

                                  -void noteOn (StkFloat frequency, StkFloat amplitude)
                                   Set instrument parameters for a particular frequency.
                                  +void noteOn (StkFloat frequency, StkFloat amplitude)
                                   Start a note with the given frequency and amplitude.

                                  -StkFloat tick ()
                                   Compute one output sample.

                                  -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                   Computer vectorSize outputs and return them in vector.

                                  StkFramestick (StkFrames &frames, unsigned int channel=1)
                                   Fill a channel of the StkFrames object with computed outputs.

                                   Start a note with the given frequency and amplitude.


                                  Constructor & Destructor Documentation

                                  -

                                  - +

                                  +

                                  - + -
                                  Rhodey::Rhodey Rhodey::Rhodey  ) 
                                  - +
                                  - -
                                    @@ -92,50 +78,7 @@ StkFloat * StkError will be thrown if the rawwave path is incorrectly set.
                                  -


                                  Member Function Documentation

                                  -

                                  - - - - -
                                  - - - - - - - - - - - - - - - - - - - -
                                  StkFrames& Rhodey::tick StkFrames frames,
                                  unsigned int  channel = 1
                                  [virtual]
                                  -
                                  - - - - +An StkError will be thrown if the rawwave path is incorrectly set.
                                  -   - - -

                                  -Fill a channel of the StkFrames object with computed outputs. -

                                  -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                  -Implements FM.


                                  The documentation for this class was generated from the following file:
                                    @@ -144,7 +87,7 @@ Implements FM.
                                - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classRhodey__coll__graph.map b/doc/html/classRhodey__coll__graph.map new file mode 100644 index 0000000..2830571 --- /dev/null +++ b/doc/html/classRhodey__coll__graph.map @@ -0,0 +1,8 @@ +base referer +rect $classFM.html 72,269 109,291 +rect $classInstrmnt.html 7,133 63,155 +rect $classStk.html 85,16 123,37 +rect $classWvIn.html 84,88 124,109 +rect $classFilter.html 156,88 196,109 +rect $classWaveLoop.html 67,179 141,200 +rect $classTwoZero.html 167,179 231,200 diff --git a/doc/html/classRhodey__coll__graph.md5 b/doc/html/classRhodey__coll__graph.md5 new file mode 100644 index 0000000..a151845 --- /dev/null +++ b/doc/html/classRhodey__coll__graph.md5 @@ -0,0 +1 @@ +1028a849c2f4ab6d4f80b6ed3542d01a \ No newline at end of file diff --git a/doc/html/classRhodey__coll__graph.png b/doc/html/classRhodey__coll__graph.png new file mode 100644 index 0000000..d99041e Binary files /dev/null and b/doc/html/classRhodey__coll__graph.png differ diff --git a/doc/html/classRhodey__inherit__graph.map b/doc/html/classRhodey__inherit__graph.map new file mode 100644 index 0000000..d7c45cc --- /dev/null +++ b/doc/html/classRhodey__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classFM.html 16,155 53,176 +rect $classInstrmnt.html 7,86 63,107 +rect $classStk.html 16,16 53,38 diff --git a/doc/html/classRhodey__inherit__graph.md5 b/doc/html/classRhodey__inherit__graph.md5 new file mode 100644 index 0000000..45758ba --- /dev/null +++ b/doc/html/classRhodey__inherit__graph.md5 @@ -0,0 +1 @@ +24fd09c0af09eb846cc5084ba5a9324d \ No newline at end of file diff --git a/doc/html/classRhodey__inherit__graph.png b/doc/html/classRhodey__inherit__graph.png new file mode 100644 index 0000000..5d122b8 Binary files /dev/null and b/doc/html/classRhodey__inherit__graph.png differ diff --git a/doc/html/classRtApi-members.html b/doc/html/classRtApi-members.html new file mode 100644 index 0000000..8da3b3e --- /dev/null +++ b/doc/html/classRtApi-members.html @@ -0,0 +1,35 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +

                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApi Member List

                                This is the complete list of members for RtApi, including all inherited members.

                                + + + + + + + + + + + + + + +
                                clearStreamInfo()RtApi [protected]
                                devices_RtApi [protected]
                                error(RtError::Type type)RtApi [protected]
                                Float32 typedefRtApi [protected]
                                Float64 typedefRtApi [protected]
                                Int16 typedefRtApi [protected]
                                Int32 typedefRtApi [protected]
                                MAX_SAMPLE_RATESRtApi [protected, static]
                                message_RtApi [protected]
                                nDevices_RtApi [protected]
                                SAMPLE_RATESRtApi [protected, static]
                                stream_RtApi [protected]
                                StreamMode enum nameRtApi [protected]
                                StreamState enum nameRtApi


                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApi.html b/doc/html/classRtApi.html new file mode 100644 index 0000000..abf1a8b --- /dev/null +++ b/doc/html/classRtApi.html @@ -0,0 +1,97 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApi Class Reference

                                Inheritance diagram for RtApi: +

                                + +RtApiAl +RtApiAlsa +RtApiAsio +RtApiCore +RtApiDs +RtApiJack +RtApiOss + +List of all members.

                                Detailed Description

                                + +

                                + +

                                +Definition at line 126 of file RtAudio.h. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

                                Public Types

                                enum  StreamState

                                Protected Types

                                +typedef signed short Int16
                                +typedef signed int Int32
                                +typedef float Float32
                                +typedef double Float64
                                enum  
                                enum  StreamMode

                                Protected Member Functions

                                +void clearStreamInfo ()
                                 Protected common method to clear an RtApiStream structure.
                                +void error (RtError::Type type)
                                 Protected common error method to allow global control over error handling.

                                Protected Attributes

                                +char message_ [1024]
                                +int nDevices_
                                +std::vector< RtApiDevicedevices_
                                +RtApiStream stream_

                                Static Protected Attributes

                                +static const unsigned int MAX_SAMPLE_RATES
                                +static const unsigned int SAMPLE_RATES []

                                Classes

                                struct  ConvertInfo
                                struct  RtApiDevice
                                struct  RtApiStream
                                +


                                The documentation for this class was generated from the following file: +
                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApi.png b/doc/html/classRtApi.png new file mode 100644 index 0000000..386b88e Binary files /dev/null and b/doc/html/classRtApi.png differ diff --git a/doc/html/classRtApiAl-members.html b/doc/html/classRtApiAl-members.html new file mode 100644 index 0000000..74e4116 --- /dev/null +++ b/doc/html/classRtApiAl-members.html @@ -0,0 +1,35 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApiAl Member List

                                This is the complete list of members for RtApiAl, including all inherited members.

                                + + + + + + + + + + + + + + +
                                clearStreamInfo()RtApi [protected]
                                devices_RtApi [protected]
                                error(RtError::Type type)RtApi [protected]
                                Float32 typedefRtApi [protected]
                                Float64 typedefRtApi [protected]
                                Int16 typedefRtApi [protected]
                                Int32 typedefRtApi [protected]
                                MAX_SAMPLE_RATESRtApi [protected, static]
                                message_RtApi [protected]
                                nDevices_RtApi [protected]
                                SAMPLE_RATESRtApi [protected, static]
                                stream_RtApi [protected]
                                StreamMode enum nameRtApi [protected]
                                StreamState enum nameRtApi


                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApiAl.html b/doc/html/classRtApiAl.html new file mode 100644 index 0000000..d01039e --- /dev/null +++ b/doc/html/classRtApiAl.html @@ -0,0 +1,35 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApiAl Class Reference

                                Inheritance diagram for RtApiAl: +

                                + +RtApi + +List of all members.

                                Detailed Description

                                + +

                                + +

                                +Definition at line 781 of file RtAudio.h. + +
                                +


                                The documentation for this class was generated from the following file: +
                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApiAl.png b/doc/html/classRtApiAl.png new file mode 100644 index 0000000..37fdb3e Binary files /dev/null and b/doc/html/classRtApiAl.png differ diff --git a/doc/html/classRtApiAlsa-members.html b/doc/html/classRtApiAlsa-members.html new file mode 100644 index 0000000..bee39d5 --- /dev/null +++ b/doc/html/classRtApiAlsa-members.html @@ -0,0 +1,35 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApiAlsa Member List

                                This is the complete list of members for RtApiAlsa, including all inherited members.

                                + + + + + + + + + + + + + + +
                                clearStreamInfo()RtApi [protected]
                                devices_RtApi [protected]
                                error(RtError::Type type)RtApi [protected]
                                Float32 typedefRtApi [protected]
                                Float64 typedefRtApi [protected]
                                Int16 typedefRtApi [protected]
                                Int32 typedefRtApi [protected]
                                MAX_SAMPLE_RATESRtApi [protected, static]
                                message_RtApi [protected]
                                nDevices_RtApi [protected]
                                SAMPLE_RATESRtApi [protected, static]
                                stream_RtApi [protected]
                                StreamMode enum nameRtApi [protected]
                                StreamState enum nameRtApi


                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApiAlsa.html b/doc/html/classRtApiAlsa.html new file mode 100644 index 0000000..7b70f6e --- /dev/null +++ b/doc/html/classRtApiAlsa.html @@ -0,0 +1,35 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApiAlsa Class Reference

                                Inheritance diagram for RtApiAlsa: +

                                + +RtApi + +List of all members.

                                Detailed Description

                                + +

                                + +

                                +Definition at line 537 of file RtAudio.h. + +
                                +


                                The documentation for this class was generated from the following file: +
                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApiAlsa.png b/doc/html/classRtApiAlsa.png new file mode 100644 index 0000000..430fd0d Binary files /dev/null and b/doc/html/classRtApiAlsa.png differ diff --git a/doc/html/classRtApiAsio-members.html b/doc/html/classRtApiAsio-members.html new file mode 100644 index 0000000..347452c --- /dev/null +++ b/doc/html/classRtApiAsio-members.html @@ -0,0 +1,35 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApiAsio Member List

                                This is the complete list of members for RtApiAsio, including all inherited members.

                                + + + + + + + + + + + + + + +
                                clearStreamInfo()RtApi [protected]
                                devices_RtApi [protected]
                                error(RtError::Type type)RtApi [protected]
                                Float32 typedefRtApi [protected]
                                Float64 typedefRtApi [protected]
                                Int16 typedefRtApi [protected]
                                Int32 typedefRtApi [protected]
                                MAX_SAMPLE_RATESRtApi [protected, static]
                                message_RtApi [protected]
                                nDevices_RtApi [protected]
                                SAMPLE_RATESRtApi [protected, static]
                                stream_RtApi [protected]
                                StreamMode enum nameRtApi [protected]
                                StreamState enum nameRtApi


                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApiAsio.html b/doc/html/classRtApiAsio.html new file mode 100644 index 0000000..4f784f1 --- /dev/null +++ b/doc/html/classRtApiAsio.html @@ -0,0 +1,35 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApiAsio Class Reference

                                Inheritance diagram for RtApiAsio: +

                                + +RtApi + +List of all members.

                                Detailed Description

                                + +

                                + +

                                +Definition at line 745 of file RtAudio.h. + +
                                +


                                The documentation for this class was generated from the following file: +
                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApiAsio.png b/doc/html/classRtApiAsio.png new file mode 100644 index 0000000..31937d9 Binary files /dev/null and b/doc/html/classRtApiAsio.png differ diff --git a/doc/html/classRtApiCore-members.html b/doc/html/classRtApiCore-members.html new file mode 100644 index 0000000..28f6e3b --- /dev/null +++ b/doc/html/classRtApiCore-members.html @@ -0,0 +1,35 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApiCore Member List

                                This is the complete list of members for RtApiCore, including all inherited members.

                                + + + + + + + + + + + + + + +
                                clearStreamInfo()RtApi [protected]
                                devices_RtApi [protected]
                                error(RtError::Type type)RtApi [protected]
                                Float32 typedefRtApi [protected]
                                Float64 typedefRtApi [protected]
                                Int16 typedefRtApi [protected]
                                Int32 typedefRtApi [protected]
                                MAX_SAMPLE_RATESRtApi [protected, static]
                                message_RtApi [protected]
                                nDevices_RtApi [protected]
                                SAMPLE_RATESRtApi [protected, static]
                                stream_RtApi [protected]
                                StreamMode enum nameRtApi [protected]
                                StreamState enum nameRtApi


                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApiCore.html b/doc/html/classRtApiCore.html new file mode 100644 index 0000000..5250b8b --- /dev/null +++ b/doc/html/classRtApiCore.html @@ -0,0 +1,35 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApiCore Class Reference

                                Inheritance diagram for RtApiCore: +

                                + +RtApi + +List of all members.

                                Detailed Description

                                + +

                                + +

                                +Definition at line 627 of file RtAudio.h. + +
                                +


                                The documentation for this class was generated from the following file: +
                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApiCore.png b/doc/html/classRtApiCore.png new file mode 100644 index 0000000..0d2895a Binary files /dev/null and b/doc/html/classRtApiCore.png differ diff --git a/doc/html/classRtApiDs-members.html b/doc/html/classRtApiDs-members.html new file mode 100644 index 0000000..ec5e411 --- /dev/null +++ b/doc/html/classRtApiDs-members.html @@ -0,0 +1,35 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApiDs Member List

                                This is the complete list of members for RtApiDs, including all inherited members.

                                + + + + + + + + + + + + + + +
                                clearStreamInfo()RtApi [protected]
                                devices_RtApi [protected]
                                error(RtError::Type type)RtApi [protected]
                                Float32 typedefRtApi [protected]
                                Float64 typedefRtApi [protected]
                                Int16 typedefRtApi [protected]
                                Int32 typedefRtApi [protected]
                                MAX_SAMPLE_RATESRtApi [protected, static]
                                message_RtApi [protected]
                                nDevices_RtApi [protected]
                                SAMPLE_RATESRtApi [protected, static]
                                stream_RtApi [protected]
                                StreamMode enum nameRtApi [protected]
                                StreamState enum nameRtApi


                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApiDs.html b/doc/html/classRtApiDs.html new file mode 100644 index 0000000..e64c8d1 --- /dev/null +++ b/doc/html/classRtApiDs.html @@ -0,0 +1,38 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApiDs Class Reference

                                Inheritance diagram for RtApiDs: +

                                + +RtApi + +List of all members.

                                Detailed Description

                                + +

                                + +

                                +Definition at line 662 of file RtAudio.h. + + + + +

                                Classes

                                struct  RtDsStatistics
                                +


                                The documentation for this class was generated from the following file: +
                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApiDs.png b/doc/html/classRtApiDs.png new file mode 100644 index 0000000..90b5bdc Binary files /dev/null and b/doc/html/classRtApiDs.png differ diff --git a/doc/html/classRtApiJack-members.html b/doc/html/classRtApiJack-members.html new file mode 100644 index 0000000..e0a6773 --- /dev/null +++ b/doc/html/classRtApiJack-members.html @@ -0,0 +1,35 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApiJack Member List

                                This is the complete list of members for RtApiJack, including all inherited members.

                                + + + + + + + + + + + + + + +
                                clearStreamInfo()RtApi [protected]
                                devices_RtApi [protected]
                                error(RtError::Type type)RtApi [protected]
                                Float32 typedefRtApi [protected]
                                Float64 typedefRtApi [protected]
                                Int16 typedefRtApi [protected]
                                Int32 typedefRtApi [protected]
                                MAX_SAMPLE_RATESRtApi [protected, static]
                                message_RtApi [protected]
                                nDevices_RtApi [protected]
                                SAMPLE_RATESRtApi [protected, static]
                                stream_RtApi [protected]
                                StreamMode enum nameRtApi [protected]
                                StreamState enum nameRtApi


                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApiJack.html b/doc/html/classRtApiJack.html new file mode 100644 index 0000000..c90b9a2 --- /dev/null +++ b/doc/html/classRtApiJack.html @@ -0,0 +1,35 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApiJack Class Reference

                                Inheritance diagram for RtApiJack: +

                                + +RtApi + +List of all members.

                                Detailed Description

                                + +

                                + +

                                +Definition at line 565 of file RtAudio.h. + +
                                +


                                The documentation for this class was generated from the following file: +
                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApiJack.png b/doc/html/classRtApiJack.png new file mode 100644 index 0000000..3819a44 Binary files /dev/null and b/doc/html/classRtApiJack.png differ diff --git a/doc/html/classRtApiOss-members.html b/doc/html/classRtApiOss-members.html new file mode 100644 index 0000000..bf8c158 --- /dev/null +++ b/doc/html/classRtApiOss-members.html @@ -0,0 +1,35 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApiOss Member List

                                This is the complete list of members for RtApiOss, including all inherited members.

                                + + + + + + + + + + + + + + +
                                clearStreamInfo()RtApi [protected]
                                devices_RtApi [protected]
                                error(RtError::Type type)RtApi [protected]
                                Float32 typedefRtApi [protected]
                                Float64 typedefRtApi [protected]
                                Int16 typedefRtApi [protected]
                                Int32 typedefRtApi [protected]
                                MAX_SAMPLE_RATESRtApi [protected, static]
                                message_RtApi [protected]
                                nDevices_RtApi [protected]
                                SAMPLE_RATESRtApi [protected, static]
                                stream_RtApi [protected]
                                StreamMode enum nameRtApi [protected]
                                StreamState enum nameRtApi


                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApiOss.html b/doc/html/classRtApiOss.html new file mode 100644 index 0000000..10d37f0 --- /dev/null +++ b/doc/html/classRtApiOss.html @@ -0,0 +1,35 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                +    

                                +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                +
                                + +

                                RtApiOss Class Reference

                                Inheritance diagram for RtApiOss: +

                                + +RtApi + +List of all members.

                                Detailed Description

                                + +

                                + +

                                +Definition at line 597 of file RtAudio.h. + +
                                +


                                The documentation for this class was generated from the following file: +
                                + + + + +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                + + + diff --git a/doc/html/classRtApiOss.png b/doc/html/classRtApiOss.png new file mode 100644 index 0000000..1ec1748 Binary files /dev/null and b/doc/html/classRtApiOss.png differ diff --git a/doc/html/classRtAudio-members.html b/doc/html/classRtAudio-members.html index fc524ba..ae03767 100644 --- a/doc/html/classRtAudio-members.html +++ b/doc/html/classRtAudio-members.html @@ -8,8 +8,8 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                RtAudio Member List

                                This is the complete list of members for RtAudio, including all inherited members. + +

                                RtAudio Member List

                                This is the complete list of members for RtAudio, including all inherited members.

                                @@ -39,7 +39,7 @@
                                abortStream()RtAudio [inline]
                                cancelStreamCallback()RtAudio [inline]
                                closeStream()RtAudio [inline]
                                - +
                                The Synthesis ToolKit in C++ (STK)
                                ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                diff --git a/doc/html/classRtAudio.html b/doc/html/classRtAudio.html index 1cc28e5..a809509 100644 --- a/doc/html/classRtAudio.html +++ b/doc/html/classRtAudio.html @@ -8,26 +8,24 @@    

                                Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                - -

                                RtAudio Class Reference

                                #include <RtAudio.h> + +

                                RtAudio Class Reference

                                #include <RtAudio.h>

                                List of all members.


                                Detailed Description

                                Realtime audio i/o C++ classes.

                                RtAudio provides a common API (Application Programming Interface) for realtime audio input/output across Linux (native ALSA, Jack, and OSS), SGI, Macintosh OS X (CoreAudio), and Windows (DirectSound and ASIO) operating systems.

                                RtAudio WWW site: http://music.mcgill.ca/~gary/rtaudio/

                                -RtAudio: realtime audio i/o C++ classes Copyright (c) 2001-2004 Gary P. Scavone

                                +RtAudio: realtime audio i/o C++ classes Copyright (c) 2001-2005 Gary P. Scavone

                                Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

                                The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

                                Any person wishing to distribute modifications to the Software is requested to send the modifications to the original developer so that they can be incorporated into the canonical version.

                                -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

                                - -

                                -Definition at line 321 of file RtAudio.h. +
                                - - + - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - +

                                Public Types

                                enum  RtAudioApi {
                                +

                                Public Types

                                enum  RtAudioApi {
                                  UNSPECIFIED, LINUX_ALSA, LINUX_OSS, @@ -40,71 +38,72 @@ Definition at line 321 of
                                }
                                 Audio API specifier arguments. More...


                                Public Member Functions

                                 RtAudio (RtAudioApi api=UNSPECIFIED)
                                 Audio API specifier arguments. More...

                                Public Member Functions

                                 RtAudio (RtAudioApi api=UNSPECIFIED)
                                 The default class constructor.

                                 RtAudio (int outputDevice, int outputChannels, int inputDevice, int inputChannels, RtAudioFormat format, int sampleRate, int *bufferSize, int numberOfBuffers, RtAudioApi api=UNSPECIFIED)
                                 The default class constructor.
                                 RtAudio (int outputDevice, int outputChannels, int inputDevice, int inputChannels, RtAudioFormat format, int sampleRate, int *bufferSize, int numberOfBuffers, RtAudioApi api=UNSPECIFIED)
                                 A constructor which can be used to open a stream during instantiation.

                                 RtAudio (int outputDevice, int outputChannels, int inputDevice, int inputChannels, RtAudioFormat format, int sampleRate, int *bufferSize, int *numberOfBuffers, RtAudioApi api=UNSPECIFIED)
                                 A constructor which can be used to open a stream during instantiation.
                                 RtAudio (int outputDevice, int outputChannels, int inputDevice, int inputChannels, RtAudioFormat format, int sampleRate, int *bufferSize, int *numberOfBuffers, RtAudioApi api=UNSPECIFIED)
                                 An overloaded constructor which opens a stream and also returns numberOfBuffers parameter via pointer argument.

                                 ~RtAudio ()
                                 An overloaded constructor which opens a stream and also returns numberOfBuffers parameter via pointer argument.
                                 ~RtAudio ()
                                 The destructor.

                                void openStream (int outputDevice, int outputChannels, int inputDevice, int inputChannels, RtAudioFormat format, int sampleRate, int *bufferSize, int numberOfBuffers)
                                 The destructor.
                                void openStream (int outputDevice, int outputChannels, int inputDevice, int inputChannels, RtAudioFormat format, int sampleRate, int *bufferSize, int numberOfBuffers)
                                 A public method for opening a stream with the specified parameters.

                                void openStream (int outputDevice, int outputChannels, int inputDevice, int inputChannels, RtAudioFormat format, int sampleRate, int *bufferSize, int *numberOfBuffers)
                                 A public method for opening a stream with the specified parameters.
                                void openStream (int outputDevice, int outputChannels, int inputDevice, int inputChannels, RtAudioFormat format, int sampleRate, int *bufferSize, int *numberOfBuffers)
                                 A public method for opening a stream and also returning numberOfBuffers parameter via pointer argument.

                                void setStreamCallback (RtAudioCallback callback, void *userData)
                                 A public method for opening a stream and also returning numberOfBuffers parameter via pointer argument.
                                void setStreamCallback (RtAudioCallback callback, void *userData)
                                 A public method which sets a user-defined callback function for a given stream.

                                void cancelStreamCallback ()
                                 A public method which sets a user-defined callback function for a given stream.
                                void cancelStreamCallback ()
                                 A public method which cancels a callback process and function for the stream.

                                -int getDeviceCount (void)
                                 A public method which cancels a callback process and function for the stream.
                                +int getDeviceCount (void)
                                 A public method which returns the number of audio devices found.

                                RtAudioDeviceInfo getDeviceInfo (int device)
                                 A public method which returns the number of audio devices found.
                                RtAudioDeviceInfo getDeviceInfo (int device)
                                 Return an RtAudioDeviceInfo structure for a specified device number.

                                char *const  getStreamBuffer ()
                                 Return an RtAudioDeviceInfo structure for a specified device number.
                                char *const getStreamBuffer ()
                                 A public method which returns a pointer to the buffer for an open stream.

                                void tickStream ()
                                 A public method which returns a pointer to the buffer for an open stream.
                                void tickStream ()
                                 Public method used to trigger processing of input/output data for a stream.

                                void closeStream ()
                                 Public method used to trigger processing of input/output data for a stream.
                                void closeStream ()
                                 Public method which closes a stream and frees any associated buffers.

                                void startStream ()
                                 Public method which closes a stream and frees any associated buffers.
                                void startStream ()
                                 Public method which starts a stream.

                                void stopStream ()
                                 Public method which starts a stream.
                                void stopStream ()
                                 Stop a stream, allowing any samples remaining in the queue to be played out and/or read in.

                                void abortStream ()
                                 Stop a stream, allowing any samples remaining in the queue to be played out and/or read in.
                                void abortStream ()
                                 Stop a stream, discarding any samples remaining in the input/output queue.

                                 Stop a stream, discarding any samples remaining in the input/output queue.


                                Member Enumeration Documentation

                                -

                                - +

                                +

                                - +
                                enum RtAudio::RtAudioApi + enum RtAudio::RtAudioApi
                                - +
                                +
                                  @@ -114,63 +113,48 @@ int UNSPECIFIED  +
                                Enumerator:
                                + + - - - - - - -
                                UNSPECIFIED  Search for a working compiled API.
                                LINUX_ALSA  +
                                LINUX_ALSA  The Advanced Linux Sound Architecture API.
                                LINUX_OSS  +
                                LINUX_OSS  The Linux Open Sound System API.
                                LINUX_JACK  +
                                LINUX_JACK  The Linux Jack Low-Latency Audio Server API.
                                MACOSX_CORE  +
                                MACOSX_CORE  Macintosh OS-X Core Audio API.
                                IRIX_AL  +
                                IRIX_AL  The Irix Audio Library API.
                                WINDOWS_ASIO  +
                                WINDOWS_ASIO  The Steinberg Audio Stream I/O API.
                                WINDOWS_DS  +
                                WINDOWS_DS  The Microsoft Direct Sound API.
                                - -

                                -Definition at line 326 of file RtAudio.h. -

                                -

                                00326                   {
                                -00327     UNSPECIFIED,    
                                -00328     LINUX_ALSA,     
                                -00329     LINUX_OSS,      
                                -00330     LINUX_JACK,     
                                -00331     MACOSX_CORE,    
                                -00332     IRIX_AL,        
                                -00333     WINDOWS_ASIO,   
                                -00334     WINDOWS_DS      
                                -00335   };
                                -


                                Constructor & Destructor Documentation

                                -

                                - +

                                +

                                - + - + -
                                RtAudio::RtAudio RtAudio::RtAudio RtAudioApi  api = UNSPECIFIED api = UNSPECIFIED  ) 
                                - +
                                +If no API argument is specified and multiple API support has been compiled, the default order of use is JACK, ALSA, OSS (Linux systems) and ASIO, DS (Windows systems).
                                  @@ -181,79 +165,78 @@ Definition at line 326 of The default class constructor.

                                Probes the system to make sure at least one audio input/output device is available and determines the api-specific identifier for each device found. An RtError error can be thrown if no devices are found or if a memory allocation error occurs.

                                -If no API argument is specified and multiple API support has been compiled, the default order of use is JACK, ALSA, OSS (Linux systems) and ASIO, DS (Windows systems).

                                -

                                - +

                                +

                                - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + -
                                RtAudio::RtAudio RtAudio::RtAudio int  outputDevice,
                                int  outputChannels,
                                int  inputDevice,
                                int  inputChannels,
                                RtAudioFormat  format,
                                int  sampleRate,
                                int *  bufferSize,
                                int  numberOfBuffers,
                                RtAudioApi  api = UNSPECIFIED api = UNSPECIFIED
                                - +
                                  @@ -263,80 +246,79 @@ If no API argument is specified and multiple API support has been compiled, the

                                A constructor which can be used to open a stream during instantiation.

                                -The specified output and/or input device identifiers correspond to those enumerated via the getDeviceInfo() method. If device = 0, the default or first available devices meeting the given parameters is selected. If an output or input channel value is zero, the corresponding device value is ignored. When a stream is successfully opened, its identifier is returned via the "streamId" pointer. An RtError can be thrown if no devices are found for the given parameters, if a memory allocation error occurs, or if a driver error occurs.

                                See also:
                                openStream()
                                +The specified output and/or input device identifiers correspond to those enumerated via the getDeviceInfo() method. If device = 0, the default or first available devices meeting the given parameters is selected. If an output or input channel value is zero, the corresponding device value is ignored. When a stream is successfully opened, its identifier is returned via the "streamId" pointer. An RtError can be thrown if no devices are found for the given parameters, if a memory allocation error occurs, or if a driver error occurs.
                                See also:
                                openStream()
                                -

                                - +

                                +

                                - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + -
                                RtAudio::RtAudio RtAudio::RtAudio int  outputDevice,
                                int  outputChannels,
                                int  inputDevice,
                                int  inputChannels,
                                RtAudioFormat  format,
                                int  sampleRate,
                                int *  bufferSize,
                                int *  numberOfBuffers,
                                RtAudioApi  api = UNSPECIFIED api = UNSPECIFIED
                                - +
                                +See the previous constructor call for details. This overloaded version differs only in that it takes a pointer argument for the numberOfBuffers parameter and returns the value used by the audio device (which may be different from that requested). Note that the numberofBuffers parameter is not used with the Linux Jack, Macintosh CoreAudio, and Windows ASIO APIs.
                                  @@ -346,27 +328,26 @@ The specified output and/or input device identifiers correspond to those enumera

                                An overloaded constructor which opens a stream and also returns numberOfBuffers parameter via pointer argument.

                                -See the previous constructor call for details. This overloaded version differs only in that it takes a pointer argument for the numberOfBuffers parameter and returns the value used by the audio device (which may be different from that requested). Note that the numberofBuffers parameter is not used with the Linux Jack, Macintosh CoreAudio, and Windows ASIO APIs.

                                -

                                - +

                                +

                                - + -
                                RtAudio::~RtAudio RtAudio::~RtAudio  ) 
                                - +
                                +Stops and closes an open stream and devices and deallocates buffer and structure memory.
                                  @@ -376,74 +357,73 @@ See the previous constructor call for details. This overloaded version differs o

                                The destructor.

                                -Stops and closes an open stream and devices and deallocates buffer and structure memory.


                                Member Function Documentation

                                -

                                - +

                                +

                                - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + -
                                void RtAudio::openStream void RtAudio::openStream int  outputDevice,
                                int  outputChannels,
                                int  inputDevice,
                                int  inputChannels,
                                RtAudioFormat  format,
                                int  sampleRate,
                                int *  bufferSize,
                                int  numberOfBuffers
                                - +
                                  @@ -456,83 +436,82 @@ A public method for opening a stream with the specified parameters. An RtError is thrown if a stream cannot be opened.

                                Parameters:
                                - - - - - - - - + + + + + + + +
                                outputDevice: If equal to 0, the default or first device found meeting the given parameters is opened. Otherwise, the device number should correspond to one of those enumerated via the getDeviceInfo() method.
                                outputChannels: The desired number of output channels. If equal to zero, the outputDevice identifier is ignored.
                                inputDevice: If equal to 0, the default or first device found meeting the given parameters is opened. Otherwise, the device number should correspond to one of those enumerated via the getDeviceInfo() method.
                                inputChannels: The desired number of input channels. If equal to zero, the inputDevice identifier is ignored.
                                format: An RtAudioFormat specifying the desired sample data format.
                                sampleRate: The desired sample rate (sample frames per second).
                                *bufferSize: A pointer value indicating the desired internal buffer size in sample frames. The actual value used by the device is returned via the same pointer. A value of zero can be specified, in which case the lowest allowable value is determined.
                                numberOfBuffers: A value which can be used to help control device latency. More buffers typically result in more robust performance, though at a cost of greater latency. A value of zero can be specified, in which case the lowest allowable value is used.
                                outputDevice,: If equal to 0, the default or first device found meeting the given parameters is opened. Otherwise, the device number should correspond to one of those enumerated via the getDeviceInfo() method.
                                outputChannels,: The desired number of output channels. If equal to zero, the outputDevice identifier is ignored.
                                inputDevice,: If equal to 0, the default or first device found meeting the given parameters is opened. Otherwise, the device number should correspond to one of those enumerated via the getDeviceInfo() method.
                                inputChannels,: The desired number of input channels. If equal to zero, the inputDevice identifier is ignored.
                                format,: An RtAudioFormat specifying the desired sample data format.
                                sampleRate,: The desired sample rate (sample frames per second).
                                *bufferSize,: A pointer value indicating the desired internal buffer size in sample frames. The actual value used by the device is returned via the same pointer. A value of zero can be specified, in which case the lowest allowable value is determined.
                                numberOfBuffers,: A value which can be used to help control device latency. More buffers typically result in more robust performance, though at a cost of greater latency. A value of zero can be specified, in which case the lowest allowable value is used.
                                -

                                - +

                                +

                                - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + -
                                void RtAudio::openStream void RtAudio::openStream int  outputDevice,
                                int  outputChannels,
                                int  inputDevice,
                                int  inputChannels,
                                RtAudioFormat  format,
                                int  sampleRate,
                                int *  bufferSize,
                                int *  numberOfBuffers
                                - +
                                +See the previous function call for details. This overloaded version differs only in that it takes a pointer argument for the numberOfBuffers parameter and returns the value used by the audio device (which may be different from that requested). Note that the numberofBuffers parameter is not used with the Linux Jack, Macintosh CoreAudio, and Windows ASIO APIs.
                                  @@ -542,37 +521,36 @@ An RtError is thrown if a stream cann

                                A public method for opening a stream and also returning numberOfBuffers parameter via pointer argument.

                                -See the previous function call for details. This overloaded version differs only in that it takes a pointer argument for the numberOfBuffers parameter and returns the value used by the audio device (which may be different from that requested). Note that the numberofBuffers parameter is not used with the Linux Jack, Macintosh CoreAudio, and Windows ASIO APIs.

                                -

                                - +

                                +

                                - + - - + + - + -
                                void RtAudio::setStreamCallback void RtAudio::setStreamCallback RtAudioCallback  callback,
                                void *  userData
                                [inline]
                                - +
                                +This method assigns a callback function to a previously opened stream for non-blocking stream functionality. A separate process is initiated, though the user function is called only when the stream is "running" (between calls to the startStream() and stopStream() methods, respectively). The callback process remains active for the duration of the stream and is automatically shutdown when the stream is closed (via the closeStream() method or by object destruction). The callback process can also be shutdown and the user function de-referenced through an explicit call to the cancelStreamCallback() method. Note that the stream can use only blocking or callback functionality at a particular time, though it is possible to alternate modes on the same stream through the use of the setStreamCallback() and cancelStreamCallback() methods (the blocking tickStream() method can be used before a callback is set and/or after a callback is cancelled). An RtError will be thrown if called when no stream is open or a thread errors occurs.
                                  @@ -582,32 +560,26 @@ See the previous function call for details. This overloaded version differs only

                                A public method which sets a user-defined callback function for a given stream.

                                -This method assigns a callback function to a previously opened stream for non-blocking stream functionality. A separate process is initiated, though the user function is called only when the stream is "running" (between calls to the startStream() and stopStream() methods, respectively). The callback process remains active for the duration of the stream and is automatically shutdown when the stream is closed (via the closeStream() method or by object destruction). The callback process can also be shutdown and the user function de-referenced through an explicit call to the cancelStreamCallback() method. Note that the stream can use only blocking or callback functionality at a particular time, though it is possible to alternate modes on the same stream through the use of the setStreamCallback() and cancelStreamCallback() methods (the blocking tickStream() method can be used before a callback is set and/or after a callback is cancelled). An RtError will be thrown if called when no stream is open or a thread errors occurs. -

                                -Definition at line 454 of file RtAudio.h. -

                                -

                                00454 { rtapi_->setStreamCallback( callback, userData ); };
                                -
                                -

                                - +

                                +

                                - + -
                                void RtAudio::cancelStreamCallback void RtAudio::cancelStreamCallback  )  [inline]
                                - +
                                +This method shuts down a callback process and de-references the user function for the stream. Callback functionality can subsequently be restarted on the stream via the setStreamCallback() method. An RtError will be thrown if called when no stream is open.
                                  @@ -617,33 +589,27 @@ Definition at line 454 of

                                A public method which cancels a callback process and function for the stream.

                                -This method shuts down a callback process and de-references the user function for the stream. Callback functionality can subsequently be restarted on the stream via the setStreamCallback() method. An RtError will be thrown if called when no stream is open. -

                                -Definition at line 464 of file RtAudio.h. -

                                -

                                00464 { rtapi_->cancelStreamCallback(); };
                                -
                                -

                                - +

                                +

                                - + -
                                RtAudioDeviceInfo RtAudio::getDeviceInfo RtAudioDeviceInfo RtAudio::getDeviceInfo int  device  )  [inline]
                                - +
                                +Any device integer between 1 and getDeviceCount() is valid. If a device is busy or otherwise unavailable, the structure member "probed" will have a value of "false" and all other members are undefined. If the specified device is the current default input or output device, the "isDefault" member will have a value of "true". An RtError will be thrown for an invalid device argument.
                                  @@ -653,32 +619,26 @@ Definition at line 464 of

                                Return an RtAudioDeviceInfo structure for a specified device number.

                                -Any device integer between 1 and getDeviceCount() is valid. If a device is busy or otherwise unavailable, the structure member "probed" will have a value of "false" and all other members are undefined. If the specified device is the current default input or output device, the "isDefault" member will have a value of "true". An RtError will be thrown for an invalid device argument. -

                                -Definition at line 478 of file RtAudio.h. -

                                -

                                00478 { return rtapi_->getDeviceInfo( device ); };
                                -
                                -

                                - +

                                +

                                - + -
                                char* const RtAudio::getStreamBuffer char* const RtAudio::getStreamBuffer  )  [inline]
                                - +
                                +The user should fill and/or read the buffer data in interleaved format and then call the tickStream() method. An RtError will be thrown if called when no stream is open.
                                  @@ -688,32 +648,26 @@ Definition at line 478 of

                                A public method which returns a pointer to the buffer for an open stream.

                                -The user should fill and/or read the buffer data in interleaved format and then call the tickStream() method. An RtError will be thrown if called when no stream is open. -

                                -Definition at line 486 of file RtAudio.h. -

                                -

                                00486 { return rtapi_->getStreamBuffer(); };
                                -
                                -

                                - +

                                +

                                - + -
                                void RtAudio::tickStream void RtAudio::tickStream  )  [inline]
                                - +
                                +This method blocks until all buffer data is read/written. An RtError will be thrown if a driver error occurs or if called when no stream is open.
                                  @@ -723,32 +677,26 @@ Definition at line 486 of

                                Public method used to trigger processing of input/output data for a stream.

                                -This method blocks until all buffer data is read/written. An RtError will be thrown if a driver error occurs or if called when no stream is open. -

                                -Definition at line 494 of file RtAudio.h. -

                                -

                                00494 { rtapi_->tickStream(); };
                                -
                                -

                                - +

                                +

                                - + -
                                void RtAudio::closeStream void RtAudio::closeStream  )  [inline]
                                - +
                                +If a stream is not open, this method issues a warning and returns (an RtError is not thrown).
                                  @@ -758,32 +706,26 @@ Definition at line 494 of

                                Public method which closes a stream and frees any associated buffers.

                                -If a stream is not open, this method issues a warning and returns (an RtError is not thrown). -

                                -Definition at line 501 of file RtAudio.h. -

                                -

                                00501 { rtapi_->closeStream(); };
                                -
                                -

                                - +

                                +

                                - + -
                                void RtAudio::startStream void RtAudio::startStream  )  [inline]
                                - +
                                +An RtError will be thrown if a driver error occurs or if called when no stream is open.
                                  @@ -793,32 +735,26 @@ Definition at line 501 of

                                Public method which starts a stream.

                                -An RtError will be thrown if a driver error occurs or if called when no stream is open. -

                                -Definition at line 508 of file RtAudio.h. -

                                -

                                00508 { rtapi_->startStream(); };
                                -
                                -

                                - +

                                +

                                - + -
                                void RtAudio::stopStream void RtAudio::stopStream  )  [inline]
                                - +
                                +An RtError will be thrown if a driver error occurs or if called when no stream is open.
                                  @@ -828,32 +764,26 @@ Definition at line 508 of

                                Stop a stream, allowing any samples remaining in the queue to be played out and/or read in.

                                -An RtError will be thrown if a driver error occurs or if called when no stream is open. -

                                -Definition at line 515 of file RtAudio.h. -

                                -

                                00515 { rtapi_->stopStream(); };
                                -
                                -

                                - +

                                +

                                - + -
                                void RtAudio::abortStream void RtAudio::abortStream  )  [inline]
                                - +
                                +An RtError will be thrown if a driver error occurs or if called when no stream is open.
                                  @@ -863,12 +793,7 @@ Definition at line 515 of

                                Stop a stream, discarding any samples remaining in the input/output queue.

                                -An RtError will be thrown if a driver error occurs or if called when no stream is open. -

                                -Definition at line 522 of file RtAudio.h. -

                                -

                                00522 { rtapi_->abortStream(); };
                                -


                                The documentation for this class was generated from the following file:
                                  @@ -877,7 +802,7 @@ Definition at line 522 of - +
                                  The Synthesis ToolKit in C++ (STK)
                                  ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  diff --git a/doc/html/classRtDuplex-members.html b/doc/html/classRtDuplex-members.html index 0bfa922..29909bd 100644 --- a/doc/html/classRtDuplex-members.html +++ b/doc/html/classRtDuplex-members.html @@ -8,18 +8,20 @@    

                                  Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                  - -

                                  RtDuplex Member List

                                  This is the complete list of members for RtDuplex, including all inherited members. - + +

                                  RtDuplex Member List

                                  This is the complete list of members for RtDuplex, including all inherited members.

                                  handleError(const char *message, StkError::Type type)Stk [static]
                                  + + + @@ -33,7 +35,7 @@ - + @@ -44,7 +46,7 @@
                                  handleError(const char *message, StkError::Type type)Stk [static]
                                  handleError(std::string message, StkError::Type type)Stk [static]
                                  handleError(StkError::Type type)Stk [protected]
                                  lastFrame(void) const RtDuplex
                                  lastOut(void) const RtDuplex
                                  printErrors(bool status)Stk [inline, static]
                                  rawwavePath(void)Stk [inline, static]
                                  RtDuplex(int nChannels=1, StkFloat sampleRate=Stk::sampleRate(), int device=0, int bufferFrames=RT_BUFFER_SIZE, int nBuffers=2)RtDuplex
                                  sampleRate(void)Stk [inline, static]
                                  setRawwavePath(std::string path)Stk [static]
                                  setSampleRate(StkFloat rate)Stk [inline, static]
                                  showWarnings(bool status)Stk [inline, static]
                                  sleep(unsigned long milliseconds)Stk [static]
                                  start(void)RtDuplex
                                  Stk(void)Stk [protected]
                                  swap16(unsigned char *ptr)Stk [static]
                                  swap32(unsigned char *ptr)Stk [static]
                                  swap64(unsigned char *ptr)Stk [static]
                                  tick(const StkFloat sample)RtDuplex
                                  tick(const StkFloat sample)RtDuplex
                                  tick(StkFloat *vector, unsigned int vectorSize)RtDuplex
                                  tick(StkFrames &frames, unsigned int channel=1)RtDuplex
                                  tickFrame(StkFloat *frameVector, unsigned int frames=1)RtDuplex
                                  - +
                                  The Synthesis ToolKit in C++ (STK)
                                  ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  diff --git a/doc/html/classRtDuplex.html b/doc/html/classRtDuplex.html index 34e82b6..dec27f6 100644 --- a/doc/html/classRtDuplex.html +++ b/doc/html/classRtDuplex.html @@ -8,8 +8,8 @@    

                                  Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                  - -

                                  RtDuplex Class Reference

                                  #include <RtDuplex.h> + +

                                  RtDuplex Class Reference

                                  #include <RtDuplex.h>

                                  Inheritance diagram for RtDuplex:

                                  @@ -22,97 +22,94 @@ STK realtime audio (blocking) input/output class. This class provides a simplified interface to RtAudio for realtime audio input/output. It may also be possible to achieve duplex operation using separate RtWvIn and RtWvOut classes, but this class ensures better input/output synchronization.

                                  Because this class makes use of RtAudio's blocking input/output routines, its performance is less robust on systems where the audio API is callback-based (Macintosh CoreAudio and Windows ASIO).

                                  RtDuplex supports multi-channel data in interleaved format. It is important to distinguish the tick() methods, which output single samples to all channels in a sample frame and return samples produced by averaging across sample frames, from the tickFrame() methods, which take/return pointers to multi-channel sample frames.

                                  -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                  - -

                                  -Definition at line 37 of file RtDuplex.h. +
                                  - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - +

                                  Public Member Functions

                                   RtDuplex (int nChannels=1, StkFloat sampleRate=Stk::sampleRate(), int device=0, int bufferFrames=RT_BUFFER_SIZE, int nBuffers=2)

                                  Public Member Functions

                                   RtDuplex (int nChannels=1, StkFloat sampleRate=Stk::sampleRate(), int device=0, int bufferFrames=RT_BUFFER_SIZE, int nBuffers=2)
                                   Default constructor.

                                  ~RtDuplex ()
                                   Default constructor.
                                  ~RtDuplex ()
                                   Class destructor.

                                  void start (void)
                                   Class destructor.
                                  void start (void)
                                   Start the audio input/output stream.

                                  void stop (void)
                                   Start the audio input/output stream.
                                  void stop (void)
                                   Stop the audio input/output stream.

                                  -StkFloat lastOut (void) const
                                   Stop the audio input/output stream.
                                  +StkFloat lastOut (void) const
                                   Return the average across the last output sample frame.

                                  StkFloat tick (const StkFloat sample)
                                   Return the average across the last output sample frame.
                                  StkFloat tick (const StkFloat sample)
                                   Output a single sample to all channels in a sample frame and return the average across one new input sample frame of data.

                                  StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                   Output a single sample to all channels in a sample frame and return the average across one new input sample frame of data.
                                  StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                   Output each sample in vector to all channels per frame and return averaged input sample frames of new data in vector.

                                  StkFramestick (StkFrames &frames, unsigned int channel=1)
                                   Output each sample in vector to all channels per frame and return averaged input sample frames of new data in vector.
                                  StkFramestick (StkFrames &frames, unsigned int channel=1)
                                   Output a channel of the StkFrames object to all channels and replace with averaged sample frames of input.

                                  -const StkFloat * lastFrame (void) const
                                   Output a channel of the StkFrames object to all channels and replace with averaged sample frames of input.
                                  +const StkFloat * lastFrame (void) const
                                   Return a pointer to the last output sample frame.

                                  StkFloat * tickFrame (StkFloat *frameVector, unsigned int frames=1)
                                   Return a pointer to the last output sample frame.
                                  StkFloat * tickFrame (StkFloat *frameVector, unsigned int frames=1)
                                   Output sample frames from frameVector and return new input frames in frameVector.

                                  StkFramestickFrame (StkFrames &frames)
                                   Output sample frames from frameVector and return new input frames in frameVector.
                                  StkFramestickFrame (StkFrames &frames)
                                   Output the StkFrames data and replace with new input frames.

                                   Output the StkFrames data and replace with new input frames.


                                  Constructor & Destructor Documentation

                                  -

                                  - +

                                  +

                                  - + - + - - + + - + - - + + - + - - + + - + - - + + - + - + -
                                  RtDuplex::RtDuplex RtDuplex::RtDuplex int  nChannels = 1, nChannels = 1,
                                  StkFloat  sampleRate = Stk::sampleRate(), sampleRate = Stk::sampleRate(),
                                  int  device = 0, device = 0,
                                  int  bufferFrames = RT_BUFFER_SIZE, bufferFrames = RT_BUFFER_SIZE,
                                  int  nBuffers = 2 nBuffers = 2
                                  - +
                                  +The device argument is passed to RtAudio during instantiation. The default value (zero) will select the default device on your system or the first device found meeting the specified parameters. On systems with multiple soundcards/devices, values greater than zero can be specified in accordance with the order that the devices are enumerated by the underlying audio API. The default buffer size of RT_BUFFER_SIZE is defined in Stk.h. An StkError will be thrown if an error occurs duing instantiation.
                                    @@ -122,29 +119,28 @@ const StkFloat *  Default constructor.

                                  -The device argument is passed to RtAudio during instantiation. The default value (zero) will select the default device on your system or the first device found meeting the specified parameters. On systems with multiple soundcards/devices, values greater than zero can be specified in accordance with the order that the devices are enumerated by the underlying audio API. The default buffer size of RT_BUFFER_SIZE is defined in Stk.h. An StkError will be thrown if an error occurs duing instantiation.


                                  Member Function Documentation

                                  -

                                  - +

                                  +

                                  - + -
                                  void RtDuplex::start void RtDuplex::start void   ) 
                                  - +
                                  +The stream is started automatically, if necessary, when a tick() or tickFrame method is called.
                                    @@ -154,28 +150,27 @@ The device argument is passed to Start the audio input/output stream.

                                  -The stream is started automatically, if necessary, when a tick() or tickFrame method is called.

                                  -

                                  - +

                                  +

                                  - + -
                                  void RtDuplex::stop void RtDuplex::stop void   ) 
                                  - +
                                  - +
                                    @@ -185,28 +180,27 @@ The stream is started automatically, if necessary, when a

                                  - +

                                  +

                                  - + -
                                  StkFloat RtDuplex::tick StkFloat RtDuplex::tick const StkFloat  sample  ) 
                                  - +
                                  +An StkError will be thrown if an error occurs during input/output.
                                    @@ -216,37 +210,36 @@ It may be necessary to use this method to avoid audio overflow/underflow problem

                                  Output a single sample to all channels in a sample frame and return the average across one new input sample frame of data.

                                  -An StkError will be thrown if an error occurs during input/output.

                                  -

                                  - +

                                  +

                                  - + - - + + - + -
                                  StkFloat* RtDuplex::tick StkFloat* RtDuplex::tick StkFloat *  vector,
                                  unsigned int  vectorSize
                                  - +
                                  +An StkError will be thrown if an error occurs during input/output.
                                    @@ -256,37 +249,36 @@ An StkError will be thrown if an err

                                  Output each sample in vector to all channels per frame and return averaged input sample frames of new data in vector.

                                  -An StkError will be thrown if an error occurs during input/output.

                                  -

                                  - +

                                  +

                                  - + - - + + - + - + -
                                  StkFrames& RtDuplex::tick StkFrames& RtDuplex::tick StkFrames frames,
                                  unsigned int  channel = 1 channel = 1
                                  - +
                                  +The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if an error occurs during input/outpu or the channel argument is zero or it is greater than the number of channels in the StkFrames object.
                                    @@ -296,37 +288,36 @@ An StkError will be thrown if an err

                                  Output a channel of the StkFrames object to all channels and replace with averaged sample frames of input.

                                  -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if an error occurs during input/outpu or the channel argument is zero or it is greater than the number of channels in the StkFrames object.

                                  -

                                  - +

                                  +

                                  - + - - + + - + - + -
                                  StkFloat* RtDuplex::tickFrame StkFloat* RtDuplex::tickFrame StkFloat *  frameVector,
                                  unsigned int  frames = 1 frames = 1
                                  - +
                                  +An StkError will be thrown if an error occurs during input/output.
                                    @@ -336,28 +327,27 @@ The channel argument should be one or greater (the first channel is

                                  Output sample frames from frameVector and return new input frames in frameVector.

                                  -An StkError will be thrown if an error occurs during input/output.

                                  -

                                  - +

                                  +

                                  - + -
                                  StkFrames& RtDuplex::tickFrame StkFrames& RtDuplex::tickFrame StkFrames frames  ) 
                                  - +
                                  +An StkError will be thrown if an error occurs during input/output or if there is an incompatability between the number of channels in the RtDuplex object and that in the StkFrames object.
                                    @@ -367,7 +357,7 @@ An StkError will be thrown if an err

                                  Output the StkFrames data and replace with new input frames.

                                  -An StkError will be thrown if an error occurs during input/output or if there is an incompatability between the number of channels in the RtDuplex object and that in the StkFrames object.


                                  The documentation for this class was generated from the following file:
                                    @@ -376,7 +366,7 @@ An StkError will be thrown if an err - +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    diff --git a/doc/html/classRtDuplex__coll__graph.map b/doc/html/classRtDuplex__coll__graph.map new file mode 100644 index 0000000..145baa3 --- /dev/null +++ b/doc/html/classRtDuplex__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classStk.html 7,16 44,37 +rect $classRtAudio.html 68,16 124,37 diff --git a/doc/html/classRtDuplex__coll__graph.md5 b/doc/html/classRtDuplex__coll__graph.md5 new file mode 100644 index 0000000..0fd38b8 --- /dev/null +++ b/doc/html/classRtDuplex__coll__graph.md5 @@ -0,0 +1 @@ +aba4785cc9a306c5f4ffb5f10862ce2a \ No newline at end of file diff --git a/doc/html/classRtDuplex__coll__graph.png b/doc/html/classRtDuplex__coll__graph.png new file mode 100644 index 0000000..017f4db Binary files /dev/null and b/doc/html/classRtDuplex__coll__graph.png differ diff --git a/doc/html/classRtDuplex__inherit__graph.map b/doc/html/classRtDuplex__inherit__graph.map new file mode 100644 index 0000000..fca2ba0 --- /dev/null +++ b/doc/html/classRtDuplex__inherit__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 20,16 57,37 diff --git a/doc/html/classRtDuplex__inherit__graph.md5 b/doc/html/classRtDuplex__inherit__graph.md5 new file mode 100644 index 0000000..8a19659 --- /dev/null +++ b/doc/html/classRtDuplex__inherit__graph.md5 @@ -0,0 +1 @@ +8f06b5a596d360c5b51b4c56516e5999 \ No newline at end of file diff --git a/doc/html/classRtDuplex__inherit__graph.png b/doc/html/classRtDuplex__inherit__graph.png new file mode 100644 index 0000000..d20078c Binary files /dev/null and b/doc/html/classRtDuplex__inherit__graph.png differ diff --git a/doc/html/classRtError-members.html b/doc/html/classRtError-members.html index d8eebeb..39d260c 100644 --- a/doc/html/classRtError-members.html +++ b/doc/html/classRtError-members.html @@ -8,8 +8,8 @@    

                                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                    - -

                                    RtError Member List

                                    This is the complete list of members for RtError, including all inherited members. + +

                                    RtError Member List

                                    This is the complete list of members for RtError, including all inherited members.

                                    @@ -21,7 +21,7 @@ - + @@ -32,7 +32,7 @@
                                    DEBUG_WARNING enum valueRtError
                                    DRIVER_ERROR enum valueRtError
                                    getMessage(void)RtError [inline, virtual]
                                    MEMORY_ERROR enum valueRtError
                                    NO_DEVICES_FOUND enum valueRtError
                                    printMessage(void)RtError [inline, virtual]
                                    RtError(const std::string &message, Type type=RtError::UNSPECIFIED)RtError [inline]
                                    RtError(const std::string &message, Type type=RtError::UNSPECIFIED)RtError [inline]
                                    SYSTEM_ERROR enum valueRtError
                                    THREAD_ERROR enum valueRtError
                                    Type enum nameRtError
                                    - +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    diff --git a/doc/html/classRtError.html b/doc/html/classRtError.html index 6f88cfc..9b23c70 100644 --- a/doc/html/classRtError.html +++ b/doc/html/classRtError.html @@ -8,20 +8,18 @@    

                                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                    - -

                                    RtError Class Reference

                                    #include <RtError.h> + +

                                    RtError Class Reference

                                    #include <RtError.h>

                                    List of all members.


                                    Detailed Description

                                    Exception handling class for RtAudio & RtMidi.

                                    -The RtError class is quite simple but it does allow errors to be "caught" by RtError::Type. See the RtAudio and RtMidi documentation to know which methods can throw an RtError. +The RtError class is quite simple but it does allow errors to be "caught" by RtError::Type. See the RtAudio and RtMidi documentation to know which methods can throw an RtError.

                                    - -

                                    -Definition at line 18 of file RtError.h. +
                                    - - + - - - + + + - - + + - - + + - - + + - - + + - - + + - +

                                    Public Types

                                    enum  Type {
                                    +

                                    Public Types

                                    enum  Type {
                                      WARNING, DEBUG_WARNING, UNSPECIFIED, @@ -38,46 +36,47 @@ Definition at line 18 of
                                    }
                                     Defined RtError types. More...


                                    Public Member Functions

                                    RtError (const std::string &message, Type type=RtError::UNSPECIFIED)
                                     Defined RtError types. More...

                                    Public Member Functions

                                    RtError (const std::string &message, Type type=RtError::UNSPECIFIED)
                                     The constructor.

                                    -virtual ~RtError (void)
                                     The constructor.
                                    +virtual ~RtError (void)
                                     The destructor.

                                    -virtual void printMessage (void)
                                     The destructor.
                                    +virtual void printMessage (void)
                                     Prints thrown error message to stderr.

                                    -virtual const TypegetType (void)
                                     Prints thrown error message to stderr.
                                    +virtual const TypegetType (void)
                                     Returns the thrown error message type.

                                    -virtual const std::string & getMessage (void)
                                     Returns the thrown error message type.
                                    +virtual const std::string & getMessage (void)
                                     Returns the thrown error message string.

                                    -virtual const char * getMessageString (void)
                                     Returns the thrown error message string.
                                    +virtual const char * getMessageString (void)
                                     Returns the thrown error message as a C string.

                                     Returns the thrown error message as a C string.


                                    Member Enumeration Documentation

                                    -

                                    - +

                                    +

                                    - +
                                    enum RtError::Type + enum RtError::Type
                                    - +
                                      @@ -87,52 +86,33 @@ virtual const char *  Defined RtError types.

                                    -

                                    Enumeration values:
                                    - - +
                                    WARNING  +
                                    Enumerator:
                                    + + - - - - - - - - - -
                                    WARNING  A non-critical error.
                                    DEBUG_WARNING  +
                                    DEBUG_WARNING  A non-critical error which might be useful for debugging.
                                    UNSPECIFIED  +
                                    UNSPECIFIED  The default, unspecified error type.
                                    NO_DEVICES_FOUND  +
                                    NO_DEVICES_FOUND  No devices found on system.
                                    INVALID_DEVICE  +
                                    INVALID_DEVICE  An invalid device ID was specified.
                                    INVALID_STREAM  +
                                    INVALID_STREAM  An invalid stream ID was specified.
                                    MEMORY_ERROR  +
                                    MEMORY_ERROR  An error occured during memory allocation.
                                    INVALID_PARAMETER  +
                                    INVALID_PARAMETER  An invalid parameter was specified to a function.
                                    DRIVER_ERROR  +
                                    DRIVER_ERROR  A system driver error occured.
                                    SYSTEM_ERROR  +
                                    SYSTEM_ERROR  A system error occured.
                                    THREAD_ERROR  +
                                    THREAD_ERROR  A thread error occured.
                                    - -

                                    -Definition at line 22 of file RtError.h. -

                                    -Referenced by getType(). -

                                    -

                                    00022             {
                                    -00023     WARNING,           
                                    -00024     DEBUG_WARNING,     
                                    -00025     UNSPECIFIED,       
                                    -00026     NO_DEVICES_FOUND,  
                                    -00027     INVALID_DEVICE,    
                                    -00028     INVALID_STREAM,    
                                    -00029     MEMORY_ERROR,      
                                    -00030     INVALID_PARAMETER, 
                                    -00031     DRIVER_ERROR,      
                                    -00032     SYSTEM_ERROR,      
                                    -00033     THREAD_ERROR       
                                    -00034   };
                                    -

                                    The documentation for this class was generated from the following file:
                                      @@ -141,7 +121,7 @@ Referenced by getType(). - +
                                      The Synthesis ToolKit in C++ (STK)
                                      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      diff --git a/doc/html/classRtMidi-members.html b/doc/html/classRtMidi-members.html index 8247c5c..803f373 100644 --- a/doc/html/classRtMidi-members.html +++ b/doc/html/classRtMidi-members.html @@ -8,13 +8,18 @@    

                                      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                      - -

                                      RtMidi Member List

                                      This is the complete list of members for RtMidi, including all inherited members. + +

                                      RtMidi Member List

                                      This is the complete list of members for RtMidi, including all inherited members.

                                      + + + + +
                                      closePort(void)=0RtMidi [pure virtual]
                                      getPortCount()=0RtMidi [pure virtual]
                                      getPortName(unsigned int portNumber=0)=0RtMidi [pure virtual]
                                      openPort(unsigned int portNumber=0)=0RtMidi [pure virtual]
                                      openVirtualPort()=0RtMidi [pure virtual]

                                      - +
                                      The Synthesis ToolKit in C++ (STK)
                                      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      diff --git a/doc/html/classRtMidi.html b/doc/html/classRtMidi.html index 1eaae88..5f29b36 100644 --- a/doc/html/classRtMidi.html +++ b/doc/html/classRtMidi.html @@ -8,8 +8,8 @@    

                                      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                      - -

                                      RtMidi Class Reference

                                      #include <RtMidi.h> + +

                                      RtMidi Class Reference

                                      #include <RtMidi.h>

                                      Inheritance diagram for RtMidi:

                                      @@ -22,16 +22,35 @@ An abstract base class for realtime MIDI input/output.

                                      This class implements some common functionality for the realtime MIDI input/output subclasses RtMidiIn and RtMidiOut.

                                      RtMidi WWW site: http://music.mcgill.ca/~gary/rtmidi/

                                      -RtMidi: realtime MIDI i/o C++ classes Copyright (c) 2003-2004 Gary P. Scavone

                                      +RtMidi: realtime MIDI i/o C++ classes Copyright (c) 2003-2005 Gary P. Scavone

                                      Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

                                      The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

                                      Any person wishing to distribute modifications to the Software is requested to send the modifications to the original developer so that they can be incorporated into the canonical version.

                                      -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

                                      - -

                                      -Definition at line 46 of file RtMidi.h. +
                                      + + + + + + + + + + + + + + + +

                                      Public Member Functions

                                      +virtual void openPort (unsigned int portNumber=0)=0
                                       Pure virtual openPort() function.
                                      +virtual void openVirtualPort ()=0
                                       Pure virtual openVirtualPort() function.
                                      +virtual unsigned int getPortCount ()=0
                                       Pure virtual getPortCount() function.
                                      +virtual std::string getPortName (unsigned int portNumber=0)=0
                                       Pure virtual getPortName() function.
                                      +virtual void closePort (void)=0
                                       Pure virtual closePort() function.


                                      The documentation for this class was generated from the following file: @@ -39,7 +58,7 @@ Definition at line 46 of f - +
                                      The Synthesis ToolKit in C++ (STK)
                                      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      diff --git a/doc/html/classRtMidiIn-members.html b/doc/html/classRtMidiIn-members.html index e2cdf1a..835387b 100644 --- a/doc/html/classRtMidiIn-members.html +++ b/doc/html/classRtMidiIn-members.html @@ -8,16 +8,16 @@    

                                      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                      - -

                                      RtMidiIn Member List

                                      This is the complete list of members for RtMidiIn, including all inherited members. + +

                                      RtMidiIn Member List

                                      This is the complete list of members for RtMidiIn, including all inherited members.

                                      - + - - + + - + @@ -27,7 +27,7 @@
                                      cancelCallback()RtMidiIn
                                      closePort(void)RtMidiIn
                                      closePort(void)RtMidiIn [virtual]
                                      getMessage(std::vector< unsigned char > *message)RtMidiIn
                                      getPortCount()RtMidiIn
                                      getPortName(unsigned int portNumber=0)RtMidiIn
                                      getPortCount()RtMidiIn [virtual]
                                      getPortName(unsigned int portNumber=0)RtMidiIn [virtual]
                                      ignoreTypes(bool midiSysex=true, bool midiTime=true, bool midiSense=true)RtMidiIn
                                      openPort(unsigned int portNumber=0)RtMidiIn [virtual]
                                      openVirtualPort()RtMidiIn
                                      openVirtualPort()RtMidiIn [virtual]
                                      RtMidiCallback typedefRtMidiIn
                                      RtMidiIn()RtMidiIn
                                      setCallback(RtMidiCallback callback, void *userData=0)RtMidiIn
                                      - +
                                      The Synthesis ToolKit in C++ (STK)
                                      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      diff --git a/doc/html/classRtMidiIn.html b/doc/html/classRtMidiIn.html index 28c5280..0e2ed95 100644 --- a/doc/html/classRtMidiIn.html +++ b/doc/html/classRtMidiIn.html @@ -8,8 +8,8 @@    

                                      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                      - -

                                      RtMidiIn Class Reference

                                      #include <RtMidi.h> + +

                                      RtMidiIn Class Reference

                                      #include <RtMidi.h>

                                      Inheritance diagram for RtMidiIn:

                                      @@ -20,77 +20,74 @@ A realtime MIDI input class.

                                      This class provides a common, platform-independent API for realtime MIDI input. It allows access to a single MIDI input port. Incoming MIDI messages are either saved to a queue for retrieval using the getMessage() function or immediately passed to a user-specified callback function. Create multiple instances of this class to connect to more than one MIDI device at the same time. With the OS-X and Linux ALSA MIDI APIs, it is also possible to open a virtual input port to which other MIDI software clients can connect.

                                      -by Gary P. Scavone, 2003-2004. +by Gary P. Scavone, 2003-2004.

                                      - -

                                      -Definition at line 87 of file RtMidi.h. +
                                      - - + + - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - +

                                      Public Types

                                      -typedef void(* RtMidiCallback )(double timeStamp, std::vector< unsigned char > *message, void *userData)

                                      Public Types

                                      +typedef void(* RtMidiCallback )(double timeStamp, std::vector< unsigned char > *message, void *userData)
                                       User callback function type definition.


                                      Public Member Functions

                                       RtMidiIn ()
                                       User callback function type definition.

                                      Public Member Functions

                                       RtMidiIn ()
                                       Default constructor.

                                      ~RtMidiIn ()
                                       Default constructor.
                                      ~RtMidiIn ()
                                       If a MIDI connection is still open, it will be closed by the destructor.

                                      void openPort (unsigned int portNumber=0)
                                       If a MIDI connection is still open, it will be closed by the destructor.
                                      void openPort (unsigned int portNumber=0)
                                       Open a MIDI input connection.

                                      void openVirtualPort ()
                                       Open a MIDI input connection.
                                      void openVirtualPort ()
                                       Create a virtual input port to allow software connections (OS X and ALSA only).

                                      void setCallback (RtMidiCallback callback, void *userData=0)
                                       Create a virtual input port to allow software connections (OS X and ALSA only).
                                      void setCallback (RtMidiCallback callback, void *userData=0)
                                       Set a callback function to be invoked for incoming MIDI messages.

                                      void cancelCallback ()
                                       Set a callback function to be invoked for incoming MIDI messages.
                                      void cancelCallback ()
                                       Cancel use of the current callback function (if one exists).

                                      -void closePort (void)
                                       Cancel use of the current callback function (if one exists).
                                      +void closePort (void)
                                       Close an open MIDI connection (if one exists).

                                      -unsigned int getPortCount ()
                                       Close an open MIDI connection (if one exists).
                                      +unsigned int getPortCount ()
                                       Return the number of available MIDI input ports.

                                      std::string getPortName (unsigned int portNumber=0)
                                       Return the number of available MIDI input ports.
                                      std::string getPortName (unsigned int portNumber=0)
                                       Return a string identifier for the specified MIDI input port number.

                                      void setQueueSizeLimit (unsigned int queueSize)
                                       Return a string identifier for the specified MIDI input port number.
                                      void setQueueSizeLimit (unsigned int queueSize)
                                       Set the maximum number of MIDI messages to be saved in the queue.

                                      void ignoreTypes (bool midiSysex=true, bool midiTime=true, bool midiSense=true)
                                       Set the maximum number of MIDI messages to be saved in the queue.
                                      void ignoreTypes (bool midiSysex=true, bool midiTime=true, bool midiSense=true)
                                       Specify whether certain MIDI message types should be queued or ignored during input.

                                      double getMessage (std::vector< unsigned char > *message)
                                       Specify whether certain MIDI message types should be queued or ignored during input.
                                      double getMessage (std::vector< unsigned char > *message)
                                       Fill the user-provided vector with the data bytes for the next available MIDI message in the input queue and return the event delta-time in seconds.

                                       Fill the user-provided vector with the data bytes for the next available MIDI message in the input queue and return the event delta-time in seconds.


                                      Constructor & Destructor Documentation

                                      -

                                      - +

                                      +

                                      - + -
                                      RtMidiIn::RtMidiIn RtMidiIn::RtMidiIn  ) 
                                      - +
                                      +An exception will be thrown if a MIDI system initialization error occurs.
                                        @@ -100,29 +97,28 @@ unsigned int  Default constructor.

                                      -An exception will be thrown if a MIDI system initialization error occurs.


                                      Member Function Documentation

                                      -

                                      - +

                                      +

                                      - + - + -
                                      void RtMidiIn::openPort void RtMidiIn::openPort unsigned int  portNumber = 0 portNumber = 0  )  [virtual]
                                      - +
                                      +Implements RtMidi.
                                        @@ -132,29 +128,28 @@ An exception will be thrown if a MIDI system initialization error occurs. Open a MIDI input connection.

                                      -An optional port number greater than 0 can be specified. Otherwise, the default or first port found is opened. +An optional port number greater than 0 can be specified. Otherwise, the default or first port found is opened.

                                      -Implements RtMidi.

                                      -

                                      - +

                                      +

                                      - + - + -
                                      void RtMidiIn::openVirtualPort void RtMidiIn::openVirtualPort  )  [virtual]
                                      - +

                                      Create a virtual input port to allow software connections (OS X and ALSA only).

                                      -This function creates a virtual MIDI input port to which other software applications can connect. This type of functionality is currently only supported by the Macintosh OS-X and Linux ALSA APIs (the function does nothing for the other APIs). +This function creates a virtual MIDI input port to which other software applications can connect. This type of functionality is currently only supported by the Macintosh OS-X and Linux ALSA APIs (the function does nothing for the other APIs). +

                                      +Implements RtMidi.

                                        @@ -164,37 +159,38 @@ Implements RtMidi.
                                      -

                                      - +

                                      +

                                      - + - - + + - + - + -
                                      void RtMidiIn::setCallback void RtMidiIn::setCallback RtMidiCallback  callback,
                                      void *  userData = 0 userData = 0
                                      - +
                                      +The callback function will be called whenever an incoming MIDI message is received. While not absolutely necessary, it is best to set the callback function before opening a MIDI port to avoid leaving some messages in the queue.
                                        @@ -204,27 +200,26 @@ This function creates a virtual MIDI input port to which other software applicat

                                      Set a callback function to be invoked for incoming MIDI messages.

                                      -The callback function will be called whenever an incoming MIDI message is received. While not absolutely necessary, it is best to set the callback function before opening a MIDI port to avoid leaving some messages in the queue.

                                      -

                                      - +

                                      +

                                      - + -
                                      void RtMidiIn::cancelCallback void RtMidiIn::cancelCallback  ) 
                                      - +
                                      +Subsequent incoming MIDI messages will be written to the queue and can be retrieved with the getMessage function.
                                        @@ -234,28 +229,27 @@ The callback function will be called whenever an incoming MIDI message is receiv

                                      Cancel use of the current callback function (if one exists).

                                      -Subsequent incoming MIDI messages will be written to the queue and can be retrieved with the getMessage function.

                                      -

                                      - +

                                      +

                                      - + - + - + -
                                      std::string RtMidiIn::getPortName std::string RtMidiIn::getPortName unsigned int  portNumber = 0 portNumber = 0  )  [virtual]
                                      - +
                                      +An exception is thrown if an invalid port specifier is provided. +

                                      +Implements RtMidi.

                                        @@ -265,28 +259,29 @@ Subsequent incoming MIDI messages will be written to the queue and can be retrie

                                      Return a string identifier for the specified MIDI input port number.

                                      -An exception is thrown if an invalid port specifier is provided.

                                      -

                                      - +

                                      +

                                      - + -
                                      void RtMidiIn::setQueueSizeLimit void RtMidiIn::setQueueSizeLimit unsigned int  queueSize  ) 
                                      - +

                                      Set the maximum number of MIDI messages to be saved in the queue.

                                      -If the queue size limit is reached, incoming messages will be ignored. The default limit is 1024. +If the queue size limit is reached, incoming messages will be ignored. The default limit is 1024.

                                        @@ -296,43 +291,42 @@ An exception is thrown if an invalid port specifier is provided.
                                      -

                                      - +

                                      +

                                      - + - + - - + + - + - - + + - + - + -
                                      void RtMidiIn::ignoreTypes void RtMidiIn::ignoreTypes bool  midiSysex = true, midiSysex = true,
                                      bool  midiTime = true, midiTime = true,
                                      bool  midiSense = true midiSense = true
                                      - +
                                      +By default, MIDI timing and active sensing messages are ignored during message input because of their relative high data rates. MIDI sysex messages are ignored by default as well. Variable values of "true" imply that the respective message type will be ignored.
                                        @@ -342,28 +336,27 @@ If the queue size limit is reached, incoming messages will be ignored. The defau

                                      Specify whether certain MIDI message types should be queued or ignored during input.

                                      -By default, MIDI timing and active sensing messages are ignored during message input because of their relative high data rates. MIDI sysex messages are ignored by default as well. Variable values of "true" imply that the respective message type will be ignored.

                                      -

                                      - +

                                      +

                                      - + -
                                      double RtMidiIn::getMessage double RtMidiIn::getMessage std::vector< unsigned char > *  message  ) 
                                      - +
                                      +This function returns immediately whether a new message is available or not. A valid message is indicated by a non-zero vector size. An exception is thrown if an error occurs during message retrieval or an input connection was not previously established.
                                        @@ -373,7 +366,7 @@ By default, MIDI timing and active sensing messages are ignored during message i

                                      Fill the user-provided vector with the data bytes for the next available MIDI message in the input queue and return the event delta-time in seconds.

                                      -This function returns immediately whether a new message is available or not. A valid message is indicated by a non-zero vector size. An exception is thrown if an error occurs during message retrieval or an input connection was not previously established.


                                      The documentation for this class was generated from the following file:
                                        @@ -382,7 +375,7 @@ This function returns immediately whether a new message is available or not. A v - +
                                        The Synthesis ToolKit in C++ (STK)
                                        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        diff --git a/doc/html/classRtMidiIn__coll__graph.map b/doc/html/classRtMidiIn__coll__graph.map new file mode 100644 index 0000000..f4bf312 --- /dev/null +++ b/doc/html/classRtMidiIn__coll__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classRtMidi.html 12,16 60,37 diff --git a/doc/html/classRtMidiIn__coll__graph.md5 b/doc/html/classRtMidiIn__coll__graph.md5 new file mode 100644 index 0000000..6c0e498 --- /dev/null +++ b/doc/html/classRtMidiIn__coll__graph.md5 @@ -0,0 +1 @@ +7eada9bdbc7cf91d69b402e16dcb1518 \ No newline at end of file diff --git a/doc/html/classRtMidiIn__coll__graph.png b/doc/html/classRtMidiIn__coll__graph.png new file mode 100644 index 0000000..3686712 Binary files /dev/null and b/doc/html/classRtMidiIn__coll__graph.png differ diff --git a/doc/html/classRtMidiIn__inherit__graph.map b/doc/html/classRtMidiIn__inherit__graph.map new file mode 100644 index 0000000..f4bf312 --- /dev/null +++ b/doc/html/classRtMidiIn__inherit__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classRtMidi.html 12,16 60,37 diff --git a/doc/html/classRtMidiIn__inherit__graph.md5 b/doc/html/classRtMidiIn__inherit__graph.md5 new file mode 100644 index 0000000..2fae4ea --- /dev/null +++ b/doc/html/classRtMidiIn__inherit__graph.md5 @@ -0,0 +1 @@ +988a7758207136698b3166d51fe9d6ba \ No newline at end of file diff --git a/doc/html/classRtMidiIn__inherit__graph.png b/doc/html/classRtMidiIn__inherit__graph.png new file mode 100644 index 0000000..3686712 Binary files /dev/null and b/doc/html/classRtMidiIn__inherit__graph.png differ diff --git a/doc/html/classRtMidiOut-members.html b/doc/html/classRtMidiOut-members.html index 78b1331..dbc10b4 100644 --- a/doc/html/classRtMidiOut-members.html +++ b/doc/html/classRtMidiOut-members.html @@ -8,13 +8,13 @@    

                                        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                        - -

                                        RtMidiOut Member List

                                        This is the complete list of members for RtMidiOut, including all inherited members. - - - + +

                                        RtMidiOut Member List

                                        This is the complete list of members for RtMidiOut, including all inherited members.

                                        closePort()RtMidiOut
                                        getPortCount()RtMidiOut
                                        getPortName(unsigned int portNumber)RtMidiOut
                                        + + + - + @@ -22,7 +22,7 @@
                                        closePort()RtMidiOut [virtual]
                                        getPortCount()RtMidiOut [virtual]
                                        getPortName(unsigned int portNumber)RtMidiOut [virtual]
                                        openPort(unsigned int portNumber=0)RtMidiOut [virtual]
                                        openVirtualPort()RtMidiOut
                                        openVirtualPort()RtMidiOut [virtual]
                                        RtMidiOut()RtMidiOut
                                        sendMessage(std::vector< unsigned char > *message)RtMidiOut
                                        ~RtMidiOut()RtMidiOut
                                        - +
                                        The Synthesis ToolKit in C++ (STK)
                                        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        diff --git a/doc/html/classRtMidiOut.html b/doc/html/classRtMidiOut.html index 962e6ec..9c6ad26 100644 --- a/doc/html/classRtMidiOut.html +++ b/doc/html/classRtMidiOut.html @@ -8,8 +8,8 @@    

                                        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                        - -

                                        RtMidiOut Class Reference

                                        #include <RtMidi.h> + +

                                        RtMidiOut Class Reference

                                        #include <RtMidi.h>

                                        Inheritance diagram for RtMidiOut:

                                        @@ -20,60 +20,57 @@ A realtime MIDI output class.

                                        This class provides a common, platform-independent API for MIDI output. It allows one to probe available MIDI output ports, to connect to one such port, and to send MIDI bytes immediately over the connection. Create multiple instances of this class to connect to more than one MIDI device at the same time.

                                        -by Gary P. Scavone, 2003-2004. +by Gary P. Scavone, 2003-2004.

                                        - -

                                        -Definition at line 225 of file RtMidi.h. +
                                        - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - +

                                        Public Member Functions

                                         RtMidiOut ()

                                        Public Member Functions

                                         RtMidiOut ()
                                         Default constructor.

                                        ~RtMidiOut ()
                                         Default constructor.
                                        ~RtMidiOut ()
                                         The destructor closes any open MIDI connections.

                                        void openPort (unsigned int portNumber=0)
                                         The destructor closes any open MIDI connections.
                                        void openPort (unsigned int portNumber=0)
                                         Open a MIDI output connection.

                                        -void closePort ()
                                         Open a MIDI output connection.
                                        +void closePort ()
                                         Close an open MIDI connection (if one exists).

                                        void openVirtualPort ()
                                         Close an open MIDI connection (if one exists).
                                        void openVirtualPort ()
                                         Create a virtual output port to allow software connections (OS X and ALSA only).

                                        -unsigned int getPortCount ()
                                         Create a virtual output port to allow software connections (OS X and ALSA only).
                                        +unsigned int getPortCount ()
                                         Return the number of available MIDI output ports.

                                        std::string getPortName (unsigned int portNumber)
                                         Return the number of available MIDI output ports.
                                        std::string getPortName (unsigned int portNumber)
                                         Return a string identifier for the specified MIDI port type and number.

                                        void sendMessage (std::vector< unsigned char > *message)
                                         Return a string identifier for the specified MIDI port type and number.
                                        void sendMessage (std::vector< unsigned char > *message)
                                         Immediately send a single message out an open MIDI output port.

                                         Immediately send a single message out an open MIDI output port.


                                        Constructor & Destructor Documentation

                                        -

                                        - +

                                        +

                                        - + -
                                        RtMidiOut::RtMidiOut RtMidiOut::RtMidiOut  ) 
                                        - +
                                        +An exception will be thrown if a MIDI system initialization error occurs.
                                          @@ -83,29 +80,28 @@ unsigned int  Default constructor.

                                        -An exception will be thrown if a MIDI system initialization error occurs.


                                        Member Function Documentation

                                        -

                                        - +

                                        +

                                        - + - + -
                                        void RtMidiOut::openPort void RtMidiOut::openPort unsigned int  portNumber = 0 portNumber = 0  )  [virtual]
                                        - +
                                        +Implements RtMidi.
                                          @@ -115,29 +111,28 @@ An exception will be thrown if a MIDI system initialization error occurs. Open a MIDI output connection.

                                        -An optional port number greater than 0 can be specified. Otherwise, the default or first port found is opened. An exception is thrown if an error occurs while attempting to make the port connection. +An optional port number greater than 0 can be specified. Otherwise, the default or first port found is opened. An exception is thrown if an error occurs while attempting to make the port connection.

                                        -Implements RtMidi.

                                        -

                                        - +

                                        +

                                        - + - + -
                                        void RtMidiOut::openVirtualPort void RtMidiOut::openVirtualPort  )  [virtual]
                                        - +

                                        Create a virtual output port to allow software connections (OS X and ALSA only).

                                        -This function creates a virtual MIDI output port to which other software applications can connect. This type of functionality is currently only supported by the Macintosh OS-X and Linux ALSA APIs (the function does nothing with the other APIs). An exception is thrown if an error occurs while attempting to create the virtual port. +This function creates a virtual MIDI output port to which other software applications can connect. This type of functionality is currently only supported by the Macintosh OS-X and Linux ALSA APIs (the function does nothing with the other APIs). An exception is thrown if an error occurs while attempting to create the virtual port. +

                                        +Implements RtMidi.

                                          @@ -147,28 +142,29 @@ Implements RtMidi.
                                        -

                                        - +

                                        +

                                        - + - + -
                                        std::string RtMidiOut::getPortName std::string RtMidiOut::getPortName unsigned int  portNumber  )  [virtual]
                                        - +
                                        +An exception is thrown if an invalid port specifier is provided. +

                                        +Implements RtMidi.

                                          @@ -178,28 +174,29 @@ This function creates a virtual MIDI output port to which other software applica

                                        Return a string identifier for the specified MIDI port type and number.

                                        -An exception is thrown if an invalid port specifier is provided.

                                        -

                                        - +

                                        +

                                        - + -
                                        void RtMidiOut::sendMessage void RtMidiOut::sendMessage std::vector< unsigned char > *  message  ) 
                                        - +

                                        Immediately send a single message out an open MIDI output port.

                                        -An exception is thrown if an error occurs during output or an output connection was not previously established. +An exception is thrown if an error occurs during output or an output connection was not previously established.

                                          @@ -209,7 +206,7 @@ An exception is thrown if an invalid port specifier is provided.


                                        The documentation for this class was generated from the following file:
                                          @@ -218,7 +215,7 @@ An exception is thrown if an error occurs during output or an output connection - +
                                          The Synthesis ToolKit in C++ (STK)
                                          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          diff --git a/doc/html/classRtMidiOut__coll__graph.map b/doc/html/classRtMidiOut__coll__graph.map new file mode 100644 index 0000000..dd2a0e5 --- /dev/null +++ b/doc/html/classRtMidiOut__coll__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classRtMidi.html 17,16 65,37 diff --git a/doc/html/classRtMidiOut__coll__graph.md5 b/doc/html/classRtMidiOut__coll__graph.md5 new file mode 100644 index 0000000..86c3f7a --- /dev/null +++ b/doc/html/classRtMidiOut__coll__graph.md5 @@ -0,0 +1 @@ +639556a6dea3ed9addf6d51cffb7de32 \ No newline at end of file diff --git a/doc/html/classRtMidiOut__coll__graph.png b/doc/html/classRtMidiOut__coll__graph.png new file mode 100644 index 0000000..07ba35a Binary files /dev/null and b/doc/html/classRtMidiOut__coll__graph.png differ diff --git a/doc/html/classRtMidiOut__inherit__graph.map b/doc/html/classRtMidiOut__inherit__graph.map new file mode 100644 index 0000000..dd2a0e5 --- /dev/null +++ b/doc/html/classRtMidiOut__inherit__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classRtMidi.html 17,16 65,37 diff --git a/doc/html/classRtMidiOut__inherit__graph.md5 b/doc/html/classRtMidiOut__inherit__graph.md5 new file mode 100644 index 0000000..40198cb --- /dev/null +++ b/doc/html/classRtMidiOut__inherit__graph.md5 @@ -0,0 +1 @@ +a1785325dd4fb8943144efacbc0b01a0 \ No newline at end of file diff --git a/doc/html/classRtMidiOut__inherit__graph.png b/doc/html/classRtMidiOut__inherit__graph.png new file mode 100644 index 0000000..07ba35a Binary files /dev/null and b/doc/html/classRtMidiOut__inherit__graph.png differ diff --git a/doc/html/classRtMidi__inherit__graph.map b/doc/html/classRtMidi__inherit__graph.map new file mode 100644 index 0000000..895acd7 --- /dev/null +++ b/doc/html/classRtMidi__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classRtMidiIn.html 7,85 65,107 +rect $classRtMidiOut.html 89,85 159,107 diff --git a/doc/html/classRtMidi__inherit__graph.md5 b/doc/html/classRtMidi__inherit__graph.md5 new file mode 100644 index 0000000..a72c28c --- /dev/null +++ b/doc/html/classRtMidi__inherit__graph.md5 @@ -0,0 +1 @@ +9392ab8d1d079634313d59b3ac620937 \ No newline at end of file diff --git a/doc/html/classRtMidi__inherit__graph.png b/doc/html/classRtMidi__inherit__graph.png new file mode 100644 index 0000000..8a27dc4 Binary files /dev/null and b/doc/html/classRtMidi__inherit__graph.png differ diff --git a/doc/html/classRtWvIn-members.html b/doc/html/classRtWvIn-members.html index 38c8128..ea3019e 100644 --- a/doc/html/classRtWvIn-members.html +++ b/doc/html/classRtWvIn-members.html @@ -8,59 +8,46 @@    

                                          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                          - -

                                          RtWvIn Member List

                                          This is the complete list of members for RtWvIn, including all inherited members. - - - - - - - + +

                                          RtWvIn Member List

                                          This is the complete list of members for RtWvIn, including all inherited members.

                                          addTime(StkFloat aTime)WvIn [protected, virtual]
                                          closeFile(void)WvIn [protected]
                                          getChannels(void) const WvIn [protected]
                                          getFileRate(void) const WvIn [protected]
                                          getSize(void) const WvIn [protected]
                                          handleError(const char *message, StkError::Type type)Stk [protected, static]
                                          handleError(std::string message, StkError::Type type)Stk [protected, static]
                                          + + + - - - - - - - - - - - - - - - + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + - +
                                          getChannels(void) const WvIn [inline]
                                          handleError(const char *message, StkError::Type type)Stk [static]
                                          handleError(std::string message, StkError::Type type)Stk [static]
                                          handleError(StkError::Type type)Stk [protected]
                                          isFinished(void) const WvIn [protected]
                                          lastFrame(void) const RtWvIn [virtual]
                                          lastOut(void) const RtWvIn [virtual]
                                          normalize(void)WvIn [protected]
                                          normalize(StkFloat peak)WvIn [protected]
                                          openFile(std::string fileName, bool raw=false, bool doNormalize=true)WvIn [protected]
                                          rawwavePath(void)Stk [inline, protected, static]
                                          reset(void)WvIn [protected]
                                          RtWvIn(int nChannels=1, StkFloat sampleRate=Stk::sampleRate(), int device=0, int bufferFrames=RT_BUFFER_SIZE, int nBuffers=2)RtWvIn
                                          sampleRate(void)Stk [inline, protected, static]
                                          setInterpolate(bool doInterpolate)WvIn [protected]
                                          setRate(StkFloat aRate)WvIn [protected]
                                          setRawwavePath(std::string path)Stk [protected, static]
                                          setSampleRate(StkFloat rate)Stk [inline, protected, static]
                                          sleep(unsigned long milliseconds)Stk [protected, static]
                                          lastFrame(void) const WvIn [inline]
                                          lastOut(void) const WvIn
                                          printErrors(bool status)Stk [inline, static]
                                          rawwavePath(void)Stk [inline, static]
                                          RtWvIn(unsigned int nChannels=1, StkFloat sampleRate=Stk::sampleRate(), int device=0, int bufferFrames=RT_BUFFER_SIZE, int nBuffers=4)RtWvIn
                                          sampleRate(void)Stk [inline, static]
                                          setRawwavePath(std::string path)Stk [static]
                                          setSampleRate(StkFloat rate)Stk [inline, static]
                                          showWarnings(bool status)Stk [inline, static]
                                          sleep(unsigned long milliseconds)Stk [static]
                                          start(void)RtWvIn
                                          Stk(void)Stk [protected]
                                          STK_FLOAT32Stk [protected, static]
                                          STK_FLOAT64Stk [protected, static]
                                          STK_SINT16Stk [protected, static]
                                          STK_SINT24Stk [protected, static]
                                          STK_SINT32Stk [protected, static]
                                          STK_SINT8Stk [protected, static]
                                          STK_FLOAT32Stk [static]
                                          STK_FLOAT64Stk [static]
                                          STK_SINT16Stk [static]
                                          STK_SINT24Stk [static]
                                          STK_SINT32Stk [static]
                                          STK_SINT8Stk [static]
                                          stop(void)RtWvIn
                                          swap16(unsigned char *ptr)Stk [protected, static]
                                          swap32(unsigned char *ptr)Stk [protected, static]
                                          swap64(unsigned char *ptr)Stk [protected, static]
                                          tick(void)RtWvIn [virtual]
                                          tick(StkFloat *vector, unsigned int vectorSize)RtWvIn [virtual]
                                          tick(StkFrames &frames, unsigned int channel=1)RtWvIn [virtual]
                                          tickFrame(void)RtWvIn [virtual]
                                          tickFrame(StkFloat *frameVector, unsigned int frames)RtWvIn [virtual]
                                          tickFrame(StkFrames &frames)RtWvIn [virtual]
                                          WvIn()WvIn [protected]
                                          WvIn(std::string fileName, bool raw=false, bool doNormalize=true)WvIn [protected]
                                          swap16(unsigned char *ptr)Stk [static]
                                          swap32(unsigned char *ptr)Stk [static]
                                          swap64(unsigned char *ptr)Stk [static]
                                          tick(void)WvIn
                                          tick(StkFrames &frames, unsigned int channel=0)WvIn
                                          tickFrame(StkFrames &frames)WvIn
                                          WvIn()WvIn
                                          ~RtWvIn()RtWvIn
                                          ~Stk(void)Stk [protected, virtual]
                                          ~WvIn()WvIn [protected, virtual]
                                          ~WvIn()WvIn [virtual]

                                          - +
                                          The Synthesis ToolKit in C++ (STK)
                                          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          diff --git a/doc/html/classRtWvIn.html b/doc/html/classRtWvIn.html index 202b54e..98d87ee 100644 --- a/doc/html/classRtWvIn.html +++ b/doc/html/classRtWvIn.html @@ -8,8 +8,8 @@    

                                          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                          - -

                                          RtWvIn Class Reference

                                          #include <RtWvIn.h> + +

                                          RtWvIn Class Reference

                                          #include <RtWvIn.h>

                                          Inheritance diagram for RtWvIn:

                                          @@ -20,102 +20,73 @@ List of all members.

                                          Detailed Description

                                          STK realtime audio (blocking) input class.

                                          -This class provides a simplified interface to RtAudio for realtime audio input. It is a protected subclass of WvIn. Because this class makes use of RtAudio's blocking output routines, its performance is less robust on systems where the audio API is callback-based (Macintosh CoreAudio and Windows ASIO).

                                          -RtWvIn supports multi-channel data in interleaved format. It is important to distinguish the tick() methods, which return samples produced by averaging across sample frames, from the tickFrame() methods, which return pointers to multi-channel sample frames. For single-channel data, these methods return equivalent values.

                                          -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +This class provides a simplified interface to RtAudio for realtime audio input. It is a subclass of WvIn. Because this class makes use of RtAudio's blocking output routines, its performance is less robust on systems where the audio API is callback-based (Macintosh CoreAudio and Windows ASIO).

                                          +RtWvIn supports multi-channel data in interleaved format. It is important to distinguish the tick() methods, which return samples produced by averaging across sample frames, from the tickFrame() methods, which return references or pointers to multi-channel sample frames.

                                          +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                          - -

                                          -Definition at line 32 of file RtWvIn.h. +
                                          - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - +

                                          Public Member Functions

                                           RtWvIn (int nChannels=1, StkFloat sampleRate=Stk::sampleRate(), int device=0, int bufferFrames=RT_BUFFER_SIZE, int nBuffers=2)

                                          Public Member Functions

                                           RtWvIn (unsigned int nChannels=1, StkFloat sampleRate=Stk::sampleRate(), int device=0, int bufferFrames=RT_BUFFER_SIZE, int nBuffers=4)
                                           Default constructor.

                                          ~RtWvIn ()
                                           Default constructor.
                                          ~RtWvIn ()
                                           Class destructor.

                                          void start (void)
                                           Class destructor.
                                          void start (void)
                                           Start the audio input stream.

                                          void stop (void)
                                           Start the audio input stream.
                                          void stop (void)
                                           Stop the audio input stream.

                                          -StkFloat lastOut (void) const
                                           Return the average across the last output sample frame.

                                          StkFloat tick (void)
                                           Read out the average across one sample frame of data.

                                          StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                           Read out vectorSize averaged sample frames of data in vector.

                                          StkFramestick (StkFrames &frames, unsigned int channel=1)
                                           Fill a channel of the StkFrames object with averaged sample frames.

                                          -const StkFloat * lastFrame (void) const
                                           Return a pointer to the last output sample frame.

                                          const StkFloat * tickFrame (void)
                                           Return a pointer to the next sample frame of data.

                                          StkFloat * tickFrame (StkFloat *frameVector, unsigned int frames)
                                           Read out sample frames of data to frameVector.

                                          StkFramestickFrame (StkFrames &frames)
                                           Fill the StkFrames object with sample frames of data and return the same reference.

                                           Stop the audio input stream.


                                          Constructor & Destructor Documentation

                                          -

                                          - +

                                          +

                                          - + - - + + - - + + - + - - + + - + - - + + - + - - + + - + - + -
                                          RtWvIn::RtWvIn RtWvIn::RtWvIn int  nChannels = 1, unsigned int  nChannels = 1,
                                          StkFloat  sampleRate = Stk::sampleRate(), sampleRate = Stk::sampleRate(),
                                          int  device = 0, device = 0,
                                          int  bufferFrames = RT_BUFFER_SIZE, bufferFrames = RT_BUFFER_SIZE,
                                          int  nBuffers = 2 nBuffers = 4
                                          - +
                                          +The device argument is passed to RtAudio during instantiation. The default value (zero) will select the default device on your system or the first device found meeting the specified parameters. On systems with multiple soundcards/devices, values greater than zero can be specified in accordance with the order that the devices are enumerated by the underlying audio API. The default buffer size of RT_BUFFER_SIZE is defined in Stk.h. An StkError will be thrown if an error occurs duing instantiation.
                                            @@ -125,29 +96,28 @@ const StkFloat *  Default constructor.

                                          -The device argument is passed to RtAudio during instantiation. The default value (zero) will select the default device on your system or the first device found meeting the specified parameters. On systems with multiple soundcards/devices, values greater than zero can be specified in accordance with the order that the devices are enumerated by the underlying audio API. The default buffer size of RT_BUFFER_SIZE is defined in Stk.h. An StkError will be thrown if an error occurs duing instantiation.


                                          Member Function Documentation

                                          -

                                          - +

                                          +

                                          - + -
                                          void RtWvIn::start void RtWvIn::start void   ) 
                                          - +
                                          +The stream is started automatically, if necessary, when a tick() or tickFrame() method is called.
                                            @@ -157,28 +127,27 @@ The device argument is passed to Start the audio input stream.

                                          -The stream is started automatically, if necessary, when a tick() or tickFrame method is called.

                                          -

                                          - +

                                          +

                                          - + -
                                          void RtWvIn::stop void RtWvIn::stop void   ) 
                                          - +
                                            @@ -188,232 +157,7 @@ The stream is started automatically, if necessary, when a

                                          - - - - -
                                          - - - - - - - - - - -
                                          StkFloat RtWvIn::tick void   )  [virtual]
                                          -
                                          - - - - - -
                                          -   - - -

                                          -Read out the average across one sample frame of data. -

                                          -An StkError will be thrown if an error occurs during input. -

                                          -Reimplemented from WvIn.

                                          -

                                          - - - - -
                                          - - - - - - - - - - - - - - - - - - - -
                                          StkFloat* RtWvIn::tick StkFloat *  vector,
                                          unsigned int  vectorSize
                                          [virtual]
                                          -
                                          - - - - - -
                                          -   - - -

                                          -Read out vectorSize averaged sample frames of data in vector. -

                                          -An StkError will be thrown if an error occurs during input. -

                                          -Reimplemented from WvIn.

                                          -

                                          - - - - -
                                          - - - - - - - - - - - - - - - - - - - -
                                          StkFrames& RtWvIn::tick StkFrames frames,
                                          unsigned int  channel = 1
                                          [virtual]
                                          -
                                          - - - - - -
                                          -   - - -

                                          -Fill a channel of the StkFrames object with averaged sample frames. -

                                          -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if an error occurs during input or the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                          -Reimplemented from WvIn.

                                          -

                                          - - - - -
                                          - - - - - - - - - - -
                                          const StkFloat* RtWvIn::tickFrame void   )  [virtual]
                                          -
                                          - - - - - -
                                          -   - - -

                                          -Return a pointer to the next sample frame of data. -

                                          -An StkError will be thrown if an error occurs during input. -

                                          -Reimplemented from WvIn.

                                          -

                                          - - - - -
                                          - - - - - - - - - - - - - - - - - - - -
                                          StkFloat* RtWvIn::tickFrame StkFloat *  frameVector,
                                          unsigned int  frames
                                          [virtual]
                                          -
                                          - - - - - -
                                          -   - - -

                                          -Read out sample frames of data to frameVector. -

                                          -An StkError will be thrown if an error occurs during input. -

                                          -Reimplemented from WvIn.

                                          -

                                          - - - - -
                                          - - - - - - - - - - -
                                          StkFrames& RtWvIn::tickFrame StkFrames frames  )  [virtual]
                                          -
                                          - - - - +It may be necessary to use this method to avoid audio underflow problems if you wish to temporarily stop audio input.
                                          -   - - -

                                          -Fill the StkFrames object with sample frames of data and return the same reference. -

                                          -An StkError will be thrown if an error occurs during input or there is an incompatability between the number of channels in the RtWvIn object and that in the StkFrames object. -

                                          -Reimplemented from WvIn.


                                          The documentation for this class was generated from the following file:
                                            @@ -422,7 +166,7 @@ Reimplemented from WvIn.
                                          - +
                                          The Synthesis ToolKit in C++ (STK)
                                          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          diff --git a/doc/html/classRtWvIn.png b/doc/html/classRtWvIn.png index 843d5ce..0446aef 100644 Binary files a/doc/html/classRtWvIn.png and b/doc/html/classRtWvIn.png differ diff --git a/doc/html/classRtWvIn__coll__graph.map b/doc/html/classRtWvIn__coll__graph.map new file mode 100644 index 0000000..faccc01 --- /dev/null +++ b/doc/html/classRtWvIn__coll__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classWvIn.html 7,88 47,109 +rect $classStk.html 8,16 45,37 +rect $classRtAudio.html 71,88 127,109 diff --git a/doc/html/classRtWvIn__coll__graph.md5 b/doc/html/classRtWvIn__coll__graph.md5 new file mode 100644 index 0000000..3aac061 --- /dev/null +++ b/doc/html/classRtWvIn__coll__graph.md5 @@ -0,0 +1 @@ +6104399f6f3201f07de135b000d3b367 \ No newline at end of file diff --git a/doc/html/classRtWvIn__coll__graph.png b/doc/html/classRtWvIn__coll__graph.png new file mode 100644 index 0000000..a02a737 Binary files /dev/null and b/doc/html/classRtWvIn__coll__graph.png differ diff --git a/doc/html/classRtWvIn__inherit__graph.map b/doc/html/classRtWvIn__inherit__graph.map new file mode 100644 index 0000000..5b3dbc3 --- /dev/null +++ b/doc/html/classRtWvIn__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classWvIn.html 13,85 53,106 +rect $classStk.html 15,16 52,37 diff --git a/doc/html/classRtWvIn__inherit__graph.md5 b/doc/html/classRtWvIn__inherit__graph.md5 new file mode 100644 index 0000000..0ff6771 --- /dev/null +++ b/doc/html/classRtWvIn__inherit__graph.md5 @@ -0,0 +1 @@ +196a7a0fd207ef970c320c5c4774f775 \ No newline at end of file diff --git a/doc/html/classRtWvIn__inherit__graph.png b/doc/html/classRtWvIn__inherit__graph.png new file mode 100644 index 0000000..0fd7169 Binary files /dev/null and b/doc/html/classRtWvIn__inherit__graph.png differ diff --git a/doc/html/classRtWvOut-members.html b/doc/html/classRtWvOut-members.html index 2030bb9..234fdd6 100644 --- a/doc/html/classRtWvOut-members.html +++ b/doc/html/classRtWvOut-members.html @@ -8,55 +8,47 @@    

                                          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                          - -

                                          RtWvOut Member List

                                          This is the complete list of members for RtWvOut, including all inherited members. - - - - - - + +

                                          RtWvOut Member List

                                          This is the complete list of members for RtWvOut, including all inherited members.

                                          closeFile(void)WvOut [protected]
                                          getClipStatus(void)WvOut [inline, protected]
                                          getFrames(void) const RtWvOut
                                          getTime(void) const RtWvOut
                                          handleError(const char *message, StkError::Type type)Stk [protected, static]
                                          handleError(std::string message, StkError::Type type)Stk [protected, static]
                                          + + + + + - - - + + + - - - - + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - + + + + + + + - +
                                          clipStatus(void)WvOut [inline]
                                          getFrameCount(void) const WvOut
                                          getTime(void) const WvOut
                                          handleError(const char *message, StkError::Type type)Stk [static]
                                          handleError(std::string message, StkError::Type type)Stk [static]
                                          handleError(StkError::Type type)Stk [protected]
                                          openFile(const char *fileName, unsigned int nChannels=1, WvOut::FILE_TYPE type=WVOUT_WAV, Stk::StkFormat format=STK_SINT16)WvOut [protected]
                                          rawwavePath(void)Stk [inline, protected, static]
                                          resetClipStatus(void)WvOut [inline, protected]
                                          printErrors(bool status)Stk [inline, static]
                                          rawwavePath(void)Stk [inline, static]
                                          resetClipStatus(void)WvOut [inline]
                                          RtWvOut(unsigned int nChannels=1, StkFloat sampleRate=Stk::sampleRate(), int device=0, int bufferFrames=RT_BUFFER_SIZE, int nBuffers=4)RtWvOut
                                          sampleRate(void)Stk [inline, protected, static]
                                          setRawwavePath(std::string path)Stk [protected, static]
                                          setSampleRate(StkFloat rate)Stk [inline, protected, static]
                                          sleep(unsigned long milliseconds)Stk [protected, static]
                                          sampleRate(void)Stk [inline, static]
                                          setRawwavePath(std::string path)Stk [static]
                                          setSampleRate(StkFloat rate)Stk [inline, static]
                                          showWarnings(bool status)Stk [inline, static]
                                          sleep(unsigned long milliseconds)Stk [static]
                                          start(void)RtWvOut
                                          Stk(void)Stk [protected]
                                          STK_FLOAT32Stk [protected, static]
                                          STK_FLOAT64Stk [protected, static]
                                          STK_SINT16Stk [protected, static]
                                          STK_SINT24Stk [protected, static]
                                          STK_SINT32Stk [protected, static]
                                          STK_SINT8Stk [protected, static]
                                          STK_FLOAT32Stk [static]
                                          STK_FLOAT64Stk [static]
                                          STK_SINT16Stk [static]
                                          STK_SINT24Stk [static]
                                          STK_SINT32Stk [static]
                                          STK_SINT8Stk [static]
                                          stop(void)RtWvOut
                                          swap16(unsigned char *ptr)Stk [protected, static]
                                          swap32(unsigned char *ptr)Stk [protected, static]
                                          swap64(unsigned char *ptr)Stk [protected, static]
                                          tick(const StkFloat sample)RtWvOut [virtual]
                                          tick(const StkFloat *vector, unsigned int vectorSize)RtWvOut [virtual]
                                          tick(const StkFrames &frames, unsigned int channel=1)RtWvOut [virtual]
                                          tickFrame(const StkFloat *frameVector, unsigned int frames=1)RtWvOut [virtual]
                                          tickFrame(const StkFrames &frames)RtWvOut [virtual]
                                          WvOut()WvOut [protected]
                                          WvOut(const char *fileName, unsigned int nChannels=1, FILE_TYPE type=WVOUT_WAV, Stk::StkFormat format=STK_SINT16)WvOut [protected]
                                          WVOUT_AIFWvOut [protected, static]
                                          WVOUT_MATWvOut [protected, static]
                                          WVOUT_RAWWvOut [protected, static]
                                          WVOUT_SNDWvOut [protected, static]
                                          WVOUT_WAVWvOut [protected, static]
                                          swap16(unsigned char *ptr)Stk [static]
                                          swap32(unsigned char *ptr)Stk [static]
                                          swap64(unsigned char *ptr)Stk [static]
                                          tick(const StkFloat sample)WvOut
                                          tick(const StkFrames &frames, unsigned int channel=0)WvOut
                                          tickFrame(const StkFrames &frames)WvOut
                                          WvOut()WvOut
                                          ~RtWvOut()RtWvOut
                                          ~Stk(void)Stk [protected, virtual]
                                          ~WvOut()WvOut [protected, virtual]
                                          ~WvOut()WvOut [virtual]

                                          - +
                                          The Synthesis ToolKit in C++ (STK)
                                          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          diff --git a/doc/html/classRtWvOut.html b/doc/html/classRtWvOut.html index 8bd244c..293b8d7 100644 --- a/doc/html/classRtWvOut.html +++ b/doc/html/classRtWvOut.html @@ -8,8 +8,8 @@    

                                          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                          - -

                                          RtWvOut Class Reference

                                          #include <RtWvOut.h> + +

                                          RtWvOut Class Reference

                                          #include <RtWvOut.h>

                                          Inheritance diagram for RtWvOut:

                                          @@ -20,99 +20,73 @@ List of all members.

                                          Detailed Description

                                          STK realtime audio (blocking) output class.

                                          -This class provides a simplified interface to RtAudio for realtime audio output. It is a protected subclass of WvOut. Because this class makes use of RtAudio's blocking output routines, its performance is less robust on systems where the audio API is callback-based (Macintosh CoreAudio and Windows ASIO).

                                          -RtWvOut supports multi-channel data in interleaved format. It is important to distinguish the tick() methods, which output single samples to all channels in a sample frame, from the tickFrame() method, which takes a pointer to multi-channel sample frame data.

                                          -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +This class provides a simplified interface to RtAudio for realtime audio output. It is a subclass of WvOut. Because this class makes use of RtAudio's blocking output routines, its performance is less robust on systems where the audio API is callback-based (Macintosh CoreAudio and Windows ASIO).

                                          +RtWvOut supports multi-channel data in interleaved format. It is important to distinguish the tick() methods, which output single samples to all channels in a sample frame, from the tickFrame() method, which take a pointer or reference to multi-channel sample frame data.

                                          +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                          - -

                                          -Definition at line 31 of file RtWvOut.h. +
                                          - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - +

                                          Public Member Functions

                                           RtWvOut (unsigned int nChannels=1, StkFloat sampleRate=Stk::sampleRate(), int device=0, int bufferFrames=RT_BUFFER_SIZE, int nBuffers=4)

                                          Public Member Functions

                                           RtWvOut (unsigned int nChannels=1, StkFloat sampleRate=Stk::sampleRate(), int device=0, int bufferFrames=RT_BUFFER_SIZE, int nBuffers=4)
                                           Default constructor.

                                          ~RtWvOut ()
                                           Default constructor.
                                          ~RtWvOut ()
                                           Class destructor.

                                          void start (void)
                                           Class destructor.
                                          void start (void)
                                           Start the audio output stream.

                                          void stop (void)
                                           Start the audio output stream.
                                          void stop (void)
                                           Stop the audio output stream.

                                          -unsigned long getFrames (void) const
                                           Return the number of sample frames output.

                                          -StkFloat getTime (void) const
                                           Return the number of seconds of data output.

                                          void tick (const StkFloat sample)
                                           Output a single sample to all channels in a sample frame.

                                          void tick (const StkFloat *vector, unsigned int vectorSize)
                                           Output each sample in vector to all channels in vectorSize sample frames.

                                          void tick (const StkFrames &frames, unsigned int channel=1)
                                           Output a channel of the StkFrames object to all channels of the RtWvOut object.

                                          void tickFrame (const StkFloat *frameVector, unsigned int frames=1)
                                           Output the frameVector of sample frames of the given length.

                                          void tickFrame (const StkFrames &frames)
                                           Output the StkFrames data to the RtWvOut object.

                                           Stop the audio output stream.


                                          Constructor & Destructor Documentation

                                          -

                                          - +

                                          +

                                          - + - + - - + + - + - - + + - + - - + + - + - - + + - + - + -
                                          RtWvOut::RtWvOut RtWvOut::RtWvOut unsigned int  nChannels = 1, nChannels = 1,
                                          StkFloat  sampleRate = Stk::sampleRate(), sampleRate = Stk::sampleRate(),
                                          int  device = 0, device = 0,
                                          int  bufferFrames = RT_BUFFER_SIZE, bufferFrames = RT_BUFFER_SIZE,
                                          int  nBuffers = 4 nBuffers = 4
                                          - +
                                          +The device argument is passed to RtAudio during instantiation. The default value (zero) will select the default device on your system or the first device found meeting the specified parameters. On systems with multiple soundcards/devices, values greater than zero can be specified in accordance with the order that the devices are enumerated by the underlying audio API. The default buffer size of RT_BUFFER_SIZE is defined in Stk.h. An StkError will be thrown if an error occurs duing instantiation.
                                            @@ -122,29 +96,28 @@ StkFloat RtAudio during instantiation. The default value (zero) will select the default device on your system or the first device found meeting the specified parameters. On systems with multiple soundcards/devices, values greater than zero can be specified in accordance with the order that the devices are enumerated by the underlying audio API. The default buffer size of RT_BUFFER_SIZE is defined in Stk.h. An StkError will be thrown if an error occurs duing instantiation.


                                          Member Function Documentation

                                          -

                                          - +

                                          +

                                          - + -
                                          void RtWvOut::start void RtWvOut::start void   ) 
                                          - +
                                          +The stream is started automatically, if necessary, when a tick() or tickFrame method is called.
                                            @@ -154,28 +127,27 @@ The device argument is passed to Start the audio output stream.

                                          -The stream is started automatically, if necessary, when a tick() or tickFrame method is called.

                                          -

                                          - +

                                          +

                                          - + -
                                          void RtWvOut::stop void RtWvOut::stop void   ) 
                                          - +
                                            @@ -185,199 +157,7 @@ The stream is started automatically, if necessary, when a

                                          - - - - -
                                          - - - - - - - - - - -
                                          void RtWvOut::tick const StkFloat  sample  )  [virtual]
                                          -
                                          - - - - - -
                                          -   - - -

                                          -Output a single sample to all channels in a sample frame. -

                                          -An StkError will be thrown if an error occurs during output. -

                                          -Reimplemented from WvOut.

                                          -

                                          - - - - -
                                          - - - - - - - - - - - - - - - - - - - -
                                          void RtWvOut::tick const StkFloat *  vector,
                                          unsigned int  vectorSize
                                          [virtual]
                                          -
                                          - - - - - -
                                          -   - - -

                                          -Output each sample in vector to all channels in vectorSize sample frames. -

                                          -An StkError will be thrown if an error occurs during output. -

                                          -Reimplemented from WvOut.

                                          -

                                          - - - - -
                                          - - - - - - - - - - - - - - - - - - - -
                                          void RtWvOut::tick const StkFrames frames,
                                          unsigned int  channel = 1
                                          [virtual]
                                          -
                                          - - - - - -
                                          -   - - -

                                          -Output a channel of the StkFrames object to all channels of the RtWvOut object. -

                                          -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if an error occurs during output or the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                          -Reimplemented from WvOut.

                                          -

                                          - - - - -
                                          - - - - - - - - - - - - - - - - - - - -
                                          void RtWvOut::tickFrame const StkFloat *  frameVector,
                                          unsigned int  frames = 1
                                          [virtual]
                                          -
                                          - - - - - -
                                          -   - - -

                                          -Output the frameVector of sample frames of the given length. -

                                          -An StkError will be thrown if an error occurs during output. -

                                          -Reimplemented from WvOut.

                                          -

                                          - - - - -
                                          - - - - - - - - - - -
                                          void RtWvOut::tickFrame const StkFrames frames  )  [virtual]
                                          -
                                          - - - - +It may be necessary to use this method to avoid undesireable audio buffer cycling if you wish to temporarily stop audio output.
                                          -   - - -

                                          -Output the StkFrames data to the RtWvOut object. -

                                          -An StkError will be thrown if an error occurs during output or if there is an incompatability between the number of channels in the WvOut object and that in the StkFrames object. -

                                          -Reimplemented from WvOut.


                                          The documentation for this class was generated from the following file:
                                            @@ -386,7 +166,7 @@ Reimplemented from WvOut.
                                          - +
                                          The Synthesis ToolKit in C++ (STK)
                                          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          diff --git a/doc/html/classRtWvOut.png b/doc/html/classRtWvOut.png index f8f80ff..43a3b9a 100644 Binary files a/doc/html/classRtWvOut.png and b/doc/html/classRtWvOut.png differ diff --git a/doc/html/classRtWvOut__coll__graph.map b/doc/html/classRtWvOut__coll__graph.map new file mode 100644 index 0000000..0230e8e --- /dev/null +++ b/doc/html/classRtWvOut__coll__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classWvOut.html 7,88 60,109 +rect $classStk.html 15,16 52,37 +rect $classRtAudio.html 84,88 140,109 diff --git a/doc/html/classRtWvOut__coll__graph.md5 b/doc/html/classRtWvOut__coll__graph.md5 new file mode 100644 index 0000000..a5625e8 --- /dev/null +++ b/doc/html/classRtWvOut__coll__graph.md5 @@ -0,0 +1 @@ +3fa2c4c263f60e1ffcb8b0f9d27f2ef9 \ No newline at end of file diff --git a/doc/html/classRtWvOut__coll__graph.png b/doc/html/classRtWvOut__coll__graph.png new file mode 100644 index 0000000..9a8532c Binary files /dev/null and b/doc/html/classRtWvOut__coll__graph.png differ diff --git a/doc/html/classRtWvOut__inherit__graph.map b/doc/html/classRtWvOut__inherit__graph.map new file mode 100644 index 0000000..9dd1c51 --- /dev/null +++ b/doc/html/classRtWvOut__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classWvOut.html 13,85 67,106 +rect $classStk.html 21,16 59,37 diff --git a/doc/html/classRtWvOut__inherit__graph.md5 b/doc/html/classRtWvOut__inherit__graph.md5 new file mode 100644 index 0000000..87b183f --- /dev/null +++ b/doc/html/classRtWvOut__inherit__graph.md5 @@ -0,0 +1 @@ +26b075adfba0d18f25c66f5b2fb79e6a \ No newline at end of file diff --git a/doc/html/classRtWvOut__inherit__graph.png b/doc/html/classRtWvOut__inherit__graph.png new file mode 100644 index 0000000..dcc812d Binary files /dev/null and b/doc/html/classRtWvOut__inherit__graph.png differ diff --git a/doc/html/classSampler-members.html b/doc/html/classSampler-members.html index 75324b9..91487b2 100644 --- a/doc/html/classSampler-members.html +++ b/doc/html/classSampler-members.html @@ -8,11 +8,11 @@    

                                          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                          - -

                                          Sampler Member List

                                          This is the complete list of members for Sampler, including all inherited members. + +

                                          Sampler Member List

                                          This is the complete list of members for Sampler, including all inherited members.

                                          - - + + @@ -23,12 +23,14 @@ + + @@ -40,9 +42,8 @@ - - - + + @@ -50,7 +51,7 @@
                                          clear()Sampler
                                          controlChange(int number, StkFloat value)=0Sampler [pure virtual]
                                          handleError(const char *message, StkError::Type type)Stk [static]
                                          controlChange(int number, StkFloat value)=0Sampler [pure virtual]
                                          handleError(const char *message, StkError::Type type)Stk [static]
                                          handleError(std::string message, StkError::Type type)Stk [static]
                                          handleError(StkError::Type type)Stk [protected]
                                          Instrmnt()Instrmnt
                                          lastOutRight() const Instrmnt
                                          noteOff(StkFloat amplitude)Sampler [virtual]
                                          noteOn(StkFloat frequency, StkFloat amplitude)=0Instrmnt [pure virtual]
                                          printErrors(bool status)Stk [inline, static]
                                          rawwavePath(void)Stk [inline, static]
                                          Sampler()Sampler
                                          sampleRate(void)Stk [inline, static]
                                          setFrequency(StkFloat frequency)=0Sampler [pure virtual]
                                          setRawwavePath(std::string path)Stk [static]
                                          setSampleRate(StkFloat rate)Stk [inline, static]
                                          showWarnings(bool status)Stk [inline, static]
                                          sleep(unsigned long milliseconds)Stk [static]
                                          Stk(void)Stk [protected]
                                          STK_FLOAT32Stk [static]
                                          swap16(unsigned char *ptr)Stk [static]
                                          swap32(unsigned char *ptr)Stk [static]
                                          swap64(unsigned char *ptr)Stk [static]
                                          tick()=0Sampler [pure virtual]
                                          tick(StkFloat *vector, unsigned int vectorSize)=0Sampler [pure virtual]
                                          tick(StkFrames &frames, unsigned int channel=1)=0Sampler [pure virtual]
                                          tick(void)Instrmnt
                                          tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                                          ~Instrmnt()Instrmnt [virtual]
                                          ~Sampler()Sampler [virtual]
                                          ~Stk(void)Stk [protected, virtual]
                                          - +
                                          The Synthesis ToolKit in C++ (STK)
                                          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          diff --git a/doc/html/classSampler.html b/doc/html/classSampler.html index 3811bf2..09b1f0e 100644 --- a/doc/html/classSampler.html +++ b/doc/html/classSampler.html @@ -8,8 +8,8 @@    

                                          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                          - -

                                          Sampler Class Reference

                                          #include <Sampler.h> + +

                                          Sampler Class Reference

                                          #include <Sampler.h>

                                          Inheritance diagram for Sampler:

                                          @@ -22,101 +22,43 @@ STK sampling synthesis abstract base class.

                                          This instrument provides an ADSR envelope, a one-pole filter, and structures for an arbitrary number of attack and loop waves.

                                          -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                          - -

                                          -Definition at line 21 of file Sampler.h. +
                                          - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - -

                                          Public Member Functions

                                          Sampler ()

                                          Public Member Functions

                                          Sampler ()
                                           Default constructor.

                                          -virtual ~Sampler ()
                                           Default constructor.
                                          +virtual ~Sampler ()
                                           Class destructor.

                                          -void clear ()
                                           Class destructor.
                                          +void clear ()
                                           Reset and clear all internal state.

                                          -virtual void setFrequency (StkFloat frequency)=0
                                           Reset and clear all internal state.
                                          +virtual void setFrequency (StkFloat frequency)=0
                                           Set instrument parameters for a particular frequency.

                                          -void keyOn ()
                                           Set instrument parameters for a particular frequency.
                                          +void keyOn ()
                                           Initiate the envelopes with a key-on event and reset the attack waves.

                                          -void keyOff ()
                                           Initiate the envelopes with a key-on event and reset the attack waves.
                                          +void keyOff ()
                                           Signal a key-off event to the envelopes.

                                          -virtual void noteOff (StkFloat amplitude)
                                           Signal a key-off event to the envelopes.
                                          +virtual void noteOff (StkFloat amplitude)
                                           Stop a note with the given amplitude (speed of decay).

                                          -virtual StkFloat tick ()=0
                                           Stop a note with the given amplitude (speed of decay).
                                          +virtual void controlChange (int number, StkFloat value)=0
                                           Compute one output sample.

                                          -virtual StkFloat * tick (StkFloat *vector, unsigned int vectorSize)=0
                                           Computer vectorSize outputs and return them in vector.

                                          virtual StkFramestick (StkFrames &frames, unsigned int channel=1)=0
                                           Fill a channel of the StkFrames object with computed outputs.

                                          -virtual void controlChange (int number, StkFloat value)=0
                                           Perform the control change specified by number and value (0.0 - 128.0).

                                          -


                                          Member Function Documentation

                                          -

                                          - - - - -
                                          - - - - - - - - - - - - - - - - - - - -
                                          virtual StkFrames& Sampler::tick StkFrames frames,
                                          unsigned int  channel = 1
                                          [pure virtual]
                                          -
                                          - - - - - +
                                          -   - - -

                                          -Fill a channel of the StkFrames object with computed outputs. -

                                          -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                          -Reimplemented from Instrmnt. -

                                          -Implemented in Moog.

                                           Perform the control change specified by number and value (0.0 - 128.0).


                                          The documentation for this class was generated from the following file: @@ -124,7 +66,7 @@ Implemented in Moog.
                                    - +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    diff --git a/doc/html/classSampler__coll__graph.map b/doc/html/classSampler__coll__graph.map new file mode 100644 index 0000000..a8c4ddb --- /dev/null +++ b/doc/html/classSampler__coll__graph.map @@ -0,0 +1,8 @@ +base referer +rect $classInstrmnt.html 7,134 63,155 +rect $classStk.html 88,16 125,38 +rect $classGenerator.html 72,88 141,110 +rect $classFilter.html 165,88 205,110 +rect $classADSR.html 80,270 128,291 +rect $classEnvelope.html 75,179 139,200 +rect $classOnePole.html 155,224 216,246 diff --git a/doc/html/classSampler__coll__graph.md5 b/doc/html/classSampler__coll__graph.md5 new file mode 100644 index 0000000..a0d46fe --- /dev/null +++ b/doc/html/classSampler__coll__graph.md5 @@ -0,0 +1 @@ +bdca10734114cca34e4de7063999a09e \ No newline at end of file diff --git a/doc/html/classSampler__coll__graph.png b/doc/html/classSampler__coll__graph.png new file mode 100644 index 0000000..5dda7de Binary files /dev/null and b/doc/html/classSampler__coll__graph.png differ diff --git a/doc/html/classSampler__inherit__graph.map b/doc/html/classSampler__inherit__graph.map new file mode 100644 index 0000000..c2f8a90 --- /dev/null +++ b/doc/html/classSampler__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classMoog.html 16,224 59,246 +rect $classInstrmnt.html 9,86 65,107 +rect $classStk.html 19,16 56,38 diff --git a/doc/html/classSampler__inherit__graph.md5 b/doc/html/classSampler__inherit__graph.md5 new file mode 100644 index 0000000..cc8ca0f --- /dev/null +++ b/doc/html/classSampler__inherit__graph.md5 @@ -0,0 +1 @@ +be000ed07c3d26438d93f996811039ea \ No newline at end of file diff --git a/doc/html/classSampler__inherit__graph.png b/doc/html/classSampler__inherit__graph.png new file mode 100644 index 0000000..f6b9f6b Binary files /dev/null and b/doc/html/classSampler__inherit__graph.png differ diff --git a/doc/html/classSaxofony-members.html b/doc/html/classSaxofony-members.html index c2511f5..a54c5f3 100644 --- a/doc/html/classSaxofony-members.html +++ b/doc/html/classSaxofony-members.html @@ -8,11 +8,11 @@    

                                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                    - -

                                    Saxofony Member List

                                    This is the complete list of members for Saxofony, including all inherited members. + +

                                    Saxofony Member List

                                    This is the complete list of members for Saxofony, including all inherited members.

                                    - - + + @@ -21,6 +21,7 @@ + @@ -28,6 +29,7 @@ + @@ -41,9 +43,8 @@ - - - + + @@ -51,7 +52,7 @@
                                    clear()Saxofony
                                    controlChange(int number, StkFloat value)Saxofony [virtual]
                                    handleError(const char *message, StkError::Type type)Stk [static]
                                    controlChange(int number, StkFloat value)Saxofony [virtual]
                                    handleError(const char *message, StkError::Type type)Stk [static]
                                    handleError(std::string message, StkError::Type type)Stk [static]
                                    handleError(StkError::Type type)Stk [protected]
                                    Instrmnt()Instrmnt
                                    lastOutRight() const Instrmnt
                                    noteOff(StkFloat amplitude)Saxofony [virtual]
                                    noteOn(StkFloat frequency, StkFloat amplitude)Saxofony [virtual]
                                    printErrors(bool status)Stk [inline, static]
                                    rawwavePath(void)Stk [inline, static]
                                    sampleRate(void)Stk [inline, static]
                                    Saxofony(StkFloat lowestFrequency)Saxofony
                                    setFrequency(StkFloat frequency)Saxofony [virtual]
                                    setRawwavePath(std::string path)Stk [static]
                                    setSampleRate(StkFloat rate)Stk [inline, static]
                                    showWarnings(bool status)Stk [inline, static]
                                    sleep(unsigned long milliseconds)Stk [static]
                                    startBlowing(StkFloat amplitude, StkFloat rate)Saxofony
                                    Stk(void)Stk [protected]
                                    swap16(unsigned char *ptr)Stk [static]
                                    swap32(unsigned char *ptr)Stk [static]
                                    swap64(unsigned char *ptr)Stk [static]
                                    tick()Saxofony [virtual]
                                    tick(StkFloat *vector, unsigned int vectorSize)Saxofony [virtual]
                                    tick(StkFrames &frames, unsigned int channel=1)Saxofony [virtual]
                                    tick(void)Instrmnt
                                    tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                                    ~Instrmnt()Instrmnt [virtual]
                                    ~Saxofony()Saxofony
                                    ~Stk(void)Stk [protected, virtual]
                                    - +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    diff --git a/doc/html/classSaxofony.html b/doc/html/classSaxofony.html index 5cb729c..e4f017f 100644 --- a/doc/html/classSaxofony.html +++ b/doc/html/classSaxofony.html @@ -8,8 +8,8 @@    

                                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                    - -

                                    Saxofony Class Reference

                                    #include <Saxofony.h> + +

                                    Saxofony Class Reference

                                    #include <Saxofony.h>

                                    Inheritance diagram for Saxofony:

                                    @@ -25,84 +25,70 @@ This is a digital waveguide model, making its use possibly subject to patents he Control Change Numbers:
                                    • Reed Stiffness = 2
                                    • Reed Aperture = 26
                                    • Noise Gain = 4
                                    • Blow Position = 11
                                    • Vibrato Frequency = 29
                                    • Vibrato Gain = 1
                                    • Breath Pressure = 128

                                    -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                    - -

                                    -Definition at line 49 of file Saxofony.h. +
                                    - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

                                    Public Member Functions

                                     Saxofony (StkFloat lowestFrequency)

                                    Public Member Functions

                                     Saxofony (StkFloat lowestFrequency)
                                     Class constructor, taking the lowest desired playing frequency.

                                    ~Saxofony ()
                                     Class constructor, taking the lowest desired playing frequency.
                                    ~Saxofony ()
                                     Class destructor.

                                    -void clear ()
                                     Class destructor.
                                    +void clear ()
                                     Reset and clear all internal state.

                                    -void setFrequency (StkFloat frequency)
                                     Reset and clear all internal state.
                                    +void setFrequency (StkFloat frequency)
                                     Set instrument parameters for a particular frequency.

                                    -void setBlowPosition (StkFloat aPosition)
                                     Set instrument parameters for a particular frequency.
                                    +void setBlowPosition (StkFloat aPosition)
                                     Set the "blowing" position between the air column terminations (0.0 - 1.0).

                                    -void startBlowing (StkFloat amplitude, StkFloat rate)
                                     Set the "blowing" position between the air column terminations (0.0 - 1.0).
                                    +void startBlowing (StkFloat amplitude, StkFloat rate)
                                     Apply breath pressure to instrument with given amplitude and rate of increase.

                                    -void stopBlowing (StkFloat rate)
                                     Apply breath pressure to instrument with given amplitude and rate of increase.
                                    +void stopBlowing (StkFloat rate)
                                     Decrease breath pressure with given rate of decrease.

                                    -void noteOn (StkFloat frequency, StkFloat amplitude)
                                     Decrease breath pressure with given rate of decrease.
                                    +void noteOn (StkFloat frequency, StkFloat amplitude)
                                     Start a note with the given frequency and amplitude.

                                    -void noteOff (StkFloat amplitude)
                                     Start a note with the given frequency and amplitude.
                                    +void noteOff (StkFloat amplitude)
                                     Stop a note with the given amplitude (speed of decay).

                                    -StkFloat tick ()
                                     Stop a note with the given amplitude (speed of decay).
                                    +void controlChange (int number, StkFloat value)
                                     Compute one output sample.

                                    -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                     Computer vectorSize outputs and return them in vector.

                                    StkFramestick (StkFrames &frames, unsigned int channel=1)
                                     Fill a channel of the StkFrames object with computed outputs.

                                    -void controlChange (int number, StkFloat value)
                                     Perform the control change specified by number and value (0.0 - 128.0).

                                     Perform the control change specified by number and value (0.0 - 128.0).


                                    Constructor & Destructor Documentation

                                    -

                                    - +

                                    +

                                    - + -
                                    Saxofony::Saxofony Saxofony::Saxofony StkFloat  lowestFrequency  ) 
                                    - +
                                    - -
                                      @@ -112,50 +98,7 @@ void StkError will be thrown if the rawwave path is incorrectly set.
                                    -


                                    Member Function Documentation

                                    -

                                    - - - - -
                                    - - - - - - - - - - - - - - - - - - - -
                                    StkFrames& Saxofony::tick StkFrames frames,
                                    unsigned int  channel = 1
                                    [virtual]
                                    -
                                    - - - - +An StkError will be thrown if the rawwave path is incorrectly set.
                                    -   - - -

                                    -Fill a channel of the StkFrames object with computed outputs. -

                                    -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                    -Reimplemented from Instrmnt.


                                    The documentation for this class was generated from the following file:
                                      @@ -164,7 +107,7 @@ Reimplemented from Instrmnt. - +
                                      The Synthesis ToolKit in C++ (STK)
                                      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      diff --git a/doc/html/classSaxofony__coll__graph.map b/doc/html/classSaxofony__coll__graph.map new file mode 100644 index 0000000..72824cf --- /dev/null +++ b/doc/html/classSaxofony__coll__graph.map @@ -0,0 +1,14 @@ +base referer +rect $classInstrmnt.html 37,134 93,155 +rect $classStk.html 235,16 272,38 +rect $classGenerator.html 139,179 208,200 +rect $classFunction.html 223,88 284,110 +rect $classWvIn.html 319,88 359,110 +rect $classFilter.html 469,88 509,110 +rect $classNoise.html 65,270 108,291 +rect $classEnvelope.html 141,270 205,291 +rect $classReedTable.html 216,224 291,246 +rect $classWaveLoop.html 329,224 404,246 +rect $classOneZero.html 457,224 521,246 +rect $classDelay.html 539,179 581,200 +rect $classDelayL.html 560,270 611,291 diff --git a/doc/html/classSaxofony__coll__graph.md5 b/doc/html/classSaxofony__coll__graph.md5 new file mode 100644 index 0000000..001e3dd --- /dev/null +++ b/doc/html/classSaxofony__coll__graph.md5 @@ -0,0 +1 @@ +610f61af680445f9e5798241e9025dcf \ No newline at end of file diff --git a/doc/html/classSaxofony__coll__graph.png b/doc/html/classSaxofony__coll__graph.png new file mode 100644 index 0000000..245ab72 Binary files /dev/null and b/doc/html/classSaxofony__coll__graph.png differ diff --git a/doc/html/classSaxofony__inherit__graph.map b/doc/html/classSaxofony__inherit__graph.map new file mode 100644 index 0000000..26db36e --- /dev/null +++ b/doc/html/classSaxofony__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 11,85 67,106 +rect $classStk.html 20,16 57,37 diff --git a/doc/html/classSaxofony__inherit__graph.md5 b/doc/html/classSaxofony__inherit__graph.md5 new file mode 100644 index 0000000..d95d994 --- /dev/null +++ b/doc/html/classSaxofony__inherit__graph.md5 @@ -0,0 +1 @@ +ba10368c444644b13d09534ce63763d5 \ No newline at end of file diff --git a/doc/html/classSaxofony__inherit__graph.png b/doc/html/classSaxofony__inherit__graph.png new file mode 100644 index 0000000..504a6a7 Binary files /dev/null and b/doc/html/classSaxofony__inherit__graph.png differ diff --git a/doc/html/classShakers-members.html b/doc/html/classShakers-members.html index b0616c1..0b42db8 100644 --- a/doc/html/classShakers-members.html +++ b/doc/html/classShakers-members.html @@ -8,10 +8,10 @@    

                                      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                      - -

                                      Shakers Member List

                                      This is the complete list of members for Shakers, including all inherited members. - - + +

                                      Shakers Member List

                                      This is the complete list of members for Shakers, including all inherited members.

                                      controlChange(int number, StkFloat value)Shakers [virtual]
                                      handleError(const char *message, StkError::Type type)Stk [static]
                                      + + @@ -20,12 +20,14 @@ + + @@ -37,9 +39,8 @@ - - - + + @@ -47,7 +48,7 @@
                                      controlChange(int number, StkFloat value)Shakers [virtual]
                                      handleError(const char *message, StkError::Type type)Stk [static]
                                      handleError(std::string message, StkError::Type type)Stk [static]
                                      handleError(StkError::Type type)Stk [protected]
                                      Instrmnt()Instrmnt
                                      lastOutRight() const Instrmnt
                                      noteOff(StkFloat amplitude)Shakers [virtual]
                                      noteOn(StkFloat instrument, StkFloat amplitude)Shakers [virtual]
                                      printErrors(bool status)Stk [inline, static]
                                      rawwavePath(void)Stk [inline, static]
                                      sampleRate(void)Stk [inline, static]
                                      setFrequency(StkFloat frequency)Instrmnt [virtual]
                                      setRawwavePath(std::string path)Stk [static]
                                      setSampleRate(StkFloat rate)Stk [inline, static]
                                      Shakers()Shakers
                                      showWarnings(bool status)Stk [inline, static]
                                      sleep(unsigned long milliseconds)Stk [static]
                                      Stk(void)Stk [protected]
                                      STK_FLOAT32Stk [static]
                                      swap16(unsigned char *ptr)Stk [static]
                                      swap32(unsigned char *ptr)Stk [static]
                                      swap64(unsigned char *ptr)Stk [static]
                                      tick()Shakers [virtual]
                                      tick(StkFloat *vector, unsigned int vectorSize)Shakers [virtual]
                                      tick(StkFrames &frames, unsigned int channel=1)Shakers [virtual]
                                      tick(void)Instrmnt
                                      tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                                      ~Instrmnt()Instrmnt [virtual]
                                      ~Shakers()Shakers
                                      ~Stk(void)Stk [protected, virtual]
                                      - +
                                      The Synthesis ToolKit in C++ (STK)
                                      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      diff --git a/doc/html/classShakers.html b/doc/html/classShakers.html index dd31c93..99ba19d 100644 --- a/doc/html/classShakers.html +++ b/doc/html/classShakers.html @@ -8,8 +8,8 @@    

                                      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                      - -

                                      Shakers Class Reference

                                      #include <Shakers.h> + +

                                      Shakers Class Reference

                                      #include <Shakers.h>

                                      Inheritance diagram for Shakers:

                                      @@ -27,73 +27,59 @@ Control Change Numbers:
                                      • Maraca = 0
                                      • Cabasa = 1
                                      • Sekere = 2
                                      • Guiro = 3
                                      • Water Drops = 4
                                      • Bamboo Chimes = 5
                                      • Tambourine = 6
                                      • Sleigh Bells = 7
                                      • Sticks = 8
                                      • Crunch = 9
                                      • Wrench = 10
                                      • Sand Paper = 11
                                      • Coke Can = 12
                                      • Next Mug = 13
                                      • Penny + Mug = 14
                                      • Nickle + Mug = 15
                                      • Dime + Mug = 16
                                      • Quarter + Mug = 17
                                      • Franc + Mug = 18
                                      • Peso + Mug = 19
                                      • Big Rocks = 20
                                      • Little Rocks = 21
                                      • Tuned Bamboo Chimes = 22

                                    -by Perry R. Cook, 1996 - 2004. +by Perry R. Cook, 1996 - 2004.

                                    - -

                                    -Definition at line 63 of file Shakers.h. +
                                    - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

                                    Public Member Functions

                                    Shakers ()

                                    Public Member Functions

                                    Shakers ()
                                     Class constructor.

                                    ~Shakers ()
                                     Class constructor.
                                    ~Shakers ()
                                     Class destructor.

                                    void noteOn (StkFloat instrument, StkFloat amplitude)
                                     Class destructor.
                                    void noteOn (StkFloat instrument, StkFloat amplitude)
                                     Start a note with the given instrument and amplitude.

                                    -void noteOff (StkFloat amplitude)
                                     Start a note with the given instrument and amplitude.
                                    +void noteOff (StkFloat amplitude)
                                     Stop a note with the given amplitude (speed of decay).

                                    -StkFloat tick ()
                                     Stop a note with the given amplitude (speed of decay).
                                    +void controlChange (int number, StkFloat value)
                                     Compute one output sample.

                                    -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                     Computer vectorSize outputs and return them in vector.

                                    StkFramestick (StkFrames &frames, unsigned int channel=1)
                                     Fill a channel of the StkFrames object with computed outputs.

                                    -void controlChange (int number, StkFloat value)
                                     Perform the control change specified by number and value (0.0 - 128.0).

                                     Perform the control change specified by number and value (0.0 - 128.0).


                                    Member Function Documentation

                                    -

                                    - +

                                    +

                                    - + - - + + - + -
                                    void Shakers::noteOn void Shakers::noteOn StkFloat  instrument,
                                    StkFloat  amplitude
                                    [virtual]
                                    - +
                                      @@ -103,60 +89,18 @@ void Instrmnt.
                                    -

                                    - - - - -
                                    - - - - - - - - - - - - - - - - - - - -
                                    StkFrames& Shakers::tick StkFrames frames,
                                    unsigned int  channel = 1
                                    [virtual]
                                    -
                                    - - - - - -
                                    -   - - -

                                    -Fill a channel of the StkFrames object with computed outputs. -

                                    -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                    -Reimplemented from Instrmnt.


                                    The documentation for this class was generated from the following file:
                                    - +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    diff --git a/doc/html/classShakers__coll__graph.map b/doc/html/classShakers__coll__graph.map new file mode 100644 index 0000000..e84d98d --- /dev/null +++ b/doc/html/classShakers__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 8,85 64,106 +rect $classStk.html 17,16 55,37 diff --git a/doc/html/classShakers__coll__graph.md5 b/doc/html/classShakers__coll__graph.md5 new file mode 100644 index 0000000..705026d --- /dev/null +++ b/doc/html/classShakers__coll__graph.md5 @@ -0,0 +1 @@ +ce3f536f8c781c07b84c798cec9ea50b \ No newline at end of file diff --git a/doc/html/classShakers__coll__graph.png b/doc/html/classShakers__coll__graph.png new file mode 100644 index 0000000..23e7a03 Binary files /dev/null and b/doc/html/classShakers__coll__graph.png differ diff --git a/doc/html/classShakers__inherit__graph.map b/doc/html/classShakers__inherit__graph.map new file mode 100644 index 0000000..e84d98d --- /dev/null +++ b/doc/html/classShakers__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 8,85 64,106 +rect $classStk.html 17,16 55,37 diff --git a/doc/html/classShakers__inherit__graph.md5 b/doc/html/classShakers__inherit__graph.md5 new file mode 100644 index 0000000..cdedb34 --- /dev/null +++ b/doc/html/classShakers__inherit__graph.md5 @@ -0,0 +1 @@ +5c6835c8ee7dd906175fcec4dd2eb4d7 \ No newline at end of file diff --git a/doc/html/classShakers__inherit__graph.png b/doc/html/classShakers__inherit__graph.png new file mode 100644 index 0000000..23e7a03 Binary files /dev/null and b/doc/html/classShakers__inherit__graph.png differ diff --git a/doc/html/classSimple-members.html b/doc/html/classSimple-members.html index 3e8ced0..0ecdd03 100644 --- a/doc/html/classSimple-members.html +++ b/doc/html/classSimple-members.html @@ -8,11 +8,11 @@    

                                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                    - -

                                    Simple Member List

                                    This is the complete list of members for Simple, including all inherited members. + +

                                    Simple Member List

                                    This is the complete list of members for Simple, including all inherited members.

                                    - - + + @@ -23,11 +23,13 @@ + + @@ -40,9 +42,8 @@ - - - + + @@ -50,7 +51,7 @@
                                    clear()Simple
                                    controlChange(int number, StkFloat value)Simple [virtual]
                                    handleError(const char *message, StkError::Type type)Stk [static]
                                    controlChange(int number, StkFloat value)Simple [virtual]
                                    handleError(const char *message, StkError::Type type)Stk [static]
                                    handleError(std::string message, StkError::Type type)Stk [static]
                                    handleError(StkError::Type type)Stk [protected]
                                    Instrmnt()Instrmnt
                                    lastOutRight() const Instrmnt
                                    noteOff(StkFloat amplitude)Simple [virtual]
                                    noteOn(StkFloat frequency, StkFloat amplitude)Simple [virtual]
                                    printErrors(bool status)Stk [inline, static]
                                    rawwavePath(void)Stk [inline, static]
                                    sampleRate(void)Stk [inline, static]
                                    setFrequency(StkFloat frequency)Simple [virtual]
                                    setRawwavePath(std::string path)Stk [static]
                                    setSampleRate(StkFloat rate)Stk [inline, static]
                                    showWarnings(bool status)Stk [inline, static]
                                    Simple()Simple
                                    sleep(unsigned long milliseconds)Stk [static]
                                    Stk(void)Stk [protected]
                                    swap16(unsigned char *ptr)Stk [static]
                                    swap32(unsigned char *ptr)Stk [static]
                                    swap64(unsigned char *ptr)Stk [static]
                                    tick()Simple [virtual]
                                    tick(StkFloat *vector, unsigned int vectorSize)Simple [virtual]
                                    tick(StkFrames &frames, unsigned int channel=1)Simple [virtual]
                                    tick(void)Instrmnt
                                    tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                                    ~Instrmnt()Instrmnt [virtual]
                                    ~Simple()Simple
                                    ~Stk(void)Stk [protected, virtual]
                                    - +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    diff --git a/doc/html/classSimple.html b/doc/html/classSimple.html index 0ca754b..bd49e70 100644 --- a/doc/html/classSimple.html +++ b/doc/html/classSimple.html @@ -8,8 +8,8 @@    

                                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                    - -

                                    Simple Class Reference

                                    #include <Simple.h> + +

                                    Simple Class Reference

                                    #include <Simple.h>

                                    Inheritance diagram for Simple:

                                    @@ -24,79 +24,65 @@ This class combines a looped wave, a noise source, a biquad resonance filter, a Control Change Numbers:
                                    • Filter Pole Position = 2
                                    • Noise/Pitched Cross-Fade = 4
                                    • Envelope Rate = 11
                                    • Gain = 128

                                    -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                    - -

                                    -Definition at line 30 of file Simple.h. +
                                    - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

                                    Public Member Functions

                                     Simple ()

                                    Public Member Functions

                                     Simple ()
                                     Class constructor.

                                    ~Simple ()
                                     Class constructor.
                                    ~Simple ()
                                     Class destructor.

                                    -void clear ()
                                     Class destructor.
                                    +void clear ()
                                     Clear internal states.

                                    -void setFrequency (StkFloat frequency)
                                     Clear internal states.
                                    +void setFrequency (StkFloat frequency)
                                     Set instrument parameters for a particular frequency.

                                    -void keyOn ()
                                     Set instrument parameters for a particular frequency.
                                    +void keyOn ()
                                     Start envelope toward "on" target.

                                    -void keyOff ()
                                     Start envelope toward "on" target.
                                    +void keyOff ()
                                     Start envelope toward "off" target.

                                    -void noteOn (StkFloat frequency, StkFloat amplitude)
                                     Start envelope toward "off" target.
                                    +void noteOn (StkFloat frequency, StkFloat amplitude)
                                     Start a note with the given frequency and amplitude.

                                    -void noteOff (StkFloat amplitude)
                                     Start a note with the given frequency and amplitude.
                                    +void noteOff (StkFloat amplitude)
                                     Stop a note with the given amplitude (speed of decay).

                                    -StkFloat tick ()
                                     Stop a note with the given amplitude (speed of decay).
                                    +void controlChange (int number, StkFloat value)
                                     Compute one output sample.

                                    -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                     Computer vectorSize outputs and return them in vector.

                                    StkFramestick (StkFrames &frames, unsigned int channel=1)
                                     Fill a channel of the StkFrames object with computed outputs.

                                    -void controlChange (int number, StkFloat value)
                                     Perform the control change specified by number and value (0.0 - 128.0).

                                     Perform the control change specified by number and value (0.0 - 128.0).


                                    Constructor & Destructor Documentation

                                    -

                                    - +

                                    +

                                    - + -
                                    Simple::Simple Simple::Simple  ) 
                                    - +
                                    - -
                                      @@ -106,50 +92,7 @@ void StkError will be thrown if the rawwave path is incorrectly set.
                                    -


                                    Member Function Documentation

                                    -

                                    - - - - -
                                    - - - - - - - - - - - - - - - - - - - -
                                    StkFrames& Simple::tick StkFrames frames,
                                    unsigned int  channel = 1
                                    [virtual]
                                    -
                                    - - - - +An StkError will be thrown if the rawwave path is incorrectly set.
                                    -   - - -

                                    -Fill a channel of the StkFrames object with computed outputs. -

                                    -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                    -Reimplemented from Instrmnt.


                                    The documentation for this class was generated from the following file:
                                      @@ -158,7 +101,7 @@ Reimplemented from Instrmnt. - +
                                      The Synthesis ToolKit in C++ (STK)
                                      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      diff --git a/doc/html/classSimple__coll__graph.map b/doc/html/classSimple__coll__graph.map new file mode 100644 index 0000000..6ad32d7 --- /dev/null +++ b/doc/html/classSimple__coll__graph.map @@ -0,0 +1,12 @@ +base referer +rect $classInstrmnt.html 7,134 63,155 +rect $classStk.html 200,16 237,38 +rect $classGenerator.html 132,88 201,110 +rect $classFilter.html 249,179 289,200 +rect $classWvIn.html 321,88 361,110 +rect $classADSR.html 68,270 116,291 +rect $classEnvelope.html 65,179 129,200 +rect $classNoise.html 144,224 187,246 +rect $classOnePole.html 239,270 300,291 +rect $classBiQuad.html 324,270 377,291 +rect $classWaveLoop.html 380,224 455,246 diff --git a/doc/html/classSimple__coll__graph.md5 b/doc/html/classSimple__coll__graph.md5 new file mode 100644 index 0000000..d9396d6 --- /dev/null +++ b/doc/html/classSimple__coll__graph.md5 @@ -0,0 +1 @@ +e7d6ff8c158bbb1ae6984d0254ba874a \ No newline at end of file diff --git a/doc/html/classSimple__coll__graph.png b/doc/html/classSimple__coll__graph.png new file mode 100644 index 0000000..49aed17 Binary files /dev/null and b/doc/html/classSimple__coll__graph.png differ diff --git a/doc/html/classSimple__inherit__graph.map b/doc/html/classSimple__inherit__graph.map new file mode 100644 index 0000000..ba86dfe --- /dev/null +++ b/doc/html/classSimple__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 7,85 63,106 +rect $classStk.html 16,16 53,37 diff --git a/doc/html/classSimple__inherit__graph.md5 b/doc/html/classSimple__inherit__graph.md5 new file mode 100644 index 0000000..828fb55 --- /dev/null +++ b/doc/html/classSimple__inherit__graph.md5 @@ -0,0 +1 @@ +066f395390bc56ace8d5837bd8352a04 \ No newline at end of file diff --git a/doc/html/classSimple__inherit__graph.png b/doc/html/classSimple__inherit__graph.png new file mode 100644 index 0000000..583d503 Binary files /dev/null and b/doc/html/classSimple__inherit__graph.png differ diff --git a/doc/html/classSineWave-members.html b/doc/html/classSineWave-members.html new file mode 100644 index 0000000..3543eee --- /dev/null +++ b/doc/html/classSineWave-members.html @@ -0,0 +1,55 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                      +    

                                      +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                      +
                                      + +

                                      SineWave Member List

                                      This is the complete list of members for SineWave, including all inherited members.

                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                      addPhase(StkFloat angle)SineWave
                                      addPhaseOffset(StkFloat angle)SineWave
                                      addTime(StkFloat time)SineWave
                                      Generator(void)Generator
                                      handleError(const char *message, StkError::Type type)Stk [static]
                                      handleError(std::string message, StkError::Type type)Stk [static]
                                      handleError(StkError::Type type)Stk [protected]
                                      lastOut(void) const Generator [inline, virtual]
                                      printErrors(bool status)Stk [inline, static]
                                      rawwavePath(void)Stk [inline, static]
                                      reset(void)SineWave
                                      sampleRate(void)Stk [inline, static]
                                      setFrequency(StkFloat frequency)SineWave
                                      setRate(StkFloat rate)SineWave [inline]
                                      setRawwavePath(std::string path)Stk [static]
                                      setSampleRate(StkFloat rate)Stk [inline, static]
                                      showWarnings(bool status)Stk [inline, static]
                                      SineWave(void)SineWave
                                      sleep(unsigned long milliseconds)Stk [static]
                                      Stk(void)Stk [protected]
                                      STK_FLOAT32Stk [static]
                                      STK_FLOAT64Stk [static]
                                      STK_SINT16Stk [static]
                                      STK_SINT24Stk [static]
                                      STK_SINT32Stk [static]
                                      STK_SINT8Stk [static]
                                      swap16(unsigned char *ptr)Stk [static]
                                      swap32(unsigned char *ptr)Stk [static]
                                      swap64(unsigned char *ptr)Stk [static]
                                      tick(void)Generator
                                      tick(StkFrames &frames, unsigned int channel=0)Generator
                                      ~Generator(void)Generator [virtual]
                                      ~SineWave(void)SineWave [virtual]
                                      ~Stk(void)Stk [protected, virtual]


                                      + + + + +
                                      The Synthesis ToolKit in C++ (STK)
                                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      + + + diff --git a/doc/html/classSineWave.html b/doc/html/classSineWave.html new file mode 100644 index 0000000..e1052b3 --- /dev/null +++ b/doc/html/classSineWave.html @@ -0,0 +1,190 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                      +    

                                      +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                      +
                                      + +

                                      SineWave Class Reference

                                      #include <SineWave.h> +

                                      +

                                      Inheritance diagram for SineWave: +

                                      + +Generator +Stk + +List of all members.

                                      Detailed Description

                                      +STK sinusoid oscillator class. +

                                      +This class computes and saves a static sine "table" that can be shared by multiple instances. It has an interface similar to the WaveLoop class but inherits from the Generator class. Output values are computed using linear interpolation.

                                      +The "table" length, set in SineWave.h, is 2048 samples by default.

                                      +by Perry R. Cook and Gary P. Scavone, 1995 - 2005. +

                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + +

                                      Public Member Functions

                                      SineWave (void)
                                       Default constructor.
                                      +virtual ~SineWave (void)
                                       Class destructor.
                                      +void reset (void)
                                       Clear output and reset time pointer to zero.
                                      void setRate (StkFloat rate)
                                       Set the data read rate in samples. The rate can be negative.
                                      void setFrequency (StkFloat frequency)
                                       Set the data interpolation rate based on a looping frequency.
                                      +void addTime (StkFloat time)
                                       Increment the read pointer by time samples, modulo file size.
                                      void addPhase (StkFloat angle)
                                       Increment current read pointer by angle, relative to a looping frequency.
                                      void addPhaseOffset (StkFloat angle)
                                       Add a phase offset to the current read pointer.
                                      +


                                      Member Function Documentation

                                      +

                                      + + + + +
                                      + + + + + + + + + +
                                      void SineWave::setRate StkFloat  rate  )  [inline]
                                      +
                                      + + + + + +
                                      +   + + +

                                      +Set the data read rate in samples. The rate can be negative. +

                                      +If the rate value is negative, the data is read in reverse order.

                                      +

                                      + + + + +
                                      + + + + + + + + + +
                                      void SineWave::setFrequency StkFloat  frequency  ) 
                                      +
                                      + + + + + +
                                      +   + + +

                                      +Set the data interpolation rate based on a looping frequency. +

                                      +This function determines the interpolation rate based on the file size and the current Stk::sampleRate. The frequency value corresponds to file cycles per second. The frequency can be negative, in which case the loop is read in reverse order.

                                      +

                                      + + + + +
                                      + + + + + + + + + +
                                      void SineWave::addPhase StkFloat  angle  ) 
                                      +
                                      + + + + + +
                                      +   + + +

                                      +Increment current read pointer by angle, relative to a looping frequency. +

                                      +This function increments the read pointer based on the file size and the current Stk::sampleRate. The anAngle value is a multiple of file size.

                                      +

                                      + + + + +
                                      + + + + + + + + + +
                                      void SineWave::addPhaseOffset StkFloat  angle  ) 
                                      +
                                      + + + + + +
                                      +   + + +

                                      +Add a phase offset to the current read pointer. +

                                      +This function determines a time offset based on the file size and the current Stk::sampleRate. The angle value is a multiple of file size.

                                      +


                                      The documentation for this class was generated from the following file: +
                                      + + + + +
                                      The Synthesis ToolKit in C++ (STK)
                                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      + + + diff --git a/doc/html/classSineWave.png b/doc/html/classSineWave.png new file mode 100644 index 0000000..c9f5c36 Binary files /dev/null and b/doc/html/classSineWave.png differ diff --git a/doc/html/classSingWave-members.html b/doc/html/classSingWave-members.html index c90fe7e..58a60c9 100644 --- a/doc/html/classSingWave-members.html +++ b/doc/html/classSingWave-members.html @@ -8,17 +8,18 @@    

                                      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                      - -

                                      SingWave Member List

                                      This is the complete list of members for SingWave, including all inherited members. - - + +

                                      SingWave Member List

                                      This is the complete list of members for SingWave, including all inherited members.

                                      Generator()Generator
                                      handleError(const char *message, StkError::Type type)Stk [static]
                                      + + - + + @@ -31,6 +32,7 @@ + @@ -43,17 +45,16 @@ - - - - + + +
                                      Generator(void)Generator
                                      handleError(const char *message, StkError::Type type)Stk [static]
                                      handleError(std::string message, StkError::Type type)Stk [static]
                                      handleError(StkError::Type type)Stk [protected]
                                      lastOut() const Generator [inline, virtual]
                                      lastOut(void) const Generator [inline, virtual]
                                      normalize()SingWave
                                      normalize(StkFloat peak)SingWave
                                      noteOff()SingWave
                                      noteOn()SingWave
                                      printErrors(bool status)Stk [inline, static]
                                      rawwavePath(void)Stk [inline, static]
                                      reset()SingWave
                                      sampleRate(void)Stk [inline, static]
                                      setSweepRate(StkFloat rate)SingWave
                                      setVibratoGain(StkFloat gain)SingWave
                                      setVibratoRate(StkFloat rate)SingWave
                                      showWarnings(bool status)Stk [inline, static]
                                      SingWave(std::string fileName, bool raw=false)SingWave
                                      sleep(unsigned long milliseconds)Stk [static]
                                      Stk(void)Stk [protected]
                                      swap16(unsigned char *ptr)Stk [static]
                                      swap32(unsigned char *ptr)Stk [static]
                                      swap64(unsigned char *ptr)Stk [static]
                                      tick()SingWave [virtual]
                                      tick(StkFloat *vector, unsigned int vectorSize)SingWave [virtual]
                                      tick(StkFrames &frames, unsigned int channel=1)SingWave [virtual]
                                      ~Generator()Generator [virtual]
                                      tick(void)Generator
                                      tick(StkFrames &frames, unsigned int channel=0)Generator
                                      ~Generator(void)Generator [virtual]
                                      ~SingWave()SingWave
                                      ~Stk(void)Stk [protected, virtual]

                                      - +
                                      The Synthesis ToolKit in C++ (STK)
                                      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      diff --git a/doc/html/classSingWave.html b/doc/html/classSingWave.html index baf9aa4..eac3256 100644 --- a/doc/html/classSingWave.html +++ b/doc/html/classSingWave.html @@ -8,8 +8,8 @@    

                                      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                      - -

                                      SingWave Class Reference

                                      #include <SingWave.h> + +

                                      SingWave Class Reference

                                      #include <SingWave.h>

                                      Inheritance diagram for SingWave:

                                      @@ -21,109 +21,95 @@ STK "singing" looped soundfile class.

                                      This class contains all that is needed to make a pitched musical sound, like a simple voice or violin. In general, it will not be used alone because of munchkinification effects from pitch shifting. It will be used as an excitation source for other instruments.

                                      -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                      - -

                                      -Definition at line 23 of file SingWave.h. +
                                      - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

                                      Public Member Functions

                                       SingWave (std::string fileName, bool raw=false)

                                      Public Member Functions

                                       SingWave (std::string fileName, bool raw=false)
                                       Class constructor taking filename argument.

                                      ~SingWave ()
                                       Class constructor taking filename argument.
                                      ~SingWave ()
                                       Class destructor.

                                      -void reset ()
                                       Class destructor.
                                      +void reset ()
                                       Reset file to beginning.

                                      -void normalize ()
                                       Reset file to beginning.
                                      +void normalize ()
                                       Normalize the file to a maximum of +-1.0.

                                      -void normalize (StkFloat peak)
                                       Normalize the file to a maximum of +-1.0.
                                      +void normalize (StkFloat peak)
                                       Normalize the file to a maximum of +- peak.

                                      -void setFrequency (StkFloat frequency)
                                       Normalize the file to a maximum of +- peak.
                                      +void setFrequency (StkFloat frequency)
                                       Set instrument parameters for a particular frequency.

                                      -void setVibratoRate (StkFloat rate)
                                       Set instrument parameters for a particular frequency.
                                      +void setVibratoRate (StkFloat rate)
                                       Set the vibrato frequency in Hz.

                                      -void setVibratoGain (StkFloat gain)
                                       Set the vibrato frequency in Hz.
                                      +void setVibratoGain (StkFloat gain)
                                       Set the vibrato gain.

                                      -void setRandomGain (StkFloat gain)
                                       Set the vibrato gain.
                                      +void setRandomGain (StkFloat gain)
                                       Set the random-ness amount.

                                      -void setSweepRate (StkFloat rate)
                                       Set the random-ness amount.
                                      +void setSweepRate (StkFloat rate)
                                       Set the sweep rate.

                                      -void setGainRate (StkFloat rate)
                                       Set the sweep rate.
                                      +void setGainRate (StkFloat rate)
                                       Set the gain rate.

                                      -void setGainTarget (StkFloat target)
                                       Set the gain rate.
                                      +void setGainTarget (StkFloat target)
                                       Set the gain target value.

                                      -void noteOn ()
                                       Set the gain target value.
                                      +void noteOn ()
                                       Start a note.

                                      -void noteOff ()
                                       Start a note.
                                      +void noteOff ()
                                       Stop a note.

                                      -StkFloat tick ()
                                       Compute one output sample.

                                      -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                       Compute vectorSize outputs and return them in vector.

                                      StkFramestick (StkFrames &frames, unsigned int channel=1)
                                       Fill a channel of the StkFrames object with computed outputs.

                                       Stop a note.


                                      Constructor & Destructor Documentation

                                      -

                                      - +

                                      +

                                      - + - - + + - + - + -
                                      SingWave::SingWave SingWave::SingWave std::string  fileName,
                                      bool  raw = false raw = false
                                      - +
                                      - -
                                        @@ -133,50 +119,7 @@ StkFloat * StkError will be thrown if the file is not found, its format is unknown, a read error occurs, or the rawwave path is incorrectly set.
                                      -


                                      Member Function Documentation

                                      -

                                      - - - - -
                                      - - - - - - - - - - - - - - - - - - - -
                                      StkFrames& SingWave::tick StkFrames frames,
                                      unsigned int  channel = 1
                                      [virtual]
                                      -
                                      - - - - +An StkError will be thrown if the file is not found, its format is unknown, a read error occurs, or the rawwave path is incorrectly set.
                                      -   - - -

                                      -Fill a channel of the StkFrames object with computed outputs. -

                                      -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                      -Reimplemented from Generator.


                                      The documentation for this class was generated from the following file:
                                        @@ -185,7 +128,7 @@ Reimplemented from Generator. - +
                                        The Synthesis ToolKit in C++ (STK)
                                        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        diff --git a/doc/html/classSingWave__coll__graph.map b/doc/html/classSingWave__coll__graph.map new file mode 100644 index 0000000..bb2fc62 --- /dev/null +++ b/doc/html/classSingWave__coll__graph.map @@ -0,0 +1,11 @@ +base referer +rect $classGenerator.html 277,88 347,109 +rect $classModulate.html 209,368 273,389 +rect $classNoise.html 291,178 333,200 +rect $classEnvelope.html 427,314 491,336 +rect $classStk.html 123,16 160,37 +rect $classFilter.html 52,133 92,154 +rect $classWvIn.html 121,88 161,109 +rect $classOnePole.html 21,224 83,245 +rect $classSubNoise.html 279,269 345,290 +rect $classWaveLoop.html 104,269 179,290 diff --git a/doc/html/classSingWave__coll__graph.md5 b/doc/html/classSingWave__coll__graph.md5 new file mode 100644 index 0000000..70275df --- /dev/null +++ b/doc/html/classSingWave__coll__graph.md5 @@ -0,0 +1 @@ +ea21121e8180d46ef4d97b5768e24fa3 \ No newline at end of file diff --git a/doc/html/classSingWave__coll__graph.png b/doc/html/classSingWave__coll__graph.png new file mode 100644 index 0000000..ba2f5e0 Binary files /dev/null and b/doc/html/classSingWave__coll__graph.png differ diff --git a/doc/html/classSingWave__inherit__graph.map b/doc/html/classSingWave__inherit__graph.map new file mode 100644 index 0000000..337ffbe --- /dev/null +++ b/doc/html/classSingWave__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classGenerator.html 7,85 76,106 +rect $classStk.html 23,16 60,37 diff --git a/doc/html/classSingWave__inherit__graph.md5 b/doc/html/classSingWave__inherit__graph.md5 new file mode 100644 index 0000000..77b4eac --- /dev/null +++ b/doc/html/classSingWave__inherit__graph.md5 @@ -0,0 +1 @@ +33d921357a3f70b9db51c70a292f641e \ No newline at end of file diff --git a/doc/html/classSingWave__inherit__graph.png b/doc/html/classSingWave__inherit__graph.png new file mode 100644 index 0000000..d0eefd5 Binary files /dev/null and b/doc/html/classSingWave__inherit__graph.png differ diff --git a/doc/html/classSitar-members.html b/doc/html/classSitar-members.html index 9b18617..4985158 100644 --- a/doc/html/classSitar-members.html +++ b/doc/html/classSitar-members.html @@ -8,11 +8,11 @@    

                                        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                        - -

                                        Sitar Member List

                                        This is the complete list of members for Sitar, including all inherited members. + +

                                        Sitar Member List

                                        This is the complete list of members for Sitar, including all inherited members.

                                        - - + + @@ -22,11 +22,13 @@ + + @@ -39,9 +41,8 @@ - - - + + @@ -49,7 +50,7 @@
                                        clear()Sitar
                                        controlChange(int number, StkFloat value)Instrmnt [virtual]
                                        handleError(const char *message, StkError::Type type)Stk [static]
                                        controlChange(int number, StkFloat value)Instrmnt [virtual]
                                        handleError(const char *message, StkError::Type type)Stk [static]
                                        handleError(std::string message, StkError::Type type)Stk [static]
                                        handleError(StkError::Type type)Stk [protected]
                                        Instrmnt()Instrmnt
                                        noteOff(StkFloat amplitude)Sitar [virtual]
                                        noteOn(StkFloat frequency, StkFloat amplitude)Sitar [virtual]
                                        pluck(StkFloat amplitude)Sitar
                                        printErrors(bool status)Stk [inline, static]
                                        rawwavePath(void)Stk [inline, static]
                                        sampleRate(void)Stk [inline, static]
                                        setFrequency(StkFloat frequency)Sitar [virtual]
                                        setRawwavePath(std::string path)Stk [static]
                                        setSampleRate(StkFloat rate)Stk [inline, static]
                                        showWarnings(bool status)Stk [inline, static]
                                        Sitar(StkFloat lowestFrequency=20)Sitar
                                        sleep(unsigned long milliseconds)Stk [static]
                                        Stk(void)Stk [protected]
                                        swap16(unsigned char *ptr)Stk [static]
                                        swap32(unsigned char *ptr)Stk [static]
                                        swap64(unsigned char *ptr)Stk [static]
                                        tick()Sitar [virtual]
                                        tick(StkFloat *vector, unsigned int vectorSize)Sitar [virtual]
                                        tick(StkFrames &frames, unsigned int channel=1)Sitar [virtual]
                                        tick(void)Instrmnt
                                        tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                                        ~Instrmnt()Instrmnt [virtual]
                                        ~Sitar()Sitar
                                        ~Stk(void)Stk [protected, virtual]
                                        - +
                                        The Synthesis ToolKit in C++ (STK)
                                        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        diff --git a/doc/html/classSitar.html b/doc/html/classSitar.html index ffaa7da..5d65abb 100644 --- a/doc/html/classSitar.html +++ b/doc/html/classSitar.html @@ -8,8 +8,8 @@    

                                        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                        - -

                                        Sitar Class Reference

                                        #include <Sitar.h> + +

                                        Sitar Class Reference

                                        #include <Sitar.h>

                                        Inheritance diagram for Sitar:

                                        @@ -22,95 +22,39 @@ STK sitar string model class.

                                        This class implements a sitar plucked string physical model based on the Karplus-Strong algorithm.

                                        This is a digital waveguide model, making its use possibly subject to patents held by Stanford University, Yamaha, and others. There exist at least two patents, assigned to Stanford, bearing the names of Karplus and/or Strong.

                                        -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                        - -

                                        -Definition at line 29 of file Sitar.h. +
                                        - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - -

                                        Public Member Functions

                                        Sitar (StkFloat lowestFrequency=20)

                                        Public Member Functions

                                        Sitar (StkFloat lowestFrequency=20)
                                         Class constructor, taking the lowest desired playing frequency.

                                        ~Sitar ()
                                         Class constructor, taking the lowest desired playing frequency.
                                        ~Sitar ()
                                         Class destructor.

                                        -void clear ()
                                         Class destructor.
                                        +void clear ()
                                         Reset and clear all internal state.

                                        -void setFrequency (StkFloat frequency)
                                         Reset and clear all internal state.
                                        +void setFrequency (StkFloat frequency)
                                         Set instrument parameters for a particular frequency.

                                        -void pluck (StkFloat amplitude)
                                         Set instrument parameters for a particular frequency.
                                        +void pluck (StkFloat amplitude)
                                         Pluck the string with the given amplitude using the current frequency.

                                        -void noteOn (StkFloat frequency, StkFloat amplitude)
                                         Pluck the string with the given amplitude using the current frequency.
                                        +void noteOn (StkFloat frequency, StkFloat amplitude)
                                         Start a note with the given frequency and amplitude.

                                        -void noteOff (StkFloat amplitude)
                                         Start a note with the given frequency and amplitude.
                                        +void noteOff (StkFloat amplitude)
                                         Stop a note with the given amplitude (speed of decay).

                                        -StkFloat tick ()
                                         Compute one output sample.

                                        -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                         Computer vectorSize outputs and return them in vector.

                                        StkFramestick (StkFrames &frames, unsigned int channel=1)
                                         Fill a channel of the StkFrames object with computed outputs.

                                        -


                                        Member Function Documentation

                                        -

                                        - - - - -
                                        - - - - - - - - - - - - - - - - - - - -
                                        StkFrames& Sitar::tick StkFrames frames,
                                        unsigned int  channel = 1
                                        [virtual]
                                        -
                                        - - - - - +
                                        -   - - -

                                        -Fill a channel of the StkFrames object with computed outputs. -

                                        -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                        -Reimplemented from Instrmnt.

                                         Stop a note with the given amplitude (speed of decay).


                                        The documentation for this class was generated from the following file: @@ -118,7 +62,7 @@ Reimplemented from Instrmnt. - +
                                        The Synthesis ToolKit in C++ (STK)
                                        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        diff --git a/doc/html/classSitar__coll__graph.map b/doc/html/classSitar__coll__graph.map new file mode 100644 index 0000000..31ed01d --- /dev/null +++ b/doc/html/classSitar__coll__graph.map @@ -0,0 +1,11 @@ +base referer +rect $classInstrmnt.html 7,134 63,155 +rect $classStk.html 125,16 163,38 +rect $classFilter.html 124,88 164,110 +rect $classGenerator.html 280,88 349,110 +rect $classDelayA.html 76,270 129,291 +rect $classDelay.html 89,179 132,200 +rect $classOneZero.html 151,224 215,246 +rect $classADSR.html 291,270 339,291 +rect $classEnvelope.html 283,179 347,200 +rect $classNoise.html 364,224 407,246 diff --git a/doc/html/classSitar__coll__graph.md5 b/doc/html/classSitar__coll__graph.md5 new file mode 100644 index 0000000..05b48e0 --- /dev/null +++ b/doc/html/classSitar__coll__graph.md5 @@ -0,0 +1 @@ +e7c72ec1cd059eb18cc5790cab6925c4 \ No newline at end of file diff --git a/doc/html/classSitar__coll__graph.png b/doc/html/classSitar__coll__graph.png new file mode 100644 index 0000000..b5b2dc7 Binary files /dev/null and b/doc/html/classSitar__coll__graph.png differ diff --git a/doc/html/classSitar__inherit__graph.map b/doc/html/classSitar__inherit__graph.map new file mode 100644 index 0000000..ba86dfe --- /dev/null +++ b/doc/html/classSitar__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 7,85 63,106 +rect $classStk.html 16,16 53,37 diff --git a/doc/html/classSitar__inherit__graph.md5 b/doc/html/classSitar__inherit__graph.md5 new file mode 100644 index 0000000..17b57ab --- /dev/null +++ b/doc/html/classSitar__inherit__graph.md5 @@ -0,0 +1 @@ +492e6b0c36a45e1c7839dfbb954f0326 \ No newline at end of file diff --git a/doc/html/classSitar__inherit__graph.png b/doc/html/classSitar__inherit__graph.png new file mode 100644 index 0000000..27d92dc Binary files /dev/null and b/doc/html/classSitar__inherit__graph.png differ diff --git a/doc/html/classSkini-members.html b/doc/html/classSkini-members.html index 79d5752..69be192 100644 --- a/doc/html/classSkini-members.html +++ b/doc/html/classSkini-members.html @@ -8,18 +8,20 @@    

                                        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                        - -

                                        Skini Member List

                                        This is the complete list of members for Skini, including all inherited members. - + +

                                        Skini Member List

                                        This is the complete list of members for Skini, including all inherited members.

                                        handleError(const char *message, StkError::Type type)Stk [static]
                                        + + + @@ -40,7 +42,7 @@
                                        handleError(const char *message, StkError::Type type)Stk [static]
                                        handleError(std::string message, StkError::Type type)Stk [static]
                                        handleError(StkError::Type type)Stk [protected]
                                        nextMessage(Skini::Message &message)Skini
                                        parseString(std::string &line, Skini::Message &message)Skini
                                        printErrors(bool status)Stk [inline, static]
                                        rawwavePath(void)Stk [inline, static]
                                        sampleRate(void)Stk [inline, static]
                                        setFile(std::string fileName)Skini
                                        setRawwavePath(std::string path)Stk [static]
                                        setSampleRate(StkFloat rate)Stk [inline, static]
                                        showWarnings(bool status)Stk [inline, static]
                                        Skini()Skini
                                        sleep(unsigned long milliseconds)Stk [static]
                                        Stk(void)Stk [protected]
                                        - +
                                        The Synthesis ToolKit in C++ (STK)
                                        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        diff --git a/doc/html/classSkini.html b/doc/html/classSkini.html index 970a9cb..9f30013 100644 --- a/doc/html/classSkini.html +++ b/doc/html/classSkini.html @@ -8,8 +8,8 @@    

                                        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                        - -

                                        Skini Class Reference

                                        #include <Skini.h> + +

                                        Skini Class Reference

                                        #include <Skini.h>

                                        Inheritance diagram for Skini:

                                        @@ -21,63 +21,64 @@ STK SKINI parsing class.

                                        This class parses SKINI formatted text messages. It can be used to parse individual messages or it can be passed an entire file. The SKINI specification is Perry's and his alone, but it's all text so it shouldn't be too hard to figure out.

                                        SKINI (Synthesis toolKit Instrument Network Interface) is like MIDI, but allows for floating-point control changes, note numbers, etc. The following example causes a sharp middle C to be played with a velocity of 111.132:

                                        -

                                            noteOn  60.01  111.132
                                        +
                                            noteOn  60.01  111.132
                                         

                                        See also:
                                        Synthesis toolKit Instrument Network Interface (SKINI)
                                        -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                        - -

                                        -Definition at line 36 of file Skini.h. +
                                        - - + + - - + + - - + + - - + + - - + + - - - + + + - - + + - + + + + +

                                        Public Member Functions

                                        Skini ()

                                        Public Member Functions

                                        Skini ()
                                         Default constructor.

                                        ~Skini ()
                                         Default constructor.
                                        ~Skini ()
                                         Class destructor.

                                        bool setFile (std::string fileName)
                                         Class destructor.
                                        bool setFile (std::string fileName)
                                         Set a SKINI formatted file for reading.

                                        long nextMessage (Skini::Message &message)
                                         Set a SKINI formatted file for reading.
                                        long nextMessage (Skini::Message &message)
                                         Parse the next file message (if a file is loaded) and return the message type.

                                        long parseString (std::string &line, Skini::Message &message)
                                         Parse the next file message (if a file is loaded) and return the message type.
                                        long parseString (std::string &line, Skini::Message &message)
                                         Attempt to parse the given string and returning the message type.


                                        Static Public Member Functions

                                        -std::string whatsThisType (long type)
                                         Attempt to parse the given string and returning the message type.

                                        Static Public Member Functions

                                        +static std::string whatsThisType (long type)
                                         Return the SKINI type string for the given type value.

                                        -std::string whatsThisController (long number)
                                         Return the SKINI type string for the given type value.
                                        +static std::string whatsThisController (long number)
                                         Return the SKINI controller string for the given controller number.

                                         Return the SKINI controller string for the given controller number.

                                        Classes

                                        struct  Message
                                         A message structure to store and pass parsed SKINI messages. More...


                                        Member Function Documentation

                                        -

                                        - +

                                        +

                                        - + -
                                        bool Skini::setFile bool Skini::setFile std::string  fileName  ) 
                                        - +
                                        +If the file is successfully opened, this function returns true. Otherwise, false is returned.
                                          @@ -87,28 +88,27 @@ std::string  Set a SKINI formatted file for reading.

                                        -If the file is successfully opened, this function returns true. Otherwise, false is returned.

                                        -

                                        - +

                                        +

                                        - + -
                                        long Skini::nextMessage long Skini::nextMessage Skini::Message message  ) 
                                        - +
                                        +This function skips over lines in a file which cannot be parsed. A type value equal to zero in the referenced message structure (and the returned value) indicates the file end is reached or no file is open for reading.
                                          @@ -118,37 +118,36 @@ If the file is successfully opened, this function returns true. Otherwi

                                        Parse the next file message (if a file is loaded) and return the message type.

                                        -This function skips over lines in a file which cannot be parsed. A type value equal to zero in the referenced message structure (and the returned value) indicates the file end is reached or no file is open for reading.

                                        -

                                        - +

                                        +

                                        - + - - + + - + -
                                        long Skini::parseString long Skini::parseString std::string &  line,
                                        Skini::Message message
                                        - +
                                        +A type value equal to zero in the referenced message structure indicates an invalid message.
                                          @@ -158,7 +157,7 @@ This function skips over lines in a file which cannot be parsed. A type value eq

                                        Attempt to parse the given string and returning the message type.

                                        -A type value equal to zero in the referenced message structure indicates an invalid message.


                                        The documentation for this class was generated from the following file:
                                          @@ -167,7 +166,7 @@ A type value equal to zero in the referenced message structure indicates an inva - +
                                          The Synthesis ToolKit in C++ (STK)
                                          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          diff --git a/doc/html/classSkini__coll__graph.map b/doc/html/classSkini__coll__graph.map new file mode 100644 index 0000000..4484d54 --- /dev/null +++ b/doc/html/classSkini__coll__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 8,16 45,37 diff --git a/doc/html/classSkini__coll__graph.md5 b/doc/html/classSkini__coll__graph.md5 new file mode 100644 index 0000000..81c6b32 --- /dev/null +++ b/doc/html/classSkini__coll__graph.md5 @@ -0,0 +1 @@ +ebdebc3f6678ed2ac54287d969bea488 \ No newline at end of file diff --git a/doc/html/classSkini__coll__graph.png b/doc/html/classSkini__coll__graph.png new file mode 100644 index 0000000..f87865f Binary files /dev/null and b/doc/html/classSkini__coll__graph.png differ diff --git a/doc/html/classSkini__inherit__graph.map b/doc/html/classSkini__inherit__graph.map new file mode 100644 index 0000000..4484d54 --- /dev/null +++ b/doc/html/classSkini__inherit__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 8,16 45,37 diff --git a/doc/html/classSkini__inherit__graph.md5 b/doc/html/classSkini__inherit__graph.md5 new file mode 100644 index 0000000..a457615 --- /dev/null +++ b/doc/html/classSkini__inherit__graph.md5 @@ -0,0 +1 @@ +dde7fa06481696ff15443e592d8763e4 \ No newline at end of file diff --git a/doc/html/classSkini__inherit__graph.png b/doc/html/classSkini__inherit__graph.png new file mode 100644 index 0000000..f87865f Binary files /dev/null and b/doc/html/classSkini__inherit__graph.png differ diff --git a/doc/html/classSocket-members.html b/doc/html/classSocket-members.html index ade4b1f..fbc9064 100644 --- a/doc/html/classSocket-members.html +++ b/doc/html/classSocket-members.html @@ -8,28 +8,26 @@    

                                          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                          - -

                                          Socket Member List

                                          This is the complete list of members for Socket, including all inherited members. - - - - - + +

                                          Socket Member List

                                          This is the complete list of members for Socket, including all inherited members.

                                          accept(void)Socket
                                          close(void)Socket
                                          close(int socket)Socket [static]
                                          connect(int port, const char *hostname="localhost")Socket
                                          handleError(const char *message, StkError::Type type)Stk [static]
                                          + + - - - + + + + - + - + + - - + @@ -40,15 +38,15 @@ - - - + + +
                                          close(int socket)Socket [static]
                                          handleError(const char *message, StkError::Type type)Stk [static]
                                          handleError(std::string message, StkError::Type type)Stk [static]
                                          handleError(StkError::Type type)Stk [protected]
                                          id(void) const Socket
                                          isValid(int socket)Socket [static]
                                          port(void) const Socket
                                          id(void) const Socket
                                          isValid(int socket)Socket [static]
                                          port(void) const Socket
                                          printErrors(bool status)Stk [inline, static]
                                          rawwavePath(void)Stk [inline, static]
                                          readBuffer(void *buffer, long bufferSize, int flags=0)Socket
                                          readBuffer(void *buffer, long bufferSize, int flags=0)=0Socket [pure virtual]
                                          readBuffer(int socket, void *buffer, long bufferSize, int flags)Socket [static]
                                          sampleRate(void)Stk [inline, static]
                                          setBlocking(int socket, bool enable)Socket [static]
                                          setBlocking(int socket, bool enable)Socket [static]
                                          setRawwavePath(std::string path)Stk [static]
                                          setSampleRate(StkFloat rate)Stk [inline, static]
                                          showWarnings(bool status)Stk [inline, static]
                                          sleep(unsigned long milliseconds)Stk [static]
                                          Socket(int port=2006)Socket
                                          Socket(int port, const char *hostname)Socket
                                          Socket()Socket
                                          Stk(void)Stk [protected]
                                          STK_FLOAT32Stk [static]
                                          STK_FLOAT64Stk [static]
                                          swap16(unsigned char *ptr)Stk [static]
                                          swap32(unsigned char *ptr)Stk [static]
                                          swap64(unsigned char *ptr)Stk [static]
                                          writeBuffer(const void *buffer, long bufferSize, int flags=0)Socket
                                          writeBuffer(int socket, const void *buffer, long bufferSize, int flags)Socket [static]
                                          ~Socket()Socket
                                          writeBuffer(const void *buffer, long bufferSize, int flags=0)=0Socket [pure virtual]
                                          writeBuffer(int socket, const void *buffer, long bufferSize, int flags)Socket [static]
                                          ~Socket()Socket [virtual]
                                          ~Stk(void)Stk [protected, virtual]

                                          - +
                                          The Synthesis ToolKit in C++ (STK)
                                          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          diff --git a/doc/html/classSocket.html b/doc/html/classSocket.html index 81cbff3..e9dd893 100644 --- a/doc/html/classSocket.html +++ b/doc/html/classSocket.html @@ -8,228 +8,71 @@    

                                          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                          - -

                                          Socket Class Reference

                                          #include <Socket.h> + +

                                          Socket Class Reference

                                          #include <Socket.h>

                                          Inheritance diagram for Socket:

                                          -Stk +Stk +TcpClient +TcpServer +UdpSocket List of all members.

                                          Detailed Description

                                          -STK TCP socket client/server class. +STK internet socket abstract base class.

                                          -This class provides a uniform cross-platform TCP socket client or socket server interface. Methods are provided for reading or writing data buffers to/from connections. This class also provides a number of static functions for use with external socket descriptors.

                                          -The user is responsible for checking the values returned by the read/write methods. Values less than or equal to zero indicate a closed or lost connection or the occurence of an error.

                                          -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +This class provides common functionality for TCP and UDP internet socket server and client subclasses. This class also provides a number of static functions for use with external socket descriptors.

                                          +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                          - -

                                          -Definition at line 26 of file Socket.h. +
                                          - - + + - - + + - - + + - - + + - - + + - - + + - - + + + - - + + - - + + - - + + - - - + + - - - - - - - - - - - - - -

                                          Public Member Functions

                                           Socket (int port=2006)

                                          Public Member Functions

                                          Socket ()
                                           Default constructor which creates a local socket server on port 2006 (or the specified port number).

                                           Socket (int port, const char *hostname)
                                           Class constructor.
                                          +virtual ~Socket ()
                                           Class constructor which creates a socket client connection to the specified host and port.

                                          ~Socket ()
                                           Class destructor.
                                          +int id (void) const
                                           The class destructor closes the socket instance, breaking any existing connections.

                                          int connect (int port, const char *hostname="localhost")
                                           Return the socket descriptor.
                                          +int port (void) const
                                           Connect a socket client to the specified host and port and returns the resulting socket descriptor.

                                          -void close (void)
                                           Return the socket port number.
                                          +virtual int writeBuffer (const void *buffer, long bufferSize, int flags=0)=0
                                           Close this socket.

                                          -int id (void) const
                                           Write a buffer over the socket connection. Returns the number of bytes written or -1 if an error occurs.
                                          +virtual int readBuffer (void *buffer, long bufferSize, int flags=0)=0
                                           Return the server/client socket descriptor.

                                          -int port (void) const
                                           Read an input buffer, up to length bufferSize. Returns the number of bytes read or -1 if an error occurs.

                                          Static Public Member Functions

                                          +static void close (int socket)
                                           Return the server/client port number.

                                          int accept (void)
                                           Close the socket.
                                          +static bool isValid (int socket)
                                           If this is a socket server, extract the first pending connection request from the queue and create a new connection, returning the descriptor for the accepted socket.

                                          -int writeBuffer (const void *buffer, long bufferSize, int flags=0)
                                           Returns true if the socket descriptor is valid.
                                          +static void setBlocking (int socket, bool enable)
                                           Write a buffer over the socket connection. Returns the number of bytes written or -1 if an error occurs.

                                          -int readBuffer (void *buffer, long bufferSize, int flags=0)
                                           If enable = false, the socket is set to non-blocking mode. When first created, sockets are by default in blocking mode.
                                          +static int writeBuffer (int socket, const void *buffer, long bufferSize, int flags)
                                           Read a buffer from the socket connection, up to length bufferSize. Returns the number of bytes read or -1 if an error occurs.


                                          Static Public Member Functions

                                          -void setBlocking (int socket, bool enable)
                                           Write a buffer via the specified socket. Returns the number of bytes written or -1 if an error occurs.
                                          +static int readBuffer (int socket, void *buffer, long bufferSize, int flags)
                                           If enable = false, the socket is set to non-blocking mode. When first created, sockets are by default in blocking mode.

                                          -void close (int socket)
                                           Close the socket with the given descriptor.

                                          -bool isValid (int socket)
                                           Returns true if the socket descriptor is valid.

                                          -int writeBuffer (int socket, const void *buffer, long bufferSize, int flags)
                                           Write a buffer via the specified socket. Returns the number of bytes written or -1 if an error occurs.

                                          -int readBuffer (int socket, void *buffer, long bufferSize, int flags)
                                           Read a buffer via the specified socket. Returns the number of bytes read or -1 if an error occurs.

                                          -


                                          Constructor & Destructor Documentation

                                          -

                                          - - - - -
                                          - - - - - - - - - - -
                                          Socket::Socket int  port = 2006  ) 
                                          -
                                          - - - - - -
                                          -   - - -

                                          -Default constructor which creates a local socket server on port 2006 (or the specified port number). -

                                          -An StkError will be thrown if a socket error occurs during instantiation.

                                          -

                                          - - - - -
                                          - - - - - - - - - - - - - - - - - - - -
                                          Socket::Socket int  port,
                                          const char *  hostname
                                          -
                                          - - - - - -
                                          -   - - -

                                          -Class constructor which creates a socket client connection to the specified host and port. -

                                          -An StkError will be thrown if a socket error occurs during instantiation.

                                          -


                                          Member Function Documentation

                                          -

                                          - - - - -
                                          - - - - - - - - - - - - - - - - - - - -
                                          int Socket::connect int  port,
                                          const char *  hostname = "localhost"
                                          -
                                          - - - - - -
                                          -   - - -

                                          -Connect a socket client to the specified host and port and returns the resulting socket descriptor. -

                                          -This method is valid for socket clients only. If it is called for a socket server, -1 is returned. If the socket client is already connected, that connection is terminated and a new connection is attempted. Server connections are made using the accept() method. An StkError will be thrown if a socket error occurs during instantiation.

                                          See also:
                                          accept
                                          -
                                          -

                                          - - - - -
                                          - - - - - - - - - - -
                                          int Socket::accept void   ) 
                                          -
                                          - - - - - +
                                          -   - - -

                                          -If this is a socket server, extract the first pending connection request from the queue and create a new connection, returning the descriptor for the accepted socket. -

                                          -If no connection requests are pending and the socket has not been set non-blocking, this function will block until a connection is present. If an error occurs or this is a socket client, -1 is returned.

                                           Read a buffer via the specified socket. Returns the number of bytes read or -1 if an error occurs.


                                          The documentation for this class was generated from the following file: @@ -237,7 +80,7 @@ If no connection requests are pending and the socket has not been set non-blocki - +
                                          The Synthesis ToolKit in C++ (STK)
                                          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          diff --git a/doc/html/classSocket.png b/doc/html/classSocket.png index 54e6bf9..fa8d11c 100644 Binary files a/doc/html/classSocket.png and b/doc/html/classSocket.png differ diff --git a/doc/html/classSocket__coll__graph.map b/doc/html/classSocket__coll__graph.map new file mode 100644 index 0000000..62122a1 --- /dev/null +++ b/doc/html/classSocket__coll__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 15,16 52,37 diff --git a/doc/html/classSocket__coll__graph.md5 b/doc/html/classSocket__coll__graph.md5 new file mode 100644 index 0000000..1b2be8a --- /dev/null +++ b/doc/html/classSocket__coll__graph.md5 @@ -0,0 +1 @@ +11f1ebe27ee03a87435a537d619d7030 \ No newline at end of file diff --git a/doc/html/classSocket__coll__graph.png b/doc/html/classSocket__coll__graph.png new file mode 100644 index 0000000..cb9c96f Binary files /dev/null and b/doc/html/classSocket__coll__graph.png differ diff --git a/doc/html/classSocket__inherit__graph.map b/doc/html/classSocket__inherit__graph.map new file mode 100644 index 0000000..62122a1 --- /dev/null +++ b/doc/html/classSocket__inherit__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 15,16 52,37 diff --git a/doc/html/classSocket__inherit__graph.md5 b/doc/html/classSocket__inherit__graph.md5 new file mode 100644 index 0000000..9669435 --- /dev/null +++ b/doc/html/classSocket__inherit__graph.md5 @@ -0,0 +1 @@ +9c3497ccf1af590d30c8aa4fc32dcd33 \ No newline at end of file diff --git a/doc/html/classSocket__inherit__graph.png b/doc/html/classSocket__inherit__graph.png new file mode 100644 index 0000000..cb9c96f Binary files /dev/null and b/doc/html/classSocket__inherit__graph.png differ diff --git a/doc/html/classSphere-members.html b/doc/html/classSphere-members.html index eb57d52..9830298 100644 --- a/doc/html/classSphere-members.html +++ b/doc/html/classSphere-members.html @@ -8,18 +8,19 @@    

                                          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                          - -

                                          Sphere Member List

                                          This is the complete list of members for Sphere, including all inherited members. + +

                                          Sphere Member List

                                          This is the complete list of members for Sphere, including all inherited members.

                                          - + + @@ -28,6 +29,7 @@ + @@ -47,7 +49,7 @@
                                          addVelocity(StkFloat x, StkFloat y, StkFloat z)Sphere
                                          getMass()Sphere
                                          getPosition()Sphere
                                          getRadius()Sphere
                                          getRelativePosition(Vector3D *position)Sphere
                                          getVelocity(Vector3D *velocity)Sphere
                                          handleError(const char *message, StkError::Type type)Stk [static]
                                          handleError(const char *message, StkError::Type type)Stk [static]
                                          handleError(std::string message, StkError::Type type)Stk [static]
                                          handleError(StkError::Type type)Stk [protected]
                                          isInside(Vector3D *position)Sphere
                                          printErrors(bool status)Stk [inline, static]
                                          rawwavePath(void)Stk [inline, static]
                                          sampleRate(void)Stk [inline, static]
                                          setMass(StkFloat mass)Sphere
                                          setRawwavePath(std::string path)Stk [static]
                                          setSampleRate(StkFloat rate)Stk [inline, static]
                                          setVelocity(StkFloat x, StkFloat y, StkFloat z)Sphere
                                          showWarnings(bool status)Stk [inline, static]
                                          sleep(unsigned long milliseconds)Stk [static]
                                          Sphere(StkFloat radius=1.0)Sphere
                                          Stk(void)Stk [protected]
                                          - +
                                          The Synthesis ToolKit in C++ (STK)
                                          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          diff --git a/doc/html/classSphere.html b/doc/html/classSphere.html index 27d41ba..f75d0d6 100644 --- a/doc/html/classSphere.html +++ b/doc/html/classSphere.html @@ -8,8 +8,8 @@    

                                          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                          - -

                                          Sphere Class Reference

                                          #include <Sphere.h> + +

                                          Sphere Class Reference

                                          #include <Sphere.h>

                                          Inheritance diagram for Sphere:

                                          @@ -20,69 +20,67 @@ STK sphere class.

                                          This class implements a spherical ball with radius, mass, position, and velocity parameters.

                                          -by Perry R. Cook, 1995 - 2004. +by Perry R. Cook, 1995 - 2004.

                                          - -

                                          -Definition at line 18 of file Sphere.h. +
                                          - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - +

                                          Public Member Functions

                                          Sphere (StkFloat radius=1.0)

                                          Public Member Functions

                                          Sphere (StkFloat radius=1.0)
                                           Constructor taking an initial radius value.

                                          ~Sphere ()
                                           Constructor taking an initial radius value.
                                          ~Sphere ()
                                           Class destructor.

                                          -void setPosition (StkFloat x, StkFloat y, StkFloat z)
                                           Class destructor.
                                          +void setPosition (StkFloat x, StkFloat y, StkFloat z)
                                           Set the 3D center position of the sphere.

                                          -void setVelocity (StkFloat x, StkFloat y, StkFloat z)
                                           Set the 3D center position of the sphere.
                                          +void setVelocity (StkFloat x, StkFloat y, StkFloat z)
                                           Set the 3D velocity of the sphere.

                                          -void setRadius (StkFloat radius)
                                           Set the 3D velocity of the sphere.
                                          +void setRadius (StkFloat radius)
                                           Set the radius of the sphere.

                                          -void setMass (StkFloat mass)
                                           Set the radius of the sphere.
                                          +void setMass (StkFloat mass)
                                           Set the mass of the sphere.

                                          -Vector3DgetPosition ()
                                           Set the mass of the sphere.
                                          +Vector3DgetPosition ()
                                           Get the current position of the sphere as a 3D vector.

                                          -Vector3DgetRelativePosition (Vector3D *position)
                                           Get the current position of the sphere as a 3D vector.
                                          +Vector3DgetRelativePosition (Vector3D *position)
                                           Get the relative position of the given point to the sphere as a 3D vector.

                                          -StkFloat getVelocity (Vector3D *velocity)
                                           Get the relative position of the given point to the sphere as a 3D vector.
                                          +StkFloat getVelocity (Vector3D *velocity)
                                           Set the velcoity of the sphere as a 3D vector.

                                          -StkFloat isInside (Vector3D *position)
                                           Set the velcoity of the sphere as a 3D vector.
                                          +StkFloat isInside (Vector3D *position)
                                           Returns the distance from the sphere boundary to the given position (< 0 if inside).

                                          -StkFloat getRadius ()
                                           Returns the distance from the sphere boundary to the given position (< 0 if inside).
                                          +StkFloat getRadius ()
                                           Get the current sphere radius.

                                          -StkFloat getMass ()
                                           Get the current sphere radius.
                                          +StkFloat getMass ()
                                           Get the current sphere mass.

                                          -void addVelocity (StkFloat x, StkFloat y, StkFloat z)
                                           Get the current sphere mass.
                                          +void addVelocity (StkFloat x, StkFloat y, StkFloat z)
                                           Increase the current sphere velocity by the given 3D components.

                                          -void tick (StkFloat timeIncrement)
                                           Increase the current sphere velocity by the given 3D components.
                                          +void tick (StkFloat timeIncrement)
                                           Move the sphere for the given time increment.

                                           Move the sphere for the given time increment.


                                          The documentation for this class was generated from the following file: @@ -90,7 +88,7 @@ void 
                                  The Synthesis ToolKit in C++ (STK)
                                  ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  diff --git a/doc/html/classSphere__coll__graph.map b/doc/html/classSphere__coll__graph.map new file mode 100644 index 0000000..d31ee5e --- /dev/null +++ b/doc/html/classSphere__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classStk.html 32,16 69,37 +rect $classVector3D.html 57,88 127,109 diff --git a/doc/html/classSphere__coll__graph.md5 b/doc/html/classSphere__coll__graph.md5 new file mode 100644 index 0000000..266b0f3 --- /dev/null +++ b/doc/html/classSphere__coll__graph.md5 @@ -0,0 +1 @@ +dc265380082aeda9648c14d96849c157 \ No newline at end of file diff --git a/doc/html/classSphere__coll__graph.png b/doc/html/classSphere__coll__graph.png new file mode 100644 index 0000000..049fd04 Binary files /dev/null and b/doc/html/classSphere__coll__graph.png differ diff --git a/doc/html/classSphere__inherit__graph.map b/doc/html/classSphere__inherit__graph.map new file mode 100644 index 0000000..62122a1 --- /dev/null +++ b/doc/html/classSphere__inherit__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 15,16 52,37 diff --git a/doc/html/classSphere__inherit__graph.md5 b/doc/html/classSphere__inherit__graph.md5 new file mode 100644 index 0000000..6833849 --- /dev/null +++ b/doc/html/classSphere__inherit__graph.md5 @@ -0,0 +1 @@ +fd0eaed1a31331b9cfbb4c449521f6d9 \ No newline at end of file diff --git a/doc/html/classSphere__inherit__graph.png b/doc/html/classSphere__inherit__graph.png new file mode 100644 index 0000000..21c5d83 Binary files /dev/null and b/doc/html/classSphere__inherit__graph.png differ diff --git a/doc/html/classStifKarp-members.html b/doc/html/classStifKarp-members.html index 7faab35..38a3845 100644 --- a/doc/html/classStifKarp-members.html +++ b/doc/html/classStifKarp-members.html @@ -8,11 +8,11 @@    

                                  Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                  - -

                                  StifKarp Member List

                                  This is the complete list of members for StifKarp, including all inherited members. + +

                                  StifKarp Member List

                                  This is the complete list of members for StifKarp, including all inherited members.

                                  - - + + @@ -22,6 +22,7 @@ + @@ -30,6 +31,7 @@ + @@ -42,9 +44,8 @@ - - - + + @@ -52,7 +53,7 @@
                                  clear()StifKarp
                                  controlChange(int number, StkFloat value)StifKarp [virtual]
                                  handleError(const char *message, StkError::Type type)Stk [static]
                                  controlChange(int number, StkFloat value)StifKarp [virtual]
                                  handleError(const char *message, StkError::Type type)Stk [static]
                                  handleError(std::string message, StkError::Type type)Stk [static]
                                  handleError(StkError::Type type)Stk [protected]
                                  Instrmnt()Instrmnt
                                  noteOff(StkFloat amplitude)StifKarp [virtual]
                                  noteOn(StkFloat frequency, StkFloat amplitude)StifKarp [virtual]
                                  pluck(StkFloat amplitude)StifKarp
                                  printErrors(bool status)Stk [inline, static]
                                  rawwavePath(void)Stk [inline, static]
                                  sampleRate(void)Stk [inline, static]
                                  setBaseLoopGain(StkFloat aGain)StifKarp
                                  setRawwavePath(std::string path)Stk [static]
                                  setSampleRate(StkFloat rate)Stk [inline, static]
                                  setStretch(StkFloat stretch)StifKarp
                                  showWarnings(bool status)Stk [inline, static]
                                  sleep(unsigned long milliseconds)Stk [static]
                                  StifKarp(StkFloat lowestFrequency)StifKarp
                                  Stk(void)Stk [protected]
                                  swap16(unsigned char *ptr)Stk [static]
                                  swap32(unsigned char *ptr)Stk [static]
                                  swap64(unsigned char *ptr)Stk [static]
                                  tick()StifKarp [virtual]
                                  tick(StkFloat *vector, unsigned int vectorSize)StifKarp [virtual]
                                  tick(StkFrames &frames, unsigned int channel=1)StifKarp [virtual]
                                  tick(void)Instrmnt
                                  tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                                  ~Instrmnt()Instrmnt [virtual]
                                  ~StifKarp()StifKarp
                                  ~Stk(void)Stk [protected, virtual]
                                  - +
                                  The Synthesis ToolKit in C++ (STK)
                                  ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  diff --git a/doc/html/classStifKarp.html b/doc/html/classStifKarp.html index 438b288..044aa50 100644 --- a/doc/html/classStifKarp.html +++ b/doc/html/classStifKarp.html @@ -8,8 +8,8 @@    

                                  Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                  - -

                                  StifKarp Class Reference

                                  #include <StifKarp.h> + +

                                  StifKarp Class Reference

                                  #include <StifKarp.h>

                                  Inheritance diagram for StifKarp:

                                  @@ -25,88 +25,74 @@ This is a digital waveguide model, making its use possibly subject to patents he Control Change Numbers:
                                  • Pickup Position = 4
                                  • String Sustain = 11
                                  • String Stretch = 1

                                  -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                  - -

                                  -Definition at line 34 of file StifKarp.h. +
                                  - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - +

                                  Public Member Functions

                                  StifKarp (StkFloat lowestFrequency)

                                  Public Member Functions

                                  StifKarp (StkFloat lowestFrequency)
                                   Class constructor, taking the lowest desired playing frequency.

                                  ~StifKarp ()
                                   Class constructor, taking the lowest desired playing frequency.
                                  ~StifKarp ()
                                   Class destructor.

                                  -void clear ()
                                   Class destructor.
                                  +void clear ()
                                   Reset and clear all internal state.

                                  -void setFrequency (StkFloat frequency)
                                   Reset and clear all internal state.
                                  +void setFrequency (StkFloat frequency)
                                   Set instrument parameters for a particular frequency.

                                  -void setStretch (StkFloat stretch)
                                   Set instrument parameters for a particular frequency.
                                  +void setStretch (StkFloat stretch)
                                   Set the stretch "factor" of the string (0.0 - 1.0).

                                  -void setPickupPosition (StkFloat position)
                                   Set the stretch "factor" of the string (0.0 - 1.0).
                                  +void setPickupPosition (StkFloat position)
                                   Set the pluck or "excitation" position along the string (0.0 - 1.0).

                                  void setBaseLoopGain (StkFloat aGain)
                                   Set the pluck or "excitation" position along the string (0.0 - 1.0).
                                  void setBaseLoopGain (StkFloat aGain)
                                   Set the base loop gain.

                                  -void pluck (StkFloat amplitude)
                                   Set the base loop gain.
                                  +void pluck (StkFloat amplitude)
                                   Pluck the string with the given amplitude using the current frequency.

                                  -void noteOn (StkFloat frequency, StkFloat amplitude)
                                   Pluck the string with the given amplitude using the current frequency.
                                  +void noteOn (StkFloat frequency, StkFloat amplitude)
                                   Start a note with the given frequency and amplitude.

                                  -void noteOff (StkFloat amplitude)
                                   Start a note with the given frequency and amplitude.
                                  +void noteOff (StkFloat amplitude)
                                   Stop a note with the given amplitude (speed of decay).

                                  -StkFloat tick ()
                                   Stop a note with the given amplitude (speed of decay).
                                  +void controlChange (int number, StkFloat value)
                                   Compute one output sample.

                                  -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                   Computer vectorSize outputs and return them in vector.

                                  StkFramestick (StkFrames &frames, unsigned int channel=1)
                                   Fill a channel of the StkFrames object with computed outputs.

                                  -void controlChange (int number, StkFloat value)
                                   Perform the control change specified by number and value (0.0 - 128.0).

                                   Perform the control change specified by number and value (0.0 - 128.0).


                                  Member Function Documentation

                                  -

                                  - +

                                  +

                                  - + -
                                  void StifKarp::setBaseLoopGain void StifKarp::setBaseLoopGain StkFloat  aGain  ) 
                                  - +
                                  - +
                                    @@ -116,49 +102,7 @@ void 

                                  - - - - -
                                  - - - - - - - - - - - - - - - - - - - -
                                  StkFrames& StifKarp::tick StkFrames frames,
                                  unsigned int  channel = 1
                                  [virtual]
                                  -
                                  - - - - +The actual loop gain is set according to the frequency. Because of high-frequency loop filter roll-off, higher frequency settings have greater loop gains.
                                  -   - - -

                                  -Fill a channel of the StkFrames object with computed outputs. -

                                  -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                  -Reimplemented from Instrmnt.


                                  The documentation for this class was generated from the following file:
                                    @@ -167,7 +111,7 @@ Reimplemented from Instrmnt. - +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    diff --git a/doc/html/classStifKarp__coll__graph.map b/doc/html/classStifKarp__coll__graph.map new file mode 100644 index 0000000..0456251 --- /dev/null +++ b/doc/html/classStifKarp__coll__graph.map @@ -0,0 +1,11 @@ +base referer +rect $classInstrmnt.html 52,134 108,155 +rect $classStk.html 285,16 323,38 +rect $classFilter.html 284,88 324,110 +rect $classGenerator.html 383,88 452,110 +rect $classDelayA.html 80,270 133,291 +rect $classDelay.html 184,179 227,200 +rect $classDelayL.html 180,270 231,291 +rect $classBiQuad.html 277,224 331,246 +rect $classOneZero.html 367,224 431,246 +rect $classNoise.html 459,179 501,200 diff --git a/doc/html/classStifKarp__coll__graph.md5 b/doc/html/classStifKarp__coll__graph.md5 new file mode 100644 index 0000000..7280b82 --- /dev/null +++ b/doc/html/classStifKarp__coll__graph.md5 @@ -0,0 +1 @@ +b28bf70ad07d5d0d9b08f4f526a29514 \ No newline at end of file diff --git a/doc/html/classStifKarp__coll__graph.png b/doc/html/classStifKarp__coll__graph.png new file mode 100644 index 0000000..e1b1b13 Binary files /dev/null and b/doc/html/classStifKarp__coll__graph.png differ diff --git a/doc/html/classStifKarp__inherit__graph.map b/doc/html/classStifKarp__inherit__graph.map new file mode 100644 index 0000000..e84d98d --- /dev/null +++ b/doc/html/classStifKarp__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classInstrmnt.html 8,85 64,106 +rect $classStk.html 17,16 55,37 diff --git a/doc/html/classStifKarp__inherit__graph.md5 b/doc/html/classStifKarp__inherit__graph.md5 new file mode 100644 index 0000000..1b39446 --- /dev/null +++ b/doc/html/classStifKarp__inherit__graph.md5 @@ -0,0 +1 @@ +6c20621156843d5438f972863a18460a \ No newline at end of file diff --git a/doc/html/classStifKarp__inherit__graph.png b/doc/html/classStifKarp__inherit__graph.png new file mode 100644 index 0000000..078cfcd Binary files /dev/null and b/doc/html/classStifKarp__inherit__graph.png differ diff --git a/doc/html/classStk-members.html b/doc/html/classStk-members.html index 4d2c41e..c02c4bd 100644 --- a/doc/html/classStk-members.html +++ b/doc/html/classStk-members.html @@ -8,15 +8,17 @@    

                                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                    - -

                                    Stk Member List

                                    This is the complete list of members for Stk, including all inherited members. - + +

                                    Stk Member List

                                    This is the complete list of members for Stk, including all inherited members.

                                    handleError(const char *message, StkError::Type type)Stk [static]
                                    + + + @@ -33,7 +35,7 @@
                                    handleError(const char *message, StkError::Type type)Stk [static]
                                    handleError(std::string message, StkError::Type type)Stk [static]
                                    handleError(StkError::Type type)Stk [protected]
                                    printErrors(bool status)Stk [inline, static]
                                    rawwavePath(void)Stk [inline, static]
                                    sampleRate(void)Stk [inline, static]
                                    setRawwavePath(std::string path)Stk [static]
                                    setSampleRate(StkFloat rate)Stk [inline, static]
                                    showWarnings(bool status)Stk [inline, static]
                                    sleep(unsigned long milliseconds)Stk [static]
                                    Stk(void)Stk [protected]
                                    STK_FLOAT32Stk [static]
                                    - +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    diff --git a/doc/html/classStk.html b/doc/html/classStk.html index 512304f..b1cd3b8 100644 --- a/doc/html/classStk.html +++ b/doc/html/classStk.html @@ -8,128 +8,135 @@    

                                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                    - -

                                    Stk Class Reference

                                    #include <Stk.h> + +

                                    Stk Class Reference

                                    #include <Stk.h>

                                    Inheritance diagram for Stk:

                                    Effect -Filter -Function -Generator -Instrmnt -Messager -MidiFileIn -Mutex -Phonemes -RtDuplex -Skini -Socket -Sphere -Thread -Vector3D -Voicer -WvIn -WvOut +FileRead +FileWrite +Filter +Function +Generator +Instrmnt +Messager +MidiFileIn +Mutex +Phonemes +RtDuplex +Skini +Socket +Sphere +Thread +Vector3D +Voicer +WvIn +WvOut List of all members.

                                    Detailed Description

                                    STK base class.

                                    Nearly all STK classes inherit from this class. The global sample rate and rawwave path variables can be queried and modified via Stk. In addition, this class provides error handling and byte-swapping functions.

                                    -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                    - -

                                    -Definition at line 92 of file Stk.h. +
                                    - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - + + - + + - + + + - + - + - + - - + - - + - - + + - + + + + + + +

                                    Static Public Member Functions

                                    -StkFloat sampleRate (void)

                                    Static Public Member Functions

                                    +static StkFloat sampleRate (void)
                                     Static method which returns the current STK sample rate.

                                    void setSampleRate (StkFloat rate)
                                     Static method which returns the current STK sample rate.
                                    static void setSampleRate (StkFloat rate)
                                     Static method which sets the STK sample rate.

                                    -std::string rawwavePath (void)
                                     Static method which sets the STK sample rate.
                                    +static std::string rawwavePath (void)
                                     Static method which returns the current rawwave path.

                                    -void setRawwavePath (std::string path)
                                     Static method which returns the current rawwave path.
                                    +static void setRawwavePath (std::string path)
                                     Static method which sets the STK rawwave path.

                                    -void swap16 (unsigned char *ptr)
                                     Static method which sets the STK rawwave path.
                                    +static void swap16 (unsigned char *ptr)
                                     Static method which byte-swaps a 16-bit data type.

                                    -void swap32 (unsigned char *ptr)
                                     Static method which byte-swaps a 16-bit data type.
                                    +static void swap32 (unsigned char *ptr)
                                     Static method which byte-swaps a 32-bit data type.

                                    -void swap64 (unsigned char *ptr)
                                     Static method which byte-swaps a 32-bit data type.
                                    +static void swap64 (unsigned char *ptr)
                                     Static method which byte-swaps a 64-bit data type.

                                    -void sleep (unsigned long milliseconds)
                                     Static method which byte-swaps a 64-bit data type.
                                    +static void sleep (unsigned long milliseconds)
                                     Static cross-platform method to sleep for a number of milliseconds.

                                    -void handleError (const char *message, StkError::Type type)
                                     Static cross-platform method to sleep for a number of milliseconds.
                                    +static void handleError (const char *message, StkError::Type type)
                                     Static function for error reporting and handling using c-strings.

                                    -void handleError (std::string message, StkError::Type type)
                                     Static function for error reporting and handling using c-strings.
                                    +static void handleError (std::string message, StkError::Type type)
                                     Static function for error reporting and handling using c++ strings.


                                    Static Public Attributes

                                    const StkFormat STK_SINT8
                                     Static function for error reporting and handling using c++ strings.
                                    +static void showWarnings (bool status)
                                    const StkFormat STK_SINT16
                                     Toggle display of WARNING and STATUS messages.
                                    +static void printErrors (bool status)
                                    const StkFormat STK_SINT24
                                     Toggle display of error messages before throwing exceptions.

                                    Static Public Attributes

                                    static const StkFormat STK_SINT8
                                    const StkFormat STK_SINT32
                                    static const StkFormat STK_SINT16
                                    const StkFormat STK_FLOAT32
                                    static const StkFormat STK_SINT24
                                    const StkFormat STK_FLOAT64
                                    static const StkFormat STK_SINT32

                                    Protected Member Functions

                                    Stk (void)
                                    static const StkFormat STK_FLOAT32
                                     Default constructor.

                                    -virtual ~Stk (void)
                                    static const StkFormat STK_FLOAT64
                                     Class destructor.

                                    -void handleError (StkError::Type type)

                                    Protected Member Functions

                                    Stk (void)
                                     Internal function for error reporting which assumes message in errorString_ variable.

                                     Default constructor.
                                    +virtual ~Stk (void)
                                     Class destructor.
                                    +void handleError (StkError::Type type)
                                     Internal function for error reporting which assumes message in errorString_ variable.


                                    Member Function Documentation

                                    -

                                    - +

                                    +

                                    - + -
                                    void Stk::setSampleRate static void Stk::setSampleRate StkFloat  rate  )  [inline, static]
                                    - +
                                    +The sample rate set using this method is queried by all STK classes which depend on its value. It is initialized to the default SRATE set in Stk.h. Many STK classes use the sample rate during instantiation. Therefore, if you wish to use a rate which is different from the default rate, it is imperative that it be set BEFORE STK objects are instantiated.
                                      @@ -139,27 +146,23 @@ void Stk.h. Many STK classes use the sample rate during instantiation. Therefore, if you wish to use a rate which is different from the default rate, it is imperative that it be set BEFORE STK objects are instantiated. -

                                    -Definition at line 116 of file Stk.h. -

                                    -

                                    00116 { if (rate > 0.0) srate_ = rate; }
                                    -


                                    Member Data Documentation

                                    -

                                    - +

                                    +

                                    - +
                                    const StkFormat Stk::STK_SINT8 [static] + const StkFormat Stk::STK_SINT8 [static]
                                    - +
                                    +-128 to +127
                                      @@ -167,23 +170,22 @@ Definition at line 116 of fil

                                    --128 to +127 -

                                    -Definition at line 97 of file Stk.h.

                                    -

                                    - +

                                    +

                                    - +
                                    const StkFormat Stk::STK_SINT16 [static] + const StkFormat Stk::STK_SINT16 [static]
                                    - +
                                    +-32768 to +32767
                                      @@ -191,23 +193,22 @@ Definition at line 97 of file

                                    --32768 to +32767 -

                                    -Definition at line 98 of file Stk.h.

                                    -

                                    - +

                                    +

                                    - +
                                    const StkFormat Stk::STK_SINT24 [static] + const StkFormat Stk::STK_SINT24 [static]
                                    - +
                                    +Upper 3 bytes of 32-bit signed integer.
                                      @@ -215,23 +216,22 @@ Definition at line 98 of file

                                    -Upper 3 bytes of 32-bit signed integer. -

                                    -Definition at line 99 of file Stk.h.

                                    -

                                    - +

                                    +

                                    - +
                                    const StkFormat Stk::STK_SINT32 [static] + const StkFormat Stk::STK_SINT32 [static]
                                    - +
                                    +-2147483648 to +2147483647.
                                      @@ -239,23 +239,22 @@ Definition at line 99 of file

                                    --2147483648 to +2147483647. -

                                    -Definition at line 100 of file Stk.h.

                                    -

                                    - +

                                    +

                                    - +
                                    const StkFormat Stk::STK_FLOAT32 [static] + const StkFormat Stk::STK_FLOAT32 [static]
                                    - +
                                    +Normalized between plus/minus 1.0.
                                      @@ -263,23 +262,22 @@ Definition at line 100 of fil

                                    -Normalized between plus/minus 1.0. -

                                    -Definition at line 101 of file Stk.h.

                                    -

                                    - +

                                    +

                                    - +
                                    const StkFormat Stk::STK_FLOAT64 [static] + const StkFormat Stk::STK_FLOAT64 [static]
                                    - +
                                    +Normalized between plus/minus 1.0.
                                      @@ -287,9 +285,7 @@ Definition at line 101 of fil

                                    -Normalized between plus/minus 1.0. -

                                    -Definition at line 102 of file Stk.h.


                                    The documentation for this class was generated from the following file:
                                      @@ -298,7 +294,7 @@ Definition at line 102 of fil - +
                                      The Synthesis ToolKit in C++ (STK)
                                      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      diff --git a/doc/html/classStk.png b/doc/html/classStk.png index 3c6acbe..c1544a3 100644 Binary files a/doc/html/classStk.png and b/doc/html/classStk.png differ diff --git a/doc/html/classStkError-members.html b/doc/html/classStkError-members.html index 3e78869..fc6ae12 100644 --- a/doc/html/classStkError-members.html +++ b/doc/html/classStkError-members.html @@ -8,19 +8,19 @@    

                                      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                      - -

                                      StkError Member List

                                      This is the complete list of members for StkError, including all inherited members. + +

                                      StkError Member List

                                      This is the complete list of members for StkError, including all inherited members.

                                      - +
                                      getMessage(void)StkError [inline, virtual]
                                      getMessageCString(void)StkError [inline, virtual]
                                      getType(void)StkError [inline, virtual]
                                      printMessage(void)StkError [inline, virtual]
                                      StkError(const std::string &message, Type type=StkError::UNSPECIFIED)StkError [inline]
                                      StkError(const std::string &message, Type type=StkError::UNSPECIFIED)StkError [inline]
                                      ~StkError(void)StkError [inline, virtual]

                                      - +
                                      The Synthesis ToolKit in C++ (STK)
                                      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      diff --git a/doc/html/classStkError.html b/doc/html/classStkError.html index 342008a..6a71d23 100644 --- a/doc/html/classStkError.html +++ b/doc/html/classStkError.html @@ -8,43 +8,41 @@    

                                      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                      - -

                                      StkError Class Reference

                                      #include <Stk.h> + +

                                      StkError Class Reference

                                      #include <Stk.h>

                                      List of all members.


                                      Detailed Description

                                      STK error handling class.

                                      -This is a fairly abstract exception handling class. There could be sub-classes to take care of more specific error conditions ... or not. +This is a fairly abstract exception handling class. There could be sub-classes to take care of more specific error conditions ... or not.

                                      - -

                                      -Definition at line 48 of file Stk.h. +
                                      - - + + - - + + - - + + - - + + - - + + - - + + - +

                                      Public Member Functions

                                      StkError (const std::string &message, Type type=StkError::UNSPECIFIED)

                                      Public Member Functions

                                      StkError (const std::string &message, Type type=StkError::UNSPECIFIED)
                                       The constructor.

                                      -virtual ~StkError (void)
                                       The constructor.
                                      +virtual ~StkError (void)
                                       The destructor.

                                      -virtual void printMessage (void)
                                       The destructor.
                                      +virtual void printMessage (void)
                                       Prints thrown error message to stderr.

                                      -virtual const Type & getType (void)
                                       Prints thrown error message to stderr.
                                      +virtual const Type & getType (void)
                                       Returns the thrown error message type.

                                      -virtual const std::string & getMessage (void)
                                       Returns the thrown error message type.
                                      +virtual const std::string & getMessage (void)
                                       Returns the thrown error message string.

                                      -virtual const char * getMessageCString (void)
                                       Returns the thrown error message string.
                                      +virtual const char * getMessageCString (void)
                                       Returns the thrown error message as a C string.

                                       Returns the thrown error message as a C string.


                                      The documentation for this class was generated from the following file: @@ -52,7 +50,7 @@ virtual const char * 
                                  The Synthesis ToolKit in C++ (STK)
                                  ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  diff --git a/doc/html/classStkFrames-members.html b/doc/html/classStkFrames-members.html index 35b712b..5968025 100644 --- a/doc/html/classStkFrames-members.html +++ b/doc/html/classStkFrames-members.html @@ -8,23 +8,31 @@    

                                  Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                  - -

                                  StkFrames Member List

                                  This is the complete list of members for StkFrames, including all inherited members. - - - - - - - - - - + +

                                  StkFrames Member List

                                  This is the complete list of members for StkFrames, including all inherited members.

                                  channels(void) const StkFrames [inline]
                                  frames(void) const StkFrames [inline]
                                  interleaved(void) const StkFrames [inline]
                                  operator[](size_t n)StkFrames [inline]
                                  operator[](size_t n) const StkFrames [inline]
                                  resize(unsigned int nFrames, unsigned int nChannels=1, StkFloat value=0.0)StkFrames
                                  setInterleaved(bool isInterleaved)StkFrames [inline]
                                  size() const StkFrames [inline]
                                  StkFrames(unsigned int nFrames=0, unsigned int nChannels=1, bool interleaved=true)StkFrames
                                  StkFrames(const StkFloat &value, unsigned int nFrames, unsigned int nChannels, bool interleaved=true)StkFrames
                                  + + + + + + + + + + + + + + + + + +
                                  channels(void) const StkFrames [inline]
                                  dataRate(void) const StkFrames [inline]
                                  empty() const StkFrames
                                  frames(void) const StkFrames [inline]
                                  interleaved(void) const StkFrames [inline]
                                  interpolate(StkFloat frame, unsigned int channel=0) const StkFrames
                                  operator()(size_t frame, unsigned int channel)StkFrames
                                  operator()(size_t frame, unsigned int channel) const StkFrames
                                  operator[](size_t n)StkFrames
                                  operator[](size_t n) const StkFrames
                                  resize(size_t nFrames, unsigned int nChannels=1)StkFrames
                                  resize(size_t nFrames, unsigned int nChannels, StkFloat value)StkFrames
                                  setDataRate(StkFloat rate)StkFrames [inline]
                                  setInterleaved(bool isInterleaved)StkFrames [inline]
                                  size() const StkFrames [inline]
                                  StkFrames(unsigned int nFrames=0, unsigned int nChannels=0, bool interleaved=true)StkFrames
                                  StkFrames(const StkFloat &value, unsigned int nFrames, unsigned int nChannels, bool interleaved=true)StkFrames
                                  ~StkFrames()StkFrames

                                  - +
                                  The Synthesis ToolKit in C++ (STK)
                                  ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                  diff --git a/doc/html/classStkFrames.html b/doc/html/classStkFrames.html index 99d65b4..65b6ae5 100644 --- a/doc/html/classStkFrames.html +++ b/doc/html/classStkFrames.html @@ -8,79 +8,101 @@    

                                  Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                  - -

                                  StkFrames Class Reference

                                  #include <Stk.h> + +

                                  StkFrames Class Reference

                                  #include <Stk.h>

                                  List of all members.


                                  Detailed Description

                                  An STK class to handle vectorized audio data.

                                  -This class can hold single- or multi-channel audio data in either interleaved or non-interleaved formats. The data type is always StkFloat.

                                  -Possible future improvements in this class could include static functions to inter- or de-interleave the data and to convert to and return other data types.

                                  -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +This class can hold single- or multi-channel audio data in either interleaved or non-interleaved formats. The data type is always StkFloat. In an effort to maintain efficiency, no out-of-bounds checks are performed in this class.

                                  +Possible future improvements in this class could include functions to inter- or de-interleave the data and to convert to and return other data types.

                                  +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                  - -

                                  -Definition at line 177 of file Stk.h. +
                                  - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + +

                                  Public Member Functions

                                  StkFrames (unsigned int nFrames=0, unsigned int nChannels=1, bool interleaved=true)

                                  Public Member Functions

                                  StkFrames (unsigned int nFrames=0, unsigned int nChannels=0, bool interleaved=true)
                                   The default constructor initializes the frame data structure to size zero.

                                  StkFrames (const StkFloat &value, unsigned int nFrames, unsigned int nChannels, bool interleaved=true)
                                   The default constructor initializes the frame data structure to size zero.
                                  StkFrames (const StkFloat &value, unsigned int nFrames, unsigned int nChannels, bool interleaved=true)
                                   Overloaded constructor which initializes the frame data to the specified size with value.

                                  StkFloat & operator[] (size_t n)
                                   Overloaded constructor that initializes the frame data to the specified size with value.
                                  ~StkFrames ()
                                   Subscript operator which returns a reference to element n of self.

                                  StkFloat operator[] (size_t n) const
                                   The destructor.
                                  StkFloat & operator[] (size_t n)
                                   Subscript operator which returns the value at element n of self.

                                  -size_t size () const
                                   Subscript operator which returns a reference to element n of self.
                                  StkFloat operator[] (size_t n) const
                                   Returns the total number of audio samples represented by the object.

                                  void resize (unsigned int nFrames, unsigned int nChannels=1, StkFloat value=0.0)
                                   Subscript operator that returns the value at element n of self.
                                  StkFloat & operator() (size_t frame, unsigned int channel)
                                   Resize self to represent the specified number of channels and frames.

                                  -unsigned int channels (void) const
                                   Channel / frame subscript operator that returns a reference.
                                  StkFloat operator() (size_t frame, unsigned int channel) const
                                   Return the number of channels represented by the data.

                                  -unsigned int frames (void) const
                                   Channel / frame subscript operator that returns a value.
                                  StkFloat interpolate (StkFloat frame, unsigned int channel=0) const
                                   Return the number of sample frames represented by the data.

                                  -bool interleaved (void) const
                                   Return an interpolated value at the fractional frame index and channel.
                                  +size_t size () const
                                   Returns true if the data is in interleaved format, false if the data is non-interleaved.

                                  -void setInterleaved (bool isInterleaved)
                                   Returns the total number of audio samples represented by the object.
                                  +bool empty () const
                                   Set the flag to indicate whether the internal data is in interleaved (true) or non-interleaved (false) format.

                                   Returns true if the object size is zero and false otherwise.
                                  void resize (size_t nFrames, unsigned int nChannels=1)
                                   Resize self to represent the specified number of channels and frames.
                                  void resize (size_t nFrames, unsigned int nChannels, StkFloat value)
                                   Resize self to represent the specified number of channels and frames and perform element initialization.
                                  +unsigned int channels (void) const
                                   Return the number of channels represented by the data.
                                  +unsigned int frames (void) const
                                   Return the number of sample frames represented by the data.
                                  void setDataRate (StkFloat rate)
                                   Set the sample rate associated with the StkFrames data.
                                  StkFloat dataRate (void) const
                                   Return the sample rate associated with the StkFrames data.
                                  +bool interleaved (void) const
                                   Returns true if the data is in interleaved format, false if the data is non-interleaved.
                                  void setInterleaved (bool isInterleaved)
                                   Set the flag to indicate whether the internal data is in interleaved (true) or non-interleaved (false) format.


                                  Member Function Documentation

                                  -

                                  - +

                                  +

                                  - + - + -
                                  StkFloat& StkFrames::operator[] StkFloat& StkFrames::operator[] size_t  n  )  [inline]
                                  - +
                                  +The result can be used as an lvalue . This reference is valid until the resize function is called or the array is destroyed. The index n must be between 0 and size less one. No range checking is performed unless _STK_DEBUG_ is defined.
                                    @@ -90,33 +112,27 @@ void 194 of file Stk.h. -

                                  -

                                  00194 { return data_[n]; };
                                  -
                                  -

                                  - +

                                  +

                                  - + - + -
                                  StkFloat StkFrames::operator[] StkFloat StkFrames::operator[] size_t  n  )  const [inline] const
                                  - +
                                  +The index n must be between 0 and size less one. No range checking is performed unless _STK_DEBUG_ is defined.
                                    @@ -124,50 +140,155 @@ Definition at line 194 of fil

                                  -Subscript operator which returns the value at element n of self. +Subscript operator that returns the value at element n of self.

                                  -The index n must be between 0 and size less one. No range checking is performed. -

                                  -Definition at line 201 of file Stk.h. -

                                  -

                                  00201 { return data_[n]; };
                                  -
                                  -

                                  - +

                                  +

                                  - + - - + + - - + + - + - - - - - - - + -
                                  void StkFrames::resize StkFloat& StkFrames::operator() unsigned int  nFrames, size_t  frame,
                                  unsigned int  nChannels = 1, channel
                                  StkFloat  value = 0.0
                                  - +
                                  + + + + +
                                  +   + + +

                                  +Channel / frame subscript operator that returns a reference. +

                                  +The result can be used as an lvalue. This reference is valid until the resize function is called or the array is destroyed. The frame index must be between 0 and frames() - 1. The channel index must be between 0 and channels() - 1. No range checking is performed unless _STK_DEBUG_ is defined.

                                  +

                                  + + + + +
                                  + + + + + + + + + + + + + + + + + + +
                                  StkFloat StkFrames::operator() size_t  frame,
                                  unsigned int  channel
                                  const
                                  +
                                  + + + + + +
                                  +   + + +

                                  +Channel / frame subscript operator that returns a value. +

                                  +The frame index must be between 0 and frames() - 1. The channel index must be between 0 and channels() - 1. No range checking is performed unless _STK_DEBUG_ is defined.

                                  +

                                  + + + + +
                                  + + + + + + + + + + + + + + + + + + +
                                  StkFloat StkFrames::interpolate StkFloat  frame,
                                  unsigned int  channel = 0
                                  const
                                  +
                                  + + + + + +
                                  +   + + +

                                  +Return an interpolated value at the fractional frame index and channel. +

                                  +This function performs linear interpolation. The frame index must be between 0.0 and frames() - 1. The channel index must be between 0 and channels() - 1. No range checking is performed unless _STK_DEBUG_ is defined.

                                  +

                                  + + + + +
                                  + + + + + + + + + + + + + + + + + + +
                                  void StkFrames::resize size_t  nFrames,
                                  unsigned int  nChannels = 1
                                  +
                                  + +Changes the size of self based on the number of frames and channels. No element assignment is performed. No memory deallocation occurs if the new size is smaller than the previous size. Further, no new memory is allocated when the new size is smaller or equal to a previously allocated size. + +
                                    @@ -177,7 +298,142 @@ Definition at line 201 of fil

                                  Resize self to represent the specified number of channels and frames.

                                  -Changes the size of self based on the number of frames and channels, and assigns value to every element.

                                  +

                                  + + + + +
                                  + + + + + + + + + + + + + + + + + + + + + + + + +
                                  void StkFrames::resize size_t  nFrames,
                                  unsigned int  nChannels,
                                  StkFloat  value
                                  +
                                  + + + + + +
                                  +   + + +

                                  +Resize self to represent the specified number of channels and frames and perform element initialization. +

                                  +Changes the size of self based on the number of frames and channels, and assigns value to every element. No memory deallocation occurs if the new size is smaller than the previous size. Further, no new memory is allocated when the new size is smaller or equal to a previously allocated size.

                                  +

                                  + + + + +
                                  + + + + + + + + + +
                                  void StkFrames::setDataRate StkFloat  rate  )  [inline]
                                  +
                                  + + + + + +
                                  +   + + +

                                  +Set the sample rate associated with the StkFrames data. +

                                  +By default, this value is set equal to the current STK sample rate at the time of instantiation.

                                  +

                                  + + + + +
                                  + + + + + + + + + +
                                  StkFloat StkFrames::dataRate void   )  const [inline]
                                  +
                                  + + + + + +
                                  +   + + +

                                  +Return the sample rate associated with the StkFrames data. +

                                  +By default, this value is set equal to the current STK sample rate at the time of instantiation.

                                  +

                                  + + + + +
                                  + + + + + + + + + +
                                  void StkFrames::setInterleaved bool  isInterleaved  )  [inline]
                                  +
                                  + + + +
                                  +   + + +

                                  +Set the flag to indicate whether the internal data is in interleaved (true) or non-interleaved (false) format. +

                                  +Note that this function does not modify the internal data order with respect to the argument value. It simply changes the indicator flag value.


                                  The documentation for this class was generated from the following file:
                                    @@ -186,7 +442,7 @@ Changes the size of self based on the number of frames and channels, and assigns - +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    diff --git a/doc/html/classStk__inherit__graph.map b/doc/html/classStk__inherit__graph.map new file mode 100644 index 0000000..b3d6d33 --- /dev/null +++ b/doc/html/classStk__inherit__graph.map @@ -0,0 +1,19 @@ +base referer +rect $classEffect.html 123,5 168,27 +rect $classFilter.html 125,51 165,72 +rect $classFunction.html 115,96 176,117 +rect $classGenerator.html 111,141 180,163 +rect $classInstrmnt.html 117,187 173,208 +rect $classMessager.html 112,232 179,253 +rect $classMidiFileIn.html 113,277 177,299 +rect $classMutex.html 123,323 168,344 +rect $classPhonemes.html 109,368 181,389 +rect $classRtDuplex.html 113,413 177,435 +rect $classSkini.html 125,459 165,480 +rect $classSocket.html 119,504 172,525 +rect $classSphere.html 119,549 172,571 +rect $classThread.html 119,595 172,616 +rect $classVector3D.html 111,640 180,661 +rect $classVoicer.html 119,685 172,707 +rect $classWvIn.html 125,731 165,752 +rect $classWvOut.html 119,776 172,797 diff --git a/doc/html/classStk__inherit__graph.md5 b/doc/html/classStk__inherit__graph.md5 new file mode 100644 index 0000000..b660351 --- /dev/null +++ b/doc/html/classStk__inherit__graph.md5 @@ -0,0 +1 @@ +405098fa335c7423a50b8bafe49bed18 \ No newline at end of file diff --git a/doc/html/classStk__inherit__graph.png b/doc/html/classStk__inherit__graph.png new file mode 100644 index 0000000..7308da4 Binary files /dev/null and b/doc/html/classStk__inherit__graph.png differ diff --git a/doc/html/classSubNoise-members.html b/doc/html/classSubNoise-members.html index 20505a3..d727c4c 100644 --- a/doc/html/classSubNoise-members.html +++ b/doc/html/classSubNoise-members.html @@ -8,21 +8,23 @@    

                                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                    - -

                                    SubNoise Member List

                                    This is the complete list of members for SubNoise, including all inherited members. - - + +

                                    SubNoise Member List

                                    This is the complete list of members for SubNoise, including all inherited members.

                                    Generator()Generator
                                    handleError(const char *message, StkError::Type type)Stk [static]
                                    + + - + + + @@ -32,14 +34,13 @@ - + - - - - + + + @@ -47,7 +48,7 @@
                                    Generator(void)Generator
                                    handleError(const char *message, StkError::Type type)Stk [static]
                                    handleError(std::string message, StkError::Type type)Stk [static]
                                    handleError(StkError::Type type)Stk [protected]
                                    lastOut() const Generator [inline, virtual]
                                    lastOut(void) const Generator [inline, virtual]
                                    Noise()Noise
                                    Noise(unsigned int seed)Noise
                                    printErrors(bool status)Stk [inline, static]
                                    rawwavePath(void)Stk [inline, static]
                                    sampleRate(void)Stk [inline, static]
                                    setRate(int subRate)SubNoise
                                    setRawwavePath(std::string path)Stk [static]
                                    setSampleRate(StkFloat rate)Stk [inline, static]
                                    setSeed(unsigned int seed=0)Noise
                                    showWarnings(bool status)Stk [inline, static]
                                    sleep(unsigned long milliseconds)Stk [static]
                                    Stk(void)Stk [protected]
                                    STK_FLOAT32Stk [static]
                                    STK_SINT32Stk [static]
                                    STK_SINT8Stk [static]
                                    SubNoise(int subRate=16)SubNoise
                                    subRate(void) const SubNoise
                                    subRate(void) const SubNoise [inline]
                                    swap16(unsigned char *ptr)Stk [static]
                                    swap32(unsigned char *ptr)Stk [static]
                                    swap64(unsigned char *ptr)Stk [static]
                                    tick()SubNoise [virtual]
                                    tick(StkFloat *vector, unsigned int vectorSize)SubNoise [virtual]
                                    tick(StkFrames &frames, unsigned int channel=1)SubNoise [virtual]
                                    ~Generator()Generator [virtual]
                                    tick(void)Generator
                                    tick(StkFrames &frames, unsigned int channel=0)Generator
                                    ~Generator(void)Generator [virtual]
                                    ~Noise()Noise [virtual]
                                    ~Stk(void)Stk [protected, virtual]
                                    ~SubNoise()SubNoise
                                    - +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    diff --git a/doc/html/classSubNoise.html b/doc/html/classSubNoise.html index 4914c03..72d8bfd 100644 --- a/doc/html/classSubNoise.html +++ b/doc/html/classSubNoise.html @@ -8,8 +8,8 @@    

                                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                    - -

                                    SubNoise Class Reference

                                    #include <SubNoise.h> + +

                                    SubNoise Class Reference

                                    #include <SubNoise.h>

                                    Inheritance diagram for SubNoise:

                                    @@ -22,83 +22,27 @@ STK sub-sampled noise generator.

                                    Generates a new random number every "rate" ticks using the C rand() function. The quality of the rand() function varies from one OS to another.

                                    -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                    - -

                                    -Definition at line 18 of file SubNoise.h. +
                                    - - + + - - + + - - + + - - + + - - - - - - - - - - -

                                    Public Member Functions

                                    SubNoise (int subRate=16)

                                    Public Member Functions

                                    SubNoise (int subRate=16)
                                     Default constructor sets sub-sample rate to 16.

                                    ~SubNoise ()
                                     Default constructor sets sub-sample rate to 16.
                                    ~SubNoise ()
                                     Class destructor.

                                    -int subRate (void) const
                                     Class destructor.
                                    +int subRate (void) const
                                     Return the current sub-sampling rate.

                                    -void setRate (int subRate)
                                     Return the current sub-sampling rate.
                                    +void setRate (int subRate)
                                     Set the sub-sampling rate.

                                    -StkFloat tick ()
                                     Return a sub-sampled random number between -1.0 and 1.0.

                                    -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                     Compute vectorSize outputs and return them in vector.

                                    StkFramestick (StkFrames &frames, unsigned int channel=1)
                                     Fill a channel of the StkFrames object with computed outputs.

                                    -


                                    Member Function Documentation

                                    -

                                    - - - - -
                                    - - - - - - - - - - - - - - - - - - - -
                                    StkFrames& SubNoise::tick StkFrames frames,
                                    unsigned int  channel = 1
                                    [virtual]
                                    -
                                    - - - - - +
                                    -   - - -

                                    -Fill a channel of the StkFrames object with computed outputs. -

                                    -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                    -Reimplemented from Noise.

                                     Set the sub-sampling rate.


                                    The documentation for this class was generated from the following file: @@ -106,7 +50,7 @@ Reimplemented from Noise. - +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    diff --git a/doc/html/classSubNoise__coll__graph.map b/doc/html/classSubNoise__coll__graph.map new file mode 100644 index 0000000..115a600 --- /dev/null +++ b/doc/html/classSubNoise__coll__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classNoise.html 20,155 63,176 +rect $classGenerator.html 7,86 76,107 +rect $classStk.html 23,16 60,38 diff --git a/doc/html/classSubNoise__coll__graph.md5 b/doc/html/classSubNoise__coll__graph.md5 new file mode 100644 index 0000000..4e91e47 --- /dev/null +++ b/doc/html/classSubNoise__coll__graph.md5 @@ -0,0 +1 @@ +2d3b63796fe1f8b74f9c4e13ac5b3315 \ No newline at end of file diff --git a/doc/html/classSubNoise__coll__graph.png b/doc/html/classSubNoise__coll__graph.png new file mode 100644 index 0000000..ca085fa Binary files /dev/null and b/doc/html/classSubNoise__coll__graph.png differ diff --git a/doc/html/classSubNoise__inherit__graph.map b/doc/html/classSubNoise__inherit__graph.map new file mode 100644 index 0000000..115a600 --- /dev/null +++ b/doc/html/classSubNoise__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classNoise.html 20,155 63,176 +rect $classGenerator.html 7,86 76,107 +rect $classStk.html 23,16 60,38 diff --git a/doc/html/classSubNoise__inherit__graph.md5 b/doc/html/classSubNoise__inherit__graph.md5 new file mode 100644 index 0000000..55fb525 --- /dev/null +++ b/doc/html/classSubNoise__inherit__graph.md5 @@ -0,0 +1 @@ +21f3b1001c94b8d32c29333a3207baea \ No newline at end of file diff --git a/doc/html/classSubNoise__inherit__graph.png b/doc/html/classSubNoise__inherit__graph.png new file mode 100644 index 0000000..ca085fa Binary files /dev/null and b/doc/html/classSubNoise__inherit__graph.png differ diff --git a/doc/html/classTable.png b/doc/html/classTable.png index 0b7bfef..8d24974 100644 Binary files a/doc/html/classTable.png and b/doc/html/classTable.png differ diff --git a/doc/html/classTable__coll__graph.map b/doc/html/classTable__coll__graph.map new file mode 100644 index 0000000..56d7d60 --- /dev/null +++ b/doc/html/classTable__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFunction.html 7,85 68,106 +rect $classStk.html 19,16 56,37 diff --git a/doc/html/classTable__coll__graph.md5 b/doc/html/classTable__coll__graph.md5 new file mode 100644 index 0000000..48e1f8b --- /dev/null +++ b/doc/html/classTable__coll__graph.md5 @@ -0,0 +1 @@ +655ec2a9346fc9ec331b6b7637a53ff2 \ No newline at end of file diff --git a/doc/html/classTable__coll__graph.png b/doc/html/classTable__coll__graph.png new file mode 100644 index 0000000..86b60be Binary files /dev/null and b/doc/html/classTable__coll__graph.png differ diff --git a/doc/html/classTable__inherit__graph.map b/doc/html/classTable__inherit__graph.map new file mode 100644 index 0000000..56d7d60 --- /dev/null +++ b/doc/html/classTable__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFunction.html 7,85 68,106 +rect $classStk.html 19,16 56,37 diff --git a/doc/html/classTable__inherit__graph.md5 b/doc/html/classTable__inherit__graph.md5 new file mode 100644 index 0000000..daa2312 --- /dev/null +++ b/doc/html/classTable__inherit__graph.md5 @@ -0,0 +1 @@ +5df14d39ea6f03ccec4f9328c26f3acf \ No newline at end of file diff --git a/doc/html/classTable__inherit__graph.png b/doc/html/classTable__inherit__graph.png new file mode 100644 index 0000000..86b60be Binary files /dev/null and b/doc/html/classTable__inherit__graph.png differ diff --git a/doc/html/classTcpClient-members.html b/doc/html/classTcpClient-members.html new file mode 100644 index 0000000..a258ab4 --- /dev/null +++ b/doc/html/classTcpClient-members.html @@ -0,0 +1,56 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                    +    

                                    +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                    +
                                    + +

                                    TcpClient Member List

                                    This is the complete list of members for TcpClient, including all inherited members.

                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                    close(int socket)Socket [static]
                                    connect(int port, std::string hostname="localhost")TcpClient
                                    handleError(const char *message, StkError::Type type)Stk [static]
                                    handleError(std::string message, StkError::Type type)Stk [static]
                                    handleError(StkError::Type type)Stk [protected]
                                    id(void) const Socket
                                    isValid(int socket)Socket [static]
                                    port(void) const Socket
                                    printErrors(bool status)Stk [inline, static]
                                    rawwavePath(void)Stk [inline, static]
                                    readBuffer(void *buffer, long bufferSize, int flags=0)TcpClient [virtual]
                                    Socket::readBuffer(int socket, void *buffer, long bufferSize, int flags)Socket [static]
                                    sampleRate(void)Stk [inline, static]
                                    setBlocking(int socket, bool enable)Socket [static]
                                    setRawwavePath(std::string path)Stk [static]
                                    setSampleRate(StkFloat rate)Stk [inline, static]
                                    showWarnings(bool status)Stk [inline, static]
                                    sleep(unsigned long milliseconds)Stk [static]
                                    Socket()Socket
                                    Stk(void)Stk [protected]
                                    STK_FLOAT32Stk [static]
                                    STK_FLOAT64Stk [static]
                                    STK_SINT16Stk [static]
                                    STK_SINT24Stk [static]
                                    STK_SINT32Stk [static]
                                    STK_SINT8Stk [static]
                                    swap16(unsigned char *ptr)Stk [static]
                                    swap32(unsigned char *ptr)Stk [static]
                                    swap64(unsigned char *ptr)Stk [static]
                                    TcpClient(int port, std::string hostname="localhost")TcpClient
                                    writeBuffer(const void *buffer, long bufferSize, int flags=0)TcpClient [virtual]
                                    Socket::writeBuffer(int socket, const void *buffer, long bufferSize, int flags)Socket [static]
                                    ~Socket()Socket [virtual]
                                    ~Stk(void)Stk [protected, virtual]
                                    ~TcpClient()TcpClient


                                    + + + + +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    + + + diff --git a/doc/html/classTcpClient.html b/doc/html/classTcpClient.html new file mode 100644 index 0000000..8775ac2 --- /dev/null +++ b/doc/html/classTcpClient.html @@ -0,0 +1,140 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                    +    

                                    +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                    +
                                    + +

                                    TcpClient Class Reference

                                    #include <TcpClient.h> +

                                    +

                                    Inheritance diagram for TcpClient: +

                                    + +Socket +Stk + +List of all members.

                                    Detailed Description

                                    +STK TCP socket client class. +

                                    +This class provides a uniform cross-platform TCP socket client interface. Methods are provided for reading or writing data buffers to/from connections.

                                    +TCP sockets are reliable and connection-oriented. A TCP socket client must be connected to a TCP server before data can be sent or received. Data delivery is guaranteed in order, without loss, error, or duplication. That said, TCP transmissions tend to be slower than those using the UDP protocol and data sent with multiple write() calls can be arbitrarily combined by the underlying system.

                                    +The user is responsible for checking the values returned by the read/write methods. Values less than or equal to zero indicate a closed or lost connection or the occurence of an error.

                                    +by Perry R. Cook and Gary P. Scavone, 1995 - 2005. +

                                    + + + + + + + + + + + + + + + + + + +

                                    Public Member Functions

                                     TcpClient (int port, std::string hostname="localhost")
                                     Default class constructor creates a socket client connection to the specified host and port.
                                    ~TcpClient ()
                                     The class destructor closes the socket instance, breaking any existing connections.
                                    int connect (int port, std::string hostname="localhost")
                                     Connect the socket client to the specified host and port and returns the resulting socket descriptor.
                                    +int writeBuffer (const void *buffer, long bufferSize, int flags=0)
                                     Write a buffer over the socket connection. Returns the number of bytes written or -1 if an error occurs.
                                    +int readBuffer (void *buffer, long bufferSize, int flags=0)
                                     Read a buffer from the socket connection, up to length bufferSize. Returns the number of bytes read or -1 if an error occurs.
                                    +


                                    Constructor & Destructor Documentation

                                    +

                                    + + + + +
                                    + + + + + + + + + + + + + + + + + + +
                                    TcpClient::TcpClient int  port,
                                    std::string  hostname = "localhost"
                                    +
                                    + + + + + +
                                    +   + + +

                                    +Default class constructor creates a socket client connection to the specified host and port. +

                                    +An StkError will be thrown if a socket error occurs during instantiation.

                                    +


                                    Member Function Documentation

                                    +

                                    + + + + +
                                    + + + + + + + + + + + + + + + + + + +
                                    int TcpClient::connect int  port,
                                    std::string  hostname = "localhost"
                                    +
                                    + + + + + +
                                    +   + + +

                                    +Connect the socket client to the specified host and port and returns the resulting socket descriptor. +

                                    +If the socket client is already connected, that connection is terminated and a new connection is attempted. An StkError will be thrown if a socket error occurs.

                                    +


                                    The documentation for this class was generated from the following file: +
                                    + + + + +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    + + + diff --git a/doc/html/classTcpClient.png b/doc/html/classTcpClient.png new file mode 100644 index 0000000..e0cc9dc Binary files /dev/null and b/doc/html/classTcpClient.png differ diff --git a/doc/html/classTcpServer-members.html b/doc/html/classTcpServer-members.html new file mode 100644 index 0000000..16867c5 --- /dev/null +++ b/doc/html/classTcpServer-members.html @@ -0,0 +1,56 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                    +    

                                    +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                    +
                                    + +

                                    TcpServer Member List

                                    This is the complete list of members for TcpServer, including all inherited members.

                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                    accept(void)TcpServer
                                    close(int socket)Socket [static]
                                    handleError(const char *message, StkError::Type type)Stk [static]
                                    handleError(std::string message, StkError::Type type)Stk [static]
                                    handleError(StkError::Type type)Stk [protected]
                                    id(void) const Socket
                                    isValid(int socket)Socket [static]
                                    port(void) const Socket
                                    printErrors(bool status)Stk [inline, static]
                                    rawwavePath(void)Stk [inline, static]
                                    readBuffer(void *buffer, long bufferSize, int flags=0)TcpServer [virtual]
                                    Socket::readBuffer(int socket, void *buffer, long bufferSize, int flags)Socket [static]
                                    sampleRate(void)Stk [inline, static]
                                    setBlocking(int socket, bool enable)Socket [static]
                                    setRawwavePath(std::string path)Stk [static]
                                    setSampleRate(StkFloat rate)Stk [inline, static]
                                    showWarnings(bool status)Stk [inline, static]
                                    sleep(unsigned long milliseconds)Stk [static]
                                    Socket()Socket
                                    Stk(void)Stk [protected]
                                    STK_FLOAT32Stk [static]
                                    STK_FLOAT64Stk [static]
                                    STK_SINT16Stk [static]
                                    STK_SINT24Stk [static]
                                    STK_SINT32Stk [static]
                                    STK_SINT8Stk [static]
                                    swap16(unsigned char *ptr)Stk [static]
                                    swap32(unsigned char *ptr)Stk [static]
                                    swap64(unsigned char *ptr)Stk [static]
                                    TcpServer(int port=2006)TcpServer
                                    writeBuffer(const void *buffer, long bufferSize, int flags=0)TcpServer [virtual]
                                    Socket::writeBuffer(int socket, const void *buffer, long bufferSize, int flags)Socket [static]
                                    ~Socket()Socket [virtual]
                                    ~Stk(void)Stk [protected, virtual]
                                    ~TcpServer()TcpServer


                                    + + + + +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    + + + diff --git a/doc/html/classTcpServer.html b/doc/html/classTcpServer.html new file mode 100644 index 0000000..178f559 --- /dev/null +++ b/doc/html/classTcpServer.html @@ -0,0 +1,122 @@ + + +The Synthesis ToolKit in C++ (STK) + + + +
                                    +    

                                    +Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial

                                    +
                                    + +

                                    TcpServer Class Reference

                                    #include <TcpServer.h> +

                                    +

                                    Inheritance diagram for TcpServer: +

                                    + +Socket +Stk + +List of all members.

                                    Detailed Description

                                    +STK TCP socket server class. +

                                    +This class provides a uniform cross-platform TCP socket server interface. Methods are provided for reading or writing data buffers to/from connections.

                                    +TCP sockets are reliable and connection-oriented. A TCP socket server must accept a connection from a TCP client before data can be sent or received. Data delivery is guaranteed in order, without loss, error, or duplication. That said, TCP transmissions tend to be slower than those using the UDP protocol and data sent with multiple write() calls can be arbitrarily combined by the underlying system.

                                    +The user is responsible for checking the values returned by the read/write methods. Values less than or equal to zero indicate a closed or lost connection or the occurence of an error.

                                    +by Perry R. Cook and Gary P. Scavone, 1995 - 2005. +

                                    + + + + + + + + + + + + + + + + + + +

                                    Public Member Functions

                                     TcpServer (int port=2006)
                                     Default constructor creates a local socket server on port 2006 (or the specified port number).
                                    ~TcpServer ()
                                     The class destructor closes the socket instance, breaking any existing connections.
                                    int accept (void)
                                     Extract the first pending connection request from the queue and create a new connection, returning the descriptor for the accepted socket.
                                    +int writeBuffer (const void *buffer, long bufferSize, int flags=0)
                                     Write a buffer over the socket connection. Returns the number of bytes written or -1 if an error occurs.
                                    +int readBuffer (void *buffer, long bufferSize, int flags=0)
                                     Read a buffer from the socket connection, up to length bufferSize. Returns the number of bytes read or -1 if an error occurs.
                                    +


                                    Constructor & Destructor Documentation

                                    +

                                    + + + + +
                                    + + + + + + + + + +
                                    TcpServer::TcpServer int  port = 2006  ) 
                                    +
                                    + + + + + +
                                    +   + + +

                                    +Default constructor creates a local socket server on port 2006 (or the specified port number). +

                                    +An StkError will be thrown if a socket error occurs during instantiation.

                                    +


                                    Member Function Documentation

                                    +

                                    + + + + +
                                    + + + + + + + + + +
                                    int TcpServer::accept void   ) 
                                    +
                                    + + + + + +
                                    +   + + +

                                    +Extract the first pending connection request from the queue and create a new connection, returning the descriptor for the accepted socket. +

                                    +If no connection requests are pending and the socket has not been set non-blocking, this function will block until a connection is present. If an error occurs, -1 is returned.

                                    +


                                    The documentation for this class was generated from the following file: +
                                    + + + + +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    + + + diff --git a/doc/html/classTcpServer.png b/doc/html/classTcpServer.png new file mode 100644 index 0000000..497eef4 Binary files /dev/null and b/doc/html/classTcpServer.png differ diff --git a/doc/html/classTcpWvIn.png b/doc/html/classTcpWvIn.png index 36140b7..ed4442c 100644 Binary files a/doc/html/classTcpWvIn.png and b/doc/html/classTcpWvIn.png differ diff --git a/doc/html/classTcpWvIn__coll__graph.map b/doc/html/classTcpWvIn__coll__graph.map new file mode 100644 index 0000000..b427f34 --- /dev/null +++ b/doc/html/classTcpWvIn__coll__graph.map @@ -0,0 +1,6 @@ +base referer +rect $classWvIn.html 8,88 48,109 +rect $classStk.html 121,16 159,37 +rect $classSocket.html 76,88 129,109 +rect $classMutex.html 156,88 201,109 +rect $classThread.html 241,88 295,109 diff --git a/doc/html/classTcpWvIn__coll__graph.md5 b/doc/html/classTcpWvIn__coll__graph.md5 new file mode 100644 index 0000000..96ac590 --- /dev/null +++ b/doc/html/classTcpWvIn__coll__graph.md5 @@ -0,0 +1 @@ +233046b076b8d1d4e335270638b8af90 \ No newline at end of file diff --git a/doc/html/classTcpWvIn__coll__graph.png b/doc/html/classTcpWvIn__coll__graph.png new file mode 100644 index 0000000..cc66aa5 Binary files /dev/null and b/doc/html/classTcpWvIn__coll__graph.png differ diff --git a/doc/html/classTcpWvIn__inherit__graph.map b/doc/html/classTcpWvIn__inherit__graph.map new file mode 100644 index 0000000..8e30618 --- /dev/null +++ b/doc/html/classTcpWvIn__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classWvIn.html 19,85 59,106 +rect $classStk.html 20,16 57,37 diff --git a/doc/html/classTcpWvIn__inherit__graph.md5 b/doc/html/classTcpWvIn__inherit__graph.md5 new file mode 100644 index 0000000..9d03228 --- /dev/null +++ b/doc/html/classTcpWvIn__inherit__graph.md5 @@ -0,0 +1 @@ +82cf5ab3904f8cf486c60a7cfcabc8fe \ No newline at end of file diff --git a/doc/html/classTcpWvIn__inherit__graph.png b/doc/html/classTcpWvIn__inherit__graph.png new file mode 100644 index 0000000..ae4567c Binary files /dev/null and b/doc/html/classTcpWvIn__inherit__graph.png differ diff --git a/doc/html/classTcpWvOut.png b/doc/html/classTcpWvOut.png index d394ce3..e690b16 100644 Binary files a/doc/html/classTcpWvOut.png and b/doc/html/classTcpWvOut.png differ diff --git a/doc/html/classTcpWvOut__coll__graph.map b/doc/html/classTcpWvOut__coll__graph.map new file mode 100644 index 0000000..44826c2 --- /dev/null +++ b/doc/html/classTcpWvOut__coll__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classWvOut.html 7,88 60,109 +rect $classStk.html 56,16 93,37 +rect $classSocket.html 84,88 137,109 diff --git a/doc/html/classTcpWvOut__coll__graph.md5 b/doc/html/classTcpWvOut__coll__graph.md5 new file mode 100644 index 0000000..b2f5954 --- /dev/null +++ b/doc/html/classTcpWvOut__coll__graph.md5 @@ -0,0 +1 @@ +8dca347a216828b696ac292ac8c0ddbe \ No newline at end of file diff --git a/doc/html/classTcpWvOut__coll__graph.png b/doc/html/classTcpWvOut__coll__graph.png new file mode 100644 index 0000000..e7e94b8 Binary files /dev/null and b/doc/html/classTcpWvOut__coll__graph.png differ diff --git a/doc/html/classTcpWvOut__inherit__graph.map b/doc/html/classTcpWvOut__inherit__graph.map new file mode 100644 index 0000000..3328e09 --- /dev/null +++ b/doc/html/classTcpWvOut__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classWvOut.html 19,85 72,106 +rect $classStk.html 27,16 64,37 diff --git a/doc/html/classTcpWvOut__inherit__graph.md5 b/doc/html/classTcpWvOut__inherit__graph.md5 new file mode 100644 index 0000000..c3a4f0e --- /dev/null +++ b/doc/html/classTcpWvOut__inherit__graph.md5 @@ -0,0 +1 @@ +3f1353d750d5509892ec451e314bae9d \ No newline at end of file diff --git a/doc/html/classTcpWvOut__inherit__graph.png b/doc/html/classTcpWvOut__inherit__graph.png new file mode 100644 index 0000000..caca5c2 Binary files /dev/null and b/doc/html/classTcpWvOut__inherit__graph.png differ diff --git a/doc/html/classThread-members.html b/doc/html/classThread-members.html index 3852286..fd917b6 100644 --- a/doc/html/classThread-members.html +++ b/doc/html/classThread-members.html @@ -8,16 +8,18 @@    

                                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                    - -

                                    Thread Member List

                                    This is the complete list of members for Thread, including all inherited members. + +

                                    Thread Member List

                                    This is the complete list of members for Thread, including all inherited members.

                                    - + + + @@ -39,7 +41,7 @@
                                    cancel(void)Thread
                                    handleError(const char *message, StkError::Type type)Stk [static]
                                    handleError(const char *message, StkError::Type type)Stk [static]
                                    handleError(std::string message, StkError::Type type)Stk [static]
                                    handleError(StkError::Type type)Stk [protected]
                                    printErrors(bool status)Stk [inline, static]
                                    rawwavePath(void)Stk [inline, static]
                                    sampleRate(void)Stk [inline, static]
                                    setRawwavePath(std::string path)Stk [static]
                                    setSampleRate(StkFloat rate)Stk [inline, static]
                                    showWarnings(bool status)Stk [inline, static]
                                    sleep(unsigned long milliseconds)Stk [static]
                                    start(THREAD_FUNCTION routine, void *ptr=NULL)Thread
                                    Stk(void)Stk [protected]
                                    - +
                                    The Synthesis ToolKit in C++ (STK)
                                    ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                    diff --git a/doc/html/classThread.html b/doc/html/classThread.html index 6968795..c55e777 100644 --- a/doc/html/classThread.html +++ b/doc/html/classThread.html @@ -8,8 +8,8 @@    

                                    Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                    - -

                                    Thread Class Reference

                                    #include <Thread.h> + +

                                    Thread Class Reference

                                    #include <Thread.h>

                                    Inheritance diagram for Thread:

                                    @@ -23,63 +23,60 @@ This class provides a uniform interface for cross-platform threads. On unix syst Each instance of the Thread class can be used to control a single thread process. Routines are provided to signal cancelation and/or joining with a thread, though it is not possible for this class to know the running status of a thread once it is started.

                                    For cross-platform compatability, thread functions should be declared as follows:

                                    THREAD_RETURN THREAD_TYPE thread_function(void *ptr)

                                    -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                    - -

                                    -Definition at line 47 of file Thread.h. +
                                    - - + + - - + + - - + + - - + + - - + + - - + + - +

                                    Public Member Functions

                                    Thread ()

                                    Public Member Functions

                                    Thread ()
                                     Default constructor.

                                    ~Thread ()
                                     Default constructor.
                                    ~Thread ()
                                     The class destructor does not attempt to cancel or join a thread.

                                    bool start (THREAD_FUNCTION routine, void *ptr=NULL)
                                     The class destructor does not attempt to cancel or join a thread.
                                    bool start (THREAD_FUNCTION routine, void *ptr=NULL)
                                     Begin execution of the thread routine. Upon success, true is returned.

                                    bool cancel (void)
                                     Begin execution of the thread routine. Upon success, true is returned.
                                    bool cancel (void)
                                     Signal cancellation of a thread routine, returning true on success.

                                    bool wait (void)
                                     Signal cancellation of a thread routine, returning true on success.
                                    bool wait (void)
                                     Block the calling routine indefinitely until the thread terminates.

                                    void testCancel (void)
                                     Block the calling routine indefinitely until the thread terminates.
                                    void testCancel (void)
                                     Create a cancellation point within a thread routine.

                                     Create a cancellation point within a thread routine.


                                    Member Function Documentation

                                    -

                                    - +

                                    +

                                    - + - - + + - + - + -
                                    bool Thread::start bool Thread::start THREAD_FUNCTION  routine,
                                    void *  ptr = NULL ptr = NULL
                                    - +
                                    +A data pointer can be supplied to the thread routine via the optional ptr argument. If the thread cannot be created, the return value is false.
                                      @@ -89,28 +86,27 @@ Definition at line 47 of f

                                    Begin execution of the thread routine. Upon success, true is returned.

                                    -A data pointer can be supplied to the thread routine via the optional ptr argument. If the thread cannot be created, the return value is false.

                                    -

                                    - +

                                    +

                                    - + -
                                    bool Thread::cancel bool Thread::cancel void   ) 
                                    - +
                                    +This function only signals thread cancellation. It does not wait to verify actual routine termination. A true return value only signifies that the cancellation signal was properly executed, not thread cancellation. A thread routine may need to make use of the testCancel() function to specify a cancellation point.
                                      @@ -120,28 +116,27 @@ A data pointer can be supplied to the thread routine via the optional ptr Signal cancellation of a thread routine, returning true on success.

                                    -This function only signals thread cancellation. It does not wait to verify actual routine termination. A true return value only signifies that the cancellation signal was properly executed, not thread cancellation. A thread routine may need to make use of the testCancel() function to specify a cancellation point.

                                    -

                                    - +

                                    +

                                    - + -
                                    bool Thread::wait bool Thread::wait void   ) 
                                    - +
                                    +This function suspends execution of the calling routine until the thread has terminated. It will return immediately if the thread was already terminated. A true return value signifies successful termination. A false return value indicates a problem with the wait call.
                                      @@ -151,28 +146,27 @@ This function only signals thread cancellation. It does not wait to verify actua

                                    Block the calling routine indefinitely until the thread terminates.

                                    -This function suspends execution of the calling routine until the thread has terminated. It will return immediately if the thread was already terminated. A true return value signifies successful termination. A false return value indicates a problem with the wait call.

                                    -

                                    - +

                                    +

                                    - + -
                                    void Thread::testCancel void Thread::testCancel void   ) 
                                    - +
                                    +This function call checks for thread cancellation, allowing the thread to be terminated if a cancellation request was previously signaled.
                                      @@ -182,7 +176,7 @@ This function suspends execution of the calling routine until the thread has ter

                                    Create a cancellation point within a thread routine.

                                    -This function call checks for thread cancellation, allowing the thread to be terminated if a cancellation request was previously signaled.


                                    The documentation for this class was generated from the following file:
                                      @@ -191,7 +185,7 @@ This function call checks for thread cancellation, allowing the thread to be ter - +
                                      The Synthesis ToolKit in C++ (STK)
                                      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      diff --git a/doc/html/classThread__coll__graph.map b/doc/html/classThread__coll__graph.map new file mode 100644 index 0000000..62122a1 --- /dev/null +++ b/doc/html/classThread__coll__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 15,16 52,37 diff --git a/doc/html/classThread__coll__graph.md5 b/doc/html/classThread__coll__graph.md5 new file mode 100644 index 0000000..624d084 --- /dev/null +++ b/doc/html/classThread__coll__graph.md5 @@ -0,0 +1 @@ +b25abdfd9db177b1b498d458e718cc8a \ No newline at end of file diff --git a/doc/html/classThread__coll__graph.png b/doc/html/classThread__coll__graph.png new file mode 100644 index 0000000..8b3a9e9 Binary files /dev/null and b/doc/html/classThread__coll__graph.png differ diff --git a/doc/html/classThread__inherit__graph.map b/doc/html/classThread__inherit__graph.map new file mode 100644 index 0000000..62122a1 --- /dev/null +++ b/doc/html/classThread__inherit__graph.map @@ -0,0 +1,2 @@ +base referer +rect $classStk.html 15,16 52,37 diff --git a/doc/html/classThread__inherit__graph.md5 b/doc/html/classThread__inherit__graph.md5 new file mode 100644 index 0000000..5985833 --- /dev/null +++ b/doc/html/classThread__inherit__graph.md5 @@ -0,0 +1 @@ +bca2bc3ff5f0767543e0593e8a7ea62a \ No newline at end of file diff --git a/doc/html/classThread__inherit__graph.png b/doc/html/classThread__inherit__graph.png new file mode 100644 index 0000000..8b3a9e9 Binary files /dev/null and b/doc/html/classThread__inherit__graph.png differ diff --git a/doc/html/classTubeBell-members.html b/doc/html/classTubeBell-members.html index 1b40420..a169436 100644 --- a/doc/html/classTubeBell-members.html +++ b/doc/html/classTubeBell-members.html @@ -8,12 +8,12 @@    

                                      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                      - -

                                      TubeBell Member List

                                      This is the complete list of members for TubeBell, including all inherited members. + +

                                      TubeBell Member List

                                      This is the complete list of members for TubeBell, including all inherited members.

                                      - + - + @@ -22,9 +22,10 @@ - + + @@ -36,6 +37,7 @@ + @@ -47,9 +49,8 @@ - - - + + @@ -59,7 +60,7 @@
                                      clear()FM
                                      controlChange(int number, StkFloat value)FM [virtual]
                                      controlChange(int number, StkFloat value)FM [virtual]
                                      FM(unsigned int operators=4)FM
                                      handleError(const char *message, StkError::Type type)Stk [static]
                                      handleError(const char *message, StkError::Type type)Stk [static]
                                      handleError(std::string message, StkError::Type type)Stk [static]
                                      handleError(StkError::Type type)Stk [protected]
                                      Instrmnt()Instrmnt
                                      lastOut() const Instrmnt
                                      lastOutLeft() const Instrmnt
                                      lastOutRight() const Instrmnt
                                      loadWaves(const char **filenames)FM
                                      loadWaves(const char **filenames)FM
                                      noteOff(StkFloat amplitude)FM [virtual]
                                      noteOn(StkFloat frequency, StkFloat amplitude)TubeBell [virtual]
                                      printErrors(bool status)Stk [inline, static]
                                      rawwavePath(void)Stk [inline, static]
                                      sampleRate(void)Stk [inline, static]
                                      setControl1(StkFloat cVal)FM
                                      setRatio(unsigned int waveIndex, StkFloat ratio)FM
                                      setRawwavePath(std::string path)Stk [static]
                                      setSampleRate(StkFloat rate)Stk [inline, static]
                                      showWarnings(bool status)Stk [inline, static]
                                      sleep(unsigned long milliseconds)Stk [static]
                                      Stk(void)Stk [protected]
                                      STK_FLOAT32Stk [static]
                                      swap16(unsigned char *ptr)Stk [static]
                                      swap32(unsigned char *ptr)Stk [static]
                                      swap64(unsigned char *ptr)Stk [static]
                                      tick()TubeBell [virtual]
                                      tick(StkFloat *vector, unsigned int vectorSize)TubeBell [virtual]
                                      tick(StkFrames &frames, unsigned int channel=1)TubeBell [virtual]
                                      tick(void)Instrmnt
                                      tick(StkFrames &frames, unsigned int channel=0)Instrmnt
                                      TubeBell()TubeBell
                                      ~FM()FM [virtual]
                                      ~Instrmnt()Instrmnt [virtual]
                                      - +
                                      The Synthesis ToolKit in C++ (STK)
                                      ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                      diff --git a/doc/html/classTubeBell.html b/doc/html/classTubeBell.html index fa0e615..ed703b1 100644 --- a/doc/html/classTubeBell.html +++ b/doc/html/classTubeBell.html @@ -8,8 +8,8 @@    

                                      Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                      - -

                                      TubeBell Class Reference

                                      #include <TubeBell.h> + +

                                      TubeBell Class Reference

                                      #include <TubeBell.h>

                                      Inheritance diagram for TubeBell:

                                      @@ -22,7 +22,7 @@ STK tubular bell (orchestral chime) FM synthesis instrument.

                                      This class implements two simple FM Pairs summed together, also referred to as algorithm 5 of the TX81Z.

                                      -

                                          Algorithm 5 is :  4->3--\
                                      +
                                          Algorithm 5 is :  4->3--\
                                                                    + --> Out
                                                             2->1--/
                                       

                                      @@ -30,55 +30,41 @@ Control Change Numbers:

                                      • Modulator Index One = 2
                                      • Crossfade of Outputs = 4
                                      • LFO Speed = 11
                                      • LFO Depth = 1
                                      • ADSR 2 & 4 Target = 128

                                      The basic Chowning/Stanford FM patent expired in 1995, but there exist follow-on patents, mostly assigned to Yamaha. If you are of the type who should worry about this (making money) worry away.

                                      -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                      - -

                                      -Definition at line 38 of file TubeBell.h. +
                                      - - + + - - + + - - + + - - - - - - - - - - +

                                      Public Member Functions

                                       TubeBell ()

                                      Public Member Functions

                                       TubeBell ()
                                       Class constructor.

                                      ~TubeBell ()
                                       Class constructor.
                                      ~TubeBell ()
                                       Class destructor.

                                      -void noteOn (StkFloat frequency, StkFloat amplitude)
                                       Class destructor.
                                      +void noteOn (StkFloat frequency, StkFloat amplitude)
                                       Start a note with the given frequency and amplitude.

                                      -StkFloat tick ()
                                       Compute one output sample.

                                      -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                       Computer vectorSize outputs and return them in vector.

                                      StkFramestick (StkFrames &frames, unsigned int channel=1)
                                       Fill a channel of the StkFrames object with computed outputs.

                                       Start a note with the given frequency and amplitude.


                                      Constructor & Destructor Documentation

                                      -

                                      - +

                                      +

                                      - + -
                                      TubeBell::TubeBell TubeBell::TubeBell  ) 
                                      - +
                                      - -
                                        @@ -88,50 +74,7 @@ StkFloat * StkError will be thrown if the rawwave path is incorrectly set.
                                      -


                                      Member Function Documentation

                                      -

                                      - - - - -
                                      - - - - - - - - - - - - - - - - - - - -
                                      StkFrames& TubeBell::tick StkFrames frames,
                                      unsigned int  channel = 1
                                      [virtual]
                                      -
                                      - - - - +An StkError will be thrown if the rawwave path is incorrectly set.
                                      -   - - -

                                      -Fill a channel of the StkFrames object with computed outputs. -

                                      -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. -

                                      -Implements FM.


                                      The documentation for this class was generated from the following file:
                                        @@ -140,7 +83,7 @@ Implements FM. - +
                                        The Synthesis ToolKit in C++ (STK)
                                        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        diff --git a/doc/html/classTubeBell__coll__graph.map b/doc/html/classTubeBell__coll__graph.map new file mode 100644 index 0000000..2830571 --- /dev/null +++ b/doc/html/classTubeBell__coll__graph.map @@ -0,0 +1,8 @@ +base referer +rect $classFM.html 72,269 109,291 +rect $classInstrmnt.html 7,133 63,155 +rect $classStk.html 85,16 123,37 +rect $classWvIn.html 84,88 124,109 +rect $classFilter.html 156,88 196,109 +rect $classWaveLoop.html 67,179 141,200 +rect $classTwoZero.html 167,179 231,200 diff --git a/doc/html/classTubeBell__coll__graph.md5 b/doc/html/classTubeBell__coll__graph.md5 new file mode 100644 index 0000000..a88fc4f --- /dev/null +++ b/doc/html/classTubeBell__coll__graph.md5 @@ -0,0 +1 @@ +e8c8ad3d55be9256a96f829e95d1ee44 \ No newline at end of file diff --git a/doc/html/classTubeBell__coll__graph.png b/doc/html/classTubeBell__coll__graph.png new file mode 100644 index 0000000..307a6a8 Binary files /dev/null and b/doc/html/classTubeBell__coll__graph.png differ diff --git a/doc/html/classTubeBell__inherit__graph.map b/doc/html/classTubeBell__inherit__graph.map new file mode 100644 index 0000000..f8524da --- /dev/null +++ b/doc/html/classTubeBell__inherit__graph.map @@ -0,0 +1,4 @@ +base referer +rect $classFM.html 20,155 57,176 +rect $classInstrmnt.html 11,86 67,107 +rect $classStk.html 20,16 57,38 diff --git a/doc/html/classTubeBell__inherit__graph.md5 b/doc/html/classTubeBell__inherit__graph.md5 new file mode 100644 index 0000000..b1c25fd --- /dev/null +++ b/doc/html/classTubeBell__inherit__graph.md5 @@ -0,0 +1 @@ +260b514318ebc2f40f4c9503fed13021 \ No newline at end of file diff --git a/doc/html/classTubeBell__inherit__graph.png b/doc/html/classTubeBell__inherit__graph.png new file mode 100644 index 0000000..76350e8 Binary files /dev/null and b/doc/html/classTubeBell__inherit__graph.png differ diff --git a/doc/html/classTwoPole-members.html b/doc/html/classTwoPole-members.html index d561c10..508e0b7 100644 --- a/doc/html/classTwoPole-members.html +++ b/doc/html/classTwoPole-members.html @@ -8,28 +8,30 @@    

                                        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                        - -

                                        TwoPole Member List

                                        This is the complete list of members for TwoPole, including all inherited members. + +

                                        TwoPole Member List

                                        This is the complete list of members for TwoPole, including all inherited members.

                                        - + + - - + + - + + @@ -42,8 +44,7 @@ - - + @@ -52,7 +53,7 @@
                                        clear(void)TwoPole
                                        Filter(void)Filter [protected]
                                        Filter(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
                                        getGain(void) const TwoPole [virtual]
                                        handleError(const char *message, StkError::Type type)Stk [protected, static]
                                        handleError(const char *message, StkError::Type type)Stk [protected, static]
                                        handleError(std::string message, StkError::Type type)Stk [protected, static]
                                        handleError(StkError::Type type)Stk [protected]
                                        lastOut(void) const TwoPole [virtual]
                                        printErrors(bool status)Stk [inline, protected, static]
                                        rawwavePath(void)Stk [inline, protected, static]
                                        sampleRate(void)Stk [inline, protected, static]
                                        setA1(StkFloat a1)TwoPole
                                        setA2(StkFloat a2)TwoPole
                                        setB0(StkFloat b0)TwoPole
                                        setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
                                        setDenominator(std::vector< StkFloat > &aCoefficients)Filter [protected]
                                        setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
                                        setDenominator(std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
                                        setGain(StkFloat gain)TwoPole [virtual]
                                        setNumerator(std::vector< StkFloat > &bCoefficients)Filter [protected]
                                        setNumerator(std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
                                        setRawwavePath(std::string path)Stk [protected, static]
                                        setResonance(StkFloat frequency, StkFloat radius, bool normalize=false)TwoPole
                                        setSampleRate(StkFloat rate)Stk [inline, protected, static]
                                        showWarnings(bool status)Stk [inline, protected, static]
                                        sleep(unsigned long milliseconds)Stk [protected, static]
                                        Stk(void)Stk [protected]
                                        STK_FLOAT32Stk [protected, static]
                                        swap32(unsigned char *ptr)Stk [protected, static]
                                        swap64(unsigned char *ptr)Stk [protected, static]
                                        tick(StkFloat sample)TwoPole [virtual]
                                        tick(StkFloat *vector, unsigned int vectorSize)TwoPole [virtual]
                                        tick(StkFrames &frames, unsigned int channel=1)TwoPole [virtual]
                                        tick(StkFrames &frames, unsigned int channel=0)TwoPole [virtual]
                                        TwoPole()TwoPole
                                        ~Filter(void)Filter [protected, virtual]
                                        ~Stk(void)Stk [protected, virtual]
                                        - +
                                        The Synthesis ToolKit in C++ (STK)
                                        ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                        diff --git a/doc/html/classTwoPole.html b/doc/html/classTwoPole.html index fc6ebe6..4c2c42d 100644 --- a/doc/html/classTwoPole.html +++ b/doc/html/classTwoPole.html @@ -8,8 +8,8 @@    

                                        Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                        - -

                                        TwoPole Class Reference

                                        #include <TwoPole.h> + +

                                        TwoPole Class Reference

                                        #include <TwoPole.h>

                                        Inheritance diagram for TwoPole:

                                        @@ -21,98 +21,91 @@ STK two-pole filter class.

                                        This protected Filter subclass implements a two-pole digital filter. A method is provided for creating a resonance in the frequency response while maintaining a nearly constant filter gain.

                                        -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                        - -

                                        -Definition at line 20 of file TwoPole.h. +
                                        - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - +

                                        Public Member Functions

                                        TwoPole ()

                                        Public Member Functions

                                        TwoPole ()
                                         Default constructor creates a second-order pass-through filter.

                                        ~TwoPole ()
                                         Default constructor creates a second-order pass-through filter.
                                        ~TwoPole ()
                                         Class destructor.

                                        -void clear (void)
                                         Class destructor.
                                        +void clear (void)
                                         Clears the internal states of the filter.

                                        -void setB0 (StkFloat b0)
                                         Clears the internal states of the filter.
                                        +void setB0 (StkFloat b0)
                                         Set the b[0] coefficient value.

                                        -void setA1 (StkFloat a1)
                                         Set the b[0] coefficient value.
                                        +void setA1 (StkFloat a1)
                                         Set the a[1] coefficient value.

                                        -void setA2 (StkFloat a2)
                                         Set the a[1] coefficient value.
                                        +void setA2 (StkFloat a2)
                                         Set the a[2] coefficient value.

                                        void setResonance (StkFloat frequency, StkFloat radius, bool normalize=false)
                                         Set the a[2] coefficient value.
                                        void setResonance (StkFloat frequency, StkFloat radius, bool normalize=false)
                                         Sets the filter coefficients for a resonance at frequency (in Hz).

                                        void setGain (StkFloat gain)
                                         Sets the filter coefficients for a resonance at frequency (in Hz).
                                        void setGain (StkFloat gain)
                                         Set the filter gain.

                                        -StkFloat getGain (void) const
                                         Set the filter gain.
                                        +StkFloat getGain (void) const
                                         Return the current filter gain.

                                        -StkFloat lastOut (void) const
                                         Return the current filter gain.
                                        +StkFloat lastOut (void) const
                                         Return the last computed output value.

                                        -StkFloat tick (StkFloat sample)
                                         Return the last computed output value.
                                        +StkFloat tick (StkFloat sample)
                                         Input one sample to the filter and return one output.

                                        -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                         Input one sample to the filter and return one output.
                                        StkFramestick (StkFrames &frames, unsigned int channel=0)
                                         Input vectorSize samples to the filter and return an equal number of outputs in vector.

                                        StkFramestick (StkFrames &frames, unsigned int channel=1)
                                         Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

                                         Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.


                                        Member Function Documentation

                                        -

                                        - +

                                        +

                                        - + - - + + - - + + - + - + -
                                        void TwoPole::setResonance void TwoPole::setResonance StkFloat  frequency,
                                        StkFloat  radius,
                                        bool  normalize = false normalize = false
                                        - +
                                          @@ -122,29 +115,28 @@ StkFloat * BiQuad filter.
                                        See also:
                                        BiQuad filter class
                                        +This method determines the filter coefficients corresponding to two complex-conjugate poles with the given frequency (in Hz) and radius from the z-plane origin. If normalize is true, the coefficients are then normalized to produce unity gain at frequency (the actual maximum filter gain tends to be slightly greater than unity when radius is not close to one). The resulting filter frequency response has a resonance at the given frequency. The closer the poles are to the unit-circle (radius close to one), the narrower the resulting resonance width. An unstable filter will result for radius >= 1.0. For a better resonance filter, use a BiQuad filter.
                                        See also:
                                        BiQuad filter class
                                        -

                                        - +

                                        +

                                        - + -
                                        void TwoPole::setGain void TwoPole::setGain StkFloat  gain  )  [virtual]
                                        - +
                                          @@ -154,39 +146,38 @@ This method determines the filter coefficients corresponding to two complex-conj

                                        Set the filter gain.

                                        -The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0. +The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0.

                                        Reimplemented from Filter.

                                        -

                                        - +

                                        +

                                        - + - - + + - + - + -
                                        StkFrames& TwoPole::tick StkFrames& TwoPole::tick StkFrames frames,
                                        unsigned int  channel = 1 channel = 0
                                        [virtual]
                                        - +

                                        Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

                                        -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. +The channel argument should be zero or greater (the first channel is specified by 0). An StkError will be thrown if the channel argument is equal to or greater than the number of channels in the StkFrames object.

                                        -Reimplemented from Filter. +Reimplemented from Filter.

                                          @@ -196,9 +187,9 @@ Reimplemented from Filter.


                                        The documentation for this class was generated from the following file:
                                          @@ -207,7 +198,7 @@ Reimplemented from Filter. The Synthesis ToolKit in C++ (STK) - ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. + ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved. diff --git a/doc/html/classTwoPole__coll__graph.map b/doc/html/classTwoPole__coll__graph.map new file mode 100644 index 0000000..f4d02b8 --- /dev/null +++ b/doc/html/classTwoPole__coll__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFilter.html 17,85 57,106 +rect $classStk.html 19,16 56,37 diff --git a/doc/html/classTwoPole__coll__graph.md5 b/doc/html/classTwoPole__coll__graph.md5 new file mode 100644 index 0000000..43d6f34 --- /dev/null +++ b/doc/html/classTwoPole__coll__graph.md5 @@ -0,0 +1 @@ +efd5b99c1cb3b159dcb0620702fdc187 \ No newline at end of file diff --git a/doc/html/classTwoPole__coll__graph.png b/doc/html/classTwoPole__coll__graph.png new file mode 100644 index 0000000..203bb33 Binary files /dev/null and b/doc/html/classTwoPole__coll__graph.png differ diff --git a/doc/html/classTwoPole__inherit__graph.map b/doc/html/classTwoPole__inherit__graph.map new file mode 100644 index 0000000..f4d02b8 --- /dev/null +++ b/doc/html/classTwoPole__inherit__graph.map @@ -0,0 +1,3 @@ +base referer +rect $classFilter.html 17,85 57,106 +rect $classStk.html 19,16 56,37 diff --git a/doc/html/classTwoPole__inherit__graph.md5 b/doc/html/classTwoPole__inherit__graph.md5 new file mode 100644 index 0000000..328187f --- /dev/null +++ b/doc/html/classTwoPole__inherit__graph.md5 @@ -0,0 +1 @@ +99857a6bb4e726f450ed4bc1193e20eb \ No newline at end of file diff --git a/doc/html/classTwoPole__inherit__graph.png b/doc/html/classTwoPole__inherit__graph.png new file mode 100644 index 0000000..203bb33 Binary files /dev/null and b/doc/html/classTwoPole__inherit__graph.png differ diff --git a/doc/html/classTwoZero-members.html b/doc/html/classTwoZero-members.html index 3e38b21..795e14f 100644 --- a/doc/html/classTwoZero-members.html +++ b/doc/html/classTwoZero-members.html @@ -8,28 +8,30 @@    

                                          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                          - -

                                          TwoZero Member List

                                          This is the complete list of members for TwoZero, including all inherited members. + +

                                          TwoZero Member List

                                          This is the complete list of members for TwoZero, including all inherited members.

                                          - + + - - + + - + + @@ -42,8 +44,7 @@ - - + @@ -52,7 +53,7 @@
                                          clear(void)TwoZero
                                          Filter(void)Filter [protected]
                                          Filter(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
                                          getGain(void) const TwoZero [virtual]
                                          handleError(const char *message, StkError::Type type)Stk [protected, static]
                                          handleError(const char *message, StkError::Type type)Stk [protected, static]
                                          handleError(std::string message, StkError::Type type)Stk [protected, static]
                                          handleError(StkError::Type type)Stk [protected]
                                          lastOut(void) const TwoZero [virtual]
                                          printErrors(bool status)Stk [inline, protected, static]
                                          rawwavePath(void)Stk [inline, protected, static]
                                          sampleRate(void)Stk [inline, protected, static]
                                          setB0(StkFloat b0)TwoZero
                                          setB1(StkFloat b1)TwoZero
                                          setB2(StkFloat b2)TwoZero
                                          setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients)Filter [protected]
                                          setDenominator(std::vector< StkFloat > &aCoefficients)Filter [protected]
                                          setCoefficients(std::vector< StkFloat > &bCoefficients, std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
                                          setDenominator(std::vector< StkFloat > &aCoefficients, bool clearState=false)Filter [protected]
                                          setGain(StkFloat gain)TwoZero [virtual]
                                          setNotch(StkFloat frequency, StkFloat radius)TwoZero
                                          setNumerator(std::vector< StkFloat > &bCoefficients)Filter [protected]
                                          setNumerator(std::vector< StkFloat > &bCoefficients, bool clearState=false)Filter [protected]
                                          setRawwavePath(std::string path)Stk [protected, static]
                                          setSampleRate(StkFloat rate)Stk [inline, protected, static]
                                          showWarnings(bool status)Stk [inline, protected, static]
                                          sleep(unsigned long milliseconds)Stk [protected, static]
                                          Stk(void)Stk [protected]
                                          STK_FLOAT32Stk [protected, static]
                                          swap32(unsigned char *ptr)Stk [protected, static]
                                          swap64(unsigned char *ptr)Stk [protected, static]
                                          tick(StkFloat sample)TwoZero [virtual]
                                          tick(StkFloat *vector, unsigned int vectorSize)TwoZero [virtual]
                                          tick(StkFrames &frames, unsigned int channel=1)TwoZero [virtual]
                                          tick(StkFrames &frames, unsigned int channel=0)TwoZero [virtual]
                                          TwoZero()TwoZero
                                          ~Filter(void)Filter [protected, virtual]
                                          ~Stk(void)Stk [protected, virtual]
                                          - +
                                          The Synthesis ToolKit in C++ (STK)
                                          ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          ©1995-2005 Perry R. Cook and Gary P. Scavone. All Rights Reserved.
                                          diff --git a/doc/html/classTwoZero.html b/doc/html/classTwoZero.html index db947f4..4a004e1 100644 --- a/doc/html/classTwoZero.html +++ b/doc/html/classTwoZero.html @@ -8,8 +8,8 @@    

                                          Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


                                          - -

                                          TwoZero Class Reference

                                          #include <TwoZero.h> + +

                                          TwoZero Class Reference

                                          #include <TwoZero.h>

                                          Inheritance diagram for TwoZero:

                                          @@ -21,92 +21,85 @@ STK two-zero filter class.

                                          This protected Filter subclass implements a two-zero digital filter. A method is provided for creating a "notch" in the frequency response while maintaining a constant filter gain.

                                          -by Perry R. Cook and Gary P. Scavone, 1995 - 2004. +by Perry R. Cook and Gary P. Scavone, 1995 - 2005.

                                          - -

                                          -Definition at line 20 of file TwoZero.h. +
                                          - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - +

                                          Public Member Functions

                                          TwoZero ()

                                          Public Member Functions

                                          TwoZero ()
                                           Default constructor creates a second-order pass-through filter.

                                          ~TwoZero ()
                                           Default constructor creates a second-order pass-through filter.
                                          ~TwoZero ()
                                           Class destructor.

                                          -void clear (void)
                                           Class destructor.
                                          +void clear (void)
                                           Clears the internal states of the filter.

                                          -void setB0 (StkFloat b0)
                                           Clears the internal states of the filter.
                                          +void setB0 (StkFloat b0)
                                           Set the b[0] coefficient value.

                                          -void setB1 (StkFloat b1)
                                           Set the b[0] coefficient value.
                                          +void setB1 (StkFloat b1)
                                           Set the b[1] coefficient value.

                                          -void setB2 (StkFloat b2)
                                           Set the b[1] coefficient value.
                                          +void setB2 (StkFloat b2)
                                           Set the b[2] coefficient value.

                                          void setNotch (StkFloat frequency, StkFloat radius)
                                           Set the b[2] coefficient value.
                                          void setNotch (StkFloat frequency, StkFloat radius)
                                           Sets the filter coefficients for a "notch" at frequency (in Hz).

                                          void setGain (StkFloat gain)
                                           Sets the filter coefficients for a "notch" at frequency (in Hz).
                                          void setGain (StkFloat gain)
                                           Set the filter gain.

                                          -StkFloat getGain (void) const
                                           Set the filter gain.
                                          +StkFloat getGain (void) const
                                           Return the current filter gain.

                                          -StkFloat lastOut (void) const
                                           Return the current filter gain.
                                          +StkFloat lastOut (void) const
                                           Return the last computed output value.

                                          -StkFloat tick (StkFloat sample)
                                           Return the last computed output value.
                                          +StkFloat tick (StkFloat sample)
                                           Input one sample to the filter and return one output.

                                          -StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
                                           Input one sample to the filter and return one output.
                                          StkFramestick (StkFrames &frames, unsigned int channel=0)
                                           Input vectorSize samples to the filter and return an equal number of outputs in vector.

                                          StkFramestick (StkFrames &frames, unsigned int channel=1)
                                           Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

                                           Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.


                                          Member Function Documentation

                                          -

                                          - +

                                          +

                                          - + - - + + - + -
                                          void TwoZero::setNotch void TwoZero::setNotch StkFloat  frequency,
                                          StkFloat  radius
                                          - +
                                          +This method determines the filter coefficients corresponding to two complex-conjugate zeros with the given frequency (in Hz) and radius from the z-plane origin. The coefficients are then normalized to produce a maximum filter gain of one (independent of the filter gain parameter). The resulting filter frequency response has a "notch" or anti-resonance at the given frequency. The closer the zeros are to the unit-circle (radius close to or equal to one), the narrower the resulting notch width.
                                            @@ -116,28 +109,27 @@ StkFloat * frequency (in Hz).

                                          -This method determines the filter coefficients corresponding to two complex-conjugate zeros with the given frequency (in Hz) and radius from the z-plane origin. The coefficients are then normalized to produce a maximum filter gain of one (independent of the filter gain parameter). The resulting filter frequency response has a "notch" or anti-resonance at the given frequency. The closer the zeros are to the unit-circle (radius close to or equal to one), the narrower the resulting notch width.

                                          -

                                          - +

                                          +

                                          - + -
                                          void TwoZero::setGain void TwoZero::setGain StkFloat  gain  )  [virtual]
                                          - +
                                            @@ -147,39 +139,38 @@ This method determines the filter coefficients corresponding to two complex-conj

                                          Set the filter gain.

                                          -The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0. +The gain is applied at the filter input and does not affect the coefficient values. The default gain value is 1.0.

                                          Reimplemented from Filter.

                                          -

                                          - +

                                          +

                                          - + - - + + - + - + -
                                          StkFrames& TwoZero::tick StkFrames& TwoZero::tick StkFrames frames,
                                          unsigned int  channel = 1 channel = 0
                                          [virtual]
                                          - +

                                          Take a channel of the StkFrames object as inputs to the filter and replace with corresponding outputs.

                                          -The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object. +The channel argument should be zero or greater (the first channel is specified by 0). An StkError will be thrown if the channel argument is equal to or greater than the number of channels in the StkFrames object.

                                          -Reimplemented from Filter. +Reimplemented from Filter.

                                            @@ -189,9 +180,9 @@ Reimplemented from Filter.


                                          The documentation for this class was generated from the following file: