Women in Technology

Hear us Roar



Article:
  Making Media from Scratch, Part 2
Subject:   Sample code for playing audio
Date:   2003-11-10 19:25:11
From:   anonymous2
Can you post some psuedo code for loading an audio file (like .wav) from disk and playing it using QTJava 6.1?
Full Threads Newest First

Showing messages 1 through 1 of 1.

  • Chris Adamson photo Sample code for playing audio
    2003-11-12 06:01:44  Chris Adamson | O'Reilly AuthorO'Reilly Blogger [View]

    See the next article in the series (http://www.onjava.com/pub/a/onjava/2003/10/29/qtj-returns.html ) for QTJ 6.1 compatibility.

    As far as QuickTime is concerned, an audio file is just another kind of movie, one with a sound track and no video or other tracks. So use that article's "Simple Player" app to open and play audio files.

    An upcoming article will get fancier with audio (ID3 tags, level meters, etc.)

    --Chris (invalidname)