No internet connection
  1. Home
  2. Macro and Script Help

Send Bank Change/Send MIDI CC Does Not Work

By Gabriel Levi @Gabriel_Levi
    2024-09-13 16:04:36.311Z

    Title

    Send Bank Change/Send MIDI CC Does Not Work

    What do you expect to happen when you run the script/macro?

    Change presets on my Fractal Audio FM9 (which works as expected) but also switch banks so I can access presets beyond 127 (not working as expected).

    Are you seeing an error?

    What happens when you run this script?

    Switching presets works great, but it doesn't seem to be sending Bank changes to the unit. I will also add the "Send MIDI CC" command also does not work, which is what I need in order to change scenes within a preset.

    How were you running this script?

    I clicked the "Run Script" or "Run Macro" button in SoundFlow

    How important is this issue to you?

    5

    Details

    {
        "inputExpected": "Change presets on my Fractal Audio FM9 (which works as expected) but also switch banks so I can access presets beyond 127 (not working as expected).",
        "inputIsError": false,
        "inputWhatHappens": "Switching presets works great, but it doesn't seem to be sending Bank changes to the unit. I will also add the \"Send MIDI CC\" command also does not work, which is what I need in order to change scenes within a preset.",
        "inputHowRun": {
            "key": "-MpfwYA4I6GGlXgvp5j1",
            "title": "I clicked the \"Run Script\" or \"Run Macro\" button in SoundFlow"
        },
        "inputImportance": 5,
        "inputTitle": "Send Bank Change/Send MIDI CC Does Not Work "
    }

    Source

    //Macro converted to script
    
    
    sf.midi.sendBankSelect({
        outputNum: 1,
        midiChannel: 1,
        bank: 3,
        externalMidiPort: "FM9",
        timestamp: 0,
    });
    
    sf.midi.sendProgramChange({
        outputNum: 1,
        program: 17,
        externalMidiPort: "FM9",
    });
    
    
    

    Links

    User UID: IOLAgVr1Aad3xIL3gHclPePQb9k2

    Feedback Key: sffeedback:IOLAgVr1Aad3xIL3gHclPePQb9k2:-O6g7GAogD5Gf3MZxBIp

    Feedback ZIP: nlCai51l/fw2WqbhpZcWBMSnHGzsNX9STvmxGI2s2t6vsTFIX0xreHr0KJNpYoQ3MD5NwYhqcoFoieY3w6kaw15mLrnoZ/6GrH451ZIuyUJseO1LrU/2wkEJr0cYzgzx4D7p/5arg3KJuz2gVoZmacDzUx2r1a2JiPLdwAxca4Sr0B8CUhE1yvJjGNIIuo6EyZXOQ0n5SRUJR09k0zMEIY6WlABYaDQwV8wRjU+sfTSjXv7KosCQsVlFttjtxjsEOSydr0Fv6TAQ4Eq63U1ijKnJCa8knhkFXA/z84j++T16iyWEf74Le8L0VDR5YOcLuBHZNuXPaQsmSQze3WQrWE/fFmb/zTVf6qtGLFLfrPI=

    Solved in post #18, click to view
    • 28 replies

    There are 28 replies. Estimated reading time: 11 minutes

    1. Kitch Membery @Kitch2024-09-13 20:49:46.174Z

      Hi @Gabriel_Levi,

      Early next week I'll see if I can get it going with my Axe FX Ultra.

      Can you take a screenshot of the Macro? It looks like you may be using the incorrect method for FM9 bank changes. I can't be sure but I think the FM9 uses CC messages for bank changing.

      So maybe try using the "Send MIDI CC" macro action with the appropriate settings, remembering that the banks are zero-based so bank 1 would be 0 bank 2 would be 1, etc.

      Until I dig in I can't be certain but you may find some good resources on the Fractal forum or Fractal Audio WIKI for sending messages to the FM9.

      1. GGabriel Levi @Gabriel_Levi
          2024-09-13 20:53:48.100Z

          Ah yes, you're making a good point. I also just realized Scene changes are sent over channel 34 so I'm definitely missing a step somewhere. Thank you! Gonna test it out now

          1. Kitch Membery @Kitch2024-09-13 20:55:22.565Z

            Nice one!! Report back if you make progress. I just need a few more reasons to justify the upgrade to the FM9, and getting this working would be one. hahahhahaha!

            1. GGabriel Levi @Gabriel_Levi
                2024-09-13 20:58:42.017Z

                DUDE!! Got it switching scenes. YES YES YES! Now if I could just figure out the banks... So stoked!! Thanks for your suggestions!

                Gabe

                1. Kitch Membery @Kitch2024-09-13 20:59:28.929Z

                  Amazing!!! Keep going!

                  1. GGabriel Levi @Gabriel_Levi
                      2024-09-13 21:04:27.637Z

                      I GOT IT!!!! WOOOOOT! Switching banks, presets and scenes now. Incredible. Once I get this dialed in I'll send over the macro. Thanks a ton for your help once again!!

                      1. Kitch Membery @Kitch2024-09-13 21:09:38.017Z

                        Epic!!! Now you should turn it into a command template.

                        You can read more on how to do that here.
                        https://soundflow.org/docs/how-to/custom-commands/command-templates

                        1. GGabriel Levi @Gabriel_Levi
                            2024-09-13 21:43:25.366Z

                            STOKED! Man it works flawlessly.

                            Here’s a quick video of how I set things up and a little demonstration :)

                            https://www.dropbox.com/scl/fi/vqnbz8f7up5x0uoybuuw5/IMG_4208.MOV?rlkey=xpgyr0cnr8amsr0dcjkvroeue&dl=0

                            I will definitely see about turning it into a command template next! I think this is your cue to order that FM9! Haha!

                            1. Kitch Membery @Kitch2024-09-13 21:49:13.709Z

                              So cool!!!!

                              I’m days away from placing the order. Wooo!!!

                              1. In reply toGabriel_Levi⬆:
                                Kitch Membery @Kitch2024-09-13 21:51:43.674Z

                                Next video must include realtime audio samples!!!

                                1. GGabriel Levi @Gabriel_Levi
                                    2024-09-14 02:16:33.530Z

                                    You've got it !! I'm wondering if there is any possibility to change presets with the stream deck knobs. I couldn't get it to work but will try again tomorrow

                                    1. Kitch Membery @Kitch2024-09-14 07:19:57.577Z

                                      Hi @Gabriel_Levi,

                                      I'm away for the weekend, but I'll give you the rundown next week.

                                      Till then check out the following video on "Generic Knob Commands", you may be able to work it out from there.

                                      1. GGabriel Levi @Gabriel_Levi
                                          2024-09-14 07:22:05.450Z

                                          Yep! Totally hip to the Generic Knob Commands but they don’t seem to work for this application just yet. No worries at all, enjoy your weekend! I’ll be tinkering in the meantime. :) Cheers!

                                          1. Kitch Membery @Kitch2024-09-14 07:34:24.561Z

                                            To get you started...

                                            It looks like you may need to do some manual assigning in the FM9

                                            From the FM9 Manual Page 52.

                                            SCENE INCREMENT AND DECREMENT

                                            The Scene Increment and Decrement functions allow you to step up or down through scenes one at a time. You must first assign each of these functions its own CC# or pedal/switch option in the MIDI/Remote menu under SETUP.

                                            Also check out the FAQ for a little more info

                                            You'll need two commands one for increment and one for decrement then you'll need to assign them to a Generic Knob Command.

                                            1. GGabriel Levi @Gabriel_Levi
                                                2024-09-14 14:15:54.310Z

                                                The photo you attached is referring to Scene changes which I’ve already figured out! I’d prefer to have the Scene changes triggered by the 8 physical buttons because that just works too perfectly haha. Preset changes is what I’d like to assign to the knob, which is controlled by Program Change values. For whatever reason the knob doesn’t react to Program Change commands but I’ll work on it today and report back. šŸ’ŖšŸ½

                                                1. GGabriel Levi @Gabriel_Levi
                                                    2024-09-14 19:12:37.817Z

                                                    Yes! Making great progress. The knob still doesn’t like responding to my preset +1/-1 macro, would be really curious to get your thoughts on this when you’re back in the office:

                                                    https://www.dropbox.com/scl/fi/dpof2gmfy5de8yiyq2y0c/PROGRESS?rlkey=u93vtiif7g43flocinlrcky1v&dl=0

                                                    Don’t worry about my comments regarding the tuner, that’s another topic for another day :) This has proven to be so useful already, being able to change presets and scenes without ever closing Logic and opening FM9 Edit is so convenient. Cheers!

                                                    1. Kitch Membery @Kitch2024-09-16 16:57:24.659Z

                                                      The first step would be to double-check that the preset on your deck is actually the preset you are trying to trigger.

                                                      Try deleting and re-adding the "Generic Knob Command preset" to your Deck. This will make sure they are linked.

                                                      Reply1 LikeSolution
                                                      1. GGabriel Levi @Gabriel_Levi
                                                          2024-09-18 03:01:49.468Z

                                                          Duuuuude yes!! This is exactly what I was missing. I’m seamlessly scrolling through presets now using the Stream Deck knob. Ahhhh! Amazing. Thanks yet again man!

                                                          1. GGabriel Levi @Gabriel_Levi
                                                              2024-09-18 03:04:06.331Z

                                                              Here is one bug that I’ve found a couple of times now regarding Custom Presets being applied to the stream deck buttons/touch strip. The title/icon no longer displays:

                                                              https://www.dropbox.com/scl/fi/r5zkr0ddowl7ppj78copr/IMG_4256.MOV?rlkey=enp5ency1tp6q37wr5nj72cui&dl=0

                                                              1. In reply toGabriel_Levi⬆:
                                                                Kitch Membery @Kitch2024-09-18 16:41:39.747Z

                                                                Epic!

                                                                1. GGabriel Levi @Gabriel_Levi
                                                                    2024-09-19 03:24:55.860Z

                                                                    Any suggestions for the bug I mentioned or should I send the macro through the help tab? Definitely would like the custom knob presets to display titles.

                                                              2. In reply toGabriel_Levi⬆:
                                                                Kitch Membery @Kitch2024-09-16 17:04:14.524Z

                                                                Re the tuner...

                                                                From the Fractal WIKI (It's for the AXE FXII but I'm sure it would be similar on the FM9)
                                                                https://wiki.fractalaudio.com/wiki/index.php?title=MIDI_SysEx#TUNER_TOGGLE

                                                                TUNER_TOGGLE
                                                                To turn the tuner on/off you send a MIDI Control Change (CC). The CC value is the same that you assign on the Axe-Fx II in the same channel your Axe-Fx II is set to.

                                                                The default CC for the tuner is 15. Send the value 0 to turn the tuner off, any value of 64 or higher to turn it on.

                                                                1. GGabriel Levi @Gabriel_Levi
                                                                    2024-09-16 20:43:35.351Z

                                                                    Amazing. I will get this sorted when I get home. Almost have a complete profile for the FM9 which utilizes every feature I need! Next big project is to make a deck for all of the FX inside the unit. Man that’ll be sweet! Haha. PS: I ordered the Mac Studio with 64GB unified memory. 😁 Shouldn’t have any issues with plugins taking a while to load anymore!!

                                                                    1. Kitch Membery @Kitch2024-09-16 20:45:05.742Z

                                                                      Awesome, you will love it.

                                                                      1. GGabriel Levi @Gabriel_Levi
                                                                          2024-09-18 02:58:51.484Z

                                                                          Yessir! Should be here by the end of the month.

                                                                          Figured out the tuner situation, although I do have one question about potentially using the stream deck knob to toggle between the tuner engage and tuner bypass modes. Here’s a video demonstrating what I mean:

                                                                          https://www.dropbox.com/scl/fi/41hn6m7jj0xq1eeea1x60/IMG_4254.MOV?rlkey=31c393amgyxehznjzh8emw5s1&dl=0

                                                                          1. GGabriel Levi @Gabriel_Levi
                                                                              2024-09-18 04:39:29.080Z

                                                                              In the meantime I'm just having the 'Tuner Engage' command set to obviously bring up the tuner but also call up a new deck which has a Tuner Bypass command assigned to the same knob. Actually works perfectly but still curious about it being a toggle button within the same deck.

                                                                              1. Kitch Membery @Kitch2024-09-18 16:55:03.926Z

                                                                                Is there a CC setting "Toggle" you can assign in the FM9 for toggling the tuner instead of enabling or disabling it?

                                                                                1. GGabriel Levi @Gabriel_Levi
                                                                                    2024-09-19 03:26:49.273Z

                                                                                    Yes I did try to enable Toggle on the FM9 but no luck yet, very possible I'm not setting things up correctly within SoundFlow. Will tinker with it over the next few days.