From dbd1b8490f2b64085e5c56bf1b2aaf430eab5b0f Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Thu, 8 Mar 2007 10:02:12 +0000 Subject: gst/audiofx/: Add new audiodynamic element which can act as a compressor or expander. Supported are hard-knee and sof... Original commit message from CVS: reviewed by: Stefan Kost * gst/audiofx/Makefile.am: * gst/audiofx/audiodynamic.c: (gst_audio_dynamic_characteristics_get_type), (gst_audio_dynamic_mode_get_type), (gst_audio_dynamic_set_process_function), (gst_audio_dynamic_base_init), (gst_audio_dynamic_class_init), (gst_audio_dynamic_init), (gst_audio_dynamic_set_property), (gst_audio_dynamic_get_property), (gst_audio_dynamic_setup), (gst_audio_dynamic_transform_hard_knee_compressor_int), (gst_audio_dynamic_transform_hard_knee_compressor_float), (gst_audio_dynamic_transform_soft_knee_compressor_int), (gst_audio_dynamic_transform_soft_knee_compressor_float), (gst_audio_dynamic_transform_hard_knee_expander_int), (gst_audio_dynamic_transform_hard_knee_expander_float), (gst_audio_dynamic_transform_soft_knee_expander_int), (gst_audio_dynamic_transform_soft_knee_expander_float), (gst_audio_dynamic_transform_ip): * gst/audiofx/audiodynamic.h: * gst/audiofx/audiofx.c: (plugin_init): Add new audiodynamic element which can act as a compressor or expander. Supported are hard-knee and soft-knee operation modes with user-specified ratio and threshold. Attack and release parameters are not yet implemented but will follow. * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * docs/plugins/gst-plugins-good-plugins.args: * docs/plugins/inspect/plugin-audiofx.xml: Integrate audiodynamic into the docs. * tests/check/Makefile.am: * tests/check/elements/audiodynamic.c: (setup_dynamic), (cleanup_dynamic), (GST_START_TEST), (dynamic_suite), (main): Add unit test for audiodynamic. --- docs/plugins/gst-plugins-good-plugins.args | 40 ++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'docs/plugins/gst-plugins-good-plugins.args') diff --git a/docs/plugins/gst-plugins-good-plugins.args b/docs/plugins/gst-plugins-good-plugins.args index 19537ee2..0486e22f 100644 --- a/docs/plugins/gst-plugins-good-plugins.args +++ b/docs/plugins/gst-plugins-good-plugins.args @@ -16668,3 +16668,43 @@ Normal Clipping (default) + +GstAudioDynamic::characteristics +GstAudioDynamicCharacteristics + +rw +Characteristics +Selects whether the ratio should be applied smooth (soft-knee) or hard (hard-knee). +Hard Knee (default) + + + +GstAudioDynamic::mode +GstAudioDynamicMode + +rw +Mode +Selects whether the filter should work on loud samples (compressor) orquiet samples (expander). +Compressor (default) + + + +GstAudioDynamic::ratio +gfloat +[0,inf] +rw +Ratio +Ratio that should be applied. +1 + + + +GstAudioDynamic::threshold +gfloat +[0,1] +rw +Threshold +Threshold until the filter is activated. +0 + + -- cgit