WavForge: Generates audio data files in the WAV format

Recommend this page to a friend!
  Info   View files (5)   Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
54%Total: 1,909 This week: 1All time: 2,048 This week: 255
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
Age: 31
All time rank: 22525 in United States United States
Week rank: 243 20 in United States United States
Innovation award
Innovation award
Nominee: 5x

Copyright (c) sk89q <http://sk89q.therisenrealm.com>


* PHP 5.0 or later


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.
File Role Description
examples (1 file)
CHANGELOG.txt Doc. Changelog
LICENSE.txt Lic. License
README.txt Doc. Readme
WavForge.php Class The class

  Files  /  examples  
File Role Description
   tone.php Example An example

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:2,048
This week:255
 User Ratings  
 All time

For more information send a message to info at phpclasses dot org.