Welcome to %s forums

BrainModular Users Forum

Login Register

How to pass only integer value from a flow type x.xxxxx

I need help on a Patch
Post Reply
ethnix73
Member
Posts: 604
Location: France, Caen
Contact:

Unread post by ethnix73 » 04 Jan 2009, 22:20

While working on the idea in this thread http://www.sensomusic.com/forums/viewtopic.php?id=1253, i've got a little problem...

From a CC flow wich pass through a "change scale" patch, how to let pass out only integer value.
More precisely, my CC flow goes from 0 to 127. I change it scale to go from -6 to 6.
I want only the values -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, and 6 to go out.

how would you fo this?
Seb.Dub

ethnix73
Member
Posts: 604
Location: France, Caen
Contact:

Unread post by ethnix73 » 04 Jan 2009, 22:23

Self answer: A mod B :)
Seb.Dub

La Tenaille
Member
Posts: 547
Location: Saint Etienne (France)
Contact:

Unread post by La Tenaille » 05 Jan 2009, 00:16

you're welcome :D

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests