Mono MVSClipper Assembler Code

Post any examples or modules that you want to share here
Post Reply
User avatar
pwesynthmaker
Posts: 82
Joined: Fri Feb 12, 2016 7:18 pm

Mono MVSClipper Assembler Code

Post by pwesynthmaker »

I liked Marty's much 'kneedme/feedme' replacement for the 'Stereo Clipper' (flatout 'hard clip' @ 1) so muchly that I took it upon myself to attempt a 'mono mod' bend of his code ... worked beautifully the first time and is sooo useitmuchful in connecting blue audio vca prims to keep the stream from 'railing' from excess amplification. Tested it with maxed out gain connected to both an led vu clipper and led vu stacks and it actually stopped the signal from going out of the yellow into the red with hardly any shatter or sputtage.
Use the ''Green Assembler' Code Mod for this ... not blue DSP or the Ruby ...

'NONO' VERSION OF MVSCLIPPER
x86 COMPATIBLE ASSEMBLER CODE
==========

streamin in;
streamout out;

float FP99=.99;
float MP99=-.99;

movaps xmm0,in;
movaps xmm1,in;
shufps xmm0,xmm1,68;
minps xmm0,FP99;
maxps xmm0,MP99;
movaps out,xmm0;
shufps xmm0,xmm0,78;

==========
https://www.inventorefx.com/_ifxfstone/_ifxfstone.htm
Inventor eFX Technology FlowStone WebPage

https://www.inventorefx.com/
Inventor eFX Technology
Post Reply