{"id":13618686,"url":"https://github.com/belangeo/pyo","last_synced_at":"2025-05-13T23:06:33.887Z","repository":{"id":2031111,"uuid":"41371288","full_name":"belangeo/pyo","owner":"belangeo","description":"Python DSP module","archived":false,"fork":false,"pushed_at":"2025-03-22T10:21:32.000Z","size":27556,"stargazers_count":1353,"open_issues_count":35,"forks_count":136,"subscribers_count":64,"default_branch":"master","last_synced_at":"2025-04-10T02:11:40.489Z","etag":null,"topics":["audio","c","dsp","music","pyo","python","radio-pyo","signal-processing","sound","synthesis"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/belangeo.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-08-25T15:23:20.000Z","updated_at":"2025-03-30T03:11:34.000Z","dependencies_parsed_at":"2024-06-18T15:24:41.486Z","dependency_job_id":"09e63f49-8987-408a-b9b1-5044a4894e7d","html_url":"https://github.com/belangeo/pyo","commit_stats":{"total_commits":2227,"total_committers":27,"mean_commits":82.48148148148148,"dds":"0.48226313426133816","last_synced_commit":"57d63097a0c0dd044797888f08728c49f83512ec"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belangeo%2Fpyo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belangeo%2Fpyo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belangeo%2Fpyo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belangeo%2Fpyo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/belangeo","download_url":"https://codeload.github.com/belangeo/pyo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248142905,"owners_count":21054671,"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":["audio","c","dsp","music","pyo","python","radio-pyo","signal-processing","sound","synthesis"],"created_at":"2024-08-01T21:00:29.029Z","updated_at":"2025-04-10T02:11:48.520Z","avatar_url":"https://github.com/belangeo.png","language":"Python","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=9CA99DH6ES3HA"],"categories":["Python","User Interaction","Audio Processing \u0026 Synthesis","Analysis \u0026 Feature Extraction"],"sub_categories":["Acoustic User Interface"],"readme":"# Pyo - Python DSP module #\n\npyo is a Python module written in C to help digital signal processing script \ncreation.\n\npyo is a Python module containing classes for a wide variety of audio signal \nprocessing types. With pyo, user will be able to include signal processing \nchains directly in Python scripts or projects, and to manipulate them in real \ntime through the interpreter. Tools in pyo module offer primitives, like \nmathematical operations on audio signal, basic signal processing (filters, \ndelays, synthesis generators, etc.), but also complex algorithms to create \nsound granulation and others creative audio manipulations. pyo supports OSC \nprotocol (Open Sound Control), to ease communications between softwares, and \nMIDI protocol, for generating sound events and controlling process parameters. \npyo allows creation of sophisticated signal processing chains with all the \nbenefits of a mature, and widely used, general programming language.\n\nAvailable from Pypi:\n\n- python 3.9 (Windows amd64, MacOS arm64, linux x86_64)\n- python 3.10 (Windows amd64, MacOS x86_64 et arm64, linux x86_64)\n- python 3.11 (Windows amd64, MacOS x86_64 et arm64, linux x86_64)\n- python 3.12 (Windows amd64, MacOS x86_64 et arm64, linux x86_64)\n- python 3.13 (Windows amd64, MacOS x86_64 et arm64, linux x86_64)\n\n**For more information and documentation**, visit the \n[PYO DOCUMENTATION](https://belangeo.github.io/pyo/).\n\nHow to install pre-built packages on any platform using **pip**: \n[INSTALL Instructions](https://belangeo.github.io/pyo/download.html).\n    \nHow to get pyo running from sources on macOS and linux:\n[COMPILE Instructions](https://belangeo.github.io/pyo/compiling.html).\n\npyo was awarded **second prize** in the \n[Lomus 2012](http://concours.afim-asso.org/2012/) Free Software Competition.\n\n**You want to help the development of pyo ?** Go to the\n[pyo features market](https://github.com/belangeo/pyo/wiki/Pyo-features-market) \nand make a donation for the feature you want to promote. You can also submit new\nfeatures on the mailing-list ( https://github.com/belangeo/pyo/discussions ).\n\n## Radio Pyo ##\n\nIf you want to listen to scripts rendered in real-time, just connect to \n[Radio Pyo](http://radiopyo.acaia.ca/) !\n\nYou want to have your script played on the radio ? Download the template\n[radiopyo_template.py](https://github.com/tiagovaz/radiopyo/blob/master/utils/radiopyo_template.py),\nfollow the rules and post it on the mailing-list !\n\n## Software using Pyo as audio engine ##\n\n[Cecilia 5](https://github.com/belangeo/cecilia5) : An audio signal \nprocessing environment.\n\n[PsychoPy](http://www.psychopy.org/) : An open-source application to allow the \npresentation of stimuli and collection of data for a wide range of neuroscience, \npsychology and psychophysics experiments.\n\n[Soundgrain](https://github.com/belangeo/soundgrain) : \nA graphical interface where users can draw and edit trajectories to control \ngranular sound synthesis.\n\n[Zyne](https://github.com/belangeo/zyne) : A modular soft synthesizer.\n\n[Pyo Synth](https://github.com/alexandrepoirier/PyoSynth) : Pyo Synth is an open\nsource application that makes the manipulation of pyo scripts easier by letting\nyou control it with a midi keyboard. \n\n## Examples ##\n\npyo is fully integrated to Python and very simple to use.\n\nPlay a sound:\n\n```\n\u003e\u003e\u003e from pyo import *\n\u003e\u003e\u003e s = Server().boot()\n\u003e\u003e\u003e s.start()\n\u003e\u003e\u003e sf = SfPlayer(\"path/to/your/sound.aif\", speed=1, loop=True).out()\n```\n\nGranulate an audio buffer:\n\n```\n\u003e\u003e\u003e s = Server().boot()\n\u003e\u003e\u003e s.start()\n\u003e\u003e\u003e snd = SndTable(\"path/to/your/sound.aif\")\n\u003e\u003e\u003e env = HannTable()\n\u003e\u003e\u003e pos = Phasor(freq=snd.getRate()*.25, mul=snd.getSize())\n\u003e\u003e\u003e dur = Noise(mul=.001, add=.1)\n\u003e\u003e\u003e g = Granulator(snd, env, [1, 1.001], pos, dur, 24, mul=.1).out()\n```\n\nGenerate melodies:\n\n```\n\u003e\u003e\u003e s = Server().boot()\n\u003e\u003e\u003e s.start()\n\u003e\u003e\u003e wav = SquareTable()\n\u003e\u003e\u003e env = CosTable([(0,0), (100,1), (500,.3), (8191,0)])\n\u003e\u003e\u003e met = Metro(.125, 12).play()\n\u003e\u003e\u003e amp = TrigEnv(met, table=env, mul=.1)\n\u003e\u003e\u003e pit = TrigXnoiseMidi(met, dist='loopseg', x1=20, scale=1, mrange=(48,84))\n\u003e\u003e\u003e out = Osc(table=wav, freq=pit, mul=amp).out()\n```\n\n## Donation ##\n\nThis project is developed by Olivier Bélanger on his free time to provide a \nfully integrated Python dsp module for sound exploration and music composition. \nIf you feel this project is useful to you and want to support it and it's \nfuture development please consider donating money. I only ask for a small \ndonation, but of course I appreciate any amount.\n\n[![Support via PayPal](https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=9CA99DH6ES3HA)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelangeo%2Fpyo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbelangeo%2Fpyo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelangeo%2Fpyo/lists"}