Skip to content
stereo DJ X-fade plugin
C Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img
.gitattributes
.gitignore
COPYING
Makefile
README.md
git2lv2.mk
manifest.ttl.in
screenshot_ardour.png
screenshot_jalv.png
xfade.c
xfade.ttl.in

README.md

xfade.lv2 - Stereo DJ X-fade

xfade.lv2 is an audio-plugin for stereo cross-fading 2 x 2 input channels to 2 output channels.

Install

Compiling this plugin requires LV2 SDK, gnu-make and a c-compiler.

  git clone git://github.com/x42/xfade.lv2.git
  cd xfade.lv2
  make
  sudo make install PREFIX=/usr

  # test run
  jalv.gtk http://gareus.org/oss/lv2/xfade

Note to packagers: The Makefile honors PREFIX and DESTDIR variables as well as CFLAGS, LDFLAGS and OPTIMIZATIONS (additions to CFLAGS).

Signal Controls

The plugin has 3 parameters which are interpolated and can be operated in realtime without introducing clicks or similar effects.

Signal A/B

Fade between Input A (left-end, -1.0) and Input B (right-end, +1.0).

Fade Shape

Allows to smoothly choose the A/B behaviour:

  • Linear (default): constant Amplitude. Out ∝ InA + InB
  • Equal Power: retain signal power. Out2 ∝ InA2 + InB2

Fade Mode

  • X-fade (default): Inputs are fade over the complete range of the Signal A/B control range.
  • V-fade: Input A is only faded if Signal A/B is > 0.0, Input B if Signal A/B < 0.0

Consider the following simple diagrams:

     Vol
      ^
  1.0 |AA           BB
      |   A       B
      |     A   B          +-------------+
      |       X            | X-fade mode |
      |     B   A          +-------------+
      |   B       A
  0.0 |BB           AA
      +-----------------> (A/B control)
       -1     0     +1



     Vol
      ^
  1.0 |AAAAAAAXBBBBBBB
      |      B A
      |     B   A          +-------------+
      |    B     A         | V-fade mode |
      |   B       A        +-------------+
      |  B         A
  0.0 |BB           AA
      +-----------------> (A/B control)
       -1     0     +1

Screenshots

xfade.lv2 running in jalv.gtk:

screenshot

With Ardour3, use a 4 channel bus, bypass the VBAP-pan control and only connect Bus outputs 1&2 to the master bus:

screenshot

You can’t perform that action at this time.