Re: initializing midictrl
Davis Pyon <dmpyon-/[email protected]>
| Newsgroups | gmane.comp.audio.csound.tekno |
|---|---|
| Message-ID | <[email protected]> |
Hi, Try using the initc7/14/21 family of opcodes. Remember that initial values are normalized to be between 0 and 1. That means that you must figure out what floating point value between 0 and 1 corresponds to the actual midi controller value that you want. Here's a short example: initc7 1, 7, 39/127 This will initialize controller #7 on channel #1 to midi controller value 39. Hope that works for you, Davis --- Atte André Jensen <[email protected]> wrote: > I also asked this on the main list, but to no avail. Thought maybe > people here are more into messing with potmeters in realtime, so > hopefully someone here can suggest something... > > I'd like to be able to use the "cutoff" potmeter on my Evolution > keyboard for changing the cutoff frequency. So I have this: > > kcutoffpot midictrl 74, .2, 1.8 > > and then multiplying the cutoff frequency by kcutoffpot somewhere in the > instrument. Works fine except before I touch the potmeter kcutoffpot is > 0, as if the potmeter was turned all the way to the left. But I'd rather > have the patch start out as if the potmeter was is center position. How > is this done? There must be a simple way... > > It was suggested from the main list to try using > > kcutoffpot init 1 > > but that doesn't change anything (tried both before and after, although > I guess it *should* be initialized before). __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com _______________________________________________ csoundtekno mailing list [email protected] Subscribe, unsubscribe, change mailing list options: http://plot.bek.no/mailman/listinfo/csoundtekno