Skip to main content

Web Start for JOALMixer is here

28 replies [Last post]
jada
Offline
Joined: 2004-03-17

As promise, Web Start for JOALMixer is here and it will now be part of the Java 3D milestone build. We have put out an early access version, Java 3D 1.5.1 build1, for your testing. Please feel free to check it out :

Sound Demos using JOALMixer

* BackgroundSoundTest-1.5.1-exp ( http://download.java.net/media/java3d/webstart/test/BackgroundSoundTest-... )
* PointSoundTest-1.5.1-exp ( http://download.java.net/media/java3d/webstart/test/PointSoundTest-1.5.1... )

Thanks to David Grace for his contribution to the JOALMixer project and the above examples.

- Chien.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Thierry Milard (free)

Here you go. I give 3 traces of java console:
Trace 1 : demo with level 0 trace of machine that fails
Trace 3 : demo with level 0 trace of machine that runs fine

//-------------------------------------------------
//- Trace 1 : demo with level 0 trace of machine that fails

Java 3D [dev] 1.5.1-build1-experimental 09 Feb 2007 10:07:10 PST

JOALMixer - constructor...
JOALMixer - initialize...
JOALMixer - JOAL renderer: Software
JOALMixer - JOAL vendor: Creative Labs Inc.
JOALMixer - JOAL extension: EAX 2.0, EAX 3.0, EAX 4.0, EAX Unified
JOALMixer - initialize success.
JOALMixer - prepareSound - javax.media.j3d.MediaContainer@873723 - null
JOALSample - load javax.media.j3d.MediaContainer@873723
(program has fails now...)
//-------------------------------------------------

//-------------------------------------------------
Trace 2 : demo with level 0 trace of machine that runs fine

Java 3D [dev] 1.5.1-build1-experimental 09 Feb 2007 10:07:10 PST

JOALMixer - constructor...

JOALMixer - initialize...

JOALMixer - JOAL renderer: Software

JOALMixer - JOAL vendor: Creative Labs Inc.

JOALMixer - JOAL extension: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED

EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE

JOALMixer - initialize success.

JOALMixer - prepareSound - javax.media.j3d.MediaContainer@1ab11b0 - null

JOALSample - load javax.media.j3d.MediaContainer@1ab11b0
(program has not failed ...)

JOALSample - load BackgroundSound...success, sourceID: 238256520

JOALMixer - prepareSound - return: 0

JOALMixer - unmuteSample for 0

JOALMixer - start...0

JOALMixer - getStartTime for 0

//-------------------------------------------------

Hopes it can help you David.

I will check my mail over the WE if you want another info.

Thanks
Thierry

//-------------------------------------------------

David Grace a écrit :
> Hi Thierry,
>
> The output: "JOALMixer - JOAL extension: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0
> EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE
> AL_EXT_EXPONENT_DISTANCE"
>
> Comes from the JOALMixer which calls the JOAL function:
> al.alGetString(AL.AL_EXTENSIONS);
>
> Does the System.out print out anything after this line or does it crash
> immediately after this line?
>
> If you could send me a copy of the complete output I'll see if I can find
> out what is happening.
>
> Dave.
>
> -----Original Message-----
> From: Thierry Milard (free) [mailto:t.milard@free.fr]
> Sent: Friday, March 02, 2007 10:33 AM
> To: interest@java3d.dev.java.net
> Subject: Re: Web Start for JOALMixer is here
>
>
>
> java3d-interest@javadesktop.org a écrit :
>
>> Does the following simple JOAL demos work on your affected machine ?
>> https://joal-demos.dev.java.net/devmaster/lesson1.html
>>
>>
> ==> Yes this Joal demo is working perfectly fine. No crash + I hear sound.
> Yes I did reboot my machine several times. I alsotryed desinsinstaling
> and installaling jre 1.5_11 and 1.6 but no change.
> I believe it is more a question of pointing to wrong joal dll or jars.
>
> I wonde if this java console text :
>
> "JOALMixer - JOAL extension: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED
> EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE
> AL_EXT_EXPONENT_DISTANCE"
> comes from joal.jar or a dll....
>
>
>
>
>>
>> Have you also tried reboot your affected machine ?
>>
>> BTW, we are no expert of sound and JOAL. Any help from the community on
>>
> this will be great.
>
>> - Chien.
>> [Message sent by forum member 'jada' (jada)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=205917
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
>> For additional commands, e-mail: interest-help@java3d.dev.java.net
>>
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
> For additional commands, e-mail: interest-help@java3d.dev.java.net
>
>

[att1.html]

tmilard
Offline
Joined: 2004-03-25

To continue with the very anoying "shoot there is no sound coming out" issue,
I think the culprit may happen to be class [b]JOALTestResources [/b]

It has 4 usefull static functions that returns Media container.
The input parameter for those functions is the Wav data (can be file, url, ...)

------------------------------------------------
public class JOALTestResources {
public JOALTestResources()
public static java.net.URL getTestMediaURL(java.lang.String string)
public static javax.media.j3d.MediaContainer getMediaContainerFromClasspath(java.lang.String string)
public static javax.media.j3d.MediaContainer getTestMediaContainer(java.lang.String string, boolean b)
public static javax.media.j3d.MediaContainer getMediaContainerFromFile(java.lang.String string)
}
------------------------------------------------
The issue is very simple : If wav data is not there (url pointing to nothing, filepath pointing to nothing) there is really [b]no way[/b] for developper to [b]know it[/b]:
- No warning is displayed on java console
- No exception is raised

From my point of vue[*see below ] (but I am not sure .. I do ask for verification from java3D and/or joal friends ... ) the best should be to have an exception raised like NoSoundDataFoundException (or any clear name eception) if no wav data is found on those 4 functions.

-------------------------------------------------
[b]How I tested [/b]

Very simple: I did get the JOALBackgroundSoundTest.java From the site http://www.dutchie.net/joal/

I did not put the alien_matingcall.wav on my machine.
Of couse the code runs and when it encounters getTestMediaContainer(testFilename, true) line :
- No sound is found (logical ... of course .wav is not here)
- No warning exception,...

The original code is :
----------------------------
private String testFilename = "alien_matingcall.wav";
....
private void setupBackgroundSoundFromURL(){
Bounds b = new BoundingSphere(new Point3d(), 20);
MediaContainer mc = JOALTestResources.getTestMediaContainer(testFilename, true);
....
----------------------------

[b]How I (a bit) change code to have sound[/b]
I decided to rather take getMediaContainerFromFile(testfilename) function with a path with -this time- the alien_matingcall.wav file.
This time the sound (bloody it nice to hear something finelly: No I am NOT deaf ;-) )

The modifyed code is :
----------------------------
private String testFilename = "c:\\SauvegardeVisitesVirtuellesXML\\Player200\\adlib\\alien_matingcall.wav";
....
private void setupBackgroundSoundFromURL(){
Bounds b = new BoundingSphere(new Point3d(), 20);
MediaContainer mc = JOALTestResources.getMediaContainerFromFile(testFilename);

....
----------------------------

The conclusion is that there are no bugs on JOALTestResources classes:
It does works when there is .wav data around.
But still, the class would be much easier for us with an exception management when data can't be found . Or at least warning on java console.

[*] The other day I came out of my bath wondering where was my baby wandering in the flat ...
So I Called "Hey Baby ! ?" quite lound so he could answer something like "hip hip papa...I am there ! "
- Well he did not answser ...
Damned I called again.
I listened.
- Then I heard below something like a small "arg !!" .
Dam, I raised my foot : Oh shit I was walking on him.

.... Ok just joking but think of it : If it was a nice java world, the "Arg" noise baby's doing would be an exception.
When I ask for baby to give a noise and he can not answer, he still gives a small 'arg" sign to tell me there is a problem...
And here you get it: A lousy explanation that is supposed to proove that those four functions in JOALTestResources classe should [i]naturally [/i]give back an exception if "wav" data is not found.

Thierry

David Grace

Hi,

Yes. All the joal classes and dlls are included in the prototype build of
Java3D. This can be accessed with webstart with:

href="http://download.java.net/media/java3d/webstart/prototype/java3d-1.5.0-
joal-exp.jnlp"/>

Dave.

-----Original Message-----
From: java3d-interest@javadesktop.org
[mailto:java3d-interest@javadesktop.org]
Sent: Thursday, February 22, 2007 11:20 PM
To: interest@java3d.dev.java.net
Subject: Re: Web Start for JOALMixer is here

I am trying to (re)use Joal in my java3D program.
I am a bit confused but it is because I have not used joal for a long time.

[b]Question[/b]
I looked at both jnlp of both sound test.
And I am surprised because it seems you don't have to :

- eather make an "extension" to joal like this:
href="http://download.java.net/media/joal/webstart/joal.jnlp" />

- or tell jnlp the dlls and jars (3dll and 1 jar ..asI did) like this:



Does it mean that with java3D 1.5.1 build 1 all JOAL [u]dlls ans Classes[/u]
are already included ?[u][/u]
[Message sent by forum member 'tmilard' (tmilard)]

http://forums.java.net/jive/thread.jspa?messageID=204805

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au/mg

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au/mg

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

David Grace

Hi,

They are also included when you use:

href="http://download.java.net/media/java3d/webstart/early-access/java3d-1.5
.1-joal-exp.jnlp"/>

Dave.

-----Original Message-----
From: David Grace [mailto:programmer@dutchie.net]
Sent: Friday, February 23, 2007 7:34 AM
To: interest@java3d.dev.java.net
Subject: RE: Web Start for JOALMixer is here

Hi,

Yes. All the joal classes and dlls are included in the prototype build of
Java3D. This can be accessed with webstart with:

href="http://download.java.net/media/java3d/webstart/prototype/java3d-1.5.0-
joal-exp.jnlp"/>

Dave.

-----Original Message-----
From: java3d-interest@javadesktop.org
[mailto:java3d-interest@javadesktop.org]
Sent: Thursday, February 22, 2007 11:20 PM
To: interest@java3d.dev.java.net
Subject: Re: Web Start for JOALMixer is here

I am trying to (re)use Joal in my java3D program.
I am a bit confused but it is because I have not used joal for a long time.

[b]Question[/b]
I looked at both jnlp of both sound test.
And I am surprised because it seems you don't have to :

- eather make an "extension" to joal like this:
href="http://download.java.net/media/joal/webstart/joal.jnlp" />

- or tell jnlp the dlls and jars (3dll and 1 jar ..asI did) like this:



Does it mean that with java3D 1.5.1 build 1 all JOAL [u]dlls ans Classes[/u]
are already included ?[u][/u]
[Message sent by forum member 'tmilard' (tmilard)]

http://forums.java.net/jive/thread.jspa?messageID=204805

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au/mg

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au/mg

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au/mg

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au/mg

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

tmilard
Offline
Joined: 2004-03-25

I suppose java3D includes 1.1.0 (december 2006).
Right ?
Thierry

Joerg Plewe

Hi David!

That's good news. Is it in the daily builds already?

Have you seen my next issue? Maybe its similar, all being about proper state
management.

Everything is good,

.J

-----Original Message-----
From: David Grace [mailto:programmer@dutchie.net]
Sent: Thursday, February 22, 2007 1:23 AM
To: interest@java3d.dev.java.net
Subject: RE: Web Start for JOALMixer is here

Hi Joerg,

I think I have found the cause of this bug and I have your test case working
correctly (the changes are in Java3D so both the JavaSoundMixer and
JOALMixer should work with the test case). Hopefully the changes will be
integrated shortly and you can test it with your application. I will get
back to you when it is ready.

Dave.

-----Original Message-----
From: Joerg Plewe [mailto:plewe@hardcode.de]
Sent: Wednesday, February 21, 2007 8:35 AM
To: interest@java3d.dev.java.net
Subject: Re: Web Start for JOALMixer is here

Testcode is submitted:
https://java3d.dev.java.net/issues/show_bug.cgi?id=431

"Testcase:

The testcase was build by modifying the JOALPointSoundSample. It does not
use
JOALMixer but JavaSoundMixer. Although the error described happens with both
mixers.

How to use the testcase:

When the program start, the sound should be playing. Use the checkbox on the
lower left side to disable it. Move back using cursor keys until the camera
leaves the red sphere indicating the scheduling bounds. Move forward again
into
the red sphere.
Now the sound starts playing again *although* the sound is still disabled"

Joerg Plewe schrieb:
> Deal ... I'll prepare the testcode (on basis of JOALPointSoundTest)
> and you'll look into it :)
>
> I just ran across another strange thing doing so ... still a long way
> to go.... :(
>
> May take awhile though ... its late here ....
>
> - J
>
> java3d-interest@javadesktop.org schrieb:
>> A bug is server if it breaks your application. ;-) Care to attach a
>> test program to this issue ? Issue without a test program is a
>> default P5, even it is trivial to reproduce.
>> - Chien.
>> [Message sent by forum member 'jada' (jada)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=203530
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
>> For additional commands, e-mail: interest-help@java3d.dev.java.net
>>
>>
>>
>

--
Joerg Plewe
http://www.hardcode.de
'Life is hard and then you die.'

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au/mg

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au/mg

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

Joerg Plewe

Deal ... I'll prepare the testcode (on basis of JOALPointSoundTest) and
you'll look into it :)

I just ran across another strange thing doing so ... still a long way to
go.... :(

May take awhile though ... its late here ....

- J

java3d-interest@javadesktop.org schrieb:
> A bug is server if it breaks your application. ;-)
> Care to attach a test program to this issue ?
> Issue without a test program is a default P5, even it is trivial to reproduce.
>
> - Chien.
> [Message sent by forum member 'jada' (jada)]
>
> http://forums.java.net/jive/thread.jspa?messageID=203530
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
> For additional commands, e-mail: interest-help@java3d.dev.java.net
>
>
>

--
Joerg Plewe
http://www.hardcode.de
'Life is hard and then you die.'

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

Joerg Plewe

Testcode is submitted:
https://java3d.dev.java.net/issues/show_bug.cgi?id=431

"Testcase:

The testcase was build by modifying the JOALPointSoundSample. It does not use
JOALMixer but JavaSoundMixer. Although the error described happens with both mixers.

How to use the testcase:

When the program start, the sound should be playing. Use the checkbox on the
lower left side to disable it. Move back using cursor keys until the camera
leaves the red sphere indicating the scheduling bounds. Move forward again into
the red sphere.
Now the sound starts playing again *although* the sound is still disabled"

Joerg Plewe schrieb:
> Deal ... I'll prepare the testcode (on basis of JOALPointSoundTest)
> and you'll look into it :)
>
> I just ran across another strange thing doing so ... still a long way
> to go.... :(
>
> May take awhile though ... its late here ....
>
> - J
>
> java3d-interest@javadesktop.org schrieb:
>> A bug is server if it breaks your application. ;-) Care to attach a
>> test program to this issue ? Issue without a test program is a
>> default P5, even it is trivial to reproduce.
>> - Chien.
>> [Message sent by forum member 'jada' (jada)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=203530
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
>> For additional commands, e-mail: interest-help@java3d.dev.java.net
>>
>>
>>
>

--
Joerg Plewe
http://www.hardcode.de
'Life is hard and then you die.'

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

David Grace

Hi Joerg,

I think I have found the cause of this bug and I have your test case working
correctly (the changes are in Java3D so both the JavaSoundMixer and
JOALMixer should work with the test case). Hopefully the changes will be
integrated shortly and you can test it with your application. I will get
back to you when it is ready.

Dave.

-----Original Message-----
From: Joerg Plewe [mailto:plewe@hardcode.de]
Sent: Wednesday, February 21, 2007 8:35 AM
To: interest@java3d.dev.java.net
Subject: Re: Web Start for JOALMixer is here

Testcode is submitted:
https://java3d.dev.java.net/issues/show_bug.cgi?id=431

"Testcase:

The testcase was build by modifying the JOALPointSoundSample. It does not
use
JOALMixer but JavaSoundMixer. Although the error described happens with both
mixers.

How to use the testcase:

When the program start, the sound should be playing. Use the checkbox on the
lower left side to disable it. Move back using cursor keys until the camera
leaves the red sphere indicating the scheduling bounds. Move forward again
into
the red sphere.
Now the sound starts playing again *although* the sound is still disabled"

Joerg Plewe schrieb:
> Deal ... I'll prepare the testcode (on basis of JOALPointSoundTest)
> and you'll look into it :)
>
> I just ran across another strange thing doing so ... still a long way
> to go.... :(
>
> May take awhile though ... its late here ....
>
> - J
>
> java3d-interest@javadesktop.org schrieb:
>> A bug is server if it breaks your application. ;-) Care to attach a
>> test program to this issue ? Issue without a test program is a
>> default P5, even it is trivial to reproduce.
>> - Chien.
>> [Message sent by forum member 'jada' (jada)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=203530
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
>> For additional commands, e-mail: interest-help@java3d.dev.java.net
>>
>>
>>
>

--
Joerg Plewe
http://www.hardcode.de
'Life is hard and then you die.'

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au/mg

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au/mg

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

jada
Offline
Joined: 2004-03-17

A big thanks to Dave. The fix to issue 431 has committed. It should be reflected in tomorrow's daily build.

- Chien.

tmilard
Offline
Joined: 2004-03-25

Good news.
I can hear the sound (electronic bells-like sound).
Both of the links are working pefectly.

-- BackgroundSoundTest-1.5.1-exp ( http://download.java.net/media/java3d/webstart/test/BackgroundSoundTest-... )
-- PointSoundTest-1.5.1-exp ( http://download.java.net/media/java3d/webstart/test/PointSoundTest-1.5.1... )

Thanks a lot
I will try to implement JOAL sound in this "virtual visit":
http://www.lavisite.com/index.php?option=com_content&task=view&id=24&Ite...

Joerg Plewe

Are those issues like
https://java3d.dev.java.net/issues/show_bug.cgi?id=431 also already
adressed in 1.5.1?

- J

java3d-interest@javadesktop.org schrieb:
> Thanks Chien,
> I will test it tonight on another ("virgin") machine.
>
> By the way do you know if this limitation of JWS (java web start) is still present on the next java JRE 1.6 ?
> [Message sent by forum member 'tmilard' (tmilard)]
>
> http://forums.java.net/jive/thread.jspa?messageID=203361
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
> For additional commands, e-mail: interest-help@java3d.dev.java.net
>
>
>

--
Joerg Plewe
http://www.hardcode.de
'Life is hard and then you die.'

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

jada
Offline
Joined: 2004-03-17

Most probably not at this point, but since you have a test program, you might want to verify it.

- Chien.

Joerg Plewe

Ok, tried it still is broken. IMHO this error is a very severe one and I
wonder why it is P4.

Imagine you write a space game with each spaceship holding its
pointsound for thrust. Now a spacesphip switched on its thrust outside
audible range once for very short time only. Now, whenever this ship
floats in audible range, the thrust sound will play. Regardless whether
the sound is enabled or not. Isn't that a *big error*? Basically it
means you cannot control sound at all. P1?

- J

java3d-interest@javadesktop.org schrieb:
> Most probably not at this point, but since you have a test program, you might want to verify it.
>
> - Chien.
> [Message sent by forum member 'jada' (jada)]
>
> http://forums.java.net/jive/thread.jspa?messageID=203446
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
> For additional commands, e-mail: interest-help@java3d.dev.java.net
>
>
>

--
Joerg Plewe
http://www.hardcode.de
'Life is hard and then you die.'

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

jada
Offline
Joined: 2004-03-17

A bug is severe if it breaks your application. ;-)
Care to attach a test program to this issue ?
Issue without a test program is a default P5, even it is trivial to reproduce.

- Chien.

David Grace

Hi J,

This is basically the first thing I will try to fix. A test program would be
great if you can supply one.

If not, when the functions of the JOALMixer are called it prints to
System.out. Would it be possible for you to send me a copy of this output
when this error occurs?

I will be working on this on Thursday and Friday.

Thanks,
Dave.

-----Original Message-----
From: java3d-interest@javadesktop.org
[mailto:java3d-interest@javadesktop.org]
Sent: Tuesday, February 13, 2007 9:10 AM
To: interest@java3d.dev.java.net
Subject: Re: Web Start for JOALMixer is here

A bug is server if it breaks your application. ;-)
Care to attach a test program to this issue ?
Issue without a test program is a default P5, even it is trivial to
reproduce.

- Chien.
[Message sent by forum member 'jada' (jada)]

http://forums.java.net/jive/thread.jspa?messageID=203530

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au/mg

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au/mg

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

tmilard
Offline
Joined: 2004-03-25

Allright I am really a bad programer.
For sure, I did something wrong but I just can't figure out what...
I have been stuck since 2 days now... oh boy i should have taken back the backery of my father.

[b]Here it is[/b]:
For a few days I did manage to run the BackgroundSoundTest demo:
- http://download.java.net/media/java3d/webstart/test/BackgroundSoundTest-...

Now it starts to runs and just as the windows opens all java jre fails...

[b]Hints [/b]?
Now I have a second machine wich runs fine the demo.
The [u]only diffference[/u] between the 2 traces is this line:

(Ok machine) :
JOALMixer - JOAL extension: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED
EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE

(bad machine) :
JOALMixer - JOAL extension: EAX 2.0, EAX 3.0, EAX 4.0, EAX Unified

Thanks for any comments that might help !
Thierry

jada
Offline
Joined: 2004-03-17

Does the following simple JOAL demos work on your affected machine ?
https://joal-demos.dev.java.net/devmaster/lesson1.html

Have you also tried reboot your affected machine ?

BTW, we are no expert of sound and JOAL. Any help from the community on this will be great.

- Chien.

Thierry Milard (free)

java3d-interest@javadesktop.org a écrit :
> Does the following simple JOAL demos work on your affected machine ?
> https://joal-demos.dev.java.net/devmaster/lesson1.html
>
==> Yes this Joal demo is working perfectly fine. No crash + I hear sound.
Yes I did reboot my machine several times. I alsotryed desinsinstaling
and installaling jre 1.5_11 and 1.6 but no change.
I believe it is more a question of pointing to wrong joal dll or jars.

I wonde if this java console text :

"JOALMixer - JOAL extension: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED
EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE
AL_EXT_EXPONENT_DISTANCE"
comes from joal.jar or a dll....

>
> Have you also tried reboot your affected machine ?
>
> BTW, we are no expert of sound and JOAL. Any help from the community on this will be great.
>
> - Chien.
> [Message sent by forum member 'jada' (jada)]
>
> http://forums.java.net/jive/thread.jspa?messageID=205917
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
> For additional commands, e-mail: interest-help@java3d.dev.java.net
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

David Grace

Hi Thierry,

The output: "JOALMixer - JOAL extension: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0
EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE
AL_EXT_EXPONENT_DISTANCE"

Comes from the JOALMixer which calls the JOAL function:
al.alGetString(AL.AL_EXTENSIONS);

Does the System.out print out anything after this line or does it crash
immediately after this line?

If you could send me a copy of the complete output I'll see if I can find
out what is happening.

Dave.

-----Original Message-----
From: Thierry Milard (free) [mailto:t.milard@free.fr]
Sent: Friday, March 02, 2007 10:33 AM
To: interest@java3d.dev.java.net
Subject: Re: Web Start for JOALMixer is here

java3d-interest@javadesktop.org a écrit :
> Does the following simple JOAL demos work on your affected machine ?
> https://joal-demos.dev.java.net/devmaster/lesson1.html
>
==> Yes this Joal demo is working perfectly fine. No crash + I hear sound.
Yes I did reboot my machine several times. I alsotryed desinsinstaling
and installaling jre 1.5_11 and 1.6 but no change.
I believe it is more a question of pointing to wrong joal dll or jars.

I wonde if this java console text :

"JOALMixer - JOAL extension: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED
EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE
AL_EXT_EXPONENT_DISTANCE"
comes from joal.jar or a dll....

>
> Have you also tried reboot your affected machine ?
>
> BTW, we are no expert of sound and JOAL. Any help from the community on
this will be great.
>
> - Chien.
> [Message sent by forum member 'jada' (jada)]
>
> http://forums.java.net/jive/thread.jspa?messageID=205917
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
> For additional commands, e-mail: interest-help@java3d.dev.java.net
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au/mg

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au/mg

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

weiland
Offline
Joined: 2005-08-05

David,
By strange coincidence, I had just tried the JOALMixer demo on a laptop - worked ok with built in hardware, but when I used a PCMCIA sound card (Creative Audigy 2 ZS), I got similar symptoms to what Thierry described (and nothing appears in the console - it just dies). However, I had also built the JoalPointSoundTest demo locally under Netbeans; here's the output I get with the built-in vs Creative card:
----------------------------------------------------------------------------------
Built-in
----------------------------------------------------------------------------------
JOALPointSoundTest
ClassLoader - sun.misc.Launcher$AppClassLoader@11b86e7
Class - class org.jdesktop.j3d.audioengines.joal.JOALMixer
Java 3D [dev] 1.5.1-build1-experimental 09 Feb 2007 10:07:10 PST

JOALMixer - constructor...
JOALMixer - initialize...
JOALMixer - JOAL renderer: Software
JOALMixer - JOAL vendor: Creative Labs Inc.
JOALMixer - JOAL extension: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE
JOALMixer - initialize success.
setupPointSoundFromURL: alien_matingcall.wav
JOALTestResources - getMediaContainerFromClasspath - file:/C:/Documents%20and%20Settings/weiland/JoalMixerTest_1/build/classes/org/jdesktop/j3d/apps/sound/alien_matingcall.wav
JOALMixer - prepareSound - javax.media.j3d.MediaContainer@18a7efd - null
JOALSample - load javax.media.j3d.MediaContainer@18a7efd
JOALSample - load PointSound...success, sourceID: 86210488
JOALMixer - prepareSound - return: 0
JOALMixer - unmuteSample for 0
JOALMixer - start...0
JOALMixer - getStartTime for 0
JOALMixer - muteSample 0
JOALMixer - unmuteSample for 0
JOALMixer - muteSample 0
JOALMixer - unmuteSample for 0
JOALMixer - muteSample 0
JOALMixer - unmuteSample for 0
JOALMixer - muteSample 0
BUILD SUCCESSFUL (total time: 57 seconds)

----------------------------------------------------------------------------------
PCMCIA card
----------------------------------------------------------------------------------

JOALPointSoundTest
ClassLoader - sun.misc.Launcher$AppClassLoader@11b86e7
Class - class org.jdesktop.j3d.audioengines.joal.JOALMixer
Java 3D [dev] 1.5.1-build1-experimental 09 Feb 2007 10:07:10 PST

JOALMixer - constructor...
JOALMixer - initialize...
JOALMixer - JOAL renderer: SB Audigy 2 [FEC0]
JOALMixer - JOAL vendor: Creative Labs Inc.
JOALMixer - JOAL extension: EAX
EAX1.0
EAX2.0
EAX3.0
EAX4.0
EAX5.0

JOALMixer - initialize success.
setupPointSoundFromURL: alien_matingcall.wav
JOALTestResources - getMediaContainerFromClasspath - file:/C:/Documents%20and%20Settings/weiland/JoalMixerTest_1/build/classes/org/jdesktop/j3d/apps/sound/alien_matingcall.wav
JOALMixer - prepareSound - javax.media.j3d.MediaContainer@15d56d5 - null
JOALSample - load javax.media.j3d.MediaContainer@15d56d5
JOALSample - load PointSound...success, sourceID: 2
JOALMixer - prepareSound - return: 0
JOALMixer - unmuteSample for 0
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=3316, tid=3376
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
# C 0x00000000
#
# An error report file with more information is saved as hs_err_pid3316.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)

----------------------------------------------------------------------------------

Hope this is informative (or maybe at least will help solve a different problem that's got me stalled :).

One other thing, I've also tried a USB2 sound card, which works, but produces an awful amount of crackling/popping. Don't get that kind of behavior with games or the limited OpenAL demos I've tracked down. Any ideas (buffer size somewhere)?

Thanks!

Bill

tmilard
Offline
Joined: 2004-03-25

Hello,
I am facing one problem with the new JOAL implementation.
My java3D program with sound still does not work..... ;-(

- If I test on my machine ( with JOAL1.1.0) : [b]OK it's working fine[/b]; I hear sound of my program
- But If I put it on the [b]server [/b](with JWS/JNLP) sound begins ... [u]and stop after 0.5 secondes[/u]

Here is my configuratuon:
- I have java 1.5_11
- I use java3d-1.5.1-joal-exp extension
If you have an idea of what could go wrong .... go for it because I realay don't know what to do....

Thanks, Thierry

Ps:
Here is below my jnlp file, if it can help :
----------------------

href="LanceurAdlibDemo.jnlp">

Museum with Adlib
www.adlib.com

Museum with data from Adlib Software
Museum Adlib data






http://www.papus.info/exec/adlib_lot0_2/DemoAdlib011-signed.vis












----------------------

Here is [u][/u]

tmilard
Offline
Joined: 2004-03-25

I am trying to (re)use Joal in my java3D program.
I am a bit confused but it is because I have not used joal for a long time.

[b]Question 1[/b]
I looked at both jnlp of both sound test.
And I am surprised because it seems you don't have to :

- eather make an "extension" to joal like this:

- or tell jnlp the dlls and jars (3dll and 1 jar ..asI did) like this:



Does it mean that with java3D 1.5.1 build 1 all JOAL [u]dlls ans Classes[/u] are already included ?[u][/u]

[b]Question 2[/b]:
I would learn a lot if I could have source code of
* BackgroundSoundTest-1.5.1-exp ( http://download.java.net/media/java3d/webstart/test/BackgroundSoundTest-... )
* PointSoundTest-1.5.1-exp ( http://download.java.net/media/java3d/webstart/test/PointSoundTest-1.5.1...

Isn't it possible ?
Thierry

Message was edited by: tmilard

kcr
Offline
Joined: 2004-03-17

> I am surprised because it seems you don't have to :
>
> - eather make an "extension" to joal like this:
>

The JNLP files for the sound demos refer to the following Java 3D JNLP file:

http://download.java.net/media/java3d/webstart/early-access/java3d-1.5.1...

which *does* include the JOAL extension (similar to what you show above).

> I would learn a lot if I could have source code of
> * BackgroundSoundTest-1.5.1-exp

Do you mean the source code for the example test programs themselves? Or do you mean the JNLP files? If you want the source code, just "cvs checkout j3d-examples" and you will find it. If you want the JNLP file, just right click on the link in your browser and select "Save Link As...".

-- Kevin

tmilard
Offline
Joined: 2004-03-25

This is super super news.
Thanks you for this add.Ansall the work.
It is nice to have sound in 3D scenes.
--------

I tried the 2 links (I just clicked on them)....
JWS opens, it loads everything ( it sems to).

But then a window opens for a second (maximum) and closes.
This wasall... : No sound (I have sound on my computer).

Did I do something wrong ?
- I am using java (jre) 1.5 (last build 11 i think) .
- I have java3d-1.5-latest

thierry

jada
Offline
Joined: 2004-03-17

Sorry, I should have mentioned this earlier. The new JOALMixer and examples require Java 3D 1.5.1 build1. Due to an existing limitation of Java Web Start, it is unable to override any optional library installed in jre/lib/ext, including Java 3D. Please be sure you have no Java 3D installed on your system.

For now, Java 3D Web Start will only work on system with no Java 3D installed.

- Chien.

tmilard
Offline
Joined: 2004-03-25

Thanks Chien,
I will test it tonight on another ("virgin") machine.

By the way do you know if this limitation of JWS (java web start) is still present on the next java JRE 1.6 ?

jada
Offline
Joined: 2004-03-17

Java SE 6 is already out. This limitation will be addressed in Java SE 7 by JSR 277 - Java Module System : http://www.jcp.org/en/jsr/detail?id=277

- Chien.