{"id":47182308,"url":"https://github.com/bastl-instruments/kastle2","last_synced_at":"2026-03-13T07:38:18.621Z","repository":{"id":333863983,"uuid":"1138201931","full_name":"bastl-instruments/kastle2","owner":"bastl-instruments","description":"A modular DSP platform that fits into your pocket! Comes with open-source codebase and schematics. Citadel compatible.","archived":false,"fork":false,"pushed_at":"2026-03-09T09:08:19.000Z","size":19420,"stargazers_count":66,"open_issues_count":1,"forks_count":11,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-09T12:49:48.418Z","etag":null,"topics":["audio-processing","bastl","diy-electronics","diy-synth","dsp","eurorack","fixed-point-arithmetic","pi-pico","rp2040","synthesizer"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bastl-instruments.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-20T11:19:42.000Z","updated_at":"2026-03-09T09:08:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bastl-instruments/kastle2","commit_stats":null,"previous_names":["bastl-instruments/kastle2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bastl-instruments/kastle2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bastl-instruments%2Fkastle2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bastl-instruments%2Fkastle2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bastl-instruments%2Fkastle2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bastl-instruments%2Fkastle2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bastl-instruments","download_url":"https://codeload.github.com/bastl-instruments/kastle2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bastl-instruments%2Fkastle2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30461055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T06:34:02.089Z","status":"ssl_error","status_checked_at":"2026-03-13T06:33:49.182Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-processing","bastl","diy-electronics","diy-synth","dsp","eurorack","fixed-point-arithmetic","pi-pico","rp2040","synthesizer"],"created_at":"2026-03-13T07:38:18.560Z","updated_at":"2026-03-13T07:38:18.616Z","avatar_url":"https://github.com/bastl-instruments.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kastle 2\n\n*Compatible with [Bastl Instruments Citadel](https://github.com/bastl-instruments/citadel)*\n\nA modular DSP platform that fits into your pocket!  \nComes with open-source codebase (including two official firmwares) and schematics.\n\n\u003cimg src=\"./images/readme/kastle2-fx-wizard.webp\" width=\"250\" alt=\"Kastle 2\" /\u003e \n\n## How to develop for Kastle 2\n\nRead [Toolchain Install Guide](TOOLCHAIN_INSTALL.md), [Coding Style Guide](CODING_STYLE.md) and [Glossary \u0026 Examples](GLOSSARY_EXAMPLES.md), or dive through the generated [Code Documentation](http://apps.bastl-instruments.com/kastle2-docs).\n \nAny questions or weird stuff hapenning? See the [FAQ](FAQ.md) or discuss your experience on our [Discord server](https://discord.com/invite/C4RXRjgYJ6). \n\n## Specifications\n\n- Raspberry Pi RP2040 MCU (264 kB RAM, clocked at 176 MHz)\n- 8 MB flash for firmware and data\n- 256 B EEPROM for storing calibration and settings\n- 44kHz/16-bit stereo audio quality\n- USB-C or 3xAA battery power (with automatic switching)\n- 18 analog inputs (12-bit)\n  - 2 direct inputs (sample rate \u003e 1 kHz)\n  - 16 multiplexed inputs (sample rate \u003e 100 Hz)\n- 3 digital inputs\n- 3 analog outputs (using filtered 10-bit PWM)\n- 3 digital outputs\n- Stereo audio input (up to 6 Vpp)\n- Stereo headphone output (suitable for up to 250 Ohm headphones)\n- 3 RGB LEDs\n- USB MIDI input \u0026 output - see the [MIDI Mappings](MIDI_MAPPINGS.md)\n\nAll inputs are designed to accept voltages in the range of 0-5V unless specified.  \nAll outputs are designed to provide 0-5V (0V to the input voltage, respectively).\n\n## Connectivity\n- USB-C (power, firmware updates, MIDI)\n- Sync in jack (expects a clock signal at tip)\n- Sync out jack (produces a clock signal at tip)\n- Audio in jack\n- Headphone out jack\n\n## User interface\n- 7 potentiometers\n- 2 buttons\n- Pin headers for patching\n- Power switch\n\n## Power consumption, battery life\n\nPower consumption is approximately 100-150 mA, allowing for up to 15-18 hours of use on 3xAA batteries.\n\n\n## Open Source Firmwares\n\nThe full firmware list is here: [app list](APP_LIST.md).\n\n**FX Wizard**   \nNine time-based audio effects, with DJ-style lowpass/highpass filter.\n\n**Wave Bard**   \nStereo sample player featuring unique sequencing techniques.\n\nAnd other examples, see the `code/src/apps` subfolder.\n\n## Useful links\n\n**[Citadel repository](https://github.com/bastl-instruments/citadel)**  \nA Eurorack adaptation of the Kastle 2 family. It's directly compatible with the Kastle 2 firmwares, there are no extra Citadel firmware builds. The firmware itself detects the variant it's running on (based on the MIDI pull-up resistor on RX line) and adjusts necessary parameters.\n\n**[Kastle 2 Web Apps repository](https://github.com/bastl-instruments/kastle2-webapps)**  \nSource codes for Wave Bard Sample Loader, Alchemist Laboratory…\n\n**[Kastle 2 Label Maker repository](https://github.com/bastl-instruments/kastle2-labelmaker)**  \nSource code for a tool which helps you visualize Kastle 2 app ideas.\n\n## Credits\n\n**Developed by**   \nVáclav Mach ([@xx0x](https://github.com/xx0x)), Marek Mach ([@machmar](https://github.com/machmar))\n\n**Supervised by**  \nVáclav Peloušek ([@vaclav-bastl](https://github.com/vaclav-bastl)), Martin Klecl ([@martinklecl](https://github.com/martinklecl))\n\nThanks to Majkel ([@tenmajkl](https://github.com/tenmajkl)) with help around documentation and everyone at Bastl Instruments for their support while working on this!\n\n## License\n\n**Code**  \nMIT license\n\n**Schematics, Documentation, Templates, Printable 3D files**  \nCC BY SA 4.0 license\n\n**Voice recordings (Version, Calibration, Test Mode)**  \nCC0 license, made using TTS Maker (voice 178 - Chloe) and sped up by 1.05x\n\n**Panel graphics, Case artwork**  \nAll rights reserved\n\n**Samples (eg. Wave Bard factory bank)**  \nAll rights reserved\n\n*Note: You are welcome to create derived products based on the schematics and software. However, Bastl retains proprietary rights to the board layout, which is not publicly available. This prevents simple product cloning and maintains the integrity of the original Kastle 2. By purchasing an original Bastl Instruments Kastle 2 you support ongoing development.*\n\n*Regarding samples: The SAMPLES.BIN file in the repository should not be commercially distributed as part of a custom-built firmware, nor separately, as it is marked “All rights reserved.” However, using the official compiled firmware provided by Bastl (which includes the samples) is fine.*","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbastl-instruments%2Fkastle2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbastl-instruments%2Fkastle2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbastl-instruments%2Fkastle2/lists"}