PHPackages                             boyhagemann/wave - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. boyhagemann/wave

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

boyhagemann/wave
================

A php package to read WAV data

24227.7k↑32.4%13[4 PRs](https://github.com/boyhagemann/Wave/pulls)PHP

Since Oct 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/boyhagemann/Wave)[ Packagist](https://packagist.org/packages/boyhagemann/wave)[ RSS](/packages/boyhagemann-wave/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Wave
====

[](#wave)

This package can view metadata from a wave file. It also reads the data chunks and seperates it into multiple channels. Each channel has its own amplitude values. This is useful if you want to render a [waveform](http://github.com/boyhagemann/Waveform) for instance.

How to install
--------------

[](#how-to-install)

You can install with composer. Use a composer.json file with the following lines:

```
"minimum-stability": "dev",
"require": {
    "boyhagemann/wave": "dev-master"
}
```

How to use
----------

[](#how-to-use)

First, let's make a wave object based on a wave file:

```
