Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

[java] music in java

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
3 replies to this topic

#1 tjbrosna   Members   

122
Like
Likes
Like

Posted 20 November 2000 - 11:29 PM

Is is possible to stream in music(mp3) in java for an applet game, if so how, and do I need to use some sort of player such as real audio?? Thanks for your help, T.J

#2 Anonymous Poster_Anonymous Poster_*   Guests   

Likes

Posted 20 November 2000 - 11:53 PM

Yes, it is. I''ve seen a java appllet which streams play a mp3 sound file and does a lot of cool stuff.....

Ciao,
shake66@net-con.net

#3 snowmoon   Members   

122
Like
Likes
Like

Posted 21 November 2000 - 12:43 AM

Any kind of music in java applets is based on com.sun.audio (.au and .wav files ) or JMF ( java2 and plug-in ). Streaming .mp3 would be very costly in terms of processing, and read audio would be out of the question ( there are no codec''s for it ). You could imbed the sound into the web page where the applet lives and alter it''s state with java-script calls ( http://www.javaonthebrain.com for example ).

I will be working on a generic audio library for java games soon. I''ve just been busy profiling video routines.

Good luck.

#4 loserkid   Members   

122
Like
Likes
Like

Posted 21 November 2000 - 08:29 AM

I found an article on Java World that shows you how to play MP3 files in Java.

JP.

==============================================
I feel like a kid in some kind of store...
==============================================
www.thejpsystem.com




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.