{"id":18021405,"url":"https://github.com/suda/ps-01","last_synced_at":"2025-03-26T22:30:56.861Z","repository":{"id":66430795,"uuid":"59334477","full_name":"suda/ps-01","owner":"suda","description":"🎹 Software synthesizer running on Particle Xenon, inspired by MOS6581 and Pocket Operator","archived":false,"fork":false,"pushed_at":"2019-12-20T15:38:08.000Z","size":10501,"stargazers_count":4,"open_issues_count":2,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-20T15:09:45.036Z","etag":null,"topics":["chiptune-synthesizer","dac","midi","particle","synthesizer","xenon"],"latest_commit_sha":null,"homepage":"https://hackaday.io/project/167405-ps-01","language":"C++","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/suda.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-21T00:50:50.000Z","updated_at":"2023-04-18T05:55:02.000Z","dependencies_parsed_at":"2023-02-22T09:31:00.529Z","dependency_job_id":null,"html_url":"https://github.com/suda/ps-01","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/suda%2Fps-01","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suda%2Fps-01/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suda%2Fps-01/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suda%2Fps-01/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suda","download_url":"https://codeload.github.com/suda/ps-01/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245747507,"owners_count":20665802,"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":["chiptune-synthesizer","dac","midi","particle","synthesizer","xenon"],"created_at":"2024-10-30T06:09:54.590Z","updated_at":"2025-03-26T22:30:56.822Z","avatar_url":"https://github.com/suda.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PS-01 synthesizer\n\n[![Build Status](https://travis-ci.org/suda/ps-01.svg?branch=master)](https://travis-ci.org/suda/ps-01)\n\nSoftware synthesizer that can be run on Particle 3rd gen devices (Argon, Boron or Xenon) as well as desktop. Inspired by MOS6581 and the Pocket Operator series.\n\n## Abstract\n\n**This is a work in progress.** You can follow the updates on:\n* [Hackaday](https://hackaday.io/project/167405-ps-01)\n* [Instagram stories](https://www.instagram.com/stories/highlights/18089019253003770/)\n* [YouTube playlist](https://www.youtube.com/playlist?list=PLW9dSXWX1cLJcqKuNrfPg6BXtz2fbAJwX)\n\n[See planned milestones and features](docs/ps-01.pdf).\n\n\n## Running\n\nThis synth is designed to run both on embedded device but also to be compiled on a desktop (helps with debugging).\n\n### Desktop (macOS/Linux/Windows)\n\n```\n$ cmake .\n$ make\n$ ./build/ps_01\n```\n\n### Particle\n\n1. Assemble the [hardware](docs/hardware.md).\n2. Open this repo in [Particle Workbench](https://www.particle.io/workbench)\n3. Set `deviceOS@1.4.2` and the correct device you're using (`xenon`, `argon` or `boron`)\n4. Flash the project to the device\n\n## UI\n\n![](docs/ui/color_v1@2x.png)\n[UI documentation and guidelines](docs/ui.md)\n\n## Code structure\n\n### `/src/synth`\n\nMain sound synthesis code including voices, ADSR and effects.\n\nProposed features of the engine are:\n\n* six independent audio oscillators with:\n\t* four different waveforms per audio oscillator (sawtooth, triangle, pulse, noise)\n\t* variable pulse width\n\t* multi mode filter (low-pass, high-pass and band-pass)\n\t* ADSR volume controls\n\t* ability to specify channel (left, right or both)\n* six ring modulators\n\nThis is similar to having two [SID chips](https://en.wikipedia.org/wiki/MOS_Technology_SID#Features).\n\n### `/src/midi`\n\nMIDI abstraction including:\n* MIDI over USB-OTG interface\n* MIDI over DIN5 connector\n* QWERTY keyboard support\n\n### `/src/sequencer`\n\nCode for controlling sound engine and generate actual music out of sounds. Does things like chords, arpeggio, note to frequency conversion.\n\n### `/src/ui`\n\nUser interface (physical buttons, leds and screen) code.\n\n### `/lib`\n\nVendored 3rd party libraries.\n\n## References\n\n* https://ccrma.stanford.edu/software/stk/\n* [VICE - C64 emulator with multiple SID implementations (reSID, FastSID)](http://vice-emu.sourceforge.net/index.html#download)\n* [NES Audio - series of videos explaining some chiptune effects](https://www.youtube.com/playlist?list=PLW9dSXWX1cLKxzAsxP4dfWyhK3B1bAzJg)\n* [wavepot - tool for live sound synthesis](http://wavepot.com/)\n* [SID chip datasheet](http://www.waitingforfriday.com/index.php/Commodore_SID_6581_Datasheet)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuda%2Fps-01","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuda%2Fps-01","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuda%2Fps-01/lists"}