{"id":15459090,"url":"https://github.com/comorebi-notes/ruby-spectrum","last_synced_at":"2026-01-19T08:01:56.756Z","repository":{"id":46261249,"uuid":"279520768","full_name":"comorebi-notes/ruby-spectrum","owner":"comorebi-notes","description":"Ruby でスペクトル解析を行う実験リポジトリです","archived":false,"fork":false,"pushed_at":"2021-11-03T16:03:52.000Z","size":55343,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-18T19:29:55.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/comorebi-notes.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}},"created_at":"2020-07-14T07:58:55.000Z","updated_at":"2022-05-08T13:01:39.000Z","dependencies_parsed_at":"2022-08-28T23:31:50.250Z","dependency_job_id":null,"html_url":"https://github.com/comorebi-notes/ruby-spectrum","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/comorebi-notes/ruby-spectrum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comorebi-notes%2Fruby-spectrum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comorebi-notes%2Fruby-spectrum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comorebi-notes%2Fruby-spectrum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comorebi-notes%2Fruby-spectrum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/comorebi-notes","download_url":"https://codeload.github.com/comorebi-notes/ruby-spectrum/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comorebi-notes%2Fruby-spectrum/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28563218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-10-01T23:04:34.972Z","updated_at":"2026-01-19T08:01:56.742Z","avatar_url":"https://github.com/comorebi-notes.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ruby-spectrum\nRuby でスペクトル解析を行う実験リポジトリです\n\n## Requirement\n```bash\n$ brew install flac sox chromaprint\n$ brew install gnuplot\n$ gem install open3\n$ gem install ruby-sox\n$ gem intall numo-narray\n$ gem install numo-fftw\n```\n\n#### fftw3\nhttp://www.fftw.org/download.html\n```bash\n$ tar xvf fftw-3.3.8.tar.gz\n$ cd fftw-3.3.8/\n$ ./configure\n$ make\n$ sudo make install\n```\n\n## Example\n### sample_01.rb\n```bash\n$ sample_01.rb lib/files/sample01.wav\n```\n音源に対して波形を描画します (横軸：時間 / 縦軸：大きさ)\n![image](https://user-images.githubusercontent.com/16236972/87400404-b9041a00-c5f3-11ea-8d8d-ba0a115bc14e.png)\n\n### sample_02.rb\n```bash\n$ sample_02.rb lib/files/sample02.wav\n```\n音源に対してスペクトル解析した結果を描画します (横軸：周波数 / 縦軸：大きさ)\n![image](https://user-images.githubusercontent.com/16236972/87400503-dc2ec980-c5f3-11ea-9a21-5d54041471bd.png)\n\n### sample_03.rb\n```bash\n$ sample_03.rb lib/files/sample03.wav\n```\n音源に対してスペクトル解析した動画を生成します (横軸：周波数 / 縦軸：大きさ)\n\n\u003cimg src=\"https://user-images.githubusercontent.com/16236972/87400613-03859680-c5f4-11ea-9fd4-0f6c54c14552.png\" width=\"400\"\u003e\n\n#### 動画\nhttps://twitter.com/kero_BIRUGE/status/1282946252703817728\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomorebi-notes%2Fruby-spectrum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomorebi-notes%2Fruby-spectrum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomorebi-notes%2Fruby-spectrum/lists"}