<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 00:36:44 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: Extract an Excerpt from a WAV File]]></title>
      <guid>http://www.phpdeveloper.org/news/19181</guid>
      <link>http://www.phpdeveloper.org/news/19181</link>
      <description><![CDATA[<p>
In <a href="http://phpmaster.com/extract-an-exceprt-from-a-wav-file/">this new post</a> to PHPMaster.com, <i>Aurelio De Rosa</i> covers an interesting use of PHP that could be handy in certain circumstances - extracting a section of a WAV audio file using the <a href="https://bitbucket.org/AurelioDeRosa/audero-wav-extractor">Audero Wav Extractor</a> library.
</p>
<blockquote>
Although PHP is well known for building web pages and applications, it can do more than that. I recently needed to extract a piece of audio from a WAV file on-the-fly and let the user download it through his browser. I tried to find a library that fit my needs but wasn't successful and had to write the code myself. It was a good opportunity to study in depth how a WAV file is made. 
</blockquote>
<p>
He starts off with an overview of what a WAV file is, how it's structured and how you can correctly figure out where in the binary data of the file the section you want is located. He then introduces <a href="https://bitbucket.org/AurelioDeRosa/audero-wav-extractor">the library</a> and shows how to use it to extract "chunks" from the WAV file. He also includes an example of pulling out a chunk and saving it off to another file.
</p>]]></description>
      <pubDate>Thu, 14 Feb 2013 10:44:25 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Splitbrain.org: Joining .WAVs with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6770</guid>
      <link>http://www.phpdeveloper.org/news/6770</link>
      <description><![CDATA[<p>
In <a href="http://www.splitbrain.org/blog/2006-11/15-joining_wavs_with_php">this new post</a> from the splitbrain.org website (creators of the <a href="http://www.splitbrain.org/projects/dokuwiki">Dokuwiki</a> application), there's an example of how to join wav files together with PHP with a quick and easy script.
</p>
<blockquote>
I'm currently working on a <a href="http://wiki.splitbrain.org/plugin%3Acaptcha">CAPTCHA plugin</a> for <a href="http://www.splitbrain.org/projects/dokuwiki">DokuWiki</a> and thought about providing audio output for users not able to see the image. This is pretty simple for CAPTCHAs - there is no need for complicated speech synthesis because you only need recordings of the 26 possible letters. But you need a way of joining those recordings on the fly...
</blockquote>
<p>
There was an example he found <a href="http://articles.techrepublic.com.com/5100-3513-5810215.html">previously</a>, but it seemed like overkill, so he rolled together his own solution - a 24 line script that takes in the filenames of the wav files and spits back out the joined resource. This functionality has already been added to <a href="http://wiki.splitbrain.org/plugin%3Acaptcha">the CAPTCHA plugin</a> if you'd like to check it out.
</p>]]></description>
      <pubDate>Mon, 27 Nov 2006 08:50:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jeremey Johnstone's Blog: FliteTTS now available in PECL]]></title>
      <guid>http://www.phpdeveloper.org/news/4767</guid>
      <link>http://www.phpdeveloper.org/news/4767</link>
      <description><![CDATA[Via <a href="http://digg.com/programming/Audio_Captcha_now_in_PHP_No_more_ignoring_the_impaired">this digg.com post</a> today, there's information about a new PECL extension that's been committed allowing developers to create wave forms for strings of text.
<p>
<quote>
<i>
Yahoo developer Jeremy Johnstone just added a new extension to the PECL PHP library that will allow you to send a string of text and have the extensions spit back out a wave form. This is huge news for those running public sites with the "please enter the text you see here" dialogs. Now you can offer a new alternative to image captcha.
</i>
</quote>
<p>
According to <a href="http://pecl.php.net/package/flitetts">its PECL page</a>, it wraps around the Flite voice synthesis library, and can take in text and quickly generate both RIFF and raw wav formats. For more info, check out <a href="http://www.jeremyjohnstone.com/blog/archives/2006/01/28/flitetts-now-available-in-pecl/">his new blog entry</a>.
]]></description>
      <pubDate>Tue, 31 Jan 2006 07:19:49 -0600</pubDate>
    </item>
  </channel>
</rss>
