Re: Sound API for php

From: Date: Sat, 07 Sep 2002 18:29:38 +0000
Subject: Re: Sound API for php
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-88041@lists.php.net to get a copy of this message
> For the 'web-side' of things - could these conversion function be >used, > to convert files on the webserver? Or even something like: > song.wav -> convert_to_mp3 -> stream_on_socket > song.mp3 -> convert_to_windows_media -> stream_on_socket There's no reason why you couldn't convert files on the webserver, it will convert files that it sees on it's local file system. Ecasound will not stream over a socket (AFAIK). It's standard out is a soundcard via either ALSA or OSS drivers. It's an interesting point though and the guy who wrote and maintains the library is pretty good at adding functionality. As far as windows media goes, it's not a supported format and I would guess it never will be. > > And can it read mp3 or whatever 'about' information is stored in the > audio file? > Ecasound doesn't have this functionality, although this is something I have thought about and would be looking to implement it at some point. I'm sure it can't be that hard to read in the file headers. If you would like further information about ecasound, you can find it at http://www.wakkanet.fi/~kaiv/ecasound/welcome.html regards Tony

« previous php.dev (#88041) next »