Gen Feature request
Hi
I would like to suggest the possibility of setting param values through abstraction attribute arguments. For instance, if I have a gen abstraction called bwg and I have defined a resonance and frequency param, I would like to be able to create an instance of the abstraction as 'bwg @resonance .6 @frequency 430'.
use [patcherargs] ?
that doesn't exist in gen
Hi Testcase,
this seems to be already present in gen~
At least, it works for me in the following patch:
However, it seems to be rather buggy: if you copy/paste the gen~ object, or save and close the patch, the object ignores the params, unless you re-write them.
{
"version" : "Version 6.1.6 (307fb20)",
"platform" : "mac",
"arch" : "x86",
"osversion" : "Mac OS X Version 10.6.8 i386",
"samplerate" : 44100,
"iovs" : 64,
"sigvs" : 64,
"scheduler_in_audio_interrupt" : "off",
"audio_drivername" : "Core Audio",
"audio_driver_subname" : "",
"eventinterval" : 2,
"overdrive" : "off",
"mixerparallel" : "on",
"mixercrossfade" : 1,
"mixerlatency" : 30.0,
"mixerramptime" : 10.0
}
LSKA - Thanks but I think I have maybe been unclear. I am talking about using a *.gendsp abstraction from within gen~ itself. You are correct that the param setting to the root gen~ object is buggy.
Ah, okay, now i understand better. you probably have to create [params] a the toplevel gen, and send each one through inlets then ? which is not convenient indeed
Thanks vichug.
YEah, what I am doing is creating a whole library of *.gendsp abstraction that mirror a big *.genexpr file I created. I have been struggling with how I would like certain things to work. IN principle I like the Param stuff but, as an example, let's say I have a filter and I make the cutoff frequency a param. If I want the cutoff frequency of this to stay at a constant value that is not the default value for the param I need to make a setparam object and route it to the filter. At that point it is less verbose to just have an inlet for the cutoff frequency and hook a number constant into it. I think what I was trying to suggest was a way to get around this problem. Perhaps people aren't really using gen in this way?
Feature request noted, thanks for the suggestion.
thanks.
Hi,
Here is another feature request for gen: having several outlets in jit.gl.pix and jit.pix like with jit.gen.
I've some jit.gen patchers with several outlets and I want to run them on the GPU.
Could be very useful to control another future request object (jit.gl.vertex) :
https://cycling74.com/forums/feature-request-jit-gl-vertex-see-example-below-jit-gl-pix-vs-jit-gen-in-mesh/
Jean-Michel