Home Forums Tips & Techniques Interpolate 3D praise

This topic contains 1 reply, has 2 voices, and was last updated by  kymaguy 2 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1213

    Cristian Vogel
    Participant

    Amazing mind bending 3D interpolating DSP mixer. It seems to be highly efficient, and remarkably unique.  Thankyou SSC!!

    One question. When we switch to Powercrossfade, how is this exponential curve implemented in the virtual 3D space?

     

    #1214

    kymaguy
    Participant

    I don’t know how ssc implemented it but I’d start with a simple case of two sources and a linear fade:

    Out := (SourceA * !Fade) + (SourceB * (1 – !Fade)).

    for equal power we need the squares to add up to 1:

    Out := (SourceA * !Fade sqrt) + (SourceB * (1 – !Fade sqrt)).

    Now expand the idea to 2D (4 Sources):

    Out1 := (SourceA * !XFade sqrt) + (SourceB * (1 – !XFade sqrt)).

    Out2 := (SourceC * !XFade sqrt) + (SourceD * (1 – !XFade sqrt)).

    Out := (Out1 * !YFade sqrt) + (Out2 * (1 – !YFade sqrt)).

    And so on for 3D, 4D, 5D,…

    I’m looking at it from the output side, you could as well look at it from the individual sources. For example for 2D equal-power:

    LevelA := (!XFade + !YFade) sqrt.

    LevelB := ((1 – !XFade) + !YFade) sqrt.

    LevelC := (!XFade + (1 – !YFade)) sqrt.

    LevelD := ((1 – !XFade) + (1 – !YFade)) sqrt.

    Not sure if both examples give the same result, I may have mixed something up. But I hope the idea is clear 🙂

    Cheers,

    Gustav

     

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.