Skip to content

kumikohime/gdpuredata

Repository files navigation

GdPureData

Puredata Plugin for Godot 4.x

Integrates libpd into the Godot Engine via gdextension

Documentation

Refer to the official libpd wiki: https://github.com/libpd/libpd/wiki Almost all methods are exposed in the plugin with sane function names.

Building

  1. Change directory to gdpuredata/gdextension/gdpuredata/libpd and run make STATIC=true. This will build a static library of the libpd module for the gdextension.

  2. Go back up a folder to gdpuredata/gdextension/gdpuredata and run scons. This will create a binary in gdpuredata/gdextension/demo/bin. You will need to move this binary to /gdpuredata/addons/ for the correct platform. There are set paths in the /addons/gdpuredata.gdextension file. Adapt to your setup.

Usage

The plugin is exposed as a Godot node called GDPureDataHandle Check the demo scene for an example

Misc

The default buffer length is set at 0.5s. This may cause a latency too high for some. The latency can be fixed by adjusting the buffer length here.

image

The libpd project is under a BSD license. Check the relevant license in the repository.

All other code is released under MIT.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages