PHP Classes

WavForge: Generates audio data files in the WAV format

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 1,925 All time: 2,049 This week: 66Up
Version License PHP version Categories
wavforge 0.3.0BSD License5.0Audio
Description 

Author

This class is capable of generating uncompressed audio PCM files in the WAV format.

The class allows to configure the output sample number of channel, the number of samples per second and the sample rate.

Currently it can generate sine waveforms, sawtooth waveforms, and noise.

Innovation Award
PHP Programming Innovation award nominee
October 2004
Number 3


Prize: One downloadable copy of Komodo Pro
Many sites that use sound integrated in its content usually serve it in the form of previously generated samples or as part of video animations.

However, special types of applications can make use programmatically generated sounds, like for instance, generate tune samples from ring tone musical scores.

This class provides basic means to programmatically generate audio samples in the WAV format with tones defined by dynamic scripts. This may open a world of applications based on synthesized sounds.

Manuel Lemos
Picture of sk89q
Name: sk89q <contact>
Classes: 8 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 5x

Details

WavForge Copyright (c) sk89q <http://sk89q.therisenrealm.com> Requirements ------------ * PHP 5.0 or later Introduction ------------ WavForge is a proof-of-concept class that generates some waveforms and outputs PCM WAV files. It's also a bit slow, but this is only a proof of concept demo. The original version was written in 2004, but WavForge was updated in 2009 with a few more features, PHP 5 support, and cleaner code. However, the interface has changed significantly.

  Files folder image Files (5)  
File Role Description
Files folder imageexamples (1 file)
Plain text file CHANGELOG.txt Doc. Changelog
Accessible without login Plain text file LICENSE.txt Lic. License
Accessible without login Plain text file README.txt Doc. Readme
Plain text file WavForge.php Class The class

  Files folder image Files (5)  /  examples  
File Role Description
  Accessible without login Plain text file tone.php Example An example

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,925
This week:0
All time:2,049
This week:66Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:66%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2024