🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7915

Re: using .wav files

#7915
From: Dave Cullen
Date: Tue, 01 May 2001 15:00
29 lines
1738 bytes
Looked at that... far more complicated than I expected. I just wanna play a
.wav, not become an expert in digital sampling

In VC++ I'd just #include <mmsystem.h> and use one line:
PlaySound("UPDATE.WAV",NULL,SND_FILENAME | SND_SYNC);

I was hoping Java would be as simple. Guess not.

drc

"paul nichols" <paul@computer-logic.net> wrote in message
news:3aee585d$1_2@dnews...
> try downloading the Java Media Framework (http://java.sun.com/products/).
>
>
> "Dave Cullen" <no_spam@mail.com> wrote in message news:3aed5f8e_1@dnews...
> > What's the most direct way to load and play a .wav file in a Java
> > appliction? I found some multimedia classes in the docs, but they all
seem
> > to inherit from applet.
> >
> > tnx.
> >
> > drc
> >
> >
> >
>
>
Technical Details
Message-ID: <3aeece3b_1@dnews>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3aed5f8e_1@dnews> <3aee585d$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f7754,d893aad0b59add1b
X-Google-Attributes: gidf7754,public
X-Google-Thread: f74b3,d893aad0b59add1b
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-01 08:14:04 PST
From: "Dave Cullen" <no_spam@mail.com>
Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.students
References: <3aed5f8e_1@dnews> <3aee585d$1_2@dnews>
Subject: Re: using .wav files
Date: Tue, 1 May 2001 11:00:06 -0400
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 208.236.78.2
Message-ID: <3aeece3b_1@dnews>
X-Trace: dnews 988728891 208.236.78.2 (1 May 2001 07:54:51 -0700)
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews