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=
- 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.
- GGabriel Levi @Gabriel_Levi
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
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!
- GGabriel Levi @Gabriel_Levi
DUDE!! Got it switching scenes. YES YES YES! Now if I could just figure out the banks... So stoked!! Thanks for your suggestions!
Gabe
Kitch Membery @Kitch2024-09-13 20:59:28.929Z
Amazing!!! Keep going!
- GGabriel Levi @Gabriel_Levi
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!!
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- GGabriel Levi @Gabriel_Levi
STOKED! Man it works flawlessly.
Hereās a quick video of how I set things up and a little demonstration :)
I will definitely see about turning it into a command template next! I think this is your cue to order that FM9! Haha!
Kitch Membery @Kitch2024-09-13 21:49:13.709Z
So cool!!!!
Iām days away from placing the order. Wooo!!!
- In reply toGabriel_Leviā¬:
Kitch Membery @Kitch2024-09-13 21:51:43.674Z
Next video must include realtime audio samples!!!
- GGabriel Levi @Gabriel_Levi
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
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.
- GGabriel Levi @Gabriel_Levi
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!
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.
- GGabriel Levi @Gabriel_Levi
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. šŖš½
- GGabriel Levi @Gabriel_Levi
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!
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.
- GGabriel Levi @Gabriel_Levi
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!
- GGabriel Levi @Gabriel_Levi
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:
- GGabriel Levi @Gabriel_Levi
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.
- 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_TOGGLETUNER_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.
- GGabriel Levi @Gabriel_Levi
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!!
Kitch Membery @Kitch2024-09-16 20:45:05.742Z
Awesome, you will love it.
- GGabriel Levi @Gabriel_Levi
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:
- GGabriel Levi @Gabriel_Levi
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.
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?
- GGabriel Levi @Gabriel_Levi
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.