[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] [approve] LinLin degenerate condition
OK to commit? If the source and target ranges are the same, LinLin is superfluous. Would this also apply to ExpExp? (Obviously not LinExp.)
<x-tad-smaller>LinLin</x-tad-smaller><x-tad-smaller> : </x-tad-smaller><x-tad-smaller>UGen</x-tad-smaller><x-tad-smaller> {
*ar { </x-tad-smaller><x-tad-smaller>arg</x-tad-smaller><x-tad-smaller> in=0.0, srclo = 0.0, srchi = 1.0, dstlo = 1.0, dsthi = 2.0;
if(srclo == dstlo and: { srchi == dsthi })
{ ^in }
{ ^</x-tad-smaller><x-tad-smaller>'audio'</x-tad-smaller><x-tad-smaller>, in, srclo, srchi, dstlo, dsthi) }
}
*kr { </x-tad-smaller><x-tad-smaller>arg</x-tad-smaller><x-tad-smaller> in=0.0, srclo = 0.0, srchi = 1.0, dstlo = 1.0, dsthi = 2.0;
if(srclo == dstlo and: { srchi == dsthi })
{ ^in }
{ ^</x-tad-smaller><x-tad-smaller>'control'</x-tad-smaller><x-tad-smaller>, in, srclo, srchi, dstlo, dsthi) }
}
}
</x-tad-smaller>
hjh
: H. James Harkins
: jamshark70@xxxxxxxxxxxxxxxxx
: http://www.dewdrop-world.net
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman