PD template questions

A few questions about the PD template, asking as i only recently started owling and have no C++ skills (eventually yet).

  • Is there or will there be a READ ME explaining the contents?
  • I assume, that Parameter A-D mark the OWl pedal faders from left to right.
    Correct?
  • What exactly are the r Channel-a through -D objects for, besides i could connect respective send objects inside the PD patch template?
  • What are Parameter E and r Channel-E being used for? Expression pedal input?
  • Is there a way to access/program the LED-lit button above the footswitch?
  • Is there a way to access the footswitch (say for tapping)?

Thank you for any insights.

Maybe someone who knows PD better than me should answer this, but in brief:
Channel-A to -D correspond to the four patch parameters, correct.

There’s also a Channel-E (perhaps not in the template) connecting to the expression pedal input.
In the patch, you get the current value of a parameter from the corresponding receiver, as a float from 0.0 to 1.0.

The footswitch is connected in true bypass so there’s no way to use it in a patch without turning the patch off when you toggle it.

The pushbutton on the other hand will work, but I’ve not been too sure about how to connect it in PD - as a bang? I’ve just been testing some code which takes it in the same as the parameters: as a float which is 0 for off and 1 for on. Apparently that can then be used to feed a bang if necessary. I need someone with good PD skills to try it out for me.

Yes, it would be phantastic to find out, how to access the pushbutton from PD. If you have a strategic idea how to approach this, besides asking around, please let me know. Also i think my PD skills are good enough to help you there. How do we go from here?

EDIT: I suppose, that accessing the push button simply requires another r object - like channel-F to receive people toughing it, and some s Channel-F or Channel-LED object to send visual feedback from the code. How do you approach this in C++? I suppose we can take variable names from there, no?

We’re making some improvements to the online build, I’ll roll in some PD changes.

You’ll be able to get the pushbutton with ‘r Channel-Push’, value 0 for off, 1 for on.

Will find out how to receive a message back from the generated Heavy code, but it will probably work like this:
‘s Channel-LED’, with value 0 for off, 0.5 for red, and 1 for green.

If you want to help by creating a patch which uses this scheme, please go ahead and post the link here.

Okay so this is now rolled into OwlProgram master branch:

  1. Receive pushbutton status with ‘r Channel-Push’.
    There’s a message for every change, with a float value of 0.0 for off and 1.0 for on.
    On OWL modular you can trigger messages with the Push gate input.

  2. Set LED with ‘s Channel-Push’. Also sets push output on OWL Modular. No value will toggle, a float value of 0.0 will set the gate low and the LED green, a value of 1.0 will set it high/red.

  3. Print messages. Use the print object in PD to send debug messages to OwlControl.

Updating the online compiler now!

This is awesome news, Martin! I’ll supply an example patch asap (too much work here right now).