setParameter

actual fun setParameter(paramId: Int, value: Float)

Sets a parameter on this effect.

Parameter IDs are defined as constants in the corresponding params object for this effect's type (e.g., CompressorParams.THRESHOLD, ReverbParams.ROOM_SIZE).

This method is safe to call from any thread and takes effect on the next audio processing cycle.

Parameters

paramId

The parameter identifier. Must be a valid ID for this effect's type.

value

The new value for the parameter. Valid ranges depend on the parameter; see the corresponding params object for details.

See also

AudioEffectParams
actual fun setParameter(paramId: Int, value: Float)

Sets a parameter on this effect.

Parameter IDs are defined as constants in the corresponding params object for this effect's type (e.g., CompressorParams.THRESHOLD, ReverbParams.ROOM_SIZE).

This method is safe to call from any thread and takes effect on the next audio processing cycle.

Parameters

paramId

The parameter identifier. Must be a valid ID for this effect's type.

value

The new value for the parameter. Valid ranges depend on the parameter; see the corresponding params object for details.

See also

AudioEffectParams
expect fun setParameter(paramId: Int, value: Float)

Sets a parameter on this effect.

Parameter IDs are defined as constants in the corresponding params object for this effect's type (e.g., CompressorParams.THRESHOLD, ReverbParams.ROOM_SIZE).

This method is safe to call from any thread and takes effect on the next audio processing cycle.

Parameters

paramId

The parameter identifier. Must be a valid ID for this effect's type.

value

The new value for the parameter. Valid ranges depend on the parameter; see the corresponding params object for details.

See also

AudioEffectParams
actual fun setParameter(paramId: Int, value: Float)

Sets a parameter on this effect.

Parameter IDs are defined as constants in the corresponding params object for this effect's type (e.g., CompressorParams.THRESHOLD, ReverbParams.ROOM_SIZE).

This method is safe to call from any thread and takes effect on the next audio processing cycle.

Parameters

paramId

The parameter identifier. Must be a valid ID for this effect's type.

value

The new value for the parameter. Valid ranges depend on the parameter; see the corresponding params object for details.

See also

AudioEffectParams
actual fun setParameter(paramId: Int, value: Float)

Sets a parameter on this effect.

Parameter IDs are defined as constants in the corresponding params object for this effect's type (e.g., CompressorParams.THRESHOLD, ReverbParams.ROOM_SIZE).

This method is safe to call from any thread and takes effect on the next audio processing cycle.

Parameters

paramId

The parameter identifier. Must be a valid ID for this effect's type.

value

The new value for the parameter. Valid ranges depend on the parameter; see the corresponding params object for details.

See also

AudioEffectParams
actual fun setParameter(paramId: Int, value: Float)

Sets a parameter on this effect.

Parameter IDs are defined as constants in the corresponding params object for this effect's type (e.g., CompressorParams.THRESHOLD, ReverbParams.ROOM_SIZE).

This method is safe to call from any thread and takes effect on the next audio processing cycle.

Parameters

paramId

The parameter identifier. Must be a valid ID for this effect's type.

value

The new value for the parameter. Valid ranges depend on the parameter; see the corresponding params object for details.

See also

AudioEffectParams