{"id":13529353,"url":"https://github.com/mgsx-dev/gdx-pd","last_synced_at":"2025-05-12T14:12:49.676Z","repository":{"id":82412192,"uuid":"74775236","full_name":"mgsx-dev/gdx-pd","owner":"mgsx-dev","description":"Pure Data extension for LibGDX","archived":false,"fork":false,"pushed_at":"2020-05-28T08:43:27.000Z","size":25245,"stargazers_count":29,"open_issues_count":8,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-12T14:12:22.565Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mgsx-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-11-25T16:58:48.000Z","updated_at":"2025-05-01T04:35:36.000Z","dependencies_parsed_at":"2023-06-15T14:00:17.862Z","dependency_job_id":null,"html_url":"https://github.com/mgsx-dev/gdx-pd","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgsx-dev%2Fgdx-pd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgsx-dev%2Fgdx-pd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgsx-dev%2Fgdx-pd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgsx-dev%2Fgdx-pd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgsx-dev","download_url":"https://codeload.github.com/mgsx-dev/gdx-pd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253754220,"owners_count":21958842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T07:00:35.600Z","updated_at":"2025-05-12T14:12:49.601Z","avatar_url":"https://github.com/mgsx-dev.png","language":"Java","funding_links":[],"categories":["Resources"],"sub_categories":["Audio"],"readme":"\n[![Build Status](https://travis-ci.org/mgsx-dev/gdx-pd.svg?branch=master)](https://travis-ci.org/mgsx-dev/gdx-pd)\n\nPure Data extension for LibGDX.\n\n# Introduction\n\n## What is it ?\n\nLibGDX is a cross platform game framework. If you don't know, please visit : http://www.badlogicgames.com/\n\nPuredata (Pd) is an audio synthesis application coded in C providing graphical programming.\ngdx-pd is based on LibPd java bindings. If you don't know, please visit : https://github.com/libpd/libpd\n\nThis extension enables audio synthesis in games with pd patches and provides some usefull tools for audio design.\n\n## Features\n\n* Wraps/abstracts libpd in a libGDX fashion way.\n* Audio processing thread fully integrated with LibGDX audio implementation : you can use both Pd and Sounds/Musics.\n* Pd patch loader for AssetManager.\n* Midi sequencers (including \"à la live\" sequencer).\n* Midi file reader/writer and loader for AssetManager.\n* Full Pd Vanilla support including extra externals.\n* Live patching in Pd throw network/OSC, see [Full Live Patching Documentation](doc/LivePatching.md)\n* Audio baking at runtime or during gradle build.\n\n## Supported platforms\n\n| Platform   | Supported |\n|------------|-----------|\n| Linux 64   |    yes    |\n| Linux 32   |    yes    |\n| Android    |    yes    |\n| Windows 64 |    yes    |\n| Windows 32 |    yes    |\n| MacOSX 64  |    yes    |\n| MacOSX 32  |    yes    |\n| iOS        |  not yet  |\n| Web        |  not yet  |\n\n## Documentation\n\nFull documentation is available in this repository :\n\n* [Getting started](doc/GettingStarted.md)\n* [Assets organization](doc/AssetsOrganization.md)\n* [Working with MIDI](doc/WorkingWithMidi.md)\n* [Remote live patching](doc/LivePatching.md)\n\n## Showcase and Resources\n\n* **Rainstick** : A rainstick [available on Android](https://play.google.com/store/apps/details?id=net.mgsx.rainstick). Sources [here](https://github.com/mgsx-dev/rainstick)\n* **gdx-pd demo** : Gdx-Pd features demo available for [Desktop](https://github.com/mgsx-dev/gdx-pd-demo/releases) and [Android](https://play.google.com/store/apps/details?id=net.mgsx.pd.demo). Sources [here](https://github.com/mgsx-dev/gdx-pd-demo)\n* **pd-patchbank** (coming soon) : A \"Starter Kit\" collection of pd patches. \n\n## Futur works\n\n* Deploy on Maven Central\n* Audio 3D spatialization (with a VR demo).\n* Add support for all platforms.\n* Easy custom external integration.\n\n# How to use\n\n## Configure your LibGDX project\n\nJust add gradle dependencies as usual :\n\n**Jars are not available on Maven Central yet. Please read the \"Build from sources\" section.**\n\n```\nproject(\":core\") {\n    apply plugin: \"java\"\n    dependencies {\n        ...\n        compile \"net.mgsx.gdx:gdx-pd:$pdVersion\"\n        ...\n    }\n}\n\nproject(\":desktop\") {\n    apply plugin: \"java\"\n    dependencies {\n    \tcompile project(\":core\")\n        ...\n        compile \"net.mgsx.gdx:gdx-pd-platform:$pdVersion:desktop\"\n        compile \"net.mgsx.gdx:gdx-pd-platform:$pdVersion:natives-desktop\"\n        ...\n    }\n}\n\nproject(\":android\") {\n    apply plugin: \"android\"\n\n    configurations { natives }\n\n    dependencies {\n        compile project(\":core\")\n        ...\n        compile \"net.mgsx.gdx:gdx-pd-backend-android:$pdVersion\"\n        natives \"net.mgsx.gdx:gdx-pd-platform:$pdVersion:natives-armeabi\"\n        natives \"net.mgsx.gdx:gdx-pd-platform:$pdVersion:natives-armeabi-v7a\"\n        natives \"net.mgsx.gdx:gdx-pd-platform:$pdVersion:natives-arm64-v8a\"\n        natives \"net.mgsx.gdx:gdx-pd-platform:$pdVersion:natives-x86\"\n        natives \"net.mgsx.gdx:gdx-pd-platform:$pdVersion:natives-x86_64\"\n\t\t ...        \n    }\n}\n\n```\n\n[Read more ...](doc/GettingStarted.md)\n\n# Build from sources\n\nNote that pre-built native binaries are already tracked in this repository and doesn't need to be built exept changes in C sources.\n\nFirst setup your local git clone :\n\n\t$ git clone https://github.com/mgsx-dev/gdx-pd.git\n\t$ cd gdx-pd\n\t$ git submodule init\n\t$ git submodule update\n\nYou have to tell gradle about your Android sdk location by creating a local.properties file :\n\n\t$ echo 'sdk.dir=[absolute path to Android SDK location]' \u003e local.properties\n\nOptionnaly you may want to publish locally in order to use it in your local projects (including gdx-pd-tests projects) :\n\n\t$ ./gradlew publishToMavenLocal\n\n## Re-Build natives\n\nFirst fetch pd sources :\n\n\t$ cd gdx-pd/libpd\n\t$ git submodule init\n\t$ git submodule update\n\t$ cd ..\n\n### Build Linux, Android and Windows binaries\n\nLinux, Android and Windows binaries can be built on any platform supporting Docker (Linux, Windows and OSX).\nIt only requires Docker installed (see https://docs.docker.com/engine/installation/), NDK and other cross compiler tools are already included in the docker image.\n\nTo rebuild binaries, just run command below :\n\n\t$ docker run --rm -v $(pwd):/work -w /work/native -it mgsx/gdx-docker ../gradlew buildNative\n\t$ sudo chown -R $USER:$USER .\n\n### Build OSX binaries\n\nOnly OSX bianries require a Mac development environnement :\n* XCode and command line tools (make, gcc, g++...)\n* Java 1.8+\n* homebrew : https://brew.sh\n* Ant : `brew install ant`\n\nTo rebuild binaries, just run command below :\n\n\t$ cd native\n\t$ ../gradlew generateBuildScripts\n\t$ ant -f jni/build-macosx32.xml -v -Dhas-compiler=true clean postcompile\n\t$ ant -f jni/build-macosx64.xml -v -Dhas-compiler=true clean postcompile\n\n\n# Running tests and examples\n\nA bunch of examples are provided in [desktop test project](tests/desktop/src/net/mgsx/pd). Just import gradle project from \"tests\" folder and run java classes. You don't need to build gdx-pd in order to run these tests.\n\nAn example illustrates sound baking during a gradle build. (you have to replace pdVersion variable with latest gdx-pd version) :\n\n\t$ cd tests/example-offline\n\t$ ../gradlew -PpdVersion=0.6.0-SNAPSHOT bake \n\n# Licence\n\nPure Data and LibPD (git submodules and native binaries) are licenced under the [Standard Improved BSD License](PDLICENSE)\n\nGdx-pd is licensed under the [Apache 2 License](LICENSE)\n\n# Thanks\n\nThanks to Miller Puckette for [Pure Data](http://puredata.info).\n\nThanks to Peter Brinkmann \u0026 the libpd team for their [Pure Data wrappers](https://github.com/libpd/libpd)\n\nThanks to [b2renger](https://github.com/b2renger) for his contribution in all gdx-pd related projects.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgsx-dev%2Fgdx-pd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgsx-dev%2Fgdx-pd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgsx-dev%2Fgdx-pd/lists"}