{"id":21270646,"url":"https://github.com/timstr/oszilloskop","last_synced_at":"2025-10-31T07:41:11.858Z","repository":{"id":245384241,"uuid":"818091833","full_name":"timstr/oszilloskop","owner":"timstr","description":"Software XY oscilloscope written in pure Rust, intended as an audio visualizer","archived":false,"fork":false,"pushed_at":"2024-08-10T05:40:58.000Z","size":230,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-11T05:25:08.957Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/timstr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-06-21T04:54:43.000Z","updated_at":"2024-08-10T05:41:01.000Z","dependencies_parsed_at":"2024-06-21T22:48:18.428Z","dependency_job_id":"c1b4d5c5-96bc-4a19-bd57-ed2e3284e314","html_url":"https://github.com/timstr/oszilloskop","commit_stats":null,"previous_names":["timstr/oszilloskop"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timstr%2Foszilloskop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timstr%2Foszilloskop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timstr%2Foszilloskop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timstr%2Foszilloskop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timstr","download_url":"https://codeload.github.com/timstr/oszilloskop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225694103,"owners_count":17509292,"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-11-21T08:18:10.543Z","updated_at":"2025-10-31T07:41:06.807Z","avatar_url":"https://github.com/timstr.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Oszilloskop\n\nA software XY oscilloscope written in pure Rust, intended as an audio visualizer.\n\nOszilloskop simulates an electron beam against a phosphor screen which is deflected over time by the two channels of a stereo audio signal in orthogonal directions.\n\n## Screenshot\n\n![Oszilloskop screenshot](screenshot.png)\n\n## Controls\n\n-   **Beam Strength** : how intensely the beam departs energy onto the screen per unit time\n-   **Gain** : how much to amplify the input signal, e.g. how much to scale it about the center of the screen\n-   **Logarithmic** : if enabled, apply logarithmic scaling on the signal magnitude\n-   **Logarithmic Range** : if Logarithmic is enabled, the size of the dynamic range to include (in powers of two)\n-   **Decay** : how rapidly images on the screen fade\n-   **Rotation** : how much to turn the image, in multiples of 45 degrees\n-   **Flip** : whether to swap x and y\n\n## Remarks\n\n-   The line drawing algorithm may be especially slow in debug builds, I recommend compiling with `--release` at all times.\n-   The current defaults are chosen to create a vertical line for a mono signal, with the individual channels staggered diagonally. I find this aesthetically pleasing and spatially intuitive when listening, but it's not what other oscilloscopes do. The orientation can be adjusted with the rotation and flip controls.\n-   Currently, the input audio device can't be chosen through the UI. I use PulseAudio to swap devices, other audio backends provide similar connectivity options but it would be nice to be able to choose from the UI.\n-   A large square/diamond outline is most likely due to clipping\n-   A perfectly straight line means you have a mono or single-channel signal. Only stereo signals with significant differences between the left and right channels will do anything interesting.\n-   Oscilloscope music such as that by [Jerobeam Fenderson](https://jerobeamfenderson.bandcamp.com/album/oscilloscope-music) is best played uncompressed and purely digitally. Compression (such as via online streaming services) and analog effects from traveling over a speaker cable may induce visible rounding, shifting, and general distortion. You may also need to choose rotation=0 and flip=no for the correct viewing orientation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimstr%2Foszilloskop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimstr%2Foszilloskop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimstr%2Foszilloskop/lists"}