User-Defined Opcode Database

quadBformat

Converts b-format to quadrophonic.

Download UDO File

Description

Converts b-format to quadrophonic.

Syntax

aFL, aFR , aRL, aRR quadBformat aW, aX, aY, aZ

Code

opcode quadBformat, aaaa, aaaa
	aW, aX, aY, aZ xin

	; ignore z channel, as no height information in quad
	aFL     =  aW + aX + aY         /* front left           */
	aFR     =  aW + aX - aY         /* front right          */
	aRL     =  aW - aX + aY         /* rear left            */
	aRR     =  aW - aX - aY         /* rear right           */

	xout aFL, aFR , aRL, aRR
endop

Credits

Joseph Anderson and ma++, jan 2005


Previous Home Next
bformatStereo   bformatQuad