3 Commits

Author SHA1 Message Date
Oskar Wallgren
218cd9a04e Merge aeaef391ef into d0345712db 2023-10-06 15:22:09 +00:00
Oskar Wallgren
aeaef391ef Fix mixed up control messages
In ModalBar.cpp the control messages for 'Stick direct mix' and 'Vibrato amplitude'
have been mixed up. This also concerns some documentation but the description
on https://ccrma.stanford.edu/software/stk/classstk_1_1ModalBar.html, which is
generated from the source, is correct.
2023-10-06 16:39:01 +02:00
garyscavone
d0345712db Added documentation gifs to doc/html/ directory, and updated configure.ac to remove a couple deprecated functions. 2023-08-14 13:53:11 -04:00
5 changed files with 4 additions and 23 deletions

View File

@@ -20,12 +20,6 @@ if [[ $AR = "no" ]] ; then
fi fi
# Checks for header files. # Checks for header files.
m4_warn([obsolete],
[The preprocessor macro `STDC_HEADERS' is obsolete.
Except in unusual embedded environments, you can safely include all
ISO C90 headers unconditionally.])dnl
# Autoupdate added the next two lines to ensure that your configure
# script's behavior did not change. They are probably safe to remove.
AC_CHECK_INCLUDES_DEFAULT AC_CHECK_INCLUDES_DEFAULT
AC_PROG_EGREP AC_PROG_EGREP
@@ -34,19 +28,6 @@ AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h termio.h unistd.h)
# Checks for typedefs, structures, and compiler characteristics. # Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST AC_C_CONST
AC_TYPE_SIZE_T AC_TYPE_SIZE_T
m4_warn([obsolete],
[Update your code to rely only on HAVE_SYS_TIME_H,
then remove this warning and the obsolete code below it.
All current systems provide time.h; it need not be checked for.
Not all systems provide sys/time.h, but those that do, all allow
you to include it and time.h simultaneously.])dnl
AC_CHECK_HEADERS_ONCE([sys/time.h])
# Obsolete code to be removed.
if test $ac_cv_header_sys_time_h = yes; then
AC_DEFINE([TIME_WITH_SYS_TIME],[1],[Define to 1 if you can safely include both <sys/time.h>
and <time.h>. This macro is obsolete.])
fi
# End of obsolete code.
AC_C_BIGENDIAN AC_C_BIGENDIAN
AC_EGREP_CPP(yes, AC_EGREP_CPP(yes,

BIN
doc/html/ccrma.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

BIN
doc/html/mcgill.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
doc/html/princeton.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@@ -9,9 +9,9 @@
Control Change Numbers: Control Change Numbers:
- Stick Hardness = 2 - Stick Hardness = 2
- Stick Position = 4 - Stick Position = 4
- Vibrato Gain = 8 - Vibrato Gain = 1
- Vibrato Frequency = 11 - Vibrato Frequency = 11
- Direct Stick Mix = 1 - Direct Stick Mix = 8
- Volume = 128 - Volume = 128
- Modal Presets = 16 - Modal Presets = 16
- Marimba = 0 - Marimba = 0
@@ -173,9 +173,9 @@ void ModalBar :: controlChange( int number, StkFloat value )
else if (number == __SK_ProphesyRibbon_) // 16 else if (number == __SK_ProphesyRibbon_) // 16
this->setPreset((int) value); this->setPreset((int) value);
else if (number == __SK_Balance_) // 8 else if (number == __SK_Balance_) // 8
vibratoGain_ = normalizedValue * 0.3;
else if (number == __SK_ModWheel_) // 1
directGain_ = normalizedValue; directGain_ = normalizedValue;
else if (number == __SK_ModWheel_) // 1
vibratoGain_ = normalizedValue * 0.3;
else if (number == __SK_ModFrequency_) // 11 else if (number == __SK_ModFrequency_) // 11
vibrato_.setFrequency( normalizedValue * 12.0 ); vibrato_.setFrequency( normalizedValue * 12.0 );
else if (number == __SK_AfterTouch_Cont_) // 128 else if (number == __SK_AfterTouch_Cont_) // 128