{"id":44726279,"url":"https://github.com/matteospanio/torchfx","last_synced_at":"2026-05-26T21:05:54.124Z","repository":{"id":287419768,"uuid":"957601522","full_name":"matteospanio/torchfx","owner":"matteospanio","description":"A GPU accelerated and torch based audio DSP library","archived":false,"fork":false,"pushed_at":"2026-05-03T19:35:07.000Z","size":12141,"stargazers_count":130,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-05-03T20:36:46.104Z","etag":null,"topics":["audio","dsp","filters","gpu","gpu-acceleration","torch"],"latest_commit_sha":null,"homepage":"https://matteospanio.github.io/torchfx/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matteospanio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"matteospanio"}},"created_at":"2025-03-30T19:01:34.000Z","updated_at":"2026-05-03T18:34:03.000Z","dependencies_parsed_at":"2025-06-17T13:43:04.416Z","dependency_job_id":"a3a10f50-8a67-44f5-a09a-7436072e7c14","html_url":"https://github.com/matteospanio/torchfx","commit_stats":null,"previous_names":["matteospanio/torchfx"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/matteospanio/torchfx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matteospanio%2Ftorchfx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matteospanio%2Ftorchfx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matteospanio%2Ftorchfx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matteospanio%2Ftorchfx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matteospanio","download_url":"https://codeload.github.com/matteospanio/torchfx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matteospanio%2Ftorchfx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33538754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"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","filters","gpu","gpu-acceleration","torch"],"created_at":"2026-02-15T17:45:19.192Z","updated_at":"2026-05-26T21:05:54.111Z","avatar_url":"https://github.com/matteospanio.png","language":"Python","funding_links":["https://github.com/sponsors/matteospanio"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# TorchFX\n\n### GPU-Accelerated Audio DSP with PyTorch\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![arXiv](https://img.shields.io/badge/arXiv-2504.08624-b31b1b.svg)](https://arxiv.org/abs/2504.08624)\n[![PyPI version](https://badge.fury.io/py/torchfx.svg)](https://badge.fury.io/py/torchfx)\n![PyPI - Status](https://img.shields.io/pypi/status/torchfx)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/matteospanio/torchfx)\n\n**[Documentation](https://matteospanio.github.io/torchfx/)** | **[Getting Started](https://matteospanio.github.io/torchfx/guides/getting-started/getting_started.html)** | **[API Reference](https://matteospanio.github.io/torchfx/api/index.html)** | **[Blog](https://matteospanio.github.io/torchfx/blog/index.html)**\n\n\u003c/div\u003e\n\n---\n\nTorchFX is a modern Python library for **high-performance digital signal processing** in audio, leveraging PyTorch and GPU acceleration. Built for researchers, engineers, and developers who need fast, flexible, and differentiable audio processing.\n\n## ✨ Key Features\n\n- ⚡ **GPU Acceleration** - Built on PyTorch for high-performance audio processing on CUDA-enabled devices\n- 🔗 **Composable Pipelines** - Chain filters with the pipe operator (`|`) for sequential processing\n- ➕ **Parallel Processing** - Combine filters with the add operator (`+`) for parallel filter combination\n- 🧠 **PyTorch Native** - All filters are `torch.nn.Module` subclasses, enabling gradient-based optimization\n- 🎯 **Simple \u0026 Intuitive** - Clean, object-oriented API designed for ease of use\n- ⚙️ **Highly Extensible** - Create custom filters and effects by extending base classes\n- 📊 **Performance Optimized** - Substantial performance gains over SciPy for long and multichannel signals\n\n## 🚀 Quick Start\n\n### Installation\n\n```bash\npip install torchfx\n```\n\nOr install from source:\n\n```bash\ngit clone https://github.com/matteospanio/torchfx\ncd torchfx\npip install -e .\n```\n\n### Basic Example\n\n```python\nimport torch\nfrom torchfx import Wave\nfrom torchfx.filter import LoButterworth, ParametricEQ\n\n# Load audio\nwave = Wave.from_file(\"audio.wav\")\n\n# Create filters\nlowpass = LoButterworth(cutoff=5000, order=4, fs=wave.fs)\neq = ParametricEQ(frequency=1000, q=2.0, gain=3.0, fs=wave.fs)\n\n# Sequential processing with pipe operator (|)\nprocessed = wave | lowpass | eq\n\n# Parallel processing with add operator (+)\nstereo_enhancer = lowpass + eq\nenhanced = wave | stereo_enhancer\n\n# Save result\nprocessed.save(\"output.wav\")\n```\n\n## 📚 Documentation\n\n- **[Full Documentation](https://matteospanio.github.io/torchfx/)** - Complete guides and API reference\n- **[Getting Started](https://matteospanio.github.io/torchfx/guides/getting-started/getting_started.html)** - Installation and first steps\n- **[Tutorials](https://matteospanio.github.io/torchfx/guides/tutorials/index.html)** - Practical examples and use cases\n- **[API Reference](https://matteospanio.github.io/torchfx/api/index.html)** - Detailed API documentation\n- **[Blog](https://matteospanio.github.io/torchfx/blog/index.html)** - Updates, releases, and insights\n\n## 🛠️ Development\n\n- **[Contributing Guide](CONTRIBUTING.md)** - How to contribute to TorchFX\n- **[Style Guide](https://matteospanio.github.io/torchfx/guides/developer/style_guide.html)** - Coding standards and conventions\n- **[Roadmap](https://matteospanio.github.io/torchfx/guides/developer/roadmap.html)** - Future plans and priorities\n\nWe welcome contributions from everyone! Please read our [Contributing Guide](CONTRIBUTING.md) to get started.\n\n## 📖 Citation\n\nIf you use TorchFX in your research, please cite our paper:\n\n```bibtex\n@conference{Spanio2025torchfx,\n\tauthor = {Spanio, Matteo and Rodà, Antonio},\n\ttitle = {TORCHFX: A MODERN APPROACH TO AUDIO DSP WITH PYTORCH AND GPU ACCELERATION},\n\tyear = {2025},\n\tjournal = {Proceedings of the International Conference on Digital Audio Effects, DAFx},\n\tpages = {390 – 395},\n\turl = {https://www.scopus.com/inward/record.uri?eid=2-s2.0-105028935688\u0026partnerID=40\u0026md5=552e54afc1a074cbd1b7e8ed4ad1c010},\n\ttype = {Conference paper},\n}\n```\n\n## License\n\nThis project is licensed under the terms of the GNU General Public License v3.0. See the [LICENSE](LICENSE) file for details.\n\n## Third-Party Acknowledgments\n\nThis project uses the following third-party libraries:\n\n- [PyTorch](https://pytorch.org/) – BSD-style license\n- [NumPy](https://numpy.org/) – BSD 3-Clause License\n- [SoundFile](https://python-soundfile.readthedocs.io/) – BSD 3-Clause License\n\nTheir respective license texts are included in the `licenses/` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatteospanio%2Ftorchfx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatteospanio%2Ftorchfx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatteospanio%2Ftorchfx/lists"}