Hi Maxime,

That looks correct for pressure (or force, voltage, etc.) waves, with
the right-going waves on top rail, left-going waves on the middle rail
(left-right flipped as is the Faust convention), and "tap bus" along
the bottom rail.

Cheers,
- Julius

On Wed, Apr 26, 2017 at 2:52 PM, Maxime Coorevits <maxprod2...@gmail.com> wrote:
> Hello,
>
> This is my quick and theorical implementation of two basics scattering
> junctions :
>
> -----------------------------------------------------------------------------
>
> scattering_junction(c1,c2,c3,c4) = (_,_ <: upper(_,_) , lower(_,_) :> _,_),
> _
> with
> {
> upper(x,y) = x*c1 + y*c2;
> lower(x,y) = x*c3 + y*c4;
> };
>
> kelly_lochbaum_scattering_junction(k) = scattering_junction(c1,c2,c3,c4)
> with {
> c1 = 1+k;
> c2 = k*-1;
> c3 = k;
> c4 = 1-k;
> };
>
> normalized_scattering_junction(k) = scattering_junction(c1,c2,c3,c4)
> with {
> c1 = sqrt(1-(k*k));
> c2 = k*-1;
> c3 = k;
> c4 = c1;
> };
>
> -----------------------------------------------------------------------------
>
> I just want to know if this is the right way to implement some kinds of
> scattering junctions. I have
> add a 3rd (bypassed) bus to the base function in order to make the junctions
> able to work with the
> standard faust physmodels.lib
>
> Thank you very much.
>
> Maxime Coorevits.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>



-- 
Julius O. Smith III <j...@ccrma.stanford.edu>
Professor of Music and, by courtesy, Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to