Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (808)
Games in Android Showcase (239)
games submitted by our members
Games in WIP (872)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: 1 ... 6 7 [8]
  ignore  |  Print  
  3D Sound Engine  (Read 184225 times)
0 Members and 2 Guests are viewing this topic.
Offline gouessej
« Reply #210 - Posted 2012-09-19 22:15:52 »

Teletubo, I assume you use JavaSound with this library. I don't have this problem with the plugin based on JOAL 1.1.3. Maybe someone can suggest a solution allowing to keep the JavaSound plugin. Have you tried to create a new source each time or to change the position a very little bit each time you play your sound sample?

Julien Gouesse | Personal blog | Website | Jogamp
Offline paulscode

Senior Devvie

Medals: 12

Staff Sergeant

« Reply #211 - Posted 2012-09-25 15:29:26 »

Hey, teletubo, sorry I have been busy with other projects lately and haven't been on the forum here for some time.  I tend to start too many projects to keep up with, and some end up taking a back burner for a while.

Anyway, this problem is caused by the fact that Oracle decided to remove the built-in Java Sound software mixer.  At some point when I have time to finish my own mixer I started a while back, I'll be able to fix the problem.  If someone has already completed a similar project let me know, and I'll look into creating a new plug-in to use it.

We love death.  The US loves life.  That is the difference between us.  -Osama bin Laden, mass murderer
Offline teletubo
Global Moderator

JGO Wizard

Medals: 76
Projects: 4
Exp: 8 years

« Reply #212 - Posted 2012-09-25 16:25:43 »

Okay, thanks paul. I think I'll go for gouessej's suggestion and use an OpenAL Plugin to be sure that it will always work. 

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline msiggy

Senior Newbie

« Reply #213 - Posted 2013-03-06 16:23:43 »

I'm back with the same problem I was having before.

I have an .ogg file which is about 3k in size and 3 minutes in length. When I load this file with 'soundSystem.loadSound(filename)' It takes up a huge amount of memory ( 800mb) in my application. Whats weird is that if I don't load it and just play it with soundSystem.backgroundMusic(), it takes up a normal amount of memory. This activity only seems to happen with certain .ogg files, some other ones I have work fine. It seems like there is something weird in the loadSound() method. Or perhaps my file has some funny attribute that isn't playing nice. Let me know if you want a copy of the .ogg file and I will send it to you. I cant put a link here because the sound is proprietary.

Thanks Paul,
Offline Quarry
« Reply #214 - Posted 2013-03-07 20:20:07 »

I don't know if anyone can help me with this but I'm getting this output when I run an exported JAR, sound works when I run through Eclipse but not when I run through the JAR
Pages: 1 ... 6 7 [8]
  ignore  |  Print  

Riven (847 views)
2019-09-04 15:33:17

hadezbladez (5795 views)
2018-11-16 13:46:03

hadezbladez (2603 views)
2018-11-16 13:41:33

hadezbladez (6211 views)
2018-11-16 13:35:35

hadezbladez (1499 views)
2018-11-16 13:32:03

EgonOlsen (4734 views)
2018-06-10 19:43:48

EgonOlsen (5793 views)
2018-06-10 19:43:44

EgonOlsen (3276 views)
2018-06-10 19:43:20

DesertCoockie (4175 views)
2018-05-13 18:23:11

nelsongames (5501 views)
2018-04-24 18:15:36
A NON-ideal modular configuration for Eclipse with JavaFX
by philfrei
2019-12-19 19:35:12

Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08 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!