MFX to convert one CC into another?

Author
torchtv
Max Output Level: -90 dBFS
  • Total Posts : 21
  • Joined: 2003/11/29 04:24:57
  • Status: offline
2004/05/27 01:18:44 (permalink)

MFX to convert one CC into another?

I figured it would be easy to find a MFX that can accept a CC# as input and convert it to another CC#, but either no one has released such a tool or I don't know where to look.

Does anyone already have such a MFX?

Thanks,
Mark
#1

5 Replies Related Threads

    mbncp
    Max Output Level: -83 dBFS
    • Total Posts : 396
    • Joined: 2003/12/14 19:06:44
    • Status: offline
    RE: MFX to convert one CC into another? 2004/05/27 13:47:30 (permalink)
    Hi Mark

    You can try this.

    ' Change CC Type
    ' Set oldCC and newCC to the desired values
    ' Works both with tracks and real time

    Option Explicit
    Const oldCC = 1
    Const newCC = 10

    Sub ChangeCC(Count)
    Dim n, ev(7)
    For n = 0 To Count-1
    If Mfx.GetEvent(n, ev) = eCONTROL And ev(controlCC) = oldCC Then
    ev(controlCC) = newCC
    End If
    Mfx.AddEvent ev
    Next
    End Sub

    Sub Mfx_OnLiveEvents(Count)
    ChangeCC(Count)
    End Sub

    Sub Mfx_OnTrackEvents(Count, timeFrom, timeThru)
    ChangeCC(Count)
    End Sub


    1) download mfxscript and install wherever you want
    2) double-click register.bat
    3) Insert the plug in sonar and insert an instance of mfxscript
    4) Click Edit, paste the code, and adjust the 'oldCC and newCC' values
    5) Start the script (blue arrow), close the editor.
    6) Main MfxScript dialog:
    7) Click 'Plugs' and double click the 'A' column (enable autostart)
    8) You will be asked for a password (enter what ever you like)
    9) Save your project

    ps: if you need more controls, like changing CC's values, let me know
    #2
    jhonvargas
    Max Output Level: -83 dBFS
    • Total Posts : 371
    • Joined: 2003/11/06 07:34:55
    • Location: Australia
    • Status: offline
    RE: MFX to convert one CC into another? 2004/05/31 10:59:38 (permalink)
    Hi,

    I developed a plugin called cc2cc wich allows you to map either controller or pitch-wheel to controllers. I use it so often because my MIDI keyboard does not have Expression pedal, so using cc2cc I am able to use a continuous slider (cc#16) to control the expression (cc#11). Let me know if you are interested.
    #3
    torchtv
    Max Output Level: -90 dBFS
    • Total Posts : 21
    • Joined: 2003/11/29 04:24:57
    • Status: offline
    RE: MFX to convert one CC into another? 2004/06/07 19:08:30 (permalink)
    jhon- definitely interested. Could you email it to me at marktburton@hotmail.com (put notspam in the subject line)? mbncp- thanks, i'll try it if I get a chance.
    #4
    Tripecac
    Max Output Level: -58 dBFS
    • Total Posts : 1702
    • Joined: 2004/01/27 16:45:15
    • Location: New Zealand
    • Status: offline
    RE: MFX to convert one CC into another? 2004/06/15 15:54:40 (permalink)
    Hi, I'm after a CC remapper too. (I want my volume pedal (7) to map to foot controller (4) real-time).

    I'm also a coder, and would love to be able to write my own (simple) midi plugins.

    Questions:

    1) what language(s) can we use to develop midi plugins? Java? C++? VB?
    2) do all midi plugins end up as .dlls ?
    3) is there a cal-to-plugin compiler?
    4) are there tools for hacking pre-existing studioware panels? (e.g., Pod StudioWare)
    5) is the DXi SDK mostly for people who wanna develop virtual synths?
    6) can I use gcc on linux to compile a .dll?

    That MfxScript looks like an easy way to *something* up and running. My worry is that if MfxScript goes away in a few years (or goes commercial), or if Sonar 4.x or 5.x doesn't work with it, then I won't be able to use whatever scripts I write. Of course, maybe by then Sonar have built-in real-time remapping of control events...

    What do y'all think?

    Travis
    #5
    NickSonic
    Max Output Level: -89 dBFS
    • Total Posts : 98
    • Joined: 2003/11/06 14:19:26
    • Location: Vallejo, California
    • Status: offline
    RE: MFX to convert one CC into another? 2004/06/15 16:58:52 (permalink)
    Hi Travis,

    To reply to a few of your questions:
    I just started with the DXi SDK and it was very easy to do what I wanted, by looking at the sample code and using Cakewalk's wizard for MIDI plug ins. There is a specific section in the SDK doc for MFX development, so you won't be lost in the audio stuff if you don't need it.
    The DXi SDK is C++ (MFC or not) so I guess C++ is the langage of choice. Yes, all the MIDI plug-ins are DLLs.
    < Message edited by NickSonic -- 6/15/2004 5:43:21 PM >

    Nicolas

    www.nicolasfournel.com -> free audio software
    #6
    Jump to:
    © 2024 APG vNext Commercial Version 5.1