 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHPMaster.com: Extract an Excerpt from a WAV File
by Chris Cornutt February 14, 2013 @ 10:44:25
In this new post to PHPMaster.com, Aurelio De Rosa covers an interesting use of PHP that could be handy in certain circumstances - extracting a section of a WAV audio file using the Audero Wav Extractor library.
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.
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 the library 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.
voice your opinion now!
extract wav audio file library tutorial
Zend DevZone: ZendCon 2012 Call for Creativity
by Chris Cornutt July 03, 2012 @ 12:22:54
On Zend's DevZone site there's a new post about the Call for Creativity for this year's ZendCon PHP conference:
If you, or someone you know with connections to the developer community at large, have something to show, we would love to hear so we can showcase at this year's ZendCon. We are looking for music, digital artwork or video media submissions (including fun videos) which will be played or displayed at various places around the conference, with attribution, of course. Physical media submissions are also welcome though we will be limiting that to local artists.
They include some of the guidelines for submitting your work (with an obvious preference on digital media) including the formatting and what sort of topics it should be relevant to. Prizes will be offered to the winners - a spotlight in a ZendCon newsletter and press releases as well as exposure via each category on Zend's social media properties.
If you'd like to send in your submission, you can use the form on this page and link to the media you've created.
voice your opinion now!
zendcon12 conference callforcreativity media audio video contest
Community News: ProTalk Launched! (Audio & Video for PHP Developers)
by Chris Cornutt June 09, 2012 @ 09:33:18
The project that strives to provide audio and video content to the PHP community has officially launched - ProTalk.
ProTalk is the brain child of Kim Rowan and Lineke Kerckhoffs-Willems. A spark of an idea on IRC in July 2011 transformed into the site you see before you and we really hope you like it.
ProTalk's mission is to provide a central point of access to online audio / video content with a PHP focus. We hope to expand and include other programming languages in the future, but for now we're focussing solely on PHP and surrounding tools and skills.
All of their content is user-driven, so if you have a video or audio recording that isn't linked on the site, be sure to submit it to them and get it added to the site!
voice your opinion now!
protalk video audio launch community
Joshua Thijssen's Blog: PHPShout a shoutcast streamer in PHP
by Chris Cornutt March 27, 2012 @ 08:36:55
Joshua Thijssen has a new series of posts to his blog about a new extension he's created for PHP that lets you stream music files to an IceCast server with only PHP.
To continue our journey in pointless, but nevertheless fun things to create, I've created a simple PHP extension that allows you stream music data to an IceCast server in pure PHP. For this I'm using the libshout3 library which can stream both MP3 or OGG/Vorbis data to multiple stream servers (including IceCast, ShoutCast etc). In this blog-post I will try to explain how I've created this extension, and off course, how you can use it.
The series is split up into four parts:
- Part 1 - download and install (and some behind the scenes)
- Part 2 - parts of the extension and a first test
- Part 3 - populating the store, adding getters
- Part 4 - creating setters and some other random functionality
You can find the source for this extension over on his gihub repository.
voice your opinion now!
shoutcast stream audio extension tutorial
Lineke Kerckhoffs-Willems' Blog: ProTalk - Audio/Video Tutorials for PHP Developers
by Chris Cornutt October 10, 2011 @ 11:28:45
As mentioned in this new post to her blog Lineke Kerckhoffs-Willems and Kim Rowan are starting a new project to provide audio and video recordings of tutorials specifically targeted towards PHP developers - ProTalk.
We feel that video and audio recordings have been an underrated medium for too long. We believe they actually provide an excellent vehicle for getting your ideas across and can be a more effective means of learning for beginners and professionals alike than the written word. Slides are great also, but so much of the message is lost without the speaker's narration to guide you through. We know there are conferences that record the talks and we'd like to centralize all this content at ProTalk for easy access to everyone that is interested. Another important thing to emphasise here is that we propose to create a community-driven site. We will create, manage and maintain it, but we'll need a regular flow of content and that's where you come in!
To get the ball rolling, they're looking for feedback on a few questions - do you think the PHP community could benefit from this, would you be willing to contribute and any suggestions on how the site should work/what it should offer.
voice your opinion now!
audio video tutorial developer community
Conor Mac Aoidh's Blog: OS X Audio Alerts for PHP Errors
by Chris Cornutt June 23, 2010 @ 09:14:13
In a new post to his blog today Conor Mac Aoidh talks about a way he's developed to get audio alerts whenever PHP errors pop up in your scripts using the swatch tool.
Kae posted today about tackling this problem under Linux, but I've found that it's quite a different task under OS X.
It also uses some additional Perl modules (like Date::Calc and Date::Manip) to set up swatch. From there it's just a matter of adding a few lines to a configuration file to watch for the errors and sound the "bell". A few bash scripts will need to be added to correctly start the service too.
voice your opinion now!
audio alert error swatch perl bash tutorial
Splitbrain.org: Joining .WAVs with PHP
by Chris Cornutt November 27, 2006 @ 08:50:00
In this new post from the splitbrain.org website (creators of the Dokuwiki application), there's an example of how to join wav files together with PHP with a quick and easy script.
I'm currently working on a CAPTCHA plugin for DokuWiki 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...
There was an example he found previously, 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 the CAPTCHA plugin if you'd like to check it out.
voice your opinion now!
join wav file audio captcha function file join wav file audio captcha function file
|
Community Events
Don't see your event here? Let us know!
|