MUFF WIGGLER Forum Index
 FAQ & Terms of UseFAQ & Terms Of Use   Wiggler RadioMW Radio   Muff Wiggler TwitterTwitter   Support the site @ PatreonPatreon 
 SearchSearch   RegisterSign up   Log inLog in 
WIGGLING 'LITE' IN GUEST MODE

Script to assign Modulation CC1 to Output1 offset but
MUFF WIGGLER Forum Index -> Expert Sleepers  
Author Script to assign Modulation CC1 to Output1 offset but
Firechild
I am using budz script to assign channel pressure to Output 6 offset in Silent Way 2.5.
Now I would like to assign Modulation to an output as well.
I tried the Learner plugin but it will use negative values as well but I want just postive values as in this script.
I tried to change "ChannelPressure" to "Controller 1" but doesn´t work. Which is the correct way to type CC1 in a lua script?

budz wrote:
Here's a script for mapping aftertouch to Output 6 offset (so you can use aftertouch as a CV for doing anything you want in your modular)

Quote:

-- set up aftertouch to Output 6 Offset

local function handleChannelPressure( channel, value )
if value > 0 then
setParameter( "Output 6 Offset", ( 1 / 127 ) * value )
else
setParameter( "Output 6 Offset", 0 )
end
end
requestChannelPressure( handleChannelPressure )


This was just a bit of hacking on another script I found in a topic here. Hope it's useful to someone anyway.
os
the user manual wrote:

local function handleCC( channel, cc, value )
-- do stuff
end
requestCC( 1, handleCC )
Firechild
Rockin' Banana!
MUFF WIGGLER Forum Index -> Expert Sleepers  
Page 1 of 1
Powered by phpBB © phpBB Group