![]() |
![]() |
![]() |
GStreamer Good Plugins 1.0 Plugins Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GObject +----GInitiallyUnowned +----GstObject +----GstElement +----GstBaseTransform +----GstLevel
"interval" guint64 : Read / Write "message" gboolean : Read / Write "peak-falloff" gdouble : Read / Write "peak-ttl" guint64 : Read / Write "post-messages" gboolean : Read / Write
Level analyses incoming audio buffers and, if the "message" property
is TRUE, generates an element message named
"level"
:
after each interval of time given by the "interval" property.
The message's structure contains these fields:
GstClockTime
"timestamp"
:
the timestamp of the buffer that triggered the message.
GstClockTime
"stream-time"
:
the stream time of the buffer.
GstClockTime
"running-time"
:
the running_time of the buffer.
GstClockTime
"duration"
:
the duration of the buffer.
GstClockTime
"endtime"
:
the end time of the buffer that triggered the message as stream time (this
is deprecated, as it can be calculated from stream-time + duration)
GValueArray of gdouble
"peak"
:
the peak power level in dB for each channel
GValueArray of gdouble
"decay"
:
the decaying peak power level in dB for each channel
the decaying peak level follows the peak level, but starts dropping
if no new peak is reached after the time given by
the the time to live.
When the decaying peak level drops, it does so at the decay rate
as specified by the
the peak falloff rate.
GValueArray of gdouble
"rms"
:
the Root Mean Square (or average power) level in dB for each channel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 |