Welcome to %s forums

BrainModular Users Forum

Login Register

gesture looper

I need help on a Patch
Post Reply
23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 13 Apr 2009, 21:36

Id like to achieve the folowing thing:

I move a fader to various values (ie tweak a cutoff) , then when I release, it replays in loop the movment Ive just done, with same duration. If i repress back and makes new moves, then on release replay new moves ect...

I ve been trying with the draw trajectory module and it quasi works, I can get a loop that restart upon release, but the pb is that I can't get X-Y values while drawing, so can't hear what im doing...

any idea how this could be achieved anyone?

edit: maybe found with queing to array.

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

Unread post by nay-seven » 13 Apr 2009, 22:08

i've try to do the same some times ago , i've upload a patch to illustrate the way i've used..
addons/others/record data movement
i use 2 samplers....;-)
maybe it can help you...
Image

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 13 Apr 2009, 22:19

waow I would never have think about using sampler hehe work well cool, thank ya nay! so strange too understand let me have a look.

bmoussay
Member
Posts: 130
Contact:

Unread post by bmoussay » 13 Apr 2009, 22:36

Hi,

How about this?

http://www.sensomusic.com/forums/upload ... record.JPG


You can use only X or y or both. If you need to rescale the value (wich is between 0 and 1), just use a Mapper Curves..
Hope it can help,
Regards,

B.

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

Unread post by nay-seven » 14 Apr 2009, 00:18

so simple benjamin..., i'm killed..ha ha

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 14 Apr 2009, 00:18

.......

i was getting in a such complex thing!! cause i was locked on a fader!!, suppa great thx bmoussay!!!

amiga909
Member
Posts: 324
Contact:

Unread post by amiga909 » 14 Apr 2009, 08:34

tkx for the jpg, especially the mouse down part I wouldnt have thought of :)

another question: what would you do if you want to set the length of the loop to 2,4,8,.. bars (dynamically)?

a vst alternative, doing this (I would prefer Usine only):
insert piz here: midi looper
http://thepiz.org/xt/midiLooper20090329.zip
http://www.kvraudio.com/forum/viewtopic.php?t=201276
Image

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 14 Apr 2009, 10:17

yep cool amiga, will give a shot too. Im also searching best way to set/quantisize the loop, and applying this to more items, ie faders, swichs, list box ect,(but they would need a coming soon mouse down outlet i guess ;) ) overall a general looper would be nice, even if this really made my day with X-Y pad ;) ;) ;)

bmoussay
Member
Posts: 130
Contact:

Unread post by bmoussay » 14 Apr 2009, 11:11

hi,


to amiga

]another question: what would you do if you want to set the length of the loop to 2,4,8,.. bars (dynamically)?


I'm not sur sure what you mean by "dynamically",
but maybe you can try the subpatch "quantize data" in the synchro folder to quantize the rec switch, and use a counter to count the number of bars.
Or simply 'ctrl click' quantize?

Regards,

B.

bmoussay
Member
Posts: 130
Contact:

Unread post by bmoussay » 14 Apr 2009, 11:39

Well I've just tried this one:


http://www.sensomusic.com/download.php? ... d%20XY.pat

It records from the moment you touch the pad, counts bars, and then plays back quantized to the bar.

Was that what you wanted to do amiga?

Regards,

B.

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

Unread post by ethnix73 » 14 Apr 2009, 12:16

@amiga909: i'm trying to build an alternative (Usine only) to Piz midi Looper. But i'm still stuck with polyphonic playback for moment!
Seb.Dub

amiga909
Member
Posts: 324
Contact:

Unread post by amiga909 » 14 Apr 2009, 15:05

@benjamin: dynamically: means you could eg. record 4 bars, change length to 2 bars, play it, change back to 4 bars and play the full recording.
thanks for your patch, btw! imho would make a nice addon.

@ethnix: interesting! let us know when ur done, or where exactly ur stuck (poly playback?).

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 14 Apr 2009, 15:21

yup if we re several wanting this kind of "looper" we could mk collective tries. thx again bmoussay will try tonight but seems the thing I need... also dlike to find a tech for other modules.. got a setup queing to array but still a little buggy...

bmoussay
Member
Posts: 130
Contact:

Unread post by bmoussay » 14 Apr 2009, 17:08

Hi,
Just a new version here:

http://www.sensomusic.com/download.php? ... Length.pat

There you have a fader to change dynamically the length of the loop

Regards,

B.

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

Unread post by nay-seven » 14 Apr 2009, 18:06

really usefull one benjamin !!
thanks again

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 14 Apr 2009, 20:31

yup, just tested, really cool thx!

bmoussay
Member
Posts: 130
Contact:

Unread post by bmoussay » 14 Apr 2009, 23:00

Hello,

Just posted a new version

http://www.sensomusic.com/download.php? ... Length.pat

The "change fader" now updates correctly to the number of bars recorded.

enjoy!

Regards,

B.

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 15 Apr 2009, 10:34

thank ya so much bmoussay, ive been tweaking your patch to match my needs but it helped me so much..
I had a different aproach: instead of quantizing the rec,wich mean have to pe precise on start, it rec as soon as mouse is down, and start a local sync, when the bar is finished it stop the rec and play back the loop (so the loop is one bar same tempo but can be "offseted" anywhere, great fun..
... that . bring me a new idea that would be really cool for a next step in my setup that might be interesting for other i guess:

an overdub: if you move the mouse it rec, on release it play the loop, but if you move again , it implement new moves to the loop.
that mean the loop is unchanged expect parts where we ve made new moves..

mmmmm more difficult, any ideas where to start anyone? I guess I would need kind of stamp memory, a second xy, or...
for now my tries failed hehe

bmoussay
Member
Posts: 130
Contact:

Unread post by bmoussay » 15 Apr 2009, 20:53

Hi,

Just a basic try to an overdub version:

http://www.sensomusic.com/download.php? ... verdub.pat

You can tweak it as you like, refine the interpolation, or change the reset value.

Hope it can help.

B.

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 15 Apr 2009, 21:16

wow you rock man, that was was i what trying, with 3xy, but was to tired or too stone to get it work. thanks once again you really made me save time!
now gonna analyse/tweak it :)

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

Unread post by nay-seven » 15 Apr 2009, 22:25

good job benjamin !
thanks !

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 16 Apr 2009, 01:13

Ive made another version, instead of interpolating it inserts changes made in second record and implement them to first loop,
start record anytime but needed to be local sync:

http://www.sensomusic.com/forums/upload ... 0moves.pat

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 30 Oct 2010, 00:59

HI all,
I did something similar on a Arduino : a switch recorder.

As I am new to Usine, I haven't ported it yet (I haven't tackle Array in Usine yet).

basically, just use 2 arrays : one record the value, the other one the time elasped since the last time the switch's state was changed.
the great thing is that you can record data and play it back at any speed.

for a fader, we could use a clock that could be more slower than the 44,1kH one used in Nay-Seven data recorder. and a smoother.
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 30 Oct 2010, 01:40

hi oli_lab your arduino stuff seems nice!

btw this thread was a bit old, i personally now found better and simpler techniques for such looper,
no need of 2 arrays but only one for the swich value via using a step module and setArrayElement module.
step module array out to arrayin of setArrayElement module. ArrayOut of setArray back to arrayInof step module.
the stepPos out of steps goes to index of setArrayElmnt, and the value is value yo Rec.
very simple to wire and easy resolution/speed adjust, quite low cpu.
in fact with this technique no need for clock as the step/line/swich module has it's own buildin clock.

but the 2array sampling time is interesting, could be lower cpu for long recordings wich minors 0..1 types changes,
have to test that...

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 31 Oct 2010, 02:33

thanks for the reply, I put a data logger on the addons page.... but definitly try your idea as well.
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

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

Unread post by nay-seven » 31 Oct 2010, 08:21

really smooth one Oli , really useful ( and impressive patch ! ) thanks to share !
for my use , I've add a fader ( showing only the cursor ) to follow time ..?


Image

other suggestion : for the recorder ,using a button, fader or something else in place of the xy , to have midi learn on it could be useful ?

and here an other one , based on 23fx idea, but not so smooth , limit in time , no speed change...but could interest you :
download

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 31 Oct 2010, 15:36

interesting patchs, here is the wiring i usually use (step is a line module):

Image

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests