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 (over 12 years ago)
- Default Branch: master
- Last Pushed: 2025-03-03T18:13:35.000Z (4 months ago)
- Last Synced: 2025-03-24T05:03:36.575Z (3 months ago)
- Topics: wav, wave
- Language: PHP
- Homepage:
- Size: 999 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wav files parser
[](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
)
*/
```