Welcome to %s forums

BrainModular Users Forum

Login Register

Grid With Synchro?

I need help on a Patch
Post Reply
niggles
Member
Posts: 32
Location: Melbourne Australia
Contact:

Unread post by niggles » 19 May 2014, 14:24

I have a very basic controller for a grid which allows me to change grid lines from a USB game mat, but I need it to be synchronised and wait until the end of the bar or x number of bars the same way the synchro input does in the samplers.

I had a play around with Master Synchro but with no luck :-(

Here is the very basic patch which accepts a 0 & 1 to represent forward or reverse, but what's required to make it wait for the synchro before it triggers?

Cheers,
Niggles
Digital Director & Programmer by Day | Musician By Night
iMac Core I7 | Usine | Logic | Leap Motion (loving it)
http://www.tribe404.com

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 19 May 2014, 14:43

you'll find some modules like the quantize data in modules/syncho Time folder to insert before the next and previous inlets

niggles
Member
Posts: 32
Location: Melbourne Australia
Contact:

Unread post by niggles » 19 May 2014, 23:32

Thanks - will have a play around with them
Digital Director & Programmer by Day | Musician By Night
iMac Core I7 | Usine | Logic | Leap Motion (loving it)
http://www.tribe404.com

niggles
Member
Posts: 32
Location: Melbourne Australia
Contact:

Unread post by niggles » 21 May 2014, 13:45

I have the quantize working fine now, but the problem I'm facing and one that I've encountered in a lot of the patches I've tried to put together is modules like A = B output either 0 / 1 i.e false or true, meaning it ALWAYS outputs something.

Is there a module that will will only output 1 (or a value) if it's true and send nothing if it's false?

I guess what I really want to achieve is:

if(a == 1){

sendSomething();

} else {

// do nothing

}
Digital Director & Programmer by Day | Musician By Night
iMac Core I7 | Usine | Logic | Leap Motion (loving it)
http://www.tribe404.com

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 21 May 2014, 14:04

yes, add a From 0 to 1 module after your A=B

niggles
Member
Posts: 32
Location: Melbourne Australia
Contact:

Unread post by niggles » 21 May 2014, 23:21

Thanks - I must sound a bit silly asking such questions - but am very much used to writing out code by hand rather than joining modules :rolleyes:
Digital Director & Programmer by Day | Musician By Night
iMac Core I7 | Usine | Logic | Leap Motion (loving it)
http://www.tribe404.com

niggles
Member
Posts: 32
Location: Melbourne Australia
Contact:

Unread post by niggles » 01 Jun 2014, 06:14

Hi again,

I'm obviously overlooking something really basic, but when using the 0 to 1 module, it sends a 1 when it's true, but also sends a 0 straight after (rather than doing nothing) - simple patch uploaded here.

As a result the Quantize Data module is only for a millisecond before being switched off again.

Do I need to write some fast-script that will only send a 1 and ignore all other values to get a real doNothing() type function?

Thanks again,
Niggles
Digital Director & Programmer by Day | Musician By Night
iMac Core I7 | Usine | Logic | Leap Motion (loving it)
http://www.tribe404.com

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 02 Jun 2014, 11:50

i 'm not sure it's necessary to have only 1, the grid module is waiting for a button, this mean1 then 0
if i understand correctly your pad send note on/off messages ?
so here how i see the patch: you select only the note on message and quantize it by a quantize button module..

Download

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests