There’s been a few requests for this and as I was kinda poking around in Lua anyway (you can’t ask!) I thought I’d have a quick scan of the ‘builtin’ Mixer Unit to see if I could make this happen, @Joe and myself did something similar with Scorpio.
Anyway, long and short of it is that this is a Stereo Mixer channel, by that I mean it has pan, but only a Mono branch / sub chain!
I have absolutely no idea if this has any impact on CPU usage, but perhaps some folk out there who have been looking for this could test it out with something they know it would benefit. @Zeta?
I can’t really take any credit for this, @odevices did the work, I just hacked it
Any improvements, comments welcome!
There is now a GitHub repository called ‘kels’ with an updated version of this unit here:
for the last months i was almost exclusively working with stereo chains.
i use both, mono and stereo inputs in them and though it may have improved my
hand-eye-thingy and that muscle-memory-stuff i am repeating the following
steps over and over for mono inputs:
insert mixer channel
assign mono input to left mixer input
assign mono input to right mixer input
insert accents sampling vca (for short attacks and almost clickless mute functions)
[assigning internal or external voltage source(s) to the level parameter of the sampling vca.]
since i didn’t do my middle layer homework, i’m asking you @anon83620728: could you give this a try?
i.e. to implement @Joe’s sampling vca into your stereoizer (=> steroidizer, mono injector) so that we would have
an additional and cv-assignable gain control next to the input control…
actually, and based on @Joe’s superbe video on that matter, i already had all the prerequisites in place
some while ago. and then, … well, something came up. so really, in my case it’s just about the time
i have (and some of it goes into wiki-user-creation-list…).
I know the limitations of time, only too well… it is our most precious commodity!
I think you will be surprised at how easy creating these bespoke units is; yes, it requires thought and consideration, but it’s only a sidestep away from the thought and consideration required for constructing custom units.
Once it clicks, you will be kicking yourself for not doing it sooner
That makes loads of sense, and is kinda obvious now you say it, so while I like the other names I think this is the winner!
Will see if anything better comes up, but if not by the time I redo it, this is the one.
edit: by the way it’s still a ‘stereo in’ unit - the left input is stereo and this is mixed in correctly; it’s only the subchain that is mono, but this is just a technicality, I think your suggestion is still good and correct.
And I really want to get started, been looking at accents code, and was puzzled that it doesn’t “do anything”, it’s all calls to nice functions that I have no idea where to look up the functionality of.
Could you give like a two line entrypoint (I know lua), maybe just a few links to docs? And like the two-three favorite wish-I-knew-this-when-I-started?
I have a few ideas, some even humble enough (I think) to fit the bill as first projects…
And pay particular attention to this post that has lots f comments in the Countdown unit:
And yeah, I know, isn’t it amazing… but really, all you are doing (in one sense) is making the same connections in Lua as you are with the units in the front end, just with more control and flexibility.
If you still have questions at the end of that thread, then ask away - there is no shame in not knowing something, better to ask and learn than spend more time not knowing
In my opinion, the best way to get started is to do what @anon83620728 did. Take an existing builtin unit (or something from testlib or Accents), make a copy of it, and try to make a small modification to it.
Start by putting the copy in its own library with its own init.lua, and make sure you can deploy it to the 301 and get it to load. Then change the name and mnemonic, and the name of the class so that it’s unique. Then try some small tweaks - maybe change the default range for a control or change it’s name.
Then try to add some small functionality to it by instantiating a new DSP object or two, and connecting them into the existing patch. Add a control to the view to control the new functionality.
Okay, I did the update, code cleaned up a bit, mono graph removed entirely as it’s definitely not needed here - the unit will only work in stereo chains for obvious reasons!
I won’t be updating this with anything else, while I want to encourage folk to use Lua as much as possible I actually agree that the solution @Joe presented above for your request @mopoco is the right one!
By all means feel free to take what @Joe and myself have done and roll your own though
Thanks for all the name suggestions, but I am going to go with Pan Mixer - it’s clear and I think the correct name for this little utility unit!!
Oh and I put it in Essentials - if anyone has any objection to this? I will change it, no problem! I couldn’t see any other sensible place to put it and it makes sense next to the Mixer Channel huh