PHP code example of jasny / audio

1. Go to this page and download the library: Download jasny/audio library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jasny / audio example snippets


$waveform = new Waveform($filename, $options);
$waveform->output();

$track = new Track($filename);
$track->getStats();

$track = new Track("sometrack.wav");
$track->convert("sometrack.mp3");

$track = new Track($track1);
$track->combine($method, $track2, $outputFilename);