{"id":17911284,"url":"https://github.com/toddtreece/osc-examples","last_synced_at":"2025-04-03T08:35:18.798Z","repository":{"id":28956548,"uuid":"32482653","full_name":"toddtreece/osc-examples","owner":"toddtreece","description":"A simple set of node.js scripts demonstrating OSC communication.","archived":false,"fork":false,"pushed_at":"2015-03-25T18:27:34.000Z","size":260,"stargazers_count":19,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T22:13:18.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Max","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/toddtreece.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":"2015-03-18T20:32:27.000Z","updated_at":"2023-11-15T11:40:42.000Z","dependencies_parsed_at":"2022-08-17T18:45:30.172Z","dependency_job_id":null,"html_url":"https://github.com/toddtreece/osc-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fosc-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fosc-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fosc-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fosc-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toddtreece","download_url":"https://codeload.github.com/toddtreece/osc-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246968060,"owners_count":20862363,"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-28T19:37:36.628Z","updated_at":"2025-04-03T08:35:18.776Z","avatar_url":"https://github.com/toddtreece.png","language":"Max","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node.js osc examples\n\n## Installation\n\nThe examples require the latest stable version of node.js (\u003e= v0.12.0) to be installed. After downloading and installing node.js, you can clone this repository and install the dependencies using `npm`.\n```\n$ git clone https://github.com/toddtreece/osc-examples.git \u0026\u0026 cd osc-examples\n$ npm install\n```\n\n### Cycling '74 Max\n\nIf you would like to test the examples with Max, you will need to download and install the latest version of Max [from Cycling '74's website][1].\n\n### PureData\n\nIf you are interested in the PureData examples, you will need to download and install the latest version of [Pd-Extended][2].\n\n### ChucK\n\nIf you would like to use Chuck with the examples, you will need to download and install lastest version of the command line executable or miniAudicle from [Princeton's website][3].\n\n## Included Examples\n\n* `print.js` - prints received messages from the Max, Pd, or Chuck OSC examples. Also sends messages back one every second.\n* `socketio.js` - demonstrates communicating through OSC with a web browser in real time using socket.io and node.js to translate messages to and from Max, Pd, or Chuck.\n\n### Raspberry Pi PiTFT Examples\n\nTo demonstrate working with remotely connected hardware, there are a couple examples that make use of a Raspberry Pi and a [PiTFT touchscreen module][4].\n\n\n#### Installation on a Raspberry Pi\n\n```\n$ git clone https://github.com/toddtreece/osc-examples.git\n$ cd osc-examples/pitft\n$ npm install\n```\n\n#### PiTFT Examples\n\n* `sine.js` - sends out X \u0026 Y of touches as MIDI pitch and velocity values. Top left of the screen is 0 pitch 0 velocty, and bottom right is 127 pitch \u0026 127 velocity. Use with the pitft_sine example in Max, Pd, or Chuck on your workstation.\n* `sample.js` - creates a grid of 4 buttons that will trigger samples loaded with the pitft_sample example in Max, Pd, or Chuck on your workstation.\n\n\n[1]: https://cycling74.com/downloads\n[2]: https://puredata.info/downloads/pd-extended\n[3]: http://chuck.cs.princeton.edu/release\n[4]: https://www.adafruit.com/search?q=pitft\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddtreece%2Fosc-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoddtreece%2Fosc-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddtreece%2Fosc-examples/lists"}