Welcome to %s forums

BrainModular Users Forum

Login Register

Mini looper working, mostly

I need help on a Patch
Post Reply
woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 20 Oct 2010, 03:17

Here's a link to my primitive looper patch.... It is now working (without start delay!) for three out of the 4 channels..... It's designed to have a small footprint, to fit in my crowded setup!

http://www.sensomusic.com/forums/upload ... tIssue.wkp

It theoretically has the following features:

Master Loop--defines the length of the loop with the first recording. Subsequent recordings will sync with this one.
Slave Loops--2 so far. ( I didn't set up the third, as there are still too many bugfixes to figure out.) They are started everytime the master loop reaches the point at which they were recorded--so you can start recording a slave loop at any time, not just at the start of the master loop. If the master is rerecorded, all slave loops are cleared. All loops can be saved with one button press.

Gain, Reverse, and double-length for each loop. Record, gain and reverse controls affect the channel currently selected via radio buttons. Each loop is either equal or double the length of the previous. So the 4th loop has a max length of 8x the first loop.

The loop shows red when recording, green when playing, and can be muted with a mouse click, in which case it turns grey. When you rerecord a loop, it automatically unmutes.

Currently, there are 2 known issues I haven't figured out how to resolve:

1. If you turn off the patch, and then turn it back on, slave loops start up out of sync. They will resync eventually, but this is bad for live performance! What I need to do is be able to start the loop from point they are at when the master is at zero. Currently they are just triggered every time the master gets to the point when the slave loop recording began. Haven't figured out how to get this to work--I need to send a position value (masterValueAtStart - loop length) at the same instant I send a play command, right? Then I will need looping enabled on the slaves, to get the 'tail' of the loop to play. It seems like I might need to trigger the slave loops this way all the time, otherwise the wiring will get crazy.

2. I'd like the value of the gain slider (and reverse buttons too, I guess) to be updated as the current channel selection changes. There seems to be no way to make a dispatch control not have an 'active' input, even with use of an 'only if changed module' in front. I don't know if this is a bug, but it would be nice to have an object that did this, just for these kinds of gui elements.

Any help would be appreciated. If I can get this working I will upload to addons....
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

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

Unread post by nay-seven » 20 Oct 2010, 09:16

great ! we gone to test this baby

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 20 Oct 2010, 10:41

I got the multiple gain sliders worked out, thanks to a tip elsewhere in this forum. It obviously makes sense to use four sliders, and just control their visibility with the buttons.

The restarting issue is going to take more thought......
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 20 Oct 2010, 10:51

More bugfixes:

position control disabled from waveform display. I just disabled the reset on the master loop until I get the restarting thing figured out. Now re-recording the master loop actually clears the list of all the loops. I found that just clear record wasn't enough, once a loop had been saved.

Other things I forgot, but this one works better, mostly:

http://www.sensomusic.com/forums/upload ... bpatch.pat
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

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

Unread post by nay-seven » 20 Oct 2010, 10:53

i must admit i don't understand all , in the patch you send the rec switch was not connected , the gain fader don't control any gain somewhere..? are you sure you send the good patch..?:D

edit ; ok, cross post

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

Unread post by nay-seven » 20 Oct 2010, 10:59

container problems on this one..

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 21 Oct 2010, 03:12

oh dear.... I better send the wkp--although wkps that work with my master section won't work with the default master...

-edit-

wait, it's the reverse that is true, never mind.

I'll post it later tonight.
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 22 Oct 2010, 09:36

Okay, let's try this again. Sorry about the last one.

http://www.sensomusic.com/forums/upload ... Issue3.wkp

This is working pretty well. Important details: turn record off manually on track 1 to set loop length. Rec is turned off automatically for the other tracks when the time is reached. You can actually turn it off early and it still works, although I think it may mess up timing on subsequent loops.

Things not working well:
Need to turn off record if the current track is changed, otherwise it gets messed up.... this is proving hard to do!

I still want to be able to stop and start the loop. When I start it, I want the first loop to start at the beginning, and the other loops to start at the appropriate offset.

But, as long as you don't want to restart, it's working well!

cheers!
-e
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 24 Oct 2010, 07:09

Alright, I have everything working, but have encountered one crux issue:

How can I get a sampler module to play from 0 when it's patch is enabled????

If I put a 1->0 or a 'has changed' module after the patch on/off, it never changes, even though the wire going in shows a change!

[EDIT]

I have already solved this problem, and it's in the addons! DOH!
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests