Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (748)
Games in Android Showcase (226)
games submitted by our members
Games in WIP (834)
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 147878 times)
0 Members and 1 Guest 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: 75
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  

xxMrPHDxx (306 views)
2017-12-31 17:17:51

xxMrPHDxx (94 views)
2017-12-31 17:15:51

xxMrPHDxx (146 views)
2017-12-28 18:11:33

Ecumene (310 views)
2017-09-30 02:57:34

theagentd (492 views)
2017-09-26 18:23:31

cybrmynd (528 views)
2017-08-02 12:28:51

cybrmynd (463 views)
2017-08-02 12:19:43

cybrmynd (446 views)
2017-08-02 12:18:09

Sralse (405 views)
2017-07-25 17:13:48

Archive (1312 views)
2017-04-27 17:45:51
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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!