Module editing possibilities
  • TimeSquid
    member
    Posts: 15
    Joined: Fri Jun 18, 2010 7:35 am

    Module editing possibilities

    by TimeSquid » Fri Nov 12, 2010 12:07 am

    Hi hi
    So Im setting up a pretty complicated midi routing system for M8 and I have a "is it possible" question

    If I learned some python and put in the hours, could I edit the filter module to allow for midi mapping additions?

    Just like when using "Position" or "layerset+position" midi mapping in the main window, where you can map multiple CC's to one parameter, and also multiple parameters can be mapped to one CC... Applicable to the filter module?

    This would help me immensely.
    As of now, it seems that depending on which of the 4 slots you put the Filter and which one it is, the mapping will remember itself for all other layers. But its very vague and totally uncontrollable.

    It seems that I have to always change my mappings for filters for different CC's making it very difficult.

    Thank you
  • anomad
    master
    Posts: 412
    Joined: Sun Oct 21, 2007 10:07 pm
    Location: north cakalacky, usa
    Contact:

    by anomad » Fri Nov 12, 2010 6:02 am

    . it's very possible to do what you want to do...

    . (shameless plug) check out '120 avFx' from the online library to see my take on it (and i'm not really a python programmer so the code is probably clunky...)

    . if you edit the 'Filter' module, about 13 lines from the bottom in Init(), uncomment the 'print filters' statement - to see what each filter requires. ie,

    [{'FILTER': '(FF) IscPlasma4', 'PARAMETERS': {'Sin Mods': 0.40000000000000002, 'Rot Step 1': 0.51000000000000001, 'Rot Step 3': 0.47999999999999998, 'Rot Step 2': 1.0, 'Mul2': 0.67325000000000002, 'Mul3': 0.39000000000000001, 'Mul1': 0.35499999999999998, 'Blend': 0.97499999999999998, 'Freq Temp': 0.52000000000000002, 'Zoom Offs X': 0.32000000000000001, 'Zoom Offs Y': 0.0}}, {}, {}, {}]

    . note there are four filters, first one is used, the other three are {},{},{}

    . so, you can create UI elements, map them various parameters and there you go! :) if you're like me, you'll end up making the module global, so you can control multiple layer effects from one interface, regardless of the activeLayer.

    . one note, when you're updating parameters you need to 'blank out' the what you send to modul8.setFilters then send the updated data.

    -james
    (a nomad. )
  • TimeSquid
    member
    Posts: 15
    Joined: Fri Jun 18, 2010 7:35 am

    by TimeSquid » Fri Nov 12, 2010 11:32 am

    Nice module... but Im quite a waysaway from understanding what exactly is going on in that code...

    Are you suggesting to edit the modules parameter inputs directly in the code? and forego the mapping functionality of modul8... Is that the only way?.. Might not be worth it.

    If you were to tackle the filter module midi mapping issue, how long do you think it would take. I need to decide if its worth it. ;)



    thanks

Who is online

Users browsing this forum: No registered users and 18 guests