[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] a convenience class for using CVs (in Patterns or elsewhere)



Am 29.12.09 21:36, schrieb James Harkins:
Cool. FWIW, GenericGlobalControl in ddwCommon can be used like a value
pattern in Pbind:

Pbind(\pan, aGlobalControl)

... evaluates the same as Pbind(\pan, Pfunc { aGlobalControl.value })
because GenericGlobalControl implements asStream that way.

It also keeps its value on a control bus for easy use in synths. So you can
have all synths generated by a pattern keep the same synchronized value by:

Pbind(\pan, aGlobalControl.asMap)

i didn't know about that - i just installed ddwCommon. GenericGlobalControl doesn't have a help-file, does it? anyway, that looks useful too. also i didn't look at all details within Conductor yet. CV is just simple and straight forward to use. Stream inheritance is great, isn't it?
I should write more GUI wrappers for global controls, though. CVCenter looks
nice for that.

as i said, this is more or less just my first try - i can imagine the gui can be improved a lot. btw. i didn't test this under Swing though i believe it should work (nothing so exotic in there). i'm probably going to be busy for the next few weeks but when i find time i'd like to go on ...

thanks a lot,

stefan
hjh

On Tue, Dec 29, 2009 at 3:09 PM, Stefan Nussbaumer (SC list)<
stefanus@xxxxxxxxx>  wrote:

  hi everybody,

i'd like to share a tool that i've made for myself but maybe others find it
useful too ...
i'm working with patterns quite a lot and while doing so i also like to
have the possibility to embed sliders, knobs or midi-controls ... this is
all possible though it requires you to write extra code.
CVCenter allows you to embed all necessary code for generating a slider or
a midi-controller into your pattern (just like e.g. a Pseq in a Pbind). i've
played around with my class for a while now - i think it's quite solid.
Although i'm basically happy about the class i'm already thinking about
improvements:

    - though the widgets contained in the gui regroup themselves when the
    window gets resized ir's still a bit spacious - perhaps i could add a
    possibility to divide certain widgets into groups
     - there are 2 ways of interacting with CVs (CVCenter is basically a
    collection of CVs - you need install the Conductur quark): a Knob and a
    NumberBox. however, it would be useful if other possibilities (e.g.
    2d-sliders) could feed more than 1 CV at a time.
    - the midi-setup is preliminary: for now there are 2 (global) settings
       - 0 - for midi-sliders whose output is 0-127
       - 1 - for in-/decremental output (e.g. on a doepfer pocketdial which
       outputs 64 +/- in-/decrement - have a look at the helpfile for details on
       this)

i know my doepfer-pocketdial isn't really state of the art, it's just what
i have at the moment. but perhps there are other devices that should be
considered. i have too little information on how they're set up but i'd
certainly be willing to implement other options if needed or wanted.

anyway, comments are welcome ...

stefan





_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/