Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 8 of 8

Thread: Footpedal to use with Behringer XR18 for FX and Tap

  1. #1
    Junior Member
    Join Date
    Mar 2017
    Posts
    2

    Footpedal to use with Behringer XR18 for FX and Tap

    I'd like to create a footpedal that will control the 4 FXs and the tap setting while using my Behringer XR18. I saw one like what I want on Youtube but there was no instructions. I also want 6 buttons instead of 5 (FX 1-4, OFF and TAP) plus an AC plug instead of using a usb charge. (https://www.youtube.com/watch?v=DL2Pt8lY8ic).

    Can anyone reverse engineer this thing for me and let me know what my shopping list should be? I've never made or programmed a board before, but I can follow instructions. Thanks!

  2. #2
    Senior Member oddson's Avatar
    Join Date
    Feb 2013
    Location
    Isle in the Salish Sea
    Posts
    1,295
    You need to find out what MIDI messages it expects so you can adjust a basic sketch like the example MIDI button file that downloads with the Teensyduino installer.

    Any Teensy is more than powerful enough to run such a simple sketch... so the LC model being cheapest makes the most sense.

    You can power Teensy with an external DC power source which you could build from AC adaptor etc. but I would suspect a $3 USB 5V supply would be all you really need.

    Teensy is programmed through its USB but it can be powered from the cable when it's just attached to a charger.

    Nothing too complex here but you do have to somewhat understand Arduino generally and Teensyduino specifically to some degree; so don't head down the path if you don't want to put in some learning time.

  3. #3
    Senior Member oddson's Avatar
    Join Date
    Feb 2013
    Location
    Isle in the Salish Sea
    Posts
    1,295
    Found the manual on-line (MIDI section is page 31)

    You need to describe the behaviour better than "FX 1-4" as that could be return or send fader levels or return or send mute off/on...
    No idea what 'off' or 'tap' means in this context.

    All the commands needed appear to be Control Change (unless you want to use snapshots which use program change messages).
    You would need to adjust the sketch to send these instead of note-off/on messages but that would not be very difficult.

    You would also need to wire the send part of the MIDI interface for the DIN connection you will need.

    MIDI out doesn't need special isololators just a couple resistors on the data and power line (https://www.pjrc.com/teensy/td_libs_MIDI.html - right hand side of the schematic).

    (Since watched the video the answers are mostly there but the OSC command for TAP is not clear to me... that sysex message will be the trickiest thing.)
    Last edited by oddson; 03-07-2017 at 11:34 PM.

  4. #4
    Junior Member
    Join Date
    Mar 2017
    Posts
    2
    Oddson, thanks for the responses. So the FX1-4 buttons should un-mute the FX channels 1-4 respectively. "OFF" would mute all FX1-4. TAP is setting the tap time for the delay which in my case is FX3, but I can easily change to any of the 4 FX channels. I will read the links you posted and get back to you with any progress.

  5. #5
    Senior Member oddson's Avatar
    Join Date
    Feb 2013
    Location
    Isle in the Salish Sea
    Posts
    1,295
    The hardware shouldn't be too difficult... a DIN plug and two resisters (47 ohm if you are using a 3.3v board 220 if 5 v -- this sets the current available for the opto-isolator in the receiving device and you need less resistance with the lower voltage). The Tx line is Pin 1 on the LC model.

    The sketch would be easy except for the tap... here are the issues with the tap:

    1. You need to calculate the tap duration from a start and stop command -- which means you need to understand ellapsedMillis
      - you would likely want to create a local variable as an ellapsedMillis on the rising edge of the first button press and save the result on the second... but you'd need to handle cases where there is no second press (max delay time exceeded) etc.
    2. You need to understand the OSC messages used to control parameters not available via MIDI (in particular the duration values for effects)
      - I don't think anyone is going to do this part for you... the manual does not document OSC scripting and the resources I could find weren't very clear to me (as I don't have OSC experience).
    3. You need to encode the tap delay into the OCS wrap that in SYSEX bytes (as shown in the manual p. 31 but also here!)
    4. You need to send sysEx message -- I've only worked with sysex on usbMIDI not on hardware MIDI but I don't believe this part is difficult.


    If you can't sort out 2 then you're dead in the water...

  6. #6
    Junior Member
    Join Date
    Sep 2017
    Posts
    1
    I tinkered together a Max MSP patch that takes any MIDI note input and calculates the tempo and sends to the XR18.
    I find it useful to be able to tap the tempo from a MIDI controller.

    • You need to set the IP address in the 'udpsend' object to the IP of your XR18.
    • If you have the delay in another slot than 2, then you need to change the number 2 in the ''prepend'' object to your slot.
    https://app.box.com/s/ds77iir80nk6w403kpchn6ruurszv3pv

  7. #7
    Junior Member
    Join Date
    Aug 2018
    Posts
    1

    Footpedal for behringer digital mixers

    Quote Originally Posted by JoelLof View Post
    I tinkered together a Max MSP patch that takes any MIDI note input and calculates the tempo and sends to the XR18.
    I find it useful to be able to tap the tempo from a MIDI controller.

    You need to set the IP address in the 'udpsend' object to the IP of your XR18.
    If you have the delay in another slot than 2, then you need to change the number 2 in the ''prepend'' object to your slot.
    https://app.box.com/s/ds77iir80nk6w403kpchn6ruurszv3pv
    Check this out on YT. You can order these prebuilt and programmed.

    They can be ordered for XR18, X32 and any guitar effects unit which can be controlled by Midi

    https://youtu.be/6Q2eEqOFmAE

  8. #8
    Junior Member
    Join Date
    Feb 2020
    Posts
    1

    xair footswitch wireless

    Hello it may be of interest for you, I am developing a footswitch with a first prototype that is working and that has been tested in a few gig
    it control FX mute toggle, any Bus master and 5 channels on a selected SUb
    fully configurable via web interface and have 6h autnomy on battery. Small foot print and can be recharged by USB

    have a look and any support welcome (currently on kickstarter) all code available on git hub

    http://footswitch.groupe-interval.fr/

    Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •