|
Post by esofron on May 10, 2019 8:26:37 GMT
Hello.
I would like to know if it is possible with midifre (already purchased for iPad), to create an wah pedal auto engage. What i want to do is, when i press the expression pedal from my midi pedalboard, for example irig blueboard or meloaudio midi commander, to auto enable the wah pedal without the need to press any other button.
And of course to auto disable when the expression pedal value is 0.
i am using Bias FX for ipad.
Thanks.
|
|
nic
Soapbox Supremo  
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on May 10, 2019 9:16:09 GMT
Hi esofron , Does BiasFX have MIDI learn for engage/disengage the wah pedal or is there a fixed MIDI message that it supports for this? If the answer is yes, then it would be possible to do what you want no problem. Let me know what BiasFX supports and we can go from there. Regards, Nic.
|
|
|
Post by esofron on May 10, 2019 11:37:00 GMT
Excellent. Thanks for the quick response. Yes Bias FX has a learn option. You can setup channel also. Attachments:

|
|
nic
Soapbox Supremo  
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on May 10, 2019 12:42:29 GMT
Hi esofron , OK, so we have to do this in two steps. The first step is to get Bias FX to learn our 'secret' CC to enable/disable the wah. We need to know also the CC that you real footpedal sends and adjust the script (change K0 line) Here is the code you will need configured for the learn step: # BiasFX autowah engage by audeonic IF LOAD ASS K0 = B0 01 # this needs to be the CC your pedal sends ASS K2 = B0 50 # this is our secret CC
ASS L80 = 0 # flag for toggling wah just the once END
# trap the hardware CC IF M0 == K0 K1
# hardware pedal went to 0, disengage wah IF M2 == 0 IF L80 == 1 SND K2 K3 00 ASS L80 = 0 END END
# hardware pedal went positive, engage wah IF M2 > 0 IF L80 == 0 SND K2 K3 7F ASS L80 = 1 END END
# block hardware pedal CC whilst learning XX = XX +B
ENDSo, change ASS K0 == B0 01 to the correct incantation for your pedal (use the Event Monitor to get this) and then switch BiasFX into MIDI learn for the wah engage switch and move the hardware pedal. Once it has learnt the wah engage, comment out the XX = XX +B line in the code above.If you want the wah to engage only when the hardware pedal passes a certain threshold, change IF M2 > 0 line to IF M2 > 20 (or whatever). Let us know how you get on. Regards, Nic.
|
|
|
Post by esofron on May 10, 2019 14:15:41 GMT
Thanks Nic.
Can you please be more detailed in the whole procedure? This is what i am doing,
1. create a new project 2. add a new midi source, correct? 3. add an event monitor & connect it with the midi source 4. add a stream byter and copy paste the code 5. press install rules, this is where i get the error 6. connect with the event monitor 7. connect with midi destination (biasfx)
i copied the code to a new stream byter settings block. I pressed the install rules and i am getting an error "some rules are not valid. they have been prefixed with '#ERR' "
Thanks
|
|
|
Post by esofron on May 10, 2019 15:32:30 GMT
Is this correct? after I change value at k0 the biasfx cannot accept cc commands. Attachments:
|
|
nic
Soapbox Supremo  
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on May 10, 2019 15:33:32 GMT
Hi esofron , My apologies - I was missing an END in the code. I have corrected that, so you should paste the amended code above, but here are the steps in MidiFire: 1. Use the '+' menu and drop the input port that represents the hardware pedal 2. Drop an Event Monitor onto the canvas and connect the pedal to it. 3. Use the detail cog to open the Event Monitor 4. Move the pedal - you should see events and the CC that is being generated. They should all start with the same two bytes BX XX (where X will be values in the monitor) 5. When you have those two bytes that your pedal is sending, add a StreamByter to the canvas and connected the pedal port to it 6. Paste the code above into the StreamByter and change ASS K0 = B0 01, replacing B0 and 01 with the two bytes you got from step 4 7. Press 'Install Rules' and hopefully no errors. 8. Drop BiasFX output port onto canvas and connect StreamByter to it. 9. Switch to BiasFX, enable learn mode for the wah and move the hardware pedal. It should learn B0 50 (or CC 80 on channel 1) Now, when you move the pedal up it will engage the way at full on as soon as it goes positive and off when it goes back to 0. Regards, Nic.
|
|
nic
Soapbox Supremo  
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on May 10, 2019 15:35:28 GMT
Hah, crossed posts. I think your pedal is sending CC 7, so the line should be: ASS K0 = B0 07
Regards, Nic.
|
|
|
Post by esofron on May 10, 2019 15:37:36 GMT
Here is the wah pedal physical connected to the mini pedalboard. The value is 7 the cc value of the key to switch on the wah pedal is 80. Attachments:
|
|
|
Post by esofron on May 10, 2019 15:50:58 GMT
Hi Nic,
i think i am missing something.
it is not working. the trap hardware command is IF M0 == K0 K1
but i cannot see any K1, is that correct?
thanks.
|
|
nic
Soapbox Supremo  
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on May 10, 2019 15:56:54 GMT
Should be - K1 will be set to 07 with the line ASS K0 = B0 07
|
|
|
Post by esofron on May 10, 2019 15:57:46 GMT
Please see the screenshots. the wah pedal, how it will be switched on when I will start pressing the expression physical pedal? Attachments:

|
|
nic
Soapbox Supremo  
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on May 10, 2019 16:04:50 GMT
Should be CC80 which is what we set in the script. If that conflicts we can change that.
You need to make sure when learning the wah CC that Bias should be set to *only* listen to its own MIDI port and not the pedal directly.
|
|
|
Post by esofron on May 10, 2019 16:30:54 GMT
ok.
the bias fx is using channel 1 the wah pedal is cc 7 the cc80 is used by the meloaudio midi pedal. this is a button
still cannot make it work.
thanks.
|
|
nic
Soapbox Supremo  
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on May 10, 2019 16:36:58 GMT
So, is CC 81 in use then? If not, then change ASS K2 = B0 50 to ASS K2 = B0 52
|
|