591 |
Uses integer math without any branch will then be |
Uses integer math without any branch will then be |
592 |
converted to floating point value for each sample point. |
converted to floating point value for each sample point. |
593 |
This int->float conversion might hurt on some systems. |
This int->float conversion might hurt on some systems. |
594 |
|
intmathabs: |
595 |
|
Similar to intmath but uses abs() function. |
596 |
|
Depending on compiler and platrofm this could |
597 |
|
perform better than integer math as it avoids |
598 |
|
an extra integer multiply instruction. |
599 |
|
|
600 |
diharmonic: |
diharmonic: |
601 |
The triangular wave will be approximated by adding two |
The triangular wave will be approximated by adding two |
602 |
sinusoidials. This solution might especially hurt on |
sinusoidials. This solution might especially hurt on |
608 |
benchmark between the algorithms mentioned above. |
benchmark between the algorithms mentioned above. |
609 |
This will NOT work for cross compilation!], |
This will NOT work for cross compilation!], |
610 |
[ if test ! "(" "${enableval}" = "intmath" \ |
[ if test ! "(" "${enableval}" = "intmath" \ |
611 |
|
-o "${enableval}" = "intmathabs" \ |
612 |
-o "${enableval}" = "diharmonic" ")" ; then |
-o "${enableval}" = "diharmonic" ")" ; then |
613 |
AC_MSG_ERROR([Unknown triangular wave algorithm for parameter --enable-signed-triang-algo]) |
AC_MSG_ERROR([Unknown triangular wave algorithm for parameter --enable-signed-triang-algo]) |
614 |
else |
else |
626 |
Uses integer math without any branch will then be |
Uses integer math without any branch will then be |
627 |
converted to floating point value for each sample point. |
converted to floating point value for each sample point. |
628 |
This int->float conversion might hurt on some systems. |
This int->float conversion might hurt on some systems. |
629 |
|
intmathabs: |
630 |
|
Similar to intmath but uses abs() function. |
631 |
|
Depending on compiler and platrofm this could |
632 |
|
perform better than integer math as it avoids |
633 |
|
an extra integer multiply instruction. |
634 |
|
|
635 |
diharmonic: |
diharmonic: |
636 |
The triangular wave will be approximated by adding two |
The triangular wave will be approximated by adding two |
637 |
sinusoidials. This solution might especially hurt on |
sinusoidials. This solution might especially hurt on |
643 |
benchmark between the algorithms mentioned above. |
benchmark between the algorithms mentioned above. |
644 |
This will NOT work for cross compilation!], |
This will NOT work for cross compilation!], |
645 |
[ if test ! "(" "${enableval}" = "intmath" \ |
[ if test ! "(" "${enableval}" = "intmath" \ |
646 |
|
-o "${enableval}" = "intmathabs" \ |
647 |
-o "${enableval}" = "diharmonic" ")" ; then |
-o "${enableval}" = "diharmonic" ")" ; then |
648 |
AC_MSG_ERROR([Unknown triangular wave algorithm for parameter --enable-unsigned-triang-algo]) |
AC_MSG_ERROR([Unknown triangular wave algorithm for parameter --enable-unsigned-triang-algo]) |
649 |
else |
else |
653 |
[config_unsigned_triang_algo="benchmark"] |
[config_unsigned_triang_algo="benchmark"] |
654 |
) |
) |
655 |
|
|
656 |
|
AC_ARG_ENABLE(process-muted-channels, |
657 |
|
[ --enable-process-muted-channels |
658 |
|
Enable processing of muted channels (default=no). |
659 |
|
In that mode all MIDI events in the muted channels |
660 |
|
will be processed. This will provide information |
661 |
|
about the active voices in the muted channels and |
662 |
|
will not discard notes, triggered in mute mode, |
663 |
|
when the channel is unmuted. But also will reduce |
664 |
|
the efficiency.], |
665 |
|
[config_process_muted_channels="yes"], |
666 |
|
[config_process_muted_channels="no"] |
667 |
|
) |
668 |
|
if test "$config_process_muted_channels" = "yes"; then |
669 |
|
AC_DEFINE_UNQUOTED(CONFIG_PROCESS_MUTED_CHANNELS, 1, [Define to 1 if you want to enable processing of muted channels.]) |
670 |
|
fi |
671 |
|
|
672 |
|
|
673 |
########################################################################### |
########################################################################### |
674 |
# Automatic Benchmarks (to detect the best algorithms for the system) |
# Automatic Benchmarks (to detect the best algorithms for the system) |
693 |
elif test "$triang_signed" = "3"; then |
elif test "$triang_signed" = "3"; then |
694 |
config_signed_triang_algo="diharmonic" |
config_signed_triang_algo="diharmonic" |
695 |
echo "di harmonics" |
echo "di harmonics" |
696 |
|
elif test "$triang_signed" = "5"; then |
697 |
|
config_signed_triang_algo="intmathabs" |
698 |
|
echo "integer math using abs()" |
699 |
else |
else |
700 |
echo "Benchmark of signed triangular wave algorithms failed!" |
echo "Benchmark of signed triangular wave algorithms failed!" |
701 |
echo "Maybe you are doing cross compilation? In that case you have to select" |
echo "Maybe you are doing cross compilation? In that case you have to select" |
724 |
elif test "$triang_unsigned" = "3"; then |
elif test "$triang_unsigned" = "3"; then |
725 |
config_unsigned_triang_algo="diharmonic" |
config_unsigned_triang_algo="diharmonic" |
726 |
echo "di harmonics" |
echo "di harmonics" |
727 |
|
elif test "$triang_unsigned" = "5"; then |
728 |
|
config_signed_triang_algo="intmathabs" |
729 |
|
echo "integer math using abs()" |
730 |
else |
else |
731 |
echo "Benchmark of unsigned triangular wave algorithms failed!" |
echo "Benchmark of unsigned triangular wave algorithms failed!" |
732 |
echo "Maybe you are doing cross compilation? In that case you have to select" |
echo "Maybe you are doing cross compilation? In that case you have to select" |
824 |
echo "# Override Filter Resonance Controller: ${config_override_resonance_ctrl}" |
echo "# Override Filter Resonance Controller: ${config_override_resonance_ctrl}" |
825 |
echo "# Override Filter Type: ${config_override_filter_type}" |
echo "# Override Filter Type: ${config_override_filter_type}" |
826 |
echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}" |
echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}" |
827 |
|
echo "# Process Muted Channels: ${config_process_muted_channels}" |
828 |
echo "#-------------------------------------------------------------------#" |
echo "#-------------------------------------------------------------------#" |
829 |
echo "# Read './configure --help' or file 'configure.in' for details. #" |
echo "# Read './configure --help' or file 'configure.in' for details. #" |
830 |
echo "#####################################################################" |
echo "#####################################################################" |