Hi Anders,

Welcome to Faust and the mailing list !

Provided I got the semantics right, here are two possible implementations of the decoder. The first one uses symbolic routing, the second one uses only algebraic composition.

First method, using symbolic routing:
dms(f,s,b) = f+s, f-s, b+s, b-s;

Second method, using algebraic composition :
ms = _,_ <: +,-;
dms = _,_,_ <: _,_,!,!,!,_,!,_,! : ms,ms;
There is a systematic way to create arbitrary routings between inputs and outputs using selectors. A selector is a parallel composition of one '_ ' and n-1 '!' that selects a signal among n. For example we could have written:
ms = _,_ <: +,-;
dms = r : ms,ms;
r = _,_,_ <: S0, S1, S2, S3 with {S0 = _,!,!; S1=!,_,!; S2=!,!,_; S3=!,_,!; };
Cheers

Yann


Le 22/06/2014 17:40, [email protected] a écrit :
Hi.

Im just starting to look into faust, and will read me up along the way.
To start learning the basics im setting up some decoders for Double-MS.

DMS-> stereo is fine, but next case is to make quad output, matrixing
[front+sides, back+sides] to quad outputs.  The code below works, but
sets up 2 'sides' inputs.  How to have only one and use it both to
matrix front and rear signals?

Guess im getting confused with the various composition operators here.
Hopefully someone could point me to where to look to find a simple
solution for this problem



Thanks for any suggestions!

Cheers,

-anders


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems


_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to