Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (115)
games submitted by our members
Games in WIP (562)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Capabilities?  (Read 1745 times)
0 Members and 1 Guest are viewing this topic.
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Posted 2003-10-27 21:09:27 »

Now I've not done any sound programming before but its time I did some Grin So I'm looking into different technologies I can use. The two main choices seem to be at the moment either the standard Java-sound in the core API, or Joal.

As far as I'm aware, regular java sound only supports basic file formats such as wave files, yet ideally I'd like to use something that doesn't eat huge amounts of HD space, which points to either mp3 or ogg.

Random questions:
1. Whats the current state of Joal like? Is it reliable enough to be considered as a viable alternative?

2. Does it support mp3 directly or will I need to somehow convert it into an ogg?
2a. Assuming using an mp3 file, what happens with licencing? Is this already taken care of by whatever platform library is used?
2b. Assuming using an ogg file, are there any free tools to do the conversion?

Cheers

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline gregorypierce

Senior Member




I come upon thee like the blue screen of death....


« Reply #1 - Posted 2003-10-28 16:03:18 »

1. Current state of Joal is kinda sketchy, but that is no fault of the platform on which it resides OpenAL. The port to OSX is taking longer than I expected as I find myself fighting C header semantics and other such foolishness. However, it is a viable alternative to Java-sount in the long term.

2. Joal streams stuff from buffers so you would slerp your audio format (of whatever type) into a ByteBuffer and have it played. Joal is not specifically for 'music', but anything you can put into a buffer can be played.

2a. Legally you can play any MP3 file you want. You cannot however freely encode MP3 files, and there are other myriad issues associated with the format unlike Ogg, ACC, etc.

2b. http://www.vorbis.com/ You will find a wealth of tools available. Heck there are over 15 for OSX alone so that should say a lot Smiley

http://www.gregorypierce.com

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

BurntPizza (28 views)
2014-09-21 02:42:18

BurntPizza (18 views)
2014-09-21 01:30:30

moogie (19 views)
2014-09-21 00:26:15

UprightPath (27 views)
2014-09-20 20:14:06

BurntPizza (29 views)
2014-09-19 03:14:18

Dwinin (45 views)
2014-09-12 09:08:26

Norakomi (74 views)
2014-09-10 13:57:51

TehJavaDev (101 views)
2014-09-10 06:39:09

Tekkerue (50 views)
2014-09-09 02:24:56

mitcheeb (71 views)
2014-09-08 06:06:29
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!