Posted: 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....
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....