Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (408)
games submitted by our members
Games in WIP (293)
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 58825 times)
0 Members and 1 Guest are viewing this topic.
Offline gouessej

JGO Ninja


Medals: 33
Projects: 1


TUER


« Reply #210 - Posted 2012-09-20 00: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?

Offline paulscode

Senior Member


Medals: 9


Staff Sergeant


« Reply #211 - Posted 2012-09-25 17: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
« League of Dukes »

JGO Ninja


Medals: 42
Projects: 6



« Reply #212 - Posted 2012-09-25 18: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!
Try the Free Demo of Revenge of the Titans
Offline msiggy

Senior Newbie





« Reply #213 - Posted 2013-03-06 17: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,
Mike
Offline Quarry

Senior Member


Medals: 1
Projects: 3



« Reply #214 - Posted 2013-03-07 21: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

http://i.imgur.com/wfrT5vy.png
Pages: 1 ... 6 7 [8]
  ignore  |  Print  
 
 

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (144 views)
2013-05-17 21:29:12

alaslipknot (152 views)
2013-05-16 21:24:48

gouessej (183 views)
2013-05-16 00:53:38

gouessej (177 views)
2013-05-16 00:17:58

theagentd (187 views)
2013-05-15 15:01:13

theagentd (172 views)
2013-05-15 15:00:54

StreetDoggy (215 views)
2013-05-14 15:56:26

kutucuk (240 views)
2013-05-12 17:10:36

kutucuk (238 views)
2013-05-12 15:36:09

UnluckyDevil (244 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.066 seconds with 21 queries.