Share us a simple project, will ya? I haven’t put nearly enough effort in learning the new modules. Shame on me and my family.
For starters, how exactly could I be doing “polyphonic shaders”. I know how to select voices, and I was doing a 12 knob shader (6 times pitch/vel pairs) but it’s not working as expected, so any jumpstart you guys can give me will be mightily appreciated
I can’t afford to go look rn for that project where there were balls bouncing with poly notes (sorry I’m terrible with names, you know who you are). But that strategy must have entailed lots of knobs, to pass pitch/vel and maybe gates to the shader (although you can bypass the gate if Vel>0 becomes the gate, that depends on the code)
anyway, you all, if you could share your thoughts…. I’m going back to 2D and audio/midi responsiveness
@pedro I have some ideas in mind. For the new LFO module, I was more or less talking about the new shapes, and super slow speeds that are now available.
I'm still trying to wrap my head around how the different LFOs per voice can work with visuals.
As requested, here's one simple project showing the effect the polyphonic LFOs can have on a basic shader (a single 3D box)
Heres what the shader is normally:
Then watch what happens when we play with the Poly Spread knobs.
Oh, that is cool. I think it should go straight to the Recipes section of Drambo Visual docs. Getting to use a poly signal without starting from a chord is not obvious.
The 3d polyphony was me! Here's what I've found (though I'm not on the beta so things may be evolving)...
In a 2d shader, polyphony mostly "just works" - you can wire a modulation to a mask directly from a Midi to CV pitch and it will duplicate per voice as expected. Same goes for gate envelopes, etc.
But in a 3d shader this doesn't work. The workaround I came up with is to separate each voice out of the Midi to CV. I then created a custom mask processor that sits inside a mask repeat. It has 16 knobs and simply outputs one of the knob values based on the repeat index. Each knob gets modulated by individual voices. You're right that to get pitch/envelope/velocity you need to repeat this process and things get pretty ugly, but it does work! I can share a sample project later if there's interest.
Oh I see, that’s really interesting. I knew it had to be about separating voices for different modulations of input knobs, but it hadn’t occurred to me to use mask repeat. Thanks for the hint, I’ll get back to the drawing board now
Here's a sample project... I had to strip out a bunch of extra stuff, but this will respond to the in-app keyboard. pitch controls horizontal position and velocity controls height.
Haha - I've found that 8 is plenty for most things. But sometimes higher polyphony is needed even when playing fewer notes, especially if you want a longer release envelope that doesn't get clipped when a new note starts.
Comments
Thanks, but I really have to start sorting these. Maybe separated into individual modules you can mix and match.
but I dunno, seems like a lot of work, plus I don’t even remember half the stuff I posted over the years 😅
you guys realize when we started this journey, LLMs weren’t even a thing? Time sure flies
but I’m serious about doing a curated list of projects I personally find interesting. Maybe we need a “drambo community collection“ just for visuals
Btw when I said I had 5:1 crap to awesome ratio, I was being way too generous with myself. It’s more close to a 33:1 ratio
Share us a simple project, will ya? I haven’t put nearly enough effort in learning the new modules. Shame on me and my family.
For starters, how exactly could I be doing “polyphonic shaders”. I know how to select voices, and I was doing a 12 knob shader (6 times pitch/vel pairs) but it’s not working as expected, so any jumpstart you guys can give me will be mightily appreciated
I can’t afford to go look rn for that project where there were balls bouncing with poly notes (sorry I’m terrible with names, you know who you are). But that strategy must have entailed lots of knobs, to pass pitch/vel and maybe gates to the shader (although you can bypass the gate if Vel>0 becomes the gate, that depends on the code)
anyway, you all, if you could share your thoughts…. I’m going back to 2D and audio/midi responsiveness
@pedro I have some ideas in mind. For the new LFO module, I was more or less talking about the new shapes, and super slow speeds that are now available.
I'm still trying to wrap my head around how the different LFOs per voice can work with visuals.
As requested, here's one simple project showing the effect the polyphonic LFOs can have on a basic shader (a single 3D box)
Heres what the shader is normally:
Then watch what happens when we play with the Poly Spread knobs.
Note the MIDI2CV module's voice count)
Oh, that is cool. I think it should go straight to the Recipes section of Drambo Visual docs. Getting to use a poly signal without starting from a chord is not obvious.
Indeed!
and thanks for the share @Intrepolicious ! This should prove very interesting
The 3d polyphony was me! Here's what I've found (though I'm not on the beta so things may be evolving)...
In a 2d shader, polyphony mostly "just works" - you can wire a modulation to a mask directly from a Midi to CV pitch and it will duplicate per voice as expected. Same goes for gate envelopes, etc.
But in a 3d shader this doesn't work. The workaround I came up with is to separate each voice out of the Midi to CV. I then created a custom mask processor that sits inside a mask repeat. It has 16 knobs and simply outputs one of the knob values based on the repeat index. Each knob gets modulated by individual voices. You're right that to get pitch/envelope/velocity you need to repeat this process and things get pretty ugly, but it does work! I can share a sample project later if there's interest.
Oh I see, that’s really interesting. I knew it had to be about separating voices for different modulations of input knobs, but it hadn’t occurred to me to use mask repeat. Thanks for the hint, I’ll get back to the drawing board now
Agreed! Yeah I kinda stumbled upon that in real time, while right in the middle of typing that post lol.
of course! 🙂 looking forward to seeing what you create next!
cool! Wait, what do you mean "3D polyphony was me"?
Yeah, I figure we can expand on this by separating voices as you suggested, like with the voice selection modules, many to poly, etc etc
And YES please do share a project showing this custom processor inside a Mask repeat. Definitely interested!
@giku is looking for more beta testers if you'd like to join btw. Just send him a pm
I'm the one that posted the 3d bouncing balls...
I'll create an example project to share later for sure.
Oh sure I too would love to see your bouncing balls project, Andrew 😂
Attempting to combine some logo 3D action in there, but this thing gets wild pretty quick
Ohhh gotcha
☺️🤣
lol...
Here's a sample project... I had to strip out a bunch of extra stuff, but this will respond to the in-app keyboard. pitch controls horizontal position and velocity controls height.
wow! this is nice with some smart tricks
Ah! Brilliant use of poly voice to function! Well done, and great idea!
This is pretty cool! And clever. Thanks a lot for sharing. And it goes up to 16 voices, damn man… how many fingers do you have?
Haha - I've found that 8 is plenty for most things. But sometimes higher polyphony is needed even when playing fewer notes, especially if you want a longer release envelope that doesn't get clipped when a new note starts.
Going for that ghibli look, obviously just a modest attempt
That’s supposed to be mount meru in the back
holly!
Do not invoke the lord’s name in vain
I don’t know of a better alternative to color stuff out, than the 3D mask approach of also having a thread float &ColorIdx [[output]]
if there’s a better way please learn me 🙏
Hey that looks pretty cool @pedro
And I love the clouds 😍
Thanks, I have a better version but run into a bug so it’ll have to wait
but how did you make it? how big the rack is?
and the fog? :O is it a custom raymarcher?
it’s just custom raymarcher-camera-mask-color…
that’s how my lazy ass been doing these landscapes, maybe I’ll do a tutorial, not for you @giku of course as you know this thing backwards 😅