Skip to content

GUI Objects

Here we list all the objects that are supported by the GUI module and how to use them inside your web patch.

Set Senders and Receivers for GUI Objects

Again, to use any GUI object (except for vu), you must configure senders and receivers. This ensures all objects function properly and saves you from spending excessive time debugging your patch.


pd4web just render GUI objects

pd4web don't render objects boxes, object connections, messages, or anything else.

Supported Gui Objects

For now, just these objects are supported:

  • bng: Bang object;
  • tgl: Toggle object;
  • nbx: Number box object;
  • vsl: Vertical slider object;
  • hsl: Horizontal slider object;
  • vradio: Vertical radio object;
  • hradio: Horizontal radio object;
  • vu: Vertical vu object;
  • cnv: Canvas object;
  • text: Comment object;
  • floatatom: Number box object;
  • symbolatom: Symbol box object;
  • listatom: List box object;

From external libraries:

  • else/knob: Knob object;
  • else/keyboard: Keyboard object;

Pdlua + pd4web

pd4web supports any GUI object implemented with pdlua. To use one, place the corresponding *.pd_lua file in the Libs/ directory of your patch.

For example, the show~ object by Ben Wes is implemented in pdlua. To use it with pd4web, download show~.pd_lua from the repository and copy it into the Libs/ folder inside your patch directory. You can download it here [show~](Here is a clearer and tighter version:

For example, the show~ object by Ben Wes is implemented in pdlua. To use it with pd4web, download show~.pd_lua from the repository and copy it into the Libs/ folder inside your patch directory.

See the show~ object here.