{"id":16835429,"url":"https://github.com/defuse/fft-anything","last_synced_at":"2025-07-06T11:32:29.969Z","repository":{"id":66227577,"uuid":"264563076","full_name":"defuse/fft-anything","owner":"defuse","description":"Tool for generating fourier transform animations","archived":false,"fork":false,"pushed_at":"2020-05-18T06:57:04.000Z","size":1023,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T02:36:04.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/defuse.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":"2020-05-17T01:47:29.000Z","updated_at":"2024-11-24T19:40:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7319b6f-0d71-4ddd-8945-513233eb7613","html_url":"https://github.com/defuse/fft-anything","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/defuse/fft-anything","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defuse%2Ffft-anything","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defuse%2Ffft-anything/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defuse%2Ffft-anything/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defuse%2Ffft-anything/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defuse","download_url":"https://codeload.github.com/defuse/fft-anything/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defuse%2Ffft-anything/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263892670,"owners_count":23526131,"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-10-13T12:10:16.948Z","updated_at":"2025-07-06T11:32:29.951Z","avatar_url":"https://github.com/defuse.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fft-anything\n\nThis Rust code for making fourier transform visualizations from arbitrary WAV files (as long as they're 44100Hz stereo).\n\n**Dependencies:** You will need SDL2 libraries, including SDL2_ttf installed on your system.\n\nThere is no documentation! To use it, try:\n\n```\ncargo run --release -- -w -r -n 20000 -z 1.0 -s 0.0002 skrillex-1s.wav\n```\n\nThis will show you how 1s of a Skrillex track can be approximated by 20,000 complex exponentials.\n\nYou could also try:\n\n```\ncargo run --release -- -r -w -n 1000 -p frames/ -s 0.02 4s.wav\n... wait for it to finish (it's writing .png files into ./frames/) ...\n./compile-video.sh # (requires ffmpeg)\n```\n\nThis will generate an animation of how some ~20Hz sine pulses are approximated by complex exponentials. It saves a .png file for each frame into the `frames/` directory, and then `./compile-video.sh` uses ffmpeg to stitch them together into a video.\n\n![screenshot](screenshot.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefuse%2Ffft-anything","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefuse%2Ffft-anything","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefuse%2Ffft-anything/lists"}