{"id":13574706,"url":"https://github.com/keryell/muSYCL","last_synced_at":"2025-04-04T18:31:56.008Z","repository":{"id":43990377,"uuid":"297529152","full_name":"keryell/muSYCL","owner":"keryell","description":"muSYCL, the SYCL musical!","archived":false,"fork":false,"pushed_at":"2024-08-25T02:08:50.000Z","size":264,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T08:26:15.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keryell.png","metadata":{"files":{"readme":"README.rst","changelog":null,"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":"2020-09-22T03:52:23.000Z","updated_at":"2024-08-25T02:08:53.000Z","dependencies_parsed_at":"2023-11-23T05:26:57.845Z","dependency_job_id":"c618c7e4-3abe-4c4b-bd48-4cd0c507258f","html_url":"https://github.com/keryell/muSYCL","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/keryell%2FmuSYCL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keryell%2FmuSYCL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keryell%2FmuSYCL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keryell%2FmuSYCL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keryell","download_url":"https://codeload.github.com/keryell/muSYCL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223153507,"owners_count":17096543,"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-08-01T15:00:53.934Z","updated_at":"2024-11-05T10:30:59.949Z","avatar_url":"https://github.com/keryell.png","language":"C++","funding_links":[],"categories":["Table of Contents"],"sub_categories":["Misc"],"readme":"muSYCL\n======\n\nExperimental muSYCaL framework around SYCL 2020\n-----------------------------------------------\n\nThis is a small music synthesizer to experiment with `C++23\n\u003chttps://isocpp.org/\u003e`_ programming, design patterns and acceleration\non hardware accelerators like GPU, FPGA or CGRA with the `SYCL 2020\n\u003chttps://www.khronos.org/sycl/\u003e`_ standard.\n\nIt starts as a clean room implementation of a synthesizer to have a\nclean modern core architecture which can then be accelerated. So\nlow-level features like pointers, macros, raw loops, etc. are avoided\nin the code as much as possible. Just mostly high-level generic and\nfunctional programming with C++ ranges, concepts...\n\nThis can be seen as a small DSL to define synthesizers in a\nprogrammatic way on steroids comparable to modular synthesizers in an\nelectronic way.\n\nThis is a huge work-in-progress moving slowly and the most complex\npart is actually not making the sounds themselves but interfacing with\na MIDI controller to have a playful experience...\n\nRunning the examples\n--------------------\n\nThis requires a modern C++ compiler, the Range-v3 library and for\nthe musical side the RtMidi and AudioRt libraries, typically using\nJACK on Linux.\n\nIt relies also on some extensions from\nhttps://github.com/triSYCL/triSYCL\n\nTo get the latest precompiled  Clang compiler you might look at\nhttps://apt.llvm.org/\n\nTo install these packages on Debian or Ubuntu, try::\n\n  sudo install clang-18 librange-v3-dev librtmidi-dev librtaudio-dev \\\n  jackd2 qjackctl\n\nand clone triSYCL somewhere.\n\nIn the top directory of the repository::\n\n  mkdir build\n  # Configure the project with the triSYCL repository somewhere\n  CXX=clang++-18 cmake .. -DCMAKE_MODULE_PATH=\u003cabsolute_path\u003e/triSYCL/cmake \\\n    -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo\n  # Build the project\n  cmake --build . --parallel `nproc` --verbose\n\nLaunch ``jackd``, for example with ``qjackctl`` which allows to do the\nright connections between the audio and MIDI flows.\n\nThe main synthesizer to run is\n\n- ``./src/musycl_synth``\n\nbut there are also some simple tests:\n\n- ``./experiment/audio`` generate a square wave with an evolving PWM;\n\n- ``./experiment/midi`` to list the MIDI interfaces and display what\n  comes from the MIDI interface;\n\n- ``./experiment/synth`` a minimalistic monodic synthesizer.\n\nTo debug the project, add ``-DCMAKE_BUILD_TYPE=Debug`` configuration\nline of ``cmake``. When using GDB, think to use::\n\n  handle SIG32 nostop\n\nto ignore the noisy user signal 32 used by the audio/MIDI library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeryell%2FmuSYCL","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeryell%2FmuSYCL","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeryell%2FmuSYCL/lists"}