cutter

cutter — Audio Cutter to split audio into non-silent bits

Synopsis

struct              GstCutter;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstCutter

Properties

  "leaky"                    gboolean              : Read / Write
  "pre-length"               guint64               : Read / Write
  "run-length"               guint64               : Read / Write
  "threshold"                gdouble               : Read / Write
  "threshold-dB"             gdouble               : Read / Write

Description

Analyses the audio signal for periods of silence. The start and end of silence is signalled by bus messages named "cutter". The message's structure contains two fields:

  • GstClockTime "timestamp": the timestamp of the buffer that triggered the message.

  • gboolean "above": TRUE for begin of silence and FALSE for end of silence.

Example launch line

1
2
3
4