-
zaxus
I'm building a live setup with pd, and I want to have a tempo synced looper that's a constant number of bars behind the live playing, so that with one button I can switch from "live" to "looped", and it will loop the last x bars until I switch it back to "live". Has anyone seen something like this I can easily modify, or is this something I'm going to have to do from scratch?
-
zaxus
I'm working on a set of abstractions for my Korg nanoKONTROL, and am currently using a one-to-one [ctlin x y] to physical control mapping, which means I have 42 separate ctlin objects, all with a specific cc number and channel. So if I or someone else wants to change the midi channel, I have to do it 42 separate times. What I'd like to do is simple in a C-style language:
if channel == 1 { if cc == 13 { pass(value); } }
Is there a good way to do a similarly nested if in pd? Or is there a way to limit ctlin to all cc's on a particular channel?
Thanks in advance.
-
zaxus
Looking at delwrite~, is there a way to dynamically allocate x ms? I'd like to have a selector for 1 bar, 2 bars, or 4 bars, but they would each be a different value (eg, 2000, 4000, and 8000 @120bpm). It looks like delwrite~ has its size specified at creation time and can't be adjusted, if I'm reading the help correctly.
Edit:
Never mind. I see that you would use one delay line with the maximum length and use multiple delreads to grab just what you want. -
zaxus
I think the spigot approach is exactly what I'm looking for. Thanks guys!