{"id":24178762,"url":"https://github.com/ygorcastor/nx_audio","last_synced_at":"2025-09-21T00:31:15.391Z","repository":{"id":267683879,"uuid":"901727671","full_name":"YgorCastor/nx_audio","owner":"YgorCastor","description":"Torchaudio, but for Elixir!","archived":false,"fork":false,"pushed_at":"2025-04-08T09:30:44.000Z","size":5973,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-13T00:43:35.545Z","etag":null,"topics":["ai","audio-processing","elixir","nx","whisper"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/YgorCastor.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":"ycastor.eth"}},"created_at":"2024-12-11T07:49:51.000Z","updated_at":"2025-09-09T18:14:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9829caf-beee-41c5-9057-de3a7ffc72e3","html_url":"https://github.com/YgorCastor/nx_audio","commit_stats":null,"previous_names":["ygorcastor/nx_audio"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/YgorCastor/nx_audio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YgorCastor%2Fnx_audio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YgorCastor%2Fnx_audio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YgorCastor%2Fnx_audio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YgorCastor%2Fnx_audio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YgorCastor","download_url":"https://codeload.github.com/YgorCastor/nx_audio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YgorCastor%2Fnx_audio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276179261,"owners_count":25598565,"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","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ai","audio-processing","elixir","nx","whisper"],"created_at":"2025-01-13T05:13:21.943Z","updated_at":"2025-09-21T00:31:14.723Z","avatar_url":"https://github.com/YgorCastor.png","language":"Elixir","funding_links":["ycastor.eth"],"categories":[],"sub_categories":[],"readme":"# NxAudio\n\nNxAudio is an Elixir library for working with audio tensors, providing functionality similar to Python's torchaudio\nbut built for the Nx ecosystem.\n\n## Features\n\n* Audio I/O operations with support for multiple formats\n* Audio transformations and processing\n  * Amplitude to DB\n  * MEL Spectrogram and STFT\n* Spectrogram visualizations\n* Multiple codec support including:\n  * PCM formats (S16, S24, S32, S8, U8, F32, F64)\n  * FLAC\n  * MP3\n  * Vorbis\n  * Opus\n  * AMR (NB/WB)\n  * μ-law and A-law\n  * HTK\n\n## Installation\n\nAdd `nx_audio` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:nx_audio, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\n## Dependencies\n\nNxAudio requires:\n* Elixir ~\u003e 1.17\n* FFmpeg for audio processing capabilities\n* Nx for tensor operations\n\n## Usage Examples\n\nBasic audio operations:\n\n```elixir\n# Reading an audio file\n{:ok, {tensor, sample_rate}} = NxAudio.IO.load(\"path/to/audio.mp3\")\n\n# Generating spectrograms\nspectrogram = NxAudio.Transforms.Spectrogram.transform(tensor, sample_rate: sample_rate)\n```\n\n## Documentation\n\nDetailed documentation is organized into the following sections:\n* IO - Audio file reading/writing operations\n* Transformations - Audio signal processing functions\n* Visualizations - Spectrogram and waveform visualization tools\n* Codecs - Supported audio format encodings\n\nFor more examples and detailed API documentation, visit the [official documentation](https://hexdocs.pm/nx_audio).\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fygorcastor%2Fnx_audio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fygorcastor%2Fnx_audio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fygorcastor%2Fnx_audio/lists"}