UnO2 Programming


toko42
 

Hello there,

I've sat down and tried program the chip again.

I want to control a Line6 Helix Stomp for now (and maybe later a DMX
controller...) and want to emulate stompboxes, i.e. I want to be able to
select presets via the up/down buttons and enable/disable different
effects via Midi CC with the other buttons as well as control volume
with the 2nd pedal and use the heelswitch of that pedal to turn on the
tuner.

I already fail in the first line which gives the following error:

Error parsing the programming code on line 1: invalid statement
(expecting PRESETS, EFFECTS, TRIGGERS or SWEEPS).

If a remove the line, the next line/block gives the same error and so forth.

What do I do wrong?

Thank you very much for your support.

Regards

toko42

========================================
CHANNEL Helix = 1

INIT_FCB =
{
Pedal 1 = wah
Pedal 2 = volume
}

VAR $currentPreset = 1

PRESET Next sound =
{
if(currentPreset < 100) {
$currentPresett++
}
else {
$currentPreset = 1
}
SendMidi Helix ProgChange $currentPreset
}
PRESET Previous sound =
{
if(currentPreset > 1) {
$currentPresett--
}
else {
$currentPreset = 100
}
SendMidi Helix ProgChange $currentPreset
}

Footswitch 1 = effect Gain
Footswitch 2 = effect Chorus
Footswitch 3 = effect Delay
Footswitch 4 = effect Pitch
Footswitch 5 = effect Playback
Footswitch 6 = effect Reverb
Footswitch 7 = effect EQ
Footswitch 8 = effect Bypass
Footswitch 9 = effect Compressor
Footswitch 10 = effect Overdub
Heelswitch 2 = effect Tuner
Pedal 2 = volume


EFFECTS =
{
Chorus
Compressor
Delay
EQ
Gain
Looper
Pitch
Tuner
}

EFFECT_ON Chorus = SendMidi CtrlChange 16 127
EFFECT_OFF Chorus = SendMidi CtrlChange 16 0
EFFECT_ON Compressor = SendMidi CtrlChange 14 127
EFFECT_OFF Compressor = SendMidi CtrlChange 14 0
EFFECT_ON Delay = SendMidi CtrlChange 19 127
EFFECT_OFF Delay = SendMidi CtrlChange 19 0
EFFECT_ON EQ = SendMidi CtrlChange 18 127
EFFECT_OFF EQ = SendMidi CtrlChange 18 0
EFFECT_ON Gain = SendMidi CtrlChange 17 127
EFFECT_OFF Gain = SendMidi CtrlChange 17 0
EFFECT_ON Pitch = SendMidi CtrlChange 15 127
EFFECT_OFF Pitch = SendMidi CtrlChange 15 0
EFFECT_ON Reverb = SendMidi CtrlChange 20 127
EFFECT_OFF Reverb = SendMidi CtrlChange 20 0
EFFECT_ON Tuner = SendMidi CtrlChange 68 127
EFFECT_OFF Tuner = SendMidi CtrlChange 68 0

TRIGGERS =
{
Bypass
Overdub
Playback
}

TRIGGER_CLICK Overdub = SendMidi Looper CtrlChange 60 127
TRIGGER_RELEASE Overdub = SendMidi Looper CtrlChange 60 0

TRIGGER_CLICK Playback = SendMidi Looper CtrlChange 61 127
TRIGGER_CLICK Bypass = SendMidi CtrlChange 46
}

SWEEPS =
{
SWEEP volume = SendMidi Helix CtrlChange 4 0-127 SlowRising
}

========================================


David Grosz
 

Ok, way to many things going on to try and answer your question so what I did is take your above idea and just programmed it with my editor and sent the pdf attached below of what your after.  So what happens basically is there is an order the editor wants to go in, and once you start a line you will get the red bar until the line is correct so that is normal, and you should not proceed until that line is ok.  Now if you have the red bar you must correct the line it does not like or everything else you do could be wrong and you won't know because it is showing you the first fault. 

Now I do not know how the Helix does its assignments but in the case of the pedals I assigned them in the Initialization so both pedals will stay active as long as that is all you want to use them for.  So I used your values for the Volume pedal (nice idea on the tuner heal switch) but for the toe switch for the wah I used CC 97 which is the # for the wah block in an Axe-Fx so you will need to correct CC 97 to whatever Helix uses.  Now again not sure about how Helix does it but expression pedals in the Axe-Fx are external controller 1-12 and are assigned like wah on EXT 1, volume on Ext 2, whammy on Ext 3 or whatever you might want but the effect is separate in regards of the toe switch for the wah it is assigned to a pedal within the Axe-Fx but the effect is is a separate switch or using the auto-engage function in the Axe-Fx. 

As it relates to your Helix you should be ready to go copy and paste the attached pdf into your editor and send to your RCB1010.  I used values given above in your post but if you use what I sent you as a template it should help get you going

Also note that right clicks for copy/paste do not function in the editor but using Control c for copy and Control v for paste does work

So let me know how this goes

Dave


toko42
 

Hello Dave,

I just uploaded your setup and the CC#s work fine including the heelswitch.

The order of the setup blocks is not clearly defined in the manual but
now I have a VERY good starting point (not to say that you have already
done most of the work!).

Right now I can see only two things which don't work how I'd expected them:

- I guess I can't use the UP/DOWN switches to switch presets (+/-1)?
- I have to move the pedal again to get out of tuner mode which probably
works as designed.
- If I switch to bank 2 I can't switch the presets.

Thank you VERY much for your help!
I was really stuck!

Best regards

Thorsten

Am 16.07.2020 um 20:11 schrieb David Grosz via groups.io:

Ok, way to many things going on to try and answer your question so what I did is take your above idea and just programmed it with my editor and sent the pdf attached below of what your after.  So what happens basically is there is an order the editor wants to go in, and once you start a line you will get the red bar until the line is correct so that is normal, and you should not proceed until that line is ok.  Now if you have the red bar you must correct the line it does not like or everything else you do could be wrong and you won't know because it is showing you the first fault.

Now I do not know how the Helix does its assignments but in the case of the pedals I assigned them in the Initialization so both pedals will stay active as long as that is all you want to use them for.  So I used your values for the Volume pedal (nice idea on the tuner heal switch) but for the toe switch for the wah I used CC 97 which is the # for the wah block in an Axe-Fx so you will need to correct CC 97 to whatever Helix uses.  Now again not sure about how Helix does it but expression pedals in the Axe-Fx are external controller 1-12 and are assigned like wah on EXT 1, volume on Ext 2, whammy on Ext 3 or whatever you might want but the effect is separate in regards of the toe switch for the wah it is assigned to a pedal within the Axe-Fx but the effect is is a separate switch or using the auto-engage function in the Axe-Fx.

As it relates to your Helix you should be ready to go copy and paste the attached pdf into your editor and send to your RCB1010.  I used values given above in your post but if you use what I sent you as a template it should help get you going

Also note that right clicks for copy/paste do not function in the editor but using Control c for copy and Control v for paste does work

So let me know how this goes

Dave




David Grosz
 

Bpy ypu Helix guys are picky EmojiEmojiEmojiEmoji

Ok the Presets in Bank 2 did not do anything because nothing was defined, they are defined at the bottom of the program.  Note 1 thru 5 is like this

PRESET 001 =
{
   SendMidi Helix ProgChange 001
}

Now if you want more functions than just a preset they would be added between the curly things, but if as in this case you just want to change one thing like a preset than you can do it this way as in 6-10

PRESET 006 = SendMidi Helix ProgChange 006
PRESET 007 = SendMidi Helix ProgChange 007
PRESET 008 = SendMidi Helix ProgChange 008
PRESET 009 = SendMidi Helix ProgChange 009
PRESET 010 = SendMidi Helix ProgChange 010

you can the values of the program change to whatever preset you want. om the Helix

As for the Tuner I believe changing it to a Trigger Click will turn it off when you increase the volume pedal

TRIGGER_CLICK tuner = SendMidi Helix CtrlChange 68 127
TRIGGER_RELEASE tuner = SendMidi Helix CtrlChange 68 0

Now note that I used a lower case t in tuner as you can define a name once and Tuner is defined as an effect

Now the 2 pictures below show an example of a complicated Preset using multiple gear and in your case as long as you don't add them in a preset somewhere they will stay the way they are when FCB1010 was powered up, which is pretty cool as before they had to be in every preset that they were used in

Ok wow all this before coffee so load this pdf in the editor and set the PC's to what you want and you should be good to go.  I also added the Tuner to Bank 3 switch 1 so you can see a blank bank.  If you hit return all the way to the right it should make Bank 4 and so on




On Saturday, July 18, 2020, 3:11:48 AM PDT, toko42 <toko42@...> wrote:


Hello Dave,

I just uploaded your setup and the CC#s work fine including the heelswitch.

The order of the setup blocks is not clearly defined in the manual but
now I have a VERY good starting point (not to say that you have already
done most of the work!).

Right now I can see only two things which don't work how I'd expected them:

- I guess I can't use the UP/DOWN switches to switch presets (+/-1)?
- I have to move the pedal again to get out of tuner mode which probably
works as designed.
- If I switch to bank 2 I can't switch the presets.

Thank you VERY much for your help!
I was really stuck!

Best regards

Thorsten

Am 16.07.2020 um 20:11 schrieb David Grosz via groups.io:

Ok, way to many things going on to try and answer your question so what I did is take your above idea and just programmed it with my editor and sent the pdf attached below of what your after.  So what happens basically is there is an order the editor wants to go in, and once you start a line you will get the red bar until the line is correct so that is normal, and you should not proceed until that line is ok.  Now if you have the red bar you must correct the line it does not like or everything else you do could be wrong and you won't know because it is showing you the first fault.

Now I do not know how the Helix does its assignments but in the case of the pedals I assigned them in the Initialization so both pedals will stay active as long as that is all you want to use them for.  So I used your values for the Volume pedal (nice idea on the tuner heal switch) but for the toe switch for the wah I used CC 97 which is the # for the wah block in an Axe-Fx so you will need to correct CC 97 to whatever Helix uses.  Now again not sure about how Helix does it but expression pedals in the Axe-Fx are external controller 1-12 and are assigned like wah on EXT 1, volume on Ext 2, whammy on Ext 3 or whatever you might want but the effect is separate in regards of the toe switch for the wah it is assigned to a pedal within the Axe-Fx but the effect is is a separate switch or using the auto-engage function in the Axe-Fx.

As it relates to your Helix you should be ready to go copy and paste the attached pdf into your editor and send to your RCB1010.  I used values given above in your post but if you use what I sent you as a template it should help get you going

Also note that right clicks for copy/paste do not function in the editor but using Control c for copy and Control v for paste does work

So let me know how this goes

Dave




toko42
 

Before coffee?
Wow!

I've overlooked that there should've been something in between the
brackets...

The TriggerClick/Release did the trick.

Thank you very much and have a nice weekend!

Am 18.07.2020 um 16:26 schrieb David Grosz via groups.io:

Bpy ypu Helix guys are picky
Ok the Presets in Bank 2 did not do anything because nothing was defined, they are defined at the bottom of the program.  Note 1 thru 5 is like this
PRESET 001 =
{
   SendMidi Helix ProgChange 001
}
Now if you want more functions than just a preset they would be added between the curly things, but if as in this case you just want to change one thing like a preset than you can do it this way as in 6-10
PRESET 006 = SendMidi Helix ProgChange 006
PRESET 007 = SendMidi Helix ProgChange 007
PRESET 008 = SendMidi Helix ProgChange 008
PRESET 009 = SendMidi Helix ProgChange 009
PRESET 010 = SendMidi Helix ProgChange 010

you can the values of the program change to whatever preset you want. om the Helix
As for the Tuner I believe changing it to a Trigger Click will turn it off when you increase the volume pedal

TRIGGER_CLICK tuner = SendMidi Helix CtrlChange 68 127
TRIGGER_RELEASE tuner = SendMidi Helix CtrlChange 68 0
Now note that I used a lower case t in tuner as you can define a name once and Tuner is defined as an effect
Now the 2 pictures below show an example of a complicated Preset using multiple gear and in your case as long as you don't add them in a preset somewhere they will stay the way they are when FCB1010 was powered up, which is pretty cool as before they had to be in every preset that they were used in
Ok wow all this before coffee so load this pdf in the editor and set the PC's to what you want and you should be good to go.  I also added the Tuner to Bank 3 switch 1 so you can see a blank bank.  If you hit return all the way to the right it should make Bank 4 and so on




On Saturday, July 18, 2020, 3:11:48 AM PDT, toko42 <toko42@...> wrote:

Hello Dave,

I just uploaded your setup and the CC#s work fine including the heelswitch.

The order of the setup blocks is not clearly defined in the manual but
now I have a VERY good starting point (not to say that you have already
done most of the work!).

Right now I can see only two things which don't work how I'd expected them:

- I guess I can't use the UP/DOWN switches to switch presets (+/-1)?
- I have to move the pedal again to get out of tuner mode which probably
works as designed.
- If I switch to bank 2 I can't switch the presets.

Thank you VERY much for your help!
I was really stuck!

Best regards

Thorsten

Am 16.07.2020 um 20:11 schrieb David Grosz via groups.io:

Ok, way to many things going on to try and answer your question so what I did is take your above idea and just programmed it with my editor and sent the pdf attached below of what your after.  So what happens basically is there is an order the editor wants to go in, and once you start a line you will get the red bar until the line is correct so that is normal, and you should not proceed until that line is ok.  Now if you have the red bar you must correct the line it does not like or everything else you do could be wrong and you won't know because it is showing you the first fault.

Now I do not know how the Helix does its assignments but in the case of the pedals I assigned them in the Initialization so both pedals will stay active as long as that is all you want to use them for.  So I used your values for the Volume pedal (nice idea on the tuner heal switch) but for the toe switch for the wah I used CC 97 which is the # for the wah block in an Axe-Fx so you will need to correct CC 97 to whatever Helix uses.  Now again not sure about how Helix does it but expression pedals in the Axe-Fx are external controller 1-12 and are assigned like wah on EXT 1, volume on Ext 2, whammy on Ext 3 or whatever you might want but the effect is separate in regards of the toe switch for the wah it is assigned to a pedal within the Axe-Fx but the effect is is a separate switch or using the auto-engage function in the Axe-Fx.

As it relates to your Helix you should be ready to go copy and paste the attached pdf into your editor and send to your RCB1010.  I used values given above in your post but if you use what I sent you as a template it should help get you going

Also note that right clicks for copy/paste do not function in the editor but using Control c for copy and Control v for paste does work

So let me know how this goes

Dave