Effect - Reverb
Functions for configuring the built-in reverb effect.
Functions
fluid_synth_get_reverb_damp()
Get reverb damping of all fx groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance |
Returns: Reverb damping value (0.0-1.0)
Deprecated
Use fluid_synth_get_reverb_group_damp() in new code instead.
fluid_synth_get_reverb_group_damp()
get reverb damp of one or all groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance. |
fx_group |
Index of the fx group. Must be in the range -1 to (fluid_synth_count_effects_groups()-1). If -1 the parameter common to all fx groups is fetched. |
damping |
valid pointer on the value to return. |
Returns: FLUID_OK on success, FLUID_FAILED otherwise.
fluid_synth_get_reverb_group_level()
get reverb level of one or all groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance. |
fx_group |
Index of the fx group. Must be in the range -1 to (fluid_synth_count_effects_groups()-1). If -1 the parameter common to all fx groups is fetched. |
level |
valid pointer on the value to return. |
Returns: FLUID_OK on success, FLUID_FAILED otherwise.
fluid_synth_get_reverb_group_roomsize()
get reverb roomsize of one or all groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance. |
fx_group |
Index of the fx group. Must be in the range -1 to (fluid_synth_count_effects_groups()-1). If -1 the parameter common to all fx groups is fetched. |
roomsize |
valid pointer on the value to return. |
Returns: FLUID_OK on success, FLUID_FAILED otherwise
fluid_synth_get_reverb_group_width()
get reverb width of one or all groups
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance. |
fx_group |
Index of the fx group. Must be in the range -1 to (fluid_synth_count_effects_groups()-1). If -1 the parameter common to all fx groups is fetched. |
width |
valid pointer on the value to return. |
Returns: FLUID_OK on success, FLUID_FAILED otherwise.
fluid_synth_get_reverb_level()
Get reverb level of all fx groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance |
Returns: Reverb level value (0.0-1.0)
Deprecated
Use fluid_synth_get_reverb_group_level() in new code instead.
fluid_synth_get_reverb_roomsize()
Get reverb room size of all fx groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance |
Returns: Reverb room size (0.0-1.2)
Deprecated
Use fluid_synth_get_reverb_group_roomsize() in new code instead.
fluid_synth_get_reverb_width()
Get reverb width of all fx groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance |
Returns: Reverb width value (0.0-100.0)
Deprecated
Use fluid_synth_get_reverb_group_width() in new code instead.
fluid_synth_reverb_on()
Enable or disable reverb on one fx group unit.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance |
fx_group |
Index of the fx group. Must be in the range -1 to (fluid_synth_count_effects_groups()-1). If -1 the parameter will be applied to all fx groups. |
on |
TRUE to enable reverb, FALSE to disable |
Returns: FLUID_OK on success, FLUID_FAILED otherwise
fluid_synth_set_reverb()
int fluid_synth_set_reverb(fluid_synth_t *synth, double roomsize, double damping, double width, double level)
Set reverb parameters to all groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance |
roomsize |
Reverb room size value (0.0-1.0) |
damping |
Reverb damping value (0.0-1.0) |
width |
Reverb width value (0.0-100.0) |
level |
Reverb level value (0.0-1.0) |
Returns: FLUID_OK on success, FLUID_FAILED otherwise
Deprecated
Use the individual reverb setter functions in new code instead.
fluid_synth_set_reverb_damp()
Set reverb damping of all groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance |
damping |
Reverb damping value (0.0-1.0) |
Returns: FLUID_OK on success, FLUID_FAILED otherwise
Deprecated
Use fluid_synth_set_reverb_group_damp() in new code instead.
fluid_synth_set_reverb_group_damp()
Set reverb damp to one or all fx groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance. |
fx_group |
Index of the fx group. Must be in the range -1 to (fluid_synth_count_effects_groups()-1). If -1 the parameter will be applied to all fx groups. |
damping |
damping value to set. Must be in the range indicated by synth.reverb.damp setting. |
Returns: FLUID_OK on success, FLUID_FAILED otherwise.
fluid_synth_set_reverb_group_level()
Set reverb level to one or all fx groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance. |
fx_group |
Index of the fx group. Must be in the range -1 to (fluid_synth_count_effects_groups()-1). If -1 the parameter will be applied to all fx groups. |
level |
output level to set. Must be in the range indicated by synth.reverb.level setting. |
Returns: FLUID_OK on success, FLUID_FAILED otherwise.
fluid_synth_set_reverb_group_roomsize()
Set reverb roomsize to one or all fx groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance. |
fx_group |
Index of the fx group. Must be in the range -1 to (fluid_synth_count_effects_groups()-1). If -1 the parameter will be applied to all fx groups. |
roomsize |
roomsize value to set. Must be in the range indicated by synth.reverb.room-size setting. |
Returns: FLUID_OK on success, FLUID_FAILED otherwise
fluid_synth_set_reverb_group_width()
Set reverb width to one or all fx groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance. |
fx_group |
Index of the fx group. Must be in the range -1 to (fluid_synth_count_effects_groups()-1). If -1 the parameter will be applied to all fx groups. |
width |
width value to set. Must be in the range indicated by synth.reverb.width setting. |
Returns: FLUID_OK on success, FLUID_FAILED otherwise.
fluid_synth_set_reverb_level()
Set reverb level of all groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance |
level |
Reverb level value (0.0-1.0) |
Returns: FLUID_OK on success, FLUID_FAILED otherwise
Deprecated
Use fluid_synth_set_reverb_group_level() in new code instead.
fluid_synth_set_reverb_on()
Enable or disable reverb effect.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance |
on |
TRUE to enable chorus, FALSE to disable |
Deprecated
Use fluid_synth_reverb_on() instead.
fluid_synth_set_reverb_roomsize()
Set reverb roomsize of all groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance |
roomsize |
Reverb room size value (0.0-1.0) |
Returns: FLUID_OK on success, FLUID_FAILED otherwise
Deprecated
Use fluid_synth_set_reverb_group_roomsize() in new code instead.
fluid_synth_set_reverb_width()
Set reverb width of all groups.
Parameters:
| Name | Description |
|---|---|
synth |
FluidSynth instance |
width |
Reverb width value (0.0-100.0) |
Returns: FLUID_OK on success, FLUID_FAILED otherwise
Deprecated
Use fluid_synth_set_reverb_group_width() in new code instead.