Add new comment

Permalink

well, you seem willing to parse audio files under a php script, isn't it?

let's take a look: wav files are kind of raw files re. sample audio data. that meaning they're not encoded. you read a frame (8bit or 16bit sample) and go on with it, provided you read the header portion of the file giving you the fundamental characteristics of the digital audio data that follows...

now. ogg, mp3 and flac are different beasts. in the sense that digital audio data are encoded and those files have some special structure, way more complex than a raw stream you find on wav files (after the header, that is).

so. you probably want to know, that to read ogg files (or any other encoded format), you should bring a decoder implementation into the scene: for example, qtractor does use libvorbis et al. for ogg audio files. now there's a question whether is there any libvorbis aware php extension out there. i'll bet there are, some :)

i'll leave you there. homework exercise ;)

cheers

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.