From ee2ac9e1d9c18f3561d7f1663acaf2665af5f898 Mon Sep 17 00:00:00 2001 From: Marcus Weseloh Date: Fri, 13 Nov 2020 20:46:02 +0100 Subject: [PATCH] Mark settings with callbacks as realtime and output this in the generated docs --- doc/doxygen/fluidsettings.xsl | 12 ++++++++++++ doc/fluidsettings.xml | 25 ++++++++++++++++++++++++- doc/fluidsettings.xsl | 16 ++++++++++++++++ 3 files changed, 52 insertions(+), 1 deletion(-) diff --git a/doc/doxygen/fluidsettings.xsl b/doc/doxygen/fluidsettings.xsl index 9375a18d..106498a6 100644 --- a/doc/doxygen/fluidsettings.xsl +++ b/doc/doxygen/fluidsettings.xsl @@ -65,6 +65,18 @@ \endhtmlonly + +\par Real-time + + +\htmlonly + +\endhtmlonly + + This setting can be changed during runtime of the synthesizer. + + + \deprecated This setting is deprecated and might be removed in a future version of FluidSynth. diff --git a/doc/fluidsettings.xml b/doc/fluidsettings.xml index ab5c2091..7f66ab2a 100644 --- a/doc/fluidsettings.xml +++ b/doc/fluidsettings.xml @@ -11,7 +11,9 @@ NOTE: You're not expected to look at this raw XML file. Please open it in a webb https://stackoverflow.com/a/3839054 https://stackoverflow.com/a/6251757 -Developers: Settings can be deprecated by adding: SOME TEXT +Developers: + - Settings can be deprecated by adding: SOME TEXT + - Real-time settings can be marked with SOME OPTIONAL TEXT. --> @@ -38,6 +40,7 @@ Developers: Settings can be deprecated by adding: SOME TEXTchorus.active bool 1 (TRUE) + When set to 1 (TRUE) the chorus effects module is activated. Otherwise, no chorus will be added to the output signal. Note that the amount of signal sent to the chorus module depends on the "chorus send" generator defined in the SoundFont. @@ -47,6 +50,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT8.0 0.0 256.0 + Specifies the modulation depth of the chorus. @@ -56,6 +60,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT2.0 0.0 10.0 + Specifies the output amplitude of the chorus signal. @@ -65,6 +70,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT3 0 99 + Sets the voice count of the chorus. @@ -74,6 +80,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT0.3 0.1 5.0 + Sets the modulation speed in Hz. @@ -102,6 +109,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT0 0 126 + Device identifier used for SYSEX commands, such as MIDI Tuning Standard commands. Only those SYSEX commands destined for this ID or to all devices will be acted upon. @@ -136,6 +144,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT0.2 0.0 10.0 + The gain is applied to the final or master output of the synthesizer. It is set to a low value by default to avoid the saturation of the output when many notes are played. @@ -191,6 +200,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT1000.0 -10000.0 10000.0 + This score is divided by the number of seconds this voice has been active and is added to the overflow priority. It is usually a positive @@ -204,6 +214,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT5000.0 -50000.0 50000.0 + This score is added to voices on channels marked with the synth.overflow.important-channels setting. @@ -213,6 +224,7 @@ Developers: Settings can be deprecated by adding: SOME TEXToverflow.important-channels str (empty string) + This setting is a comma-separated list of MIDI channel numbers that should be treated as "important" by the overflow calculation, adding the score @@ -229,6 +241,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT4000.0 -10000.0 10000.0 + Sets the overflow priority score added to voices on a percussion channel. This is usually a positive score, to give percussion voices @@ -242,6 +255,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT-2000.0 -10000.0 10000.0 + Sets the overflow priority score added to voices that have already received a note-off event. This is usually a negative score, to give released @@ -255,6 +269,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT-1000.0 -10000.0 10000.0 + Sets the overflow priority score added to voices that are currently sustained. With the default value, sustained voices are considered less @@ -267,6 +282,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT500.0 -10000.0 10000.0 + Sets the overflow priority score added to voices based on their current volume. The voice volume is normalized to a value between 0 and 1 and @@ -281,6 +297,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT256 1 65535 + The polyphony defines how many voices can be played in parallel. A note event produces one or more voices. Its good to set this to a value which the system can handle and will thus limit FluidSynth's CPU usage. When FluidSynth runs out of voices it will begin terminating lower priority voices for new note events. @@ -288,6 +305,7 @@ Developers: Settings can be deprecated by adding: SOME TEXTreverb.active bool 1 (TRUE) + When set to 1 (TRUE) the reverb effects module is activated. Otherwise, no reverb will be added to the output signal. Note that the amount of signal sent to the reverb module depends on the "reverb send" generator defined in the SoundFont. @@ -298,6 +316,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT0.0 0.0 1.0 + Sets the amount of reverb damping. @@ -307,6 +326,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT0.9 0.0 1.0 + Sets the reverb output amplitude. @@ -316,6 +336,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT0.2 0.0 1.0 + Sets the room size (i.e. amount of wet) reverb. @@ -325,6 +346,7 @@ Developers: Settings can be deprecated by adding: SOME TEXT0.5 0.0 100.0 + Sets the stereo spread of the reverb signal. @@ -691,6 +713,7 @@ Developers: Settings can be deprecated by adding: SOME TEXTreset-synth bool 1 (TRUE) + If true, reset the synth before starting a new MIDI song, so the state of a previous song can't affect the new song. Turn it off for seamless looping of a song. diff --git a/doc/fluidsettings.xsl b/doc/fluidsettings.xsl index 196b733f..88185de7 100644 --- a/doc/fluidsettings.xsl +++ b/doc/fluidsettings.xsl @@ -276,6 +276,22 @@ a {
+ +
+
Real-time:
+
+ + + + + + This setting can be changed during runtime of the synthesizer. + + +
+
+
+
This setting is deprecated and might be removed in a future version of FluidSynth.