Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (553)
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: pre-defined reverb environemnt in EFX on: 2007-07-16 09:58:31
yeapp the reverb is auxiliary send but iu m confused in the case of echo properties define in OpenAl header files
// Adjust echo properties
    al.alEffectfv(effects[0], AL_ECHO_DAMPING, ...);
    al.alEffectfv(effects[0], AL_ECHO_DELAY, ...);
    al.alEffectfv(effects[0], AL_ECHO_SPREAD, ...);
are wht we have in joal but idont know which property of echo correspond to which property of OpenAL. Please help me in this regard . one more thing which i want to ask you is that can i use more than one effect like reverb and echo together for a single sound source?

2  Java Game APIs & Engines / Java Sound & OpenAL / problem of front and back confusion on: 2007-07-15 09:36:43
Hi
i am actually working on a prototype to move a sound object around listener. I am successfuly moving the object and listener can identify easily the left and right position but when the sound is coming from front or back side it is very hard to be located. this is what they called front and back confusion. I am stuck to solve this issue. Please help me out how i can sort it out using joal
cheers
3  Java Game APIs & Engines / Java Sound & OpenAL / Re: pre-defined reverb environemnt in EFX on: 2007-07-15 09:34:34
thanks alot ultraq for your resopnse... actually i have tried to adjust the reverb setting with the help of include/EFX-Util.h  files but the quality of reverb i m getting is not very good.... infact in the case of a room i m getting lot of echos.... one thing might be the cause of that in the header file there are more properties than those available in the joal using EFX.... like in the header file we have
   float flDensity;
   float flDiffusion;
   float flGain;
   float flGainHF;
   float flGainLF;
   float flDecayTime;
   float flDecayHFRatio;
   float flDecayLFRatio;
   float flReflectionsGain;
   float flReflectionsDelay;
   float flReflectionsPan[3];
   float flLateReverbGain;
   float flLateReverbDelay;
   float flLateReverbPan[3];
   float flEchoTime;
   float flEchoDepth;
   float flModulationTime;
   float flModulationDepth;
   float flAirAbsorptionGainHF;
   float flHFReference;
   float flLFReference;
   float flRoomRolloffFactor;
   int   iDecayHFLimit;
whereas in joal we have following corresponding properties.
            al.alEffectf(effects[0], AL.AL_REVERB_DENSITY, 21.6f);
            al.alEffectf(effects[0], AL.AL_REVERB_DIFFUSION, 1.000f);
            al.alEffectf(effects[0], AL.AL_REVERB_GAIN, -1000f);
            al.alEffectf(effects[0], AL.AL_REVERB_GAINHF, -476f);
            al.alEffectf(effects[0], AL.AL_REVERB_DECAY_TIME, 0.59f);
            al.alEffectf(effects[0], AL.AL_REVERB_DECAY_HFRATIO, 1.0f);
            al.alEffectf(effects[0], AL.AL_REVERB_REFLECTIONS_GAIN, 0.020f);
            al.alEffectf(effects[0], AL.AL_REVERB_REFLECTIONS_DELAY, 0.00f);
            al.alEffectf(effects[0], AL.AL_REVERB_LATE_REVERB_GAIN, -289f);
            al.alEffectf(effects[0], AL.AL_REVERB_LATE_REVERB_DELAY, 0.030f);
            al.alEffectf(effects[0], AL.AL_REVERB_AIR_ABSORPTION_GAINHF, -5.0f);
            al.alEffectf(effects[0], AL.AL_ROOM_ROLLOFF_FACTOR, 0f);

by using these properties i m not getting the actual reverb effect close to reality. If you have any suggestion please let me know
cheers

4  Java Game APIs & Engines / Java Sound & OpenAL / pre-defined reverb environemnt in EFX on: 2007-07-14 15:41:15
hiya
I have tried EAX before to simulate pre-defined reverb environemnt like auditorium, room, street but i was failed to use EAX using JOAL. after that i got a demo of EFX filter and effects which is working fine. But this demo is generating a typical reverb environment and i dont know wht setting i need to change to simulate various environment around listener. can anyone help me in this regard and give me some sort of example to use EFX effects and filter other than one i got in demo file

cheers
5  Java Game APIs & Engines / Java Sound & OpenAL / Re: EAX is not working in my case with JOAL on: 2007-07-14 15:30:25
so are you using EFX? and if so then how u are setting the various properties to simulate an environment like auditorium, room or street using joal?
6  Java Game APIs & Engines / Java Sound & OpenAL / EAX is not working in my case with JOAL on: 2007-07-11 07:30:31
hiya all
i am facing problem while using EAX in joal. I have tried my best but unable to make it work. I have tried the demo source code of EFX provided with the joal latest version and its working fine. I am pasting my joal code to use EAX. Please help me in this problem

       boolean isEAX = al.alIsExtensionPresent("EAX2.0");
       EAX eax;
       eax =  EAXFactory.getEAX();

       if (eax == null)
           System.out.println("EAX is not initialized");
       else
           System.out.println("RAX is initialized");


       IntBuffer b = IntBuffer.allocate(1);
       b.put(0,EAXConstants.EAX_ENVIRONMENT_HANGAR);


      eax.EAXSet(EAX.LISTENER, EAX.DSPROPERTY_EAXLISTENER_ENVIRONMENT | EAX.DSPROPERTY_EAXLISTENER_IMMEDIATE, 0, b, b.capacity());

      IntBuffer e = IntBuffer.allocate(1);

       eax.getListenerProperty(
                EAXConstants.DSPROPERTY_EAXLISTENER_ENVIRONMENT, e);
        e.position(0);
       System.out.println("in the init eax method " + e.get(0)        );


I can't hear the hangar reverbration setting by above piece of code and when i am trying to get the value for the listener environment, I get default value 0
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.

CopyableCougar4 (24 views)
2014-08-22 19:31:30

atombrot (34 views)
2014-08-19 09:29:53

Tekkerue (30 views)
2014-08-16 06:45:27

Tekkerue (28 views)
2014-08-16 06:22:17

Tekkerue (18 views)
2014-08-16 06:20:21

Tekkerue (27 views)
2014-08-16 06:12:11

Rayexar (65 views)
2014-08-11 02:49:23

BurntPizza (41 views)
2014-08-09 21:09:32

BurntPizza (33 views)
2014-08-08 02:01:56

Norakomi (42 views)
2014-08-06 19:49:38
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!