Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gemorroj/filewav
Package for simple information on WAV files
https://github.com/gemorroj/filewav
wav wave
Last synced: 2 months ago
JSON representation
Package for simple information on WAV files
- Host: GitHub
- URL: https://github.com/gemorroj/filewav
- Owner: Gemorroj
- License: lgpl-3.0
- Created: 2013-01-21T16:14:11.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-07-27T11:49:23.000Z (6 months ago)
- Last Synced: 2024-07-27T13:01:15.028Z (6 months ago)
- Topics: wav, wave
- Language: PHP
- Homepage:
- Size: 995 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wav files parser
[![Continuous Integration](https://github.com/Gemorroj/FileWav/workflows/Continuous%20Integration/badge.svg?branch=master)](https://github.com/Gemorroj/FileWav/actions?query=workflow%3A%22Continuous+Integration%22)
Based on classAudioFile (michael kamleitner ([email protected]))
### Requirements:
- PHP >= 8.0.2### Installation:
```bash
composer require gemorroj/file-wav
```###Example:
```php
getInfo());
/*
FileWav\Info Object
(
[filesize:FileWav\Info:private] => 1073218
[filename:FileWav\Info:private] => path_to/file.wav
[compression:FileWav\Info:private] => 1
[channels:FileWav\Info:private] => 2
[framerate:FileWav\Info:private] => 8000
[byterate:FileWav\Info:private] => 32000
[bits:FileWav\Info:private] => 16
[length:FileWav\Info:private] => 33.529625
)
*/
```