Pushed code to that branch. There's a TouchOSC layout that exposes Klingon, Overdrive, Chorus and a little of Reverb. Knob values may be getting mangled if you wiggle a lot. Might be treating input domains as linear when they sometimes should be logarithmic.

Check that same repo's Wiki for a recipe if you want to try it.
https://github.com/rhaleblian/transmogriFX_bela/wiki

Some observations:

I started assuming that effects store an input value that was the knob's input after mapping from 0-1 to the input domain -- I cared because I want to send that value to the UI, as the controls are absolute. I didn't see that being the case after attempting to "wire" a pointer to an internal effect param to fetch its value to send back to the UI. And inverting the stored param value to the original input looked not easy in many cases. I dealt with it by storing the mapped input value in each of a Knob object, and never looking inside the effect. But now OSC and hardware knobs might not play nice together.

What was the other thing? I already mentioned linear vs log. Well, maybe it was that it would be nice to read the layout file and generate code that could be dropped into a C++ project to provide objects to talk to using a small support library that is prepared for the generated code.

    plate-of-shrimp But now OSC and hardware knobs might not play nice together.

    it's hard to make that work smoothly without encoders and many LEDs ...

    plate-of-shrimp Well, maybe it was that it would be nice to read the layout file and generate code that could be dropped into a C++ project to provide objects to talk to using a small support library that is prepared for the generated code.

    not sure I understand what you mean there

    not sure I understand what you mean there

    Um, drop the 'small support library' bit, that probably confuses things. The idea is only to extract things from the layout and make C++ representations of them for convenience. Say, that a fader that goes from 0-7 and is called '/coolness/factor' becomes some code you don't have to repetitively write to help wire things up. Using OscReciever and OscSender are easy, and writing a receive callback is easy, so it may not worth the effort.

    7 days later

    Added delay line.
    https://github.com/rhaleblian/transmogriFX_bela/tree/osc
    Exposed effects:
    - compressor
    - klingontone
    - overdrive
    - chorus
    - delay
    - reverb (only partially)
    Sustainer has a layout but the wiring is not done.

    @giuliomoro the files
    https://github.com/rhaleblian/transmogriFX_bela/blob/osc/src/osc.cpp
    https://github.com/rhaleblian/transmogriFX_bela/blob/osc/src/osc_delay.cpp
    show a class abstraction for a virtual "faceplate".

    Re: TouchOSC examples, how about something that is in line with the existing examples but replaces eg a pot with a TouchOSC screen? I could make that.

    Nice !
    Out of curiosity, what makes you prefer TouchOSC over the Bela GUI?

    I should try the GUI. I suppose that if it runs in a browser it is portable, in the physical sense? On a phone or tablet?
    I may move from TouchOSC to a hardware controller if I see one that does OSC.
    Also brings up the question of stomp switch pedalboards, have not looked to see what's out there.
    I also got Trills in the mail recently...

      This video showing the screens came out not so well, but I hope it gives a sense.

      I'll record something with sound but it's a little too early here for lots of noise.

      plate-of-shrimp suppose that if it runs in a browser it is portable, in the physical sense? On a phone or tablet?

      yes! although I must say that your TouchOSC solution looks very good already.

      plate-of-shrimp a hardware controller if I see one that does OSC.

      nice, do they exist?

      plate-of-shrimp sound is bit high in the mix.

      indeed, but cool video anyhow

      plate-of-shrimp Also brings up the question of stomp switch pedalboards, have not looked to see what's out there.

      I know there are MIDI boards out there. I played with a Behringer FCB1010 using a USB-Midi converter in Rakarrack on a laptop. It would probably take some coding to pipe the USB-Midi device into Bela, but if you got that working then it would open up a lot of possibilities for HW controllers.

      Another idea i have tossed around is I have an Acer Spin5, which is plenty of screen to support a nice control interface, and is trivial to get MIDI messages through the standard Alsa driver. The control interface including control to a HW MIDI controller via USB in the laptop could send messages to Bela via OSC.

      I would think a tablet with a USB port could be used in the same way. For that matter a Raspberry pi could be used to bridge the MIDI->USB->Network interface and then you could turn any HW MIDI controller into a HW->OSC controller.

      Well there's some brain dump 😉 .

        2 years later