{"id":16188261,"url":"https://github.com/konsumer/node-pd","last_synced_at":"2025-04-07T13:33:11.857Z","repository":{"id":63867742,"uuid":"69677968","full_name":"konsumer/node-pd","owner":"konsumer","description":"libpd wrapper for nodejs","archived":false,"fork":false,"pushed_at":"2022-11-27T23:20:50.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T08:48:38.810Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/konsumer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-30T15:21:21.000Z","updated_at":"2024-04-18T14:19:49.000Z","dependencies_parsed_at":"2022-11-28T00:30:53.712Z","dependency_job_id":null,"html_url":"https://github.com/konsumer/node-pd","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Fnode-pd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Fnode-pd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Fnode-pd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Fnode-pd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konsumer","download_url":"https://codeload.github.com/konsumer/node-pd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247662096,"owners_count":20975177,"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-10-10T07:25:40.280Z","updated_at":"2025-04-07T13:33:11.838Z","avatar_url":"https://github.com/konsumer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-libpd\n\nlibpd wrapper for nodejs\n\nThis will allow you to load [puredata](https://puredata.info/) patches and interact with them in nodejs.\n\nTested on M1 \u0026 Intel mac, but it should work fine on anything that can install nodejs and libpd.\n\n## installation\n\nYou will need libpd nstalled.\n\nTo install/build libpd:\n\n```\ngit clone --recursive https://github.com/libpd/libpd.git\ncd libpd\nmake UTIL=true EXTRA=true\nsudo make install\n```\n\nNow you can install it in your nodejs project:\n\n```\nnpm i libpd\n```\n\n## usage\n\nSee [test.js](./test.js) for example usage, but here is basic idea:\n\n```js\nconst pd = require('libpd')\n\n// open test.pd patch, from current dir\npd.open('test.pd', __dirname)\n  .then(() =\u003e {\n    // send a message to the patch\n    pd.send('loadbang')\n    \n    // do nothing while audio-loop is running. Ctrl-C will break\n    while (true) {\n    // noop\n    }\n  })\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonsumer%2Fnode-pd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonsumer%2Fnode-pd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonsumer%2Fnode-pd/lists"}