Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (549)
Games in Android Showcase (139)
games submitted by our members
Games in WIP (593)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / Java Sound & OpenAL / Re: 3D Sound Engine on: 2011-02-25 23:38:44
I have fixed my problem.  I was using 'sounds/' as my package instead of 'Sounds/'.  Since Windows isn't file system case specific it didn't have any problem finding my sounds while since Linux is file system case specific it failed to find my sounds.  Easily fixed.  Thanks.
2  Java Game APIs & Engines / Java Sound & OpenAL / Re: 3D Sound Engine on: 2011-02-23 14:52:07
Thank you!  I appreciate the help  Smiley.  I'm not able to work on this until the weekend but I'll try swapping out Jorbis for Jogg codecs to see if that makes a difference when I get home from being away with work.
3  Java Game APIs & Engines / Java Sound & OpenAL / Re: 3D Sound Engine on: 2011-02-20 00:26:20
Hi Paul, I have a quick question.  How well tested is the SoundSystem on Linux (Ubunbu in my case)?  I'm trying to test it in Ubuntu and I get a problem with the JOrbis codec initialisation (CodecJOrbis).   Would you have any ideas on this issue?  Everything works great in Windows.

Starting up SoundSystem...
Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL.  For more information, see
OpenAL initialized.

Exception in thread "Thread-3" java.lang.NullPointerException
   at paulscode.sound.codecs.CodecJOrbis.initialize(
   at paulscode.sound.SoundSystem.CommandPlay(
   at paulscode.sound.SoundSystem.CommandQueue(
4  Java Game APIs & Engines / Java Sound & OpenAL / Re: 3D Sound Engine on: 2011-01-08 15:37:03
Interesting.  I was using SoundSystemJPCT while you use SoundSystem. I took the version of the files you use, switch to using SoundSystem and now it plays my small .ogg files.  I wonder if this means there is a bug with SoundSystemJPCT?

All the same thank you very much for your help gouessej!  I can use fades with SoundSystem so I think I'll stick to just that.  I get the jittery sound bug using Java Sound so I think I'll continue using OpenAL.  
5  Java Game APIs & Engines / Java Sound & OpenAL / Re: 3D Sound Engine on: 2011-01-07 15:09:42
Thanks for the info.  It doesn't work for me even when I don't use streaming.  What file size is the smallest ogg file you use?
6  Java Game APIs & Engines / Java Sound & OpenAL / Re: 3D Sound Engine on: 2011-01-06 23:00:17
Thanks for a reply.  I am using the versions from the first post.  I'm using the assumption that these are the newest (as a lot of people tend to re-edit their first post with the links).  I've tried it with both newSource(...) and newStreamingSource(...) methods.

boolean priority = false;
String sourcename = "Source 1";
String filename = "/sound/badge.ogg";    // this is stored in a package Sounds.sound and other files work fine like this.
boolean loop = false;
float x = 0;
float y = 0;
float z = 0;
int aModel = SoundSystemConfig.ATTENUATION_ROLLOFF;
float rFactor = SoundSystemConfig.getDefaultRolloff();

soundSystem.newStreamingSource( priority, sourcename, filename, loop, x, y, z, aModel, rFactor ); "Source 1" );

EDIT: I ultimately want to use fades and I noticed you can only use fades with SteamingSources so says the console info
7  Java Game APIs & Engines / Java Sound & OpenAL / Re: 3D Sound Engine on: 2011-01-06 15:41:17
Firstly I'd like to say I think this sound system is great Smiley.

Secondary I've encountered an issue with playing .ogg files that are of a small size (for instance 13kb).  I can play it in another media player (Winamp for example) but not using the sound system.  When I change the file to a larger sized .ogg (a track of size 500kb) it works fine.  Is there a lower size limit for use of .ogg?

I encounter this issue using LibraryLWJGLOpenAL.class and LibraryJavaSound.class whilst I have also tried CodecJOrbis.class and CodecJOgg.  Any ideas?

EDIT:  It also works with .ogg of file size 184kb.  So I guess there may be a lower size limit?
Pages: [1]

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

The first screenshot will be displayed as a thumbnail.

Archive (21 views)
2015-01-29 04:26:08

theagentd (21 views)
2015-01-28 15:33:52

GamerIDGoesHere (29 views)
2015-01-27 01:23:23

GamerIDGoesHere (31 views)
2015-01-27 01:22:15

CopyableCougar4 (38 views)
2015-01-27 00:34:41

CopyableCougar4 (23 views)
2015-01-26 04:47:56

Olo (17 views)
2015-01-25 21:26:00

Olo (23 views)
2015-01-25 18:44:22

Robo11 (39 views)
2015-01-25 06:14:26

basil_ (33 views)
2015-01-17 22:29:32
2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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 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‑
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!