{"id":16733262,"url":"https://github.com/krasjet/luart","last_synced_at":"2026-04-29T20:11:54.615Z","repository":{"id":237417631,"uuid":"613228080","full_name":"Krasjet/luart","owner":"Krasjet","description":"fast real-time dsp prototyping template (wip)","archived":false,"fork":false,"pushed_at":"2023-03-13T12:58:42.000Z","size":56,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-04T08:28:04.656Z","etag":null,"topics":["audio","dsp","jack","lua"],"latest_commit_sha":null,"homepage":"","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/Krasjet.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":"2023-03-13T06:50:00.000Z","updated_at":"2024-03-21T13:07:54.000Z","dependencies_parsed_at":"2024-05-01T15:39:07.588Z","dependency_job_id":"1bb51993-38e6-41c5-9e92-080f4bbd7fd1","html_url":"https://github.com/Krasjet/luart","commit_stats":null,"previous_names":["krasjet/luart"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Krasjet/luart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krasjet%2Fluart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krasjet%2Fluart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krasjet%2Fluart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krasjet%2Fluart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Krasjet","download_url":"https://codeload.github.com/Krasjet/luart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krasjet%2Fluart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32441761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"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","dsp","jack","lua"],"created_at":"2024-10-12T23:49:15.149Z","updated_at":"2026-04-29T20:11:54.599Z","avatar_url":"https://github.com/Krasjet.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"luart\n=====\n\n![](./assets/scrshot.png)\n\nA template project for fast DSP prototyping, with Lua\nscripting (à la REAPER's JesuSonic but I can still add\nC parts), imgui, and implot, and JACK.\n\nA work in progress. Only tested on UNIX.\n\nNote\n----\n\nDon't use in production. Lua is still slow and the\ninter-thread communications here prefer simplicity rather\nthan safety.\n\nLua scripting\n-------------\n\nThe following global variables can be accessed in Lua\n\n    sr: sampling rate\n    nframes: number of frames to process\n    x: input samples (array/table)\n    y: output samples (array/table)\n\nFor example, the following code mixes a 220 Hz sine wave and\ninput, then prints the current phase of the sine generator:\n\n    if phs == nil then phs = 0 end\n\n    for i=1,nframes do\n      y[i] = 0.5*x[i] + 0.5*math.sin(2*math.pi*phs)\n      phs = phs + 220/sr\n      while phs \u003e 1 do\n        phs = phs - 1\n      end\n    end\n\n    print('phs: ' .. phs)\n\nFor above code, the processing loop takes around 20-80 us\nwhen nframes=128, with Lua's incremental GC enabled.\n\nDependencies\n------------\n\nMake sure git, CMake, Ninja, JACK, GLFW, luajit are\ninstalled on your system. ImGui and ImPlot will be fetched\nand patched automatically by CMake using FetchContent.\n\nOn Arch Linux,\n\n    $ pacman -S git cmake jack2 glfw luajit ninja\n\nOn macOS,\n\n    $ brew install git cmake jack glfw luajit ninja\n\nBuild (Linux/macOS)\n-------------------\n\nRun\n\n    $ make\n\nto build the project and\n\n    $ make run\n\nto run the application.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrasjet%2Fluart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrasjet%2Fluart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrasjet%2Fluart/lists"}