Welcome to %s forums

BrainModular Users Forum

Login Register

input quantization question

I need help on a Patch
Post Reply
laserbeak43
Member
Posts: 65
Contact:

Unread post by laserbeak43 » 07 Jun 2006, 18:13

is there any way to delay a signal by 8ths?
i was thinking maybe some sort of if statement that says if the input signal isnt triggered at the nearest 8th of a beat then delay it to the next beat. using the modulous operator and milliseconds since at 180bpm a beat is 333 milliseconds modulous would send how much time the delay would need to wait and release the signal at 0.

laserbeak43
Member
Posts: 65
Contact:

Unread post by laserbeak43 » 07 Jun 2006, 19:28

is there anything that can delay a signal for a specified duration of time?

laserbeak43
Member
Posts: 65
Contact:

Unread post by laserbeak43 » 07 Jun 2006, 19:58

i have a sync module
a mod module set by the syncs bar duration(333ms)
a count ms module with a duration of an 8th of a bar
wich is 41.625 ms
and a smooth module wich i'm trying to use to let a delayed message pass at zero. i'm using a button to try and trigger the sampler.

sync(bar dur) -> mod(A)
sync(bar led) -> count ms (start in -> count out) -> mod(B)
button -> smooth(in)
mod(out) -> smooth(smooth) -> sampler(start)

when i press the button nothing happens
click image for fullsize veiw.
Image

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 11 Jun 2006, 11:16

sorry,
I'm on the road, and it's hard to find the time to post an answere.

The solution is simple for buttons.

- Take a counter (ms) module.
- Set the, count duration to the quantize duration;
ie: the beat duration, the eighth note duration,..
- connect the output of the button module to the start count. Now when the button is pressed, the counting process starts, with a maximum duration set to the quantize time.
- take a "math/logical/and";
- connect the "counting" output of the counter to the "and" first input,
- for a beat quantize: connect the beat led of the synchro to the second "and" input.
- for a eighth quantize: connect the eight led of the synchro to the second "and" input.

the "and" out is the quantized version of the button.

Hope I'm clear.

laserbeak43
Member
Posts: 65
Contact:

Unread post by laserbeak43 » 11 Jun 2006, 19:04

senso wrote:sorry,
I'm on the road, and it's hard to find the time to post an answere.

The solution is simple for buttons.

- Take a counter (ms) module.
- Set the, count duration to the quantize duration;
ie: the beat duration, the eighth note duration,..
- connect the output of the button module to the start count. Now when the button is pressed, the counting process starts, with a maximum duration set to the quantize time.
- take a "math/logical/and";
- connect the "counting" output of the counter to the "and" first input,
- for a beat quantize: connect the beat led of the synchro to the second "and" input.
- for a eighth quantize: connect the eight led of the synchro to the second "and" input.

the "and" out is the quantized version of the button.

Hope I'm clear.
thanks that sounds somewhat clear. got time to make a screenshot? :)

laserbeak43
Member
Posts: 65
Contact:

Unread post by laserbeak43 » 12 Jun 2006, 07:32

laserbeak43 wrote:
senso wrote:sorry,
I'm on the road, and it's hard to find the time to post an answere.

The solution is simple for buttons.

- Take a counter (ms) module.
- Set the, count duration to the quantize duration;
ie: the beat duration, the eighth note duration,..
- connect the output of the button module to the start count. Now when the button is pressed, the counting process starts, with a maximum duration set to the quantize time.
- take a "math/logical/and";
- connect the "counting" output of the counter to the "and" first input,
- for a beat quantize: connect the beat led of the synchro to the second "and" input.
- for a eighth quantize: connect the eight led of the synchro to the second "and" input.

the "and" out is the quantized version of the button.

Hope I'm clear.
thanks that sounds somewhat clear. got time to make a screenshot? :)
seems to be working!! gonna sneak my midi gear upstairs and double check! thanks!

laserbeak43
Member
Posts: 65
Contact:

Unread post by laserbeak43 » 12 Jun 2006, 14:44

sorry to cross link but i think i've found a bug.
please check http://sensomusic.com/forums/viewtopic.php?id=103

Post Reply

Who is online

Users browsing this forum: No registered users and 91 guests