Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
)
*/
```