Closed GoogleCodeExporter closed 9 years ago
The .2 version of mappInect adds to new filters : "sum" and "minus".
You can now get something like this :
<mapping label="piededestro">
<processor type="boolean" filter="greater_than" label="piede_dx">
<processor type="direct">
<element type="joint" target="right_foot" property="position" axis="z"/>
</processor>
<processor type="filtered" operator="sum">
<element type="joint" target="left_foot" property="position" axis="z" />
<element type="value" value="250" />
</processor>
</processor>
<output>
<midi type="note" device="0" channel="1" channelMap="1" velocityMap="0" minChannel="63" maxChannel="68" minVelocity="0" maxVelocity="127" distinctNotes="true" />
</output>
</mapping>
Please tell me if it worked !
Original comment by bkuperb...@gmail.com
on 12 Jan 2012 at 11:22
Another way to do it, using the minus filter is that :
<mapping label="piededestro">
<processor type="boolean" filter="greater_than" label="piede_dx">
<processor type="filtered" operator="minus">
<element type="joint" target="left_foot" property="position" axis="z" />
<element type="joint" target="right_foot" property="position" axis="z"/>
</processor>
<processor type="direct">
<element type="value" value="250" />
</processor>
</processor>
<output>
<midi type="note" device="0" channel="1" channelMap="1" velocityMap="0" minChannel="63" maxChannel="68" minVelocity="0" maxVelocity="127" distinctNotes="true" />
</output>
</mapping>
Original comment by bkuperb...@gmail.com
on 12 Jan 2012 at 11:24
Original comment by bkuperb...@gmail.com
on 6 Jul 2012 at 10:55
Original issue reported on code.google.com by
michele....@gmail.com
on 19 Nov 2011 at 4:54