"Audero Wav Extractor" is a PHP library that allows to extract a chunk from a wav file. The extracted chunk of the wav file can be saved on the hard disk, can be forced to be prompted as download by the user's browser, returned as a string for a later processing or a combination of the first and second possibilities. It is very easy to use "Audero Wav Extractor" to extract a piece of audio from a wav file. All you have to do is give the name of the file, the start and the end time to extract (optionally you can provide a name for the extracted chunk).
« More »This is a generic class which represents a chunk. Every chunk which a wav file is composed of, has common features and that is a unique id for its type and a size. Thus in Audero Wav Extractor library every chunk extends this generic class that contains a set of methods which are valid and useful for every extended class.
« More »This class represents the value of a chunk. Although a value in the chunks is always a string, which of course can also represent an integer, I created a whole class to keep track of other info about the value. Infact, every value has potentially a different format (used by pack and unpack function of PHP to extract the value - more info here: http://php.net/manual/en/function.pack.php) and size (in bytes).
« More »This class allows to make some convertion and it is used as an utility by other classes of the library. For example, this class allows to convert an hex string into a decimal one and viceversa.
« More »