bs2b

Improve headphone listening of stereo audio records using the bs2b library. It does so by mixing the left and right channel in a way that simulates a stereo speaker setup while using headphones.

Example pipelines

 gst-launch-1.0 audiotestsrc ! "audio/x-raw,channel-mask=(bitmask)0x1" ! interleave name=i ! bs2b ! autoaudiosink audiotestsrc freq=330 ! "audio/x-raw,channel-mask=(bitmask)0x2" ! i.

Play two independent sine test sources and crossfeed them.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseTransform
                    ╰──GstAudioFilter
                        ╰──bs2b

Implemented interfaces

Factory details

Authors: – Christoph Reiter

Classification:Filter/Effect/Audio

Rank – none

Plugin – bs2b

Package – GStreamer Bad Plug-ins

Pad Templates

sink

audio/x-raw:
         format: { S8, U8, S16LE, S16BE, U16LE, U16BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, F32LE, F32BE, F64LE, F64BE }
           rate: [ 2000, 384000 ]
       channels: 2
   channel-mask: 0x0000000000000003
         layout: interleaved
audio/x-raw:
       channels: 1

Presencealways

Directionsink

Object typeGstPad


src

audio/x-raw:
         format: { S8, U8, S16LE, S16BE, U16LE, U16BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, F32LE, F32BE, F64LE, F64BE }
           rate: [ 2000, 384000 ]
       channels: 2
   channel-mask: 0x0000000000000003
         layout: interleaved
audio/x-raw:
       channels: 1

Presencealways

Directionsrc

Object typeGstPad


Properties

fcut

“fcut” gint

Low-pass filter cut frequency (Hz)

Flags : Read / Write

Default value : 700


feed

“feed” gint

Feed Level (dB/10)

Flags : Read / Write

Default value : 45


The results of the search are