File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -418,9 +418,20 @@ extern OPNMIDI_DECLSPEC void opn2_setChipType(struct OPN2_MIDIPlayer *device, in
418
418
extern OPNMIDI_DECLSPEC int opn2_getChipType (struct OPN2_MIDIPlayer * device );
419
419
420
420
/**
421
- * @brief Override Enable(1) or Disable(0) scaling of modulator volumes. -1 - use bank default scaling of modulator volumes
421
+ * @brief Override Enable(1) or Disable(0) scaling of modulators by volumes. -1 - use bank default scaling of modulator volumes
422
422
* @param device Instance of the library
423
423
* @param smod 0 - disabled, 1 - enabled
424
+ *
425
+ * When this feature is enabled, all the modulators will scale together with the volume
426
+ * that will cuase an effect of sound smoothing. However, it's better to use the CC74
427
+ * to explicitly control the volume of modulators when it's needed, otherwise using
428
+ * of this feature causes a lot of problems. It's possible that this feature will be
429
+ * removed eventually and this function will become useless.
430
+ *
431
+ * IMPORTANT: If you develop music player or plugin, or integrate this to somewhere,
432
+ * suggested to don't add binding to this feature and keep it always disabled.
433
+ *
434
+ * Details: https://github.com/Wohlstand/libOPNMIDI/issues/125
424
435
*/
425
436
extern OPNMIDI_DECLSPEC void opn2_setScaleModulators (struct OPN2_MIDIPlayer * device , int smod );
426
437
You can’t perform that action at this time.
0 commit comments