{"id":18887842,"url":"https://github.com/masterfermin02/audio","last_synced_at":"2026-02-24T10:30:18.666Z","repository":{"id":210751699,"uuid":"727286081","full_name":"masterfermin02/audio","owner":"masterfermin02","description":" Extracts attributes of audio-files \u0026 Visualization","archived":false,"fork":false,"pushed_at":"2023-12-12T21:44:03.000Z","size":52688,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-31T05:26:50.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/masterfermin02.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-12-04T15:03:28.000Z","updated_at":"2023-12-04T21:33:43.000Z","dependencies_parsed_at":"2023-12-12T22:35:44.162Z","dependency_job_id":null,"html_url":"https://github.com/masterfermin02/audio","commit_stats":null,"previous_names":["masterfermin02/audio"],"tags_count":7,"template":false,"template_full_name":"diamond-dove/package-skeleton-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masterfermin02%2Faudio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masterfermin02%2Faudio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masterfermin02%2Faudio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masterfermin02%2Faudio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/masterfermin02","download_url":"https://codeload.github.com/masterfermin02/audio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239859562,"owners_count":19708863,"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-08T07:39:55.711Z","updated_at":"2026-02-24T10:30:18.631Z","avatar_url":"https://github.com/masterfermin02.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Extracts attributes of audio-files \u0026 Visualization\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/masterfermin02/audio.svg?style=flat-square)](https://packagist.org/packages/masterfermin02/audio)\n[![Tests](https://github.com/masterfermin02/audio/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/masterfermin02/audio/actions/workflows/run-tests.yml)\n[![Total Downloads](https://img.shields.io/packagist/dt/masterfermin02/audio.svg?style=flat-square)](https://packagist.org/packages/masterfermin02/audio)\n\nThis package was designed to identify various attributes of audio files such as frequency, format, channels, resolution, compression, length, and id3-tags. Currently, it supports audio files in .wav, .aif, .mp3, and .ogg formats. Additionally, the latest version comes with a feature that allows users to visualize audio samples similar to popular audio software such as waveLab and CoolEdit, using the GD library.\n\ninspire by [PHP-Extracts-attributes-of-audio-files-Visualization.html](https://www.phpclasses.org/package/482-PHP-Extracts-attributes-of-audio-files-Visualization.html)\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require masterfermin02/audio\n```\n\n## Usage\n\n```php\nuse Masterfermin02\\Audio\\Audio;\n\n$audio = Audio::create();\n\n$audio-\u003eloadFile(getenv('filename'));\n$audio-\u003eprintSampleInfo();\n\nif ($audio-\u003ewaveId == \"RIFF\")\n{\n    $imageSrc = $audio-\u003egetVisualization();\n    print \"\u003cimg src='$imageSrc' /\u003e\";\n}\n```\n\n## You can add the image dir\n\n```php\nuse Masterfermin02\\Audio\\Audio;\n\n$audio = Audio::create();\n\n$audio-\u003eloadFile(getenv('filename'));\n$audio-\u003eprintSampleInfo();\n\nif ($audio-\u003ewaveId == \"RIFF\")\n{\n    $imageSrc = $audio-\u003esetImageBaseDir('./images/')\n    -\u003egetVisualization($filename);\n    print \"\u003cimg src='$imageSrc' /\u003e\";\n}\n```\n\n## Screenshots\n![result](./screen/Screenshot%202023-12-04%20at%203.40.12%20PM.png?raw=true \"Result\")\n\n## Testing\n\n```bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n- [Fermin](https://github.com/masterfermin02)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasterfermin02%2Faudio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasterfermin02%2Faudio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasterfermin02%2Faudio/lists"}